/* 
   Charte Graphique Officielle de POKYRA
   Palette sur-mesure "Artisanale" : Deep Midnight Steel, Rich Teal & Prestige Amber Gold.
   Élimine tout effet "générique d'IA" au profit d'un design moderne typé MMORPG de luxe.
*/

:root {
    /* Couleurs de fond */
    --bg-deep: hsl(222, 28%, 7%);
    --bg-slate-900: hsl(222, 26%, 10%);
    --bg-slate-800: hsl(222, 20%, 14%);
    --bg-glass: rgba(10, 18, 36, 0.65);
    
    /* Couleurs d'accentuation haut de gamme (Finies les teintes saturées IA) */
    --color-cyan: hsl(199, 85%, 48%); /* Un bleu aigue-marine profond et élégant */
    --color-cyan-glow: hsla(199, 85%, 48%, 0.25);
    
    --color-yellow: hsl(38, 92%, 52%); /* Un or ambré prestigieux et chaleureux */
    --color-yellow-glow: hsla(38, 92%, 52%, 0.25);
    
    --color-accent-blue: hsl(212, 100%, 45%);
    
    /* Couleurs de texte */
    --text-primary: hsl(210, 30%, 98%);
    --text-secondary: hsl(215, 18%, 80%);
    --text-muted: hsl(215, 12%, 58%);
    
    /* Bordures & Ombres */
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-hover: rgba(255, 255, 255, 0.12);
    
    --shadow-main: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    --shadow-cyan: 0 0 25px 0 hsla(199, 85%, 48%, 0.25);
    --shadow-yellow: 0 0 25px 0 hsla(38, 92%, 52%, 0.25);
    
    /* Polices */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-snappy: all 0.2s ease-out;
}

/* ---------------------------------------------------------
   RESETS & CONFIGURATION GÉNÉRALE
   --------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.limit-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Barrettes de défilement customisées */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-slate-800);
    border-radius: 5px;
    border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
}

/* ---------------------------------------------------------
   BARRE DE NAVIGATION (NAVBAR)
   --------------------------------------------------------- */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 14, 28, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.navbar-wrapper {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px hsla(199, 85%, 48%, 0.35));
    transition: var(--transition-smooth);
}

.nav-logo:hover .logo-svg {
    transform: rotate(-10deg) scale(1.08);
    filter: drop-shadow(0 0 10px hsla(38, 92%, 52%, 0.5));
}

/* Élimination définitive du décalage (gap) inesthétique */
.logo-text-wrapper {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    display: flex;
    gap: 0; /* Aucun espacement forcé entre POK et YRA */
    line-height: 1;
}

.logo-accent-electric {
    color: var(--color-yellow);
    text-shadow: 0 0 10px var(--color-yellow-glow);
}

.logo-text-base {
    color: var(--text-primary);
}

.badge-status-glow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(34, 197, 94, 0.1);
    color: hsl(142, 70%, 45%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: hsl(142, 72%, 50%);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 hsla(142, 72%, 50%, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px hsla(142, 72%, 50%, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 hsla(142, 72%, 50%, 0);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--text-primary);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-yellow));
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.nav-btn-boutique {
    background: linear-gradient(135deg, var(--color-yellow), hsl(32, 95%, 45%));
    color: hsl(222, 35%, 5%);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 9px 18px;
    border-radius: 8px;
    box-shadow: var(--shadow-yellow);
}

.nav-btn-boutique:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px 0 hsla(38, 92%, 52%, 0.45);
}

.nav-btn-discord {
    background: #5865F2;
    color: white;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.25);
}

.nav-btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(88, 101, 242, 0.45);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ---------------------------------------------------------
   SECTION ACCUEIL (HERO BANNER)
   --------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 20% 30%, hsl(222, 30%, 12%), var(--bg-deep) 65%);
    overflow: hidden;
}

.stars-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 30px 40px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 120px 240px, rgba(255,255,255,0.5), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 280px 140px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 450px 380px, rgba(255,255,255,0.6), rgba(0,0,0,0));
    background-size: 600px 600px;
    opacity: 0.35;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 54px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-yellow {
    background: linear-gradient(135deg, var(--color-yellow), hsl(28, 95%, 48%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

/* WIDGET COPIE D'IP */
.ip-widget {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 520px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-main);
}

.ip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ip-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.ip-address {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-cyan);
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px var(--color-cyan-glow);
}

.ip-copy-btn {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.ip-copy-btn:hover {
    background: var(--color-cyan);
    color: var(--bg-deep);
    border-color: var(--color-cyan);
    transform: scale(1.02);
}

.ip-copy-btn.copied {
    background: linear-gradient(135deg, var(--color-yellow), hsl(32, 95%, 45%)) !important;
    border-color: var(--color-yellow) !important;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-primary-glowing {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-accent-blue));
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-cyan);
}

.cta-primary-glowing:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px 0 hsla(199, 85%, 48%, 0.35);
}

.cta-secondary-glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.cta-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

/* INTÉGRATION HAUT DE GAMME DE LA BANNIÈRE ILLUSTREE */
.hero-visual-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-orb-cyan {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--color-cyan-glow) 0%, rgba(0,0,0,0) 70%);
    top: -40px;
    left: -40px;
    filter: blur(50px);
    z-index: 1;
}

.glowing-orb-yellow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--color-yellow-glow) 0%, rgba(0,0,0,0) 70%);
    bottom: -40px;
    right: -40px;
    filter: blur(50px);
    z-index: 1;
}

.banner-display-container {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 7.5; /* Ratio paysage parfait pour notre bannière e-sport */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-main);
    z-index: 2;
    transform: rotate(1deg);
    transition: var(--transition-smooth);
}

.banner-display-container:hover {
    transform: rotate(0deg) translateY(-8px);
    border-color: var(--color-cyan);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.banner-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit intégralement la carte sans aucune bande noire */
    display: block;
    transition: var(--transition-smooth);
}

.banner-display-container:hover .banner-showcase-img {
    transform: scale(1.03);
}

.server-stat-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 14, 28, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 10px;
}

/* WAVE TRANSITION */
.wave-transition {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-transition svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-transition .shape-fill {
    fill: var(--bg-slate-900);
}


/* ---------------------------------------------------------
   TITRAGE DES SECTIONS (COMMUN)
   --------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--color-cyan);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-top: 12px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-yellow));
    margin-top: 16px;
    border-radius: 2px;
}

/* ---------------------------------------------------------
   SECTION CONCEPT & CARACTÉRISTIQUES
   --------------------------------------------------------- */
.concept-section {
    padding: 100px 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-main);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.02), rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.card-glow-bg {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 70%);
    top: -40px;
    left: -40px;
    filter: blur(15px);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover .card-glow-bg {
    background: radial-gradient(circle, var(--color-cyan-glow) 0%, rgba(0,0,0,0) 70%);
    width: 180px;
    height: 180px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-main);
}

.icon-yellow {
    background: rgba(245, 158, 11, 0.08);
    color: var(--color-yellow);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.icon-cyan {
    background: rgba(6, 182, 212, 0.08);
    color: var(--color-cyan);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.icon-blue {
    background: rgba(59, 130, 246, 0.08);
    color: var(--color-accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-cyan);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link i {
    transition: var(--transition-smooth);
}

.feature-card:hover .card-link i {
    transform: translateX(5px);
}


/* ---------------------------------------------------------
   SECTION INTERACTIVE DES GRADES (L'ASCENSION)
   --------------------------------------------------------- */
.grades-section {
    background-color: var(--bg-slate-900);
    padding: 100px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
}

.grades-interactive-wrapper {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    margin-top: 50px;
}

.grades-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 12px;
}

/* Barrettes de défilement pour la liste des grades */
.grades-nav-list::-webkit-scrollbar {
    width: 6px;
}
.grades-nav-list::-webkit-scrollbar-thumb {
    background: var(--bg-slate-800);
    border-radius: 3px;
}

.grade-nav-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.grade-nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.grade-nav-ball-icon {
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
}

.grade-nav-info {
    display: flex;
    flex-direction: column;
}

.grade-nav-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.grade-nav-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.grade-nav-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.grade-nav-btn:hover {
    background: var(--bg-slate-800);
    border-color: var(--border-glass-hover);
    transform: translateX(4px);
}

.grade-nav-btn.active {
    background: rgba(199, 85, 48, 0.05);
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(199, 85, 48, 0.08);
}

.grade-nav-btn.active .grade-nav-arrow {
    color: var(--color-cyan);
    transform: translateX(4px);
}

/* CARTE DE DÉTAIL DU GRADE À DROITE */
.grade-detail-card {
    background: rgba(8, 14, 28, 0.45);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.grade-detail-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--color-cyan-glow) 0%, rgba(0,0,0,0) 70%);
    filter: blur(55px);
    pointer-events: none;
}

.grade-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid var(--color-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CONTENU DU GRADE INJECTÉ DYNAMIQUEMENT */
.grade-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 24px;
}

.grade-detail-title-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.grade-big-ball {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    font-size: 3rem;
}

.grade-title-group h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
}

.grade-index {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.grade-detail-time-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 10px 18px;
    text-align: right;
}

.time-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    display: block;
    text-transform: uppercase;
}

.time-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-cyan);
}

.grade-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-style: italic;
    line-height: 1.7;
}

/* AVANTAGES DÉBLOQUÉS */
.grade-benefits-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.grade-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 12px 16px;
}

.benefit-icon {
    color: var(--color-cyan);
    font-size: 1rem;
}

.benefit-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}


/* ---------------------------------------------------------
   SECTION GUIDE DE CONNEXION (COMMENT REJOINDRE)
   --------------------------------------------------------- */
.connect-section {
    padding: 100px 24px;
}

.connect-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-main);
    display: flex;
    flex-direction: column;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(245, 158, 11, 0.03));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.step-actions {
    margin-top: auto;
}

.step-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.step-btn:hover {
    background: var(--color-cyan);
    color: var(--bg-deep);
    border-color: var(--color-cyan);
}

.connection-bar {
    display: flex;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    overflow: hidden;
    align-items: center;
    padding-left: 14px;
    margin-top: auto;
}

.connection-ip {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--color-cyan);
    font-weight: bold;
    flex-grow: 1;
}

.copy-small-btn {
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-left: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 10px 14px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.copy-small-btn:hover {
    background: var(--color-cyan);
    color: var(--bg-deep);
}


/* ---------------------------------------------------------
   SECTION DE DOUBLE APPEL A L'ACTION (CTA BANNER)
   --------------------------------------------------------- */
.action-cta-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-slate-900) 100%);
    border-top: 1px solid var(--border-glass);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cta-banner {
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-main);
    display: flex;
    align-items: center;
    min-height: 280px;
    border: 1px solid var(--border-glass);
}

.discord-banner {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.12) 0%, rgba(8, 14, 28, 0.7) 80%);
}

.discord-banner::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.2) 0%, rgba(0,0,0,0) 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.boutique-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(8, 14, 28, 0.7) 80%);
}

.boutique-banner::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0,0,0,0) 70%);
    bottom: -50px;
    right: -50px;
    pointer-events: none;
}

.cta-banner-content {
    z-index: 2;
    position: relative;
}

.cta-banner-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.discord-banner h3 {
    color: #5865F2;
}

.boutique-banner h3 {
    color: var(--color-yellow);
}

.cta-banner-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 460px;
}

.btn-discord-large {
    background: #5865F2;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
}

.btn-discord-large:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(88, 101, 242, 0.4);
}

.btn-boutique-large {
    background: linear-gradient(135deg, var(--color-yellow), hsl(32, 95%, 45%));
    color: hsl(222, 35%, 5%);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-yellow);
}

.btn-boutique-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px 0 hsla(38, 92%, 52%, 0.45);
}


/* ---------------------------------------------------------
   PIED DE PAGE (FOOTER)
   --------------------------------------------------------- */
.footer-container {
    background-color: hsl(222, 32%, 5%);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.footer-links-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-link {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-link:hover {
    color: var(--color-cyan);
    transform: translateX(3px);
}

.mojang-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   COMPATIBILITÉ ET RESPONSIVENESS (MOBILE)
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .grades-interactive-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .grades-nav-list {
        flex-direction: row;
        overflow-x: auto;
        max-height: none;
        padding-bottom: 12px;
    }
    
    .grade-nav-btn {
        min-width: 220px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .navbar-wrapper {
        height: 70px;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: hsl(222, 28%, 7%);
        border-top: 1px solid var(--border-glass);
        flex-direction: column;
        padding: 40px 24px;
        gap: 30px;
        transform: translateX(100%);
        transition: var(--transition-smooth);
        overflow-y: auto;
    }
    
    .nav-links.mobile-open {
        transform: translateX(0);
    }
    
    /* Animation du bouton hamburger */
    .hamburger-menu.mobile-open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.mobile-open .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.mobile-open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .ip-widget {
        margin: 0 auto 32px;
        flex-direction: column;
        gap: 16px;
    }
    
    .ip-copy-btn {
        width: 100%;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .banner-display-container {
        max-width: 320px;
    }
    
    .features-grid, .connect-steps-grid, .cta-grid, .footer-wrapper {
        grid-template-columns: 1fr;
    }
    
    .connect-steps-grid {
        gap: 40px;
    }
    
    .grade-detail-card {
        padding: 24px;
    }
    
    .grade-detail-header {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .grade-detail-title-area {
        flex-direction: column;
    }
    
    .grade-benefits-grid {
        grid-template-columns: 1fr;
    }
}
