/* ═══════════════════════════════════════════════════════════
   🎨 YŪGEN BOX - POKEBOX.IO LANDING PAGE
   Style épuré, mystérieux, premium - Palette holographique
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Satoshi:wght@500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════════
   VARIABLES YŪGEN
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Couleurs principales */
    --bg-main: #050608;
    --bg-surface: #0B0F14;
    --text-main: #F5F7FA;
    --text-muted: #8E96A3;
    
    /* Palette Yūgen (holographique pochette) */
    --yugen-gradient-start: #46E4FF;
    --yugen-gradient-mid: #5C7BFF;
    --yugen-gradient-end: #5DF8C0;
    --border-soft: rgba(255, 255, 255, 0.06);
    
    /* Gradient principal */
    --yugen-gradient: linear-gradient(120deg,
        var(--yugen-gradient-start),
        var(--yugen-gradient-mid),
        var(--yugen-gradient-end)
    );
    
    /* Typography */
    --font-main: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-text: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --radius-card: 16px;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-main);
    overflow-x: hidden;
}

::selection {
    background: rgba(70, 228, 255, 0.2);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--yugen-gradient);
    border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */

.prehome-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(70, 228, 255, 0.1);
    transition: all 0.3s ease;
}

.prehome-header.scrolled {
    border-bottom-color: rgba(70, 228, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--yugen-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Navigation Desktop */
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.header-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.header-nav a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yugen-gradient);
    transition: width 0.3s ease;
}

.header-nav a:hover {
    color: var(--text-main);
}

.header-nav a:hover::before {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
}

.burger-line {
    width: 24px;
    height: 2px;
    background: var(--yugen-gradient);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(70, 228, 255, 0.05);
    border: 1px solid rgba(70, 228, 255, 0.2);
    border-radius: 999px;
    color: var(--yugen-gradient-start);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: rgba(70, 228, 255, 0.1);
    border-color: rgba(70, 228, 255, 0.4);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.lang-option:hover {
    background: rgba(70, 228, 255, 0.05);
    color: var(--text-main);
}

.lang-option.active {
    background: rgba(70, 228, 255, 0.1);
    color: var(--yugen-gradient-start);
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT GÉNÉRAL
   ═══════════════════════════════════════════════════════════ */

section {
    padding: 80px 0;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */

.prehome-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 70px;
    background: var(--bg-main);
    overflow: hidden;
}

/* Fond avec étoiles subtiles */
.prehome-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(70, 228, 255, 0.08), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(93, 248, 192, 0.08), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(92, 123, 255, 0.08), transparent);
    background-size: 200px 200px, 300px 300px, 250px 250px;
    animation: starsMove 60s linear infinite;
}

@keyframes starsMove {
    0% { background-position: 0 0, 40px 60px, 130px 270px; }
    100% { background-position: 50px 50px, 90px 110px, 180px 320px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 60px 24px;
}

/* Badge drop */
.drop-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0,0,0, 0.1);
    border: 1px solid #ffffff4d;
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

/* Titre Hero */
.hero-title {
    font-family: var(--font-main);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.yugen-gradient-text {
    background: var(--yugen-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Ligne holographique verticale */
.hero-vertical-line {
    width: 2px;
    height: 60px;
    margin: 32px auto;
    background: var(--yugen-gradient);
    opacity: 0.6;
}

/* Sous-titre et tagline */
.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.hero-tagline {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 48px;
}

/* Bouton Hero */
.btn-yugen {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 999px;
    border: none;
    background: var(--yugen-gradient);
    color: var(--bg-main);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(70, 228, 255, 0.2);
}

.btn-yugen:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(70, 228, 255, 0.3);
}

/* Pochette image */
.hero-pouch {
    margin: 60px 0 40px;
}

.hero-pouch img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(70, 228, 255, 0.2));
    animation: floatPouch 6s ease-in-out infinite;
}

@keyframes floatPouch {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Stats hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 800;
    background: var(--yugen-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-main);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--yugen-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */

.box-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    padding: 40px;
    transition: all 0.3s ease;
}

.box-card:hover {
    border-color: rgba(70, 228, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(70, 228, 255, 0.1);
}

.card-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--yugen-gradient);
    color: var(--bg-main);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    margin-bottom: 24px;
}

.card-title {
    font-family: var(--font-main);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.card-price {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--yugen-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.card-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Liste contenu garanti */
.content-list {
    list-style: none;
    margin: 32px 0;
}

.content-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-main);
    line-height: 1.6;
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list li strong {
    background: var(--yugen-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Vignettes boosters */
.boosters-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.booster-thumb {
    width: 60px;
    height: 80px;
    background: rgba(70, 228, 255, 0.05);
    border: 1px solid rgba(70, 228, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION DÉCOUVERTE / PREMIUM
   ═══════════════════════════════════════════════════════════ */

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Panneau de probabilités */
.probability-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    padding: 32px;
    margin-top: 32px;
}

.probability-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-soft);
}

.probability-row:last-child {
    border-bottom: none;
}

.prob-label {
    flex: 1;
    font-weight: 600;
    color: var(--text-main);
}

.prob-badge {
    padding: 6px 16px;
    background: rgba(70, 228, 255, 0.1);
    border: 1px solid rgba(70, 228, 255, 0.3);
    border-radius: 999px;
    color: var(--yugen-gradient-start);
    font-weight: 700;
    font-size: 14px;
}

.prob-boosters {
    display: flex;
    gap: 8px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION TRANSPARENCE
   ═══════════════════════════════════════════════════════════ */

.transparency-steps {
    max-width: 800px;
    margin: 0 auto;
}

.transparency-step {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.transparency-step:hover {
    border-color: rgba(70, 228, 255, 0.2);
    transform: translateX(8px);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yugen-gradient);
    color: var(--bg-main);
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
}

.step-content h3 {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   SECTION COMMENT ÇA MARCHE
   ═══════════════════════════════════════════════════════════ */

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.how-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    padding: 32px;
    text-align: center;
}

.how-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.how-card h3 {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.how-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   SECTION INSCRIPTION
   ═══════════════════════════════════════════════════════════ */

.section-register {
    background: radial-gradient(circle at 50% 50%, rgba(70, 228, 255, 0.05), transparent);
}

.register-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid rgba(70, 228, 255, 0.2);
    border-radius: var(--radius-card);
    padding: 48px;
}

.register-title {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    background: var(--yugen-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.register-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(11, 15, 20, 0.6);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--yugen-gradient-start);
    box-shadow: 0 0 0 3px rgba(70, 228, 255, 0.1);
}

.btn-register {
    width: 100%;
    padding: 16px;
    background: var(--yugen-gradient);
    color: var(--bg-main);
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(70, 228, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.prehome-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-soft);
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-family: var(--font-main);
    font-weight: 700;
    background: var(--yugen-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .header-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        flex-direction: column;
        background: rgba(11, 15, 20, 0.98);
        padding: 32px;
        border-left: 1px solid var(--border-soft);
        transition: right 0.3s ease;
    }
    
    .header-nav.active {
        right: 0;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .boxes-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .how-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
}

        :root {
            /* Palette inspirée de la pochette Yūgen */
            --color-bg: #0a0a0c;
            --color-bg-card: #111114;
            --color-bg-slot: #161619;
            --color-bg-elevated: #1c1c20;
            
            /* Dégradé turquoise/teal signature */
            --color-teal-dark: #0d9488;
            --color-teal: #14b8a6;
            --color-teal-light: #2dd4bf;
            --color-teal-glow: #5eead4;
            
            /* Accents argentés */
            --color-silver: #94a3b8;
            --color-silver-light: #cbd5e1;
            
            /* Badges probabilité */
            --color-red: #ef4444;
            --color-red-dark: #dc2626;
            --color-green: #22c55e;
            --color-green-dark: #16a34a;
            
            /* Tiers */
            --color-legendary: #fbbf24;
            --color-diamond: #60a5fa;
            --color-platinum: #a1a1aa;
            --color-gold: #f59e0b;
            
            /* Texte */
            --color-text: #f1f5f9;
            --color-text-muted: #64748b;
            --color-text-subtle: #475569;
            
            /* Gradients */
            --gradient-teal: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-teal-light) 50%, var(--color-teal-dark) 100%);
            --gradient-teal-glow: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-glow) 50%, var(--color-teal) 100%);
            --gradient-red: linear-gradient(135deg, var(--color-red-dark) 0%, var(--color-red) 100%);
            --gradient-green: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Outfit', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: #000000;
            color: var(--color-text);
            line-height: 1.6;
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        /* Étoiles en arrière-plan */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(1px 1px at 20px 30px, var(--color-teal-dark), transparent),
                radial-gradient(1px 1px at 40px 70px, var(--color-silver), transparent),
                radial-gradient(1px 1px at 50px 160px, var(--color-teal-dark), transparent),
                radial-gradient(1px 1px at 90px 40px, var(--color-silver), transparent),
                radial-gradient(1px 1px at 130px 80px, var(--color-teal-dark), transparent),
                radial-gradient(1px 1px at 160px 120px, var(--color-silver), transparent),
                radial-gradient(1.5px 1.5px at 200px 50px, var(--color-teal-light), transparent),
                radial-gradient(1px 1px at 250px 150px, var(--color-silver), transparent),
                radial-gradient(1px 1px at 300px 100px, var(--color-teal-dark), transparent),
                radial-gradient(1.5px 1.5px at 400px 200px, var(--color-teal-light), transparent),
                radial-gradient(1px 1px at 500px 80px, var(--color-silver), transparent),
                radial-gradient(1px 1px at 600px 180px, var(--color-teal-dark), transparent),
                radial-gradient(1px 1px at 700px 60px, var(--color-silver), transparent),
                radial-gradient(1.5px 1.5px at 800px 140px, var(--color-teal-light), transparent),
                radial-gradient(1px 1px at 900px 220px, var(--color-silver), transparent),
                radial-gradient(1px 1px at 1000px 100px, var(--color-teal-dark), transparent);
            background-repeat: repeat;
            background-size: 1100px 250px;
            opacity: 0.4;
            pointer-events: none;
            z-index: 0;
            animation: twinkle 8s ease-in-out infinite alternate;
        }

        @keyframes twinkle {
            0% { opacity: 0.3; }
            100% { opacity: 0.5; }
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 2rem;
            position: relative;
            z-index: 1;
        }

        /* ============================================
           BOX SECTION HEADER
           ============================================ */
        .box-section {
            margin-bottom: 5rem;
        }

        .box-header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 3rem 2rem;
            background: linear-gradient(180deg, var(--color-bg-card) 0%, transparent 100%);
            border-radius: 32px;
            position: relative;
            overflow: hidden;
        }

        /* Effet de lueur turquoise en haut */
        .box-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 2px;
            background: var(--gradient-teal-glow);
            box-shadow: 0 0 30px var(--color-teal), 0 0 60px var(--color-teal-dark);
        }

        .box-label {
            display: inline-block;
            padding: 0.5rem 1.5rem;
            background: var(--gradient-teal);
            color: var(--color-bg);
            font-weight: 700;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            border-radius: 100px;
            margin-bottom: 1.5rem;
        }

        .box-title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
            background: var(--gradient-teal-glow);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 60px rgba(45, 212, 191, 0.3);
        }

        .box-subtitle {
            font-size: 1.1rem;
            color: var(--color-silver);
            max-width: 550px;
            margin: 0 auto 2.5rem;
            font-weight: 400;
        }

        /* Stats Row */
        .box-stats {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1.25rem 2rem;
            background: var(--color-bg-slot);
            border-radius: 20px;
            border: 1px solid rgba(20, 184, 166, 0.15);
            min-width: 140px;
        }

        .stat-value {
            font-size: 1.75rem;
            font-weight: 800;
            background: var(--gradient-teal);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-text-muted);
            margin-top: 0.25rem;
        }

        /* ============================================
           SLOT CARDS
           ============================================ */
        .slots-grid {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .slot-card {
            background: var(--color-bg-card);
            border-radius: 24px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.04);
            transition: border-color 0.3s ease;
        }

        .slot-card:hover {
            border-color: rgba(20, 184, 166, 0.2);
        }

        .slot-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem 1.75rem;
            background: var(--color-bg-slot);
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        }

        .slot-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .slot-number {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-teal);
            border-radius: 14px;
            font-weight: 800;
            font-size: 1.1rem;
            color: var(--color-bg);
        }

        .slot-titles h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--color-text);
        }

        .slot-titles span {
            font-size: 0.8rem;
            color: var(--color-silver);
            font-weight: 400;
        }

        /* ============================================
           PROBABILITY BADGES
           ============================================ */
        .probability-badge {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1.1rem;
            background: var(--gradient-red);
            border-radius: 14px;
            box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35);
        }

        .probability-badge .percent {
            font-size: 1.35rem;
            font-weight: 800;
            color: white;
            line-height: 1;
        }

        .probability-badge .label {
            font-size: 0.6rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(255, 255, 255, 0.9);
        }

        .probability-badge.guaranteed {
            background: var(--gradient-green);
            box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
        }

        .slot-body {
            padding: 1.75rem;
        }

        .slot-description {
            margin-bottom: 1.5rem;
        }

        .slot-description p {
            color: var(--color-text-muted);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .slot-description .highlight {
            color: var(--color-teal-light);
            font-weight: 600;
        }

        /* Quantity Badge */
        .quantity-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.6rem 1.25rem;
            background: rgba(20, 184, 166, 0.1);
            border: 1px solid rgba(20, 184, 166, 0.25);
            border-radius: 100px;
            margin-bottom: 1.25rem;
        }

        .quantity-badge .number {
            font-size: 1.35rem;
            font-weight: 800;
            background: var(--gradient-teal);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .quantity-badge .text {
            font-size: 0.85rem;
            color: var(--color-silver);
        }

        /* ============================================
           BOOSTER GALLERY
           ============================================ */
        .booster-gallery {
            margin-top: 1.75rem;
        }

        .gallery-title {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--color-text-muted);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .booster-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
            gap: 0.875rem;
        }

        .booster-item {
            aspect-ratio: 63/88;
            background: var(--color-bg-slot);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.04);
        }

        .booster-item:hover {
            transform: translateY(-6px) scale(1.03);
            box-shadow: 0 15px 40px rgba(20, 184, 166, 0.25);
            border-color: rgba(20, 184, 166, 0.4);
        }

        .booster-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .booster-item .placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, var(--color-bg-slot) 0%, var(--color-bg-elevated) 100%);
            font-size: 0.6rem;
            color: var(--color-text-muted);
            text-align: center;
            padding: 0.5rem;
            font-weight: 500;
        }

        /* ============================================
           FOCUS BOXES
           ============================================ */
        .focus-box {
            margin-top: 1rem;
            padding: 1rem 1.25rem;
            background: rgba(20, 184, 166, 0.05);
            border-left: 3px solid var(--color-teal);
            border-radius: 0 14px 14px 0;
        }

        .focus-box h5 {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--color-teal-light);
            margin-bottom: 0.4rem;
        }

        .focus-box p {
            font-size: 0.85rem;
            color: var(--color-text-muted);
            line-height: 1.5;
        }

        /* ============================================
           VARIABLE SLOT OPTIONS
           ============================================ */
        .slot-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
        }

        @media (max-width: 768px) {
            .slot-options {
                grid-template-columns: 1fr;
            }
        }

        .slot-option {
            background: var(--color-bg-slot);
            border-radius: 18px;
            padding: 1.5rem;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.04);
            transition: border-color 0.3s ease;
        }

        .slot-option.standard {
            border-color: rgba(100, 116, 139, 0.2);
        }

        .slot-option.standard:hover {
            border-color: rgba(100, 116, 139, 0.4);
        }

        .slot-option.hit {
            border-color: rgba(239, 68, 68, 0.25);
            background: linear-gradient(145deg, rgba(239, 68, 68, 0.05) 0%, var(--color-bg-slot) 100%);
        }

        .slot-option.hit:hover {
            border-color: rgba(239, 68, 68, 0.4);
        }

        .option-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .option-title {
            font-size: 1.05rem;
            font-weight: 700;
        }

        .option-badge {
            padding: 0.5rem 1rem;
            border-radius: 10px;
            font-weight: 800;
            font-size: 1rem;
            color: white;
        }

        .option-badge.standard {
            background: linear-gradient(135deg, #475569 0%, #64748b 100%);
        }

        .option-badge.hit {
            background: var(--gradient-red);
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
        }

        .option-description {
            color: var(--color-text-muted);
            font-size: 0.875rem;
            margin-bottom: 0.75rem;
        }

        .option-detail {
            color: var(--color-text-subtle);
            font-size: 0.8rem;
        }

        /* ============================================
           HIT ITEMS LIST
           ============================================ */
        .hit-items {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            margin-top: 1rem;
        }

        .hit-item {
            display: flex;
            align-items: center;
            gap: 0.875rem;
            padding: 0.75rem;
            background: rgba(0, 0, 0, 0.35);
            border-radius: 14px;
            transition: background 0.2s ease;
        }

        .hit-item:hover {
            background: rgba(0, 0, 0, 0.5);
        }

        .hit-item-image {
            width: 42px;
            height: 59px;
            background: var(--color-bg-slot);
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .hit-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hit-item-info {
            flex: 1;
            min-width: 0;
        }

        .hit-item-name {
            font-weight: 600;
            font-size: 0.8rem;
            margin-bottom: 0.15rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .hit-item-value {
            font-size: 0.75rem;
            color: var(--color-teal-light);
            font-weight: 700;
        }

        .hit-item-icon {
            font-size: 1.1rem;
        }

        /* ============================================
           COLLECTOR TIERS
           ============================================ */
        .collector-tiers {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .tier-card {
            background: var(--color-bg-slot);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.04);
        }

        .tier-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.5rem;
            position: relative;
        }

        /* Tier-specific styles */
        .tier-card.legendary .tier-header {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(251, 191, 36, 0.03) 100%);
            border-bottom: 2px solid rgba(251, 191, 36, 0.25);
        }

        .tier-card.diamond .tier-header {
            background: linear-gradient(135deg, rgba(96, 165, 250, 0.12) 0%, rgba(96, 165, 250, 0.03) 100%);
            border-bottom: 2px solid rgba(96, 165, 250, 0.25);
        }

        .tier-card.platinum .tier-header {
            background: linear-gradient(135deg, rgba(161, 161, 170, 0.12) 0%, rgba(161, 161, 170, 0.03) 100%);
            border-bottom: 2px solid rgba(161, 161, 170, 0.25);
        }

        .tier-card.gold .tier-header {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.03) 100%);
            border-bottom: 2px solid rgba(245, 158, 11, 0.25);
        }

        .tier-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .tier-icon {
            font-size: 1.75rem;
        }

        .tier-titles h4 {
            font-size: 1.05rem;
            font-weight: 700;
        }

        .tier-titles span {
            font-size: 0.75rem;
            color: var(--color-text-muted);
        }

        /* Tier probability badge */
        .tier-badge {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.5rem 1rem;
            border-radius: 12px;
            font-weight: 800;
        }

        .tier-card.legendary .tier-badge {
            background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
            color: #1c1917;
            box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
        }

        .tier-card.diamond .tier-badge {
            background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
            color: white;
            box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
        }

        .tier-card.platinum .tier-badge {
            background: linear-gradient(135deg, #71717a 0%, #a1a1aa 100%);
            color: white;
            box-shadow: 0 4px 20px rgba(161, 161, 170, 0.4);
        }

        .tier-card.gold .tier-badge {
            background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
            color: white;
            box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
        }

        .tier-badge .percent {
            font-size: 1.15rem;
        }

        .tier-badge .label {
            font-size: 0.55rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .tier-body {
            padding: 1.25rem 1.5rem;
        }

        .tier-items {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 0.875rem;
        }

        .tier-item {
            display: flex;
            align-items: center;
            gap: 0.875rem;
            padding: 0.875rem;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 14px;
            transition: all 0.2s ease;
        }

        .tier-item:hover {
            transform: translateX(4px);
            background: rgba(0, 0, 0, 0.4);
        }

        .tier-item-image {
            width: 50px;
            height: 70px;
            background: var(--color-bg);
            border-radius: 10px;
            overflow: hidden;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        }

        .tier-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .tier-item-info {
            flex: 1;
            min-width: 0;
        }

        .tier-item-name {
            font-weight: 600;
            font-size: 0.85rem;
            margin-bottom: 0.2rem;
            line-height: 1.3;
        }

        .tier-item-value {
            font-size: 0.85rem;
            font-weight: 700;
        }

        .tier-card.legendary .tier-item-value { color: #fbbf24; }
        .tier-card.diamond .tier-item-value { color: #60a5fa; }
        .tier-card.platinum .tier-item-value { color: #a1a1aa; }
        .tier-card.gold .tier-item-value { color: #f59e0b; }

        .tier-item-note {
            font-size: 0.7rem;
            color: var(--color-text-muted);
            margin-top: 0.2rem;
        }

        /* ============================================
           UNIQUE NOTE
           ============================================ */
        .unique-note {
            margin-top: 2rem;
            padding: 1.5rem;
            background: rgba(20, 184, 166, 0.05);
            border: 1px solid rgba(20, 184, 166, 0.15);
            border-radius: 20px;
            text-align: center;
        }

        .unique-note .icon {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .unique-note p {
            color: var(--color-silver);
            font-size: 0.9rem;
        }

        /* ============================================
           FOOTER
           ============================================ */
        .page-footer {
            text-align: center;
            padding: 3rem 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }

        .footer-logo {
            font-size: 1.1rem;
            font-weight: 700;
            background: var(--gradient-teal);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
        }

        .footer-copyright {
            font-size: 0.8rem;
            color: var(--color-text-muted);
        }

        /* ============================================
           RESPONSIVE
           ============================================ */
        @media (max-width: 640px) {
            .container {
                padding: 1rem;
            }

            .box-title {
                font-size: 2rem;
            }

            .box-subtitle {
                font-size: 0.95rem;
            }

            .box-stats {
                gap: 0.75rem;
            }

            .stat-item {
                padding: 1rem 1.25rem;
                min-width: 100px;
            }

            .stat-value {
                font-size: 1.35rem;
            }

            .slot-header {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }

            .booster-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 0.6rem;
            }

            .tier-items {
                grid-template-columns: 1fr;
            }

            .tier-header {
                flex-direction: column;
                gap: 0.75rem;
                align-items: flex-start;
            }
        }


        /* Conteneur fixe en haut à droite */
.flash-container {
    position: fixed;
    top: 100px; /* Juste en dessous du header */
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Le Toast lui-même */
.flash-toast {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95); /* Fond blanc presque opaque */
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    border-left: 4px solid #333;
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Style spécifique Succès */
.flash-success {
    border-left-color: #10B981; /* Vert émeraude */
}
.flash-success .flash-icon {
    color: #10B981;
}

/* Style spécifique Erreur */
.flash-error, .flash-danger {
    border-left-color: #EF4444; /* Rouge */
}
.flash-error .flash-icon, .flash-danger .flash-icon {
    color: #EF4444;
}

/* Icône SVG */
.flash-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

/* Texte */
.flash-content {
    flex-grow: 1;
    font-family: 'Outfit', sans-serif;
    color: #1F2937;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Bouton fermer */
.flash-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #9CA3AF;
    cursor: pointer;
    margin-left: 10px;
    padding: 0 4px;
    transition: color 0.2s;
}
.flash-close:hover {
    color: #1F2937;
}

/* Animation d'entrée */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation de sortie (utilisée par JS) */
.flash-toast.hiding {
    opacity: 0;
    transform: translateX(20px);
}

.how-card-full{
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    padding: 32px;
    text-align: center;
    margin-top:20px;
}
