/* Importation de la police Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* --- Variables de Design (Palette Néon Nocturne) --- */
:root {
    --bg-primary: #0B0F1A; /* Noir très foncé en fallback */
    --bg-secondary: #1a2233; /* Ajusté légèrement pour correspondre à l'image originale */
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --accent-blue: #00C7FF;
    --accent-pink: #EC008C;
    /* Le dégradé exact de l'image originale */
    --gradient-signature: linear-gradient(90deg, #00c6ff 0%, #ff00cc 100%);
    --font-family: 'Inter', sans-serif;
}

/* Scroll fluide sur toutes les pages */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* --- Base et Arrière-plan --- */
body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    
    /* --- GESTION DU BACKGROUND AVEC IMAGE --- */
    background-color: var(--bg-primary); /* Couleur de secours */
    /* On remonte d'un dossier (../) pour aller dans img */
    background-image: url('../img/background/bg_note_musique.png'); 
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* L'image couvre tout l'écran sans déformation */
}

body.landing-body {
    display: block;
    min-height: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

body.tcg-body {
    display: block;
    overflow: auto;
}
button {
    padding: 14px 28px;
    background: var(--gradient-signature);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 204, 0.4);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 198, 255, 0.3);
}

.btn-gradient {
    padding: 14px 32px;
    background: var(--gradient-signature);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 204, 0.4);
}

/* --- Conteneur de la Boîte de Connexion --- */
.login-box {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px; /* Un peu plus arrondi comme sur l'image */
    text-align: center;
    width: 90%;
    max-width: 450px;
    /* Ombre plus marquée et bordure subtile */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

/* --- Éléments de Texte --- */
h1 {
    font-size: 28px; /* Ajusté légèrement */
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-box p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* --- Champs de Saisie (Input) --- */
.input-group {
    margin-bottom: 20px;
}

.input-field {
    width: 100%; /* Utilisation de box-sizing border-box global */
    padding: 15px;
    background-color: #0f1521; /* Fond des inputs plus foncé */
    border: 1px solid #2a344a;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box; /* Important si padding est ajouté */
}

.input-field::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.input-field:focus {
    border-color: var(--accent-blue);
}

/* --- Bouton de Connexion --- */
.btn-login {
    width: 100%;
    padding: 15px 20px;
    background: var(--gradient-signature);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-transform: lowercase; /* Comme sur l'image originale "se connecter" */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Ombre utilisant la couleur bleue du dégradé */
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    /* Ombre utilisant la couleur rose au survol */
    box-shadow: 0 6px 20px rgba(255, 0, 204, 0.4);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 198, 255, 0.3);
}

/* --- Lien bas de page --- */
.signup-link-container {
    margin-top: 25px;
}

.signup-link-container a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.signup-link-container a:hover {
    color: var(--text-primary); /* Devient blanc au survol */
}

/* --- TCG PAGE acceuil SPECIFICS --- */

.tcg-body {
    /* On garde le background "notes de musique" défini précédemment */
    display: block; /* Annule le flex center du login */
    padding-top: 0;
}

/* Overlay pour menu mobile */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1050;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Navbar */
.tcg-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
    margin-bottom: 20px;
    background-color: rgba(11, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1100;
}

.nav-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1150;
}

/* Menu hamburger (caché par défaut sur desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1150;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.nav-item.active, .nav-item:hover {
    border-color: var(--accent-blue);
}

/* Bouton de déconnexion dans la navbar */
.btn-logout {
    padding: 10px 24px !important;
    font-size: 14px !important;
}

/* Layout Grid */
.tcg-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr; /* 3 colonnes */
    gap: 30px;
    
    /* Calcul de la hauteur : 100% de la vue - la hauteur de la navbar (80px) - padding (40px) */
    min-height: calc(100vh - 120px); 
    
    /* IMPORTANT : Force les colonnes à s'étirer à la même hauteur */
    align-items: stretch; 
    
    padding: 0 40px 20px 40px; /* Ajout d'un padding-bottom */
    max-width: 1600px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Card Frames Global */
.card-frame {
    background-color: #0d121f; /* Fond très sombre */
    border-radius: 8px; /* Coins légèrement arrondis seulement */
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Styles de bordures spécifiques */
.border-pink {
    border: 2px solid var(--accent-pink);
    box-shadow: 0 0 15px rgba(236, 0, 140, 0.2);
}

.border-blue {
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 199, 255, 0.2);
}

/* Helpers */
.h-100 { height: 100%; box-sizing: border-box; }
.mb-20 { margin-bottom: 20px; }
.flex-center { display: flex; flex-direction: column; align-items: center; justify-content: space-around; text-align: center; }

/* Typo Titres */
.card-frame h2 {
    font-size: 22px;
    margin: 0 0 20px 0;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.2;
}
.card-title {
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

/* -- Colonne Gauche (Récompense) -- */
.chest-icon {
    margin: 20px 0;
    /* Animation légère de respiration pour le coffre */
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.timer-text {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}
.timer-text strong { color: var(--text-primary); }

/* -- Colonne Centre -- */
/* Pour la colonne de gauche (Récompense) et de droite (Nouveautés) */
.col-reward .card-frame, 
.col-news .card-frame {
    height: 100%; /* Prend toute la hauteur de la colonne parente */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre le contenu verticalement */
    box-sizing: border-box;
}

/* Alignement spécifique pour les nouveautés (en haut) */
.col-news .card-frame {
    justify-content: flex-start; /* Les news commencent en haut */
}
.col-center {
    display: flex;
    flex-direction: column;
    height: 100%; /* Prend toute la hauteur */
    gap: 20px; /* Espace automatique entre les 3 blocs */
    justify-content: space-between; /* Répartit les blocs */
}

/* On supprime les marges manuelles (mb-20) car "gap" s'en occupe maintenant */
.mb-20 {
    margin-bottom: 0 !important;
}

/* On permet aux cadres du milieu de s'étirer intelligemment */
.col-center .card-frame {
    flex: 1; /* Chaque bloc prend une part égale de l'espace disponible */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre le texte à l'intérieur */
}

/* Si vous voulez que le bloc "Pack/Achat" soit plus petit que les autres, changez son flex */
.col-center .card-frame:last-child {
    flex: 0 0 auto; /* Garde sa taille naturelle */
    padding: 15px;
}
/* Missions */
.mission-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mission-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #334155;
    background: transparent;
    border-radius: 2px;
}
.mission-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Stats */
.stats-content p {
    margin: 5px 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

/* Pack Achat */
.vinyl-pack {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.pack-info {
    text-align: center;
}
.pack-info p {
    margin: 0 0 10px 0;
    font-weight: 700;
    color: var(--text-primary);
}
.btn-sm { padding: 8px 20px; font-size: 14px; width: auto; }

/* -- Colonne Droite (Nouveautés) -- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.news-card {
    background-color: #161e2e;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #2a344a;
}

.news-img {
    width: 50px;
    height: 50px;
    background-color: #000;
    border-radius: 4px;
    /* Ici vous mettrez background-image: url(...) */
    background-image: linear-gradient(45deg, #333, #555); 
}

.news-info h4 {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary);
}
.news-info span {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* --- PAGE COLLECTION --- */

.collection-container {
    max-width: 1600px; /* Largeur pour accommoder 5 colonnes confortablement */
    margin: 0 auto;
    padding: 20px 50px;
}

/* En-tête de section */
.collection-header {
    margin-bottom: 30px;
}

.collection-header h1 {
    font-size: 24px;
    color: white;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 2px solid white; /* Le soulignement blanc du titre */
    display: inline-block;
    padding-bottom: 5px;
}

.tag-category {
    color: #d946ef; /* Couleur violette néon */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

/* La Grille (5 colonnes comme sur l'image) */
.cards-grid {
    display: grid;
    /* repeat(5, 1fr) crée 5 colonnes de largeur égale */
    grid-template-columns: repeat(5, 1fr); 
    gap: 30px; /* Espacement entre les cartes */
}

/* Design de la Carte */
.collection-card {
    background-color: #1e293b; /* Bleu nuit ardoise (couleur de fond des cartes) */
    border-radius: 16px;
    padding: 20px; /* Padding interne (les "29" sur la maquette) */
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent; /* Bordure invisible par défaut */
}

.collection-card:hover {
    transform: translateY(-5px);
    background-color: #26334a;
}

/* Style spécifique pour la carte "Sélectionnée" (la première de l'image) */
.card-selected {
    /* Bordure hachurée violette */
    border: 2px dashed #a855f7; 
    background-color: rgba(168, 85, 247, 0.1); /* Fond légèrement teinté */
    position: relative;
}

/* Image */
.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1; /* Force l'image à être carrée */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    /* Dégradé doré/gris pour imiter le buste si pas d'image */
    background: linear-gradient(135deg, #4b5563 0%, #d4af37 100%);
    background-image: url('../img/album/Antagonist_Apashe.jpg.jpg'); background-size: cover; 
}

/* Textes */
.card-details h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.card-details p {
    color: #94a3b8; /* Gris clair */
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* Responsive : Adapter si l'écran est plus petit que la maquette */
@media (max-width: 1400px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
}

/* --- CORRECTION DU SCROLL --- */

/* On cible spécifiquement la classe utilisée sur les pages TCG */
.tcg-body {
    /* 1. On annule le blocage du scroll */
    overflow-y: auto !important; 
    
    /* 2. On change la hauteur fixe en hauteur minimale */
    height: auto !important; 
    min-height: 100vh;
    
    /* 3. On s'assure que l'image de fond reste fixe pendant qu'on scroll */
    background-attachment: fixed;
    
    /* Petit bonus : style de la barre de scroll pour qu'elle soit jolie (Chrome/Safari) */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--accent-blue) var(--bg-primary); /* Firefox */
}

/* Design de la barre de défilement (Webkit: Chrome, Edge, Safari) */
.tcg-body::-webkit-scrollbar {
    width: 10px;
}

.tcg-body::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

.tcg-body::-webkit-scrollbar-thumb {
    background-color: var(--bg-secondary);
    border-radius: 20px;
    border: 2px solid var(--bg-primary);
}

.tcg-body::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-blue);
}

/* --- PAGE PACKS --- */

.packs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 50px;
    height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
}

/* En-tête spécifique (Titre + Crédits) */
.packs-header-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.page-title {
    color: white;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

/* Boîte de Crédits (Top Right) */
.credits-box {
    position: absolute;
    right: 0;
    top: -10px;
    border: 1px solid var(--accent-blue);
    background-color: rgba(0, 199, 255, 0.1);
    padding: 10px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(0, 199, 255, 0.2);
}

.credits-box i {
    font-size: 24px;
}
.credit-amount {
    color: var(--accent-blue);
}

/* Grille des Packs (2 colonnes centrées) */
.packs-selection-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex: 1;
    align-items: center;
    flex-wrap: wrap;
}

/* Carte de Pack Individuelle */
.pack-card {
    background-color: #151b2b;
    width: 300px;
    padding: 40px 20px;
    border-radius: 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.pack-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Icône Vinyle */
.vinyl-circle {
    background-color: #1e293b;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.vinyl-circle i {
    font-size: 60px;
}

/* Textes de la carte */
.pack-card h3 {
    color: white;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pack-cost {
    color: #94a3b8;
    font-size: 18px;
    margin-bottom: 10px;
}
.pack-cost strong {
    color: white;
    font-size: 20px;
}

.drop-rate {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Tooltip Info pour le taux de drop */
.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #00C7FF;
    cursor: help;
    transition: transform 0.2s ease;
}

.info-tooltip:hover {
    transform: scale(1.1);
}

.info-tooltip i {
    font-size: 12px;
    color: #0B0F1A;
    font-weight: 700;
}

.info-tooltip .tooltip-text {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e293b;
    color: #E2E8F0;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border: 1px solid #00C7FF;
    z-index: 10;
}

.info-tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* Flèche du tooltip */
.info-tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1e293b;
}

/* Responsive Mobile - Tablette */
@media (max-width: 1024px) {
    .packs-container {
        padding: 20px 30px;
    }
    
    .pack-card {
        width: 280px;
        padding: 30px 15px;
    }
    
    .packs-header-section {
        margin-bottom: 40px;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .packs-container {
        padding: 15px 20px;
        height: auto;
        min-height: calc(100vh - 100px);
    }
    
    .packs-selection-grid {
        flex-direction: column;
        gap: 30px;
        height: auto;
        padding-bottom: 50px;
    }
    
    .packs-header-section {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .credits-box {
        position: static;
        width: 100%;
        justify-content: center;
        font-size: 16px;
        padding: 8px 15px;
    }
    
    .pack-card {
        width: 100%;
        max-width: 350px;
        padding: 30px 20px;
    }
    
    .vinyl-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .vinyl-circle i {
        font-size: 50px;
    }
    
    .pack-card h3 {
        font-size: 18px;
    }
    
    .pack-cost {
        font-size: 16px;
    }
    
    .pack-cost strong {
        font-size: 18px;
    }
}

/* Responsive très petit écran */
@media (max-width: 480px) {
    .packs-container {
        padding: 10px 15px;
    }
    
    .page-title {
        font-size: 18px;
        letter-spacing: 0px;
    }
    
    .pack-card {
        width: 100%;
        padding: 20px 15px;
    }
    
    .vinyl-circle {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .vinyl-circle i {
        font-size: 40px;
    }
    
    .pack-card h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .pack-cost {
        font-size: 14px;
    }
    
    .drop-rate {
        font-size: 12px;
    }
    
    .credits-box {
        font-size: 14px;
        padding: 6px 12px;
        gap: 8px;
    }
    
    .credits-box i {
        font-size: 18px;
    }
    
    .info-tooltip {
        width: 18px;
        height: 18px;
    }
    
    .info-tooltip i {
        font-size: 10px;
    }
}

/* --- PAGE DÉTAIL --- */

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 50px;
    display: flex;
    align-items: center; /* Centre verticalement */
    justify-content: center;
    gap: 60px; /* Espace entre l'image et le texte */
    min-height: calc(100vh - 100px);
}

/* --- Côté Image --- */
.detail-image-side {
    flex: 1;
    max-width: 500px;
}

.detail-img-placeholder, .detail-image-side img {
    width: 100%;
    aspect-ratio: 1/1; /* Carré parfait */
    border-radius: 8px; /* Coins légèrement arrondis */
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    object-fit: cover;
}

/* Placeholder si pas d'image (Buste Apashe simulé) */
.detail-img-placeholder {
    background: url('../img/bg_note_musique.jpg'), linear-gradient(135deg, #2b3040 0%, #d4af37 100%);
    background-blend-mode: overlay;
    background-size: cover;
}

/* --- Côté Informations --- */
.detail-info-side {
    flex: 1.2;
    background-color: #161b29; /* Fond bleu nuit sombre du panneau */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

/* En-tête */
.info-header h1 {
    font-size: 32px;
    color: white;
    margin: 0 0 5px 0;
}

.artist-name {
    color: #64748b; /* Gris bleuté */
    font-size: 16px;
    margin: 0;
}

/* Séparateur Dégradé */
.gradient-separator {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #00c6ff 0%, #ff00cc 100%);
    margin: 20px 0 30px 0;
    border-radius: 2px;
}

/* Grille interne (Tracklist vs Metadata) */
.info-content-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

/* Tracklist */
.tracklist-section {
    flex: 1;
}

.tracklist-section h3 {
    font-size: 18px;
    color: white;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
}

.tracklist-section ol {
    padding-left: 20px;
    margin: 0;
    color: #94a3b8;
}

.tracklist-section li {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Metadata Box (Le rectangle noir à droite) */
.metadata-box {
    flex: 1;
    background-color: #0b0f19; /* Fond presque noir */
    border-radius: 8px;
    padding: 20px;
    font-size: 14px;
    height: fit-content;
}

.meta-header {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    text-transform: capitalize;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.meta-label {
    color: #94a3b8; /* Gris clair */
    font-weight: 600;
}

.meta-value {
    color: white; /* Blanc */
    text-align: right;
    max-width: 60%;
}

/* Footer Bouton */
.action-footer {
    display: flex;
    justify-content: center;
}



/* Responsive */
@media (max-width: 900px) {
    .detail-container {
        flex-direction: column;
        padding: 20px;
    }
    
    .detail-image-side {
        max-width: 100%;
        width: 300px; /* Image plus petite sur mobile */
    }

    .info-content-grid {
        flex-direction: column;
    }
}
/* ==========================================================================
   PAGE OUVERTURE DE PACK - CSS COMPLET (VINYLE RÉALISTE)
   ========================================================================== */

/* Bloque le scroll pendant l'animation */
.overflow-hidden-temp {
    overflow: hidden;
    height: 100vh;
}

/* Conteneur global centré */
.opening-scene-wrapper {
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Petit fond radial subtil pour mettre en valeur la carte */
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.3) 0%, transparent 70%);
}

.initial-title {
    transition: opacity 0.5s ease;
    position: absolute;
    top: 40px;
    z-index: 20;
}

/* Scène 3D */
.opening-stage-container {
    position: relative;
    width: 400px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}


/* -----------------------------------------------------------
   ÉTAPE 1 : LE PACK FERMÉ
   ----------------------------------------------------------- */
.stage-closed-pack {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.5s ease-in;
}

/* Animation au survol */
.stage-closed-pack:hover .pack-placeholder-visual {
    animation: shakePack 0.5s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(236, 0, 140, 0.5);
    border-color: #fff;
}

@keyframes shakePack {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

/* Visuel du Pack */
.pack-placeholder-visual {
    width: 220px;
    height: 320px;
    background: linear-gradient(135deg, #0f1219 0%, #1a1f2e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 3px solid var(--accent-pink);
    box-shadow: 0 0 20px rgba(236, 0, 140, 0.2);
}


/* -----------------------------------------------------------
   ÉTAPE 2 : LA RÉVÉLATION (GROUPE)
   ----------------------------------------------------------- */
.stage-reveal-group {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    
    /* Départ : caché et petit */
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Conteneur Carte + Vinyle */
.glow-effect-container {
    position: relative;
    width: 260px;
    height: 260px;
    margin-bottom: 30px;
    /* Ombre double néon */
    box-shadow: -20px 0 50px rgba(236, 0, 140, 0.3), 
                 20px 0 50px rgba(0, 199, 255, 0.3);
    border-radius: 12px;
}

/* Image Carte */
.revealed-card-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 5; /* Devant le vinyle */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Infos Texte */
.reveal-info {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.3s;
}
.reveal-info h3 { margin: 0 0 5px 0; color: white; font-size: 24px; text-transform: uppercase; letter-spacing: 1px; }
.reveal-info p { margin: 0; color: var(--text-secondary); font-size: 14px; font-weight: 600; }


/* -----------------------------------------------------------
   ÉTAPE 3 : LE VINYLE HAUTE DÉFINITION
   ----------------------------------------------------------- */

.vinyl-disc-element {
    position: absolute;
    width: 240px;
    height: 240px;
    top: 10px; /* Centrage vertical (260 - 240) / 2 */
    left: 10px; /* Centrage horizontal */
    z-index: 1; /* Derrière la carte */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 1. DISQUE EXTÉRIEUR (Sillons réalistes) */
.vinyl-outer-disc {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #101010;
    
    /* Sillons fins en dégradé radial répété */
    background-image: repeating-radial-gradient(
        #121212, 
        #121212 2px, 
        #262626 3px, 
        #262626 4px
    );
    
    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
    border: 1px solid #000;
}

/* Reflet de lumière sur le vinyle (Effet plastique) */
.vinyl-outer-disc::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    /* Diagonale de brillance */
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
    pointer-events: none;
}

/* 2. LABEL CENTRAL (Le rond de couleur) */
.vinyl-inner-label {
    position: absolute;
    width: 38%; 
    height: 38%;
    border-radius: 50%;
    background-color: #1a1a1a;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ombre interne pour l'effet papier collé */
    box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}

/* 3. TROU CENTRAL (Toujours noir) */
.vinyl-hole {
    width: 18%;
    height: 18%;
    background-color: #0b0f19;
    border-radius: 50%;
    box-shadow: inset 0 1px 4px rgba(0,0,0,1);
    border: 1px solid rgba(255,255,255,0.05);
}


/* === VARIATIONS DE RARETÉ (AVEC GLOW INTENSE) === */

/* 1. COMMUN : Disque Sombre / Label Gris */
.vinyl-disc-element.vinyl-common .vinyl-inner-label {
    background-color: #475569;
    border: 4px solid #1e293b;
}
.vinyl-disc-element.vinyl-common .vinyl-outer-disc {
    /* Petit glow blanc discret pour le détacher du fond */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}


/* 2. RARE : Label BLEU + GLOW BLEU AUTOUR DU DISQUE */
.vinyl-disc-element.vinyl-rare .vinyl-inner-label {
    background-color: #00C7FF;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5); /* Ombre interne seulement */
}
.vinyl-disc-element.vinyl-rare .vinyl-outer-disc {
    /* C'est ici que la lumière revient ! */
    box-shadow: 0 0 30px rgba(0, 199, 255, 0.6); 
    border: 1px solid rgba(0, 199, 255, 0.3);
}


/* 3. ÉPIQUE : Label ROSE + GLOW ROSE AUTOUR DU DISQUE */
.vinyl-disc-element.vinyl-epic .vinyl-inner-label {
    background-color: #EC008C;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.vinyl-disc-element.vinyl-epic .vinyl-outer-disc {
    /* Gros glow rose intense */
    box-shadow: 0 0 30px rgba(236, 0, 140, 0.6);
    border: 1px solid rgba(236, 0, 140, 0.3);
}


/* 4. LÉGENDAIRE : Dégradé + GLOW BLANC PUISSANT */
.vinyl-disc-element.vinyl-legendary {
    animation: spinLegendary 8s linear infinite;
}

.vinyl-disc-element.vinyl-legendary .vinyl-outer-disc {
    background: conic-gradient(from 0deg, #00c6ff, #ff00cc, #00c6ff);
    /* Glow blanc très fort pour faire "divin" */
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
    border: none;
}
/* Les sillons par-dessus le dégradé */
.vinyl-disc-element.vinyl-legendary .vinyl-outer-disc::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%; border-radius: 50%;
    background: repeating-radial-gradient(transparent 0, transparent 2px, rgba(0,0,0,0.2) 3px, rgba(0,0,0,0.2) 4px);
}

.vinyl-disc-element.vinyl-legendary .vinyl-inner-label {
    background-color: #000000 !important;
    border: 2px solid rgba(255,255,255,0.5); /* Bordure blanche plus visible */
}

@keyframes spinLegendary {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* Texte Rareté */
.rarity-reveal {
    margin-top: 30px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
    text-shadow: 0 0 15px currentColor;
}

/* Groupe de boutons Réouverture */
.reopen-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.3s;
}

.reopen-buttons-group a {
    text-decoration: none;
}

.btn-reopen {
    width: 100%;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-reopen:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #00C7FF;
    border: 2px solid #00C7FF;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(0, 198, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
}

/* -----------------------------------------------------------
   TRIGGERS D'ANIMATION (Gestion des classes JS)
   ----------------------------------------------------------- */

/* ÉTAT 2 : Pack ouvert */
.state-revealed .stage-closed-pack {
    opacity: 0;
    transform: scale(2);
    pointer-events: none;
}

.state-revealed .stage-reveal-group {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.state-revealed .reveal-info {
    opacity: 1;
    transform: translateY(0);
}

/* ÉTAT 3 : Vinyle sort */
.state-final .vinyl-disc-element {
    /* Translation vers la droite (130px) + Rotation légère (20deg) */
    transform: translateX(130px) rotate(20deg);
}

.state-final .rarity-reveal {
    opacity: 1;
    transform: translateY(0);
}

.state-final .reopen-buttons-group {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE POUR LA PAGE D'OUVERTURE === */

/* Tablette et petits écrans */
@media (max-width: 1024px) {
    .opening-stage-container {
        width: 100%;
        max-width: 400px;
        height: 450px;
    }
    
    .glow-effect-container {
        width: 230px;
        height: 230px;
    }
    
    .vinyl-disc-element {
        width: 210px;
        height: 210px;
    }
    
    .pack-placeholder-visual {
        width: 180px;
        height: 260px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .opening-scene-wrapper {
        height: auto;
        min-height: calc(100vh - 100px);
        padding: 20px 10px;
    }
    
    .initial-title {
        top: 20px;
        font-size: 20px;
    }
    
    .opening-stage-container {
        width: 100%;
        height: auto;
        max-width: 350px;
    }
    
    .stage-closed-pack {
        width: 100%;
    }
    
    .pack-placeholder-visual {
        width: 160px;
        height: 240px;
    }
    
    .pack-placeholder-visual img {
        max-width: 150px !important;
        height: auto !important;
    }
    
    .instruction-text {
        font-size: 14px;
        margin-top: 15px;
    }
    
    .stage-reveal-group {
        width: 100%;
        padding: 0 10px;
    }
    
    .glow-effect-container {
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }
    
    .vinyl-disc-element {
        width: 180px;
        height: 180px;
        top: 10px;
        left: 10px;
    }
    
    .reveal-info h3 {
        font-size: 20px;
    }
    
    .reveal-info p {
        font-size: 13px;
    }
    
    .rarity-reveal {
        margin-top: 20px;
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .reopen-buttons-group {
        width: 100%;
        margin-top: 30px;
        max-width: 250px;
    }
    
    .btn-reopen {
        padding: 10px 20px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .state-final .vinyl-disc-element {
        transform: translateX(80px) rotate(20deg);
    }
}

/* Très petit écran */
@media (max-width: 480px) {
    .opening-scene-wrapper {
        padding: 15px 10px;
    }
    
    .initial-title {
        top: 15px;
        font-size: 18px;
        letter-spacing: 0;
    }
    
    .opening-stage-container {
        max-width: 100%;
    }
    
    .pack-placeholder-visual {
        width: 140px;
        height: 210px;
    }
    
    .pack-placeholder-visual img {
        max-width: 120px !important;
    }
    
    .instruction-text {
        font-size: 12px;
    }
    
    .glow-effect-container {
        width: 160px;
        height: 160px;
        margin-bottom: 15px;
    }
    
    .vinyl-disc-element {
        width: 140px;
        height: 140px;
    }
    
    .revealed-card-img {
        border-radius: 8px;
    }
    
    .reveal-info h3 {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .reveal-info p {
        font-size: 12px;
    }
    
    .rarity-reveal {
        margin-top: 15px;
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .reopen-buttons-group {
        margin-top: 20px;
        gap: 10px;
    }
    
    .btn-reopen {
        padding: 9px 15px;
        font-size: 13px;
        letter-spacing: 0.3px;
    }
    
    .state-final .vinyl-disc-element {
        transform: translateX(60px) rotate(15deg);
    }
}

/* ==========================================================================
   PAGE D'ACCUEIL (LANDING PAGE) - RESPONSIVE
   ========================================================================== */

.landing-body {
    background-color: var(--bg-primary);
    background-image: url('../img/background/bg_note_musique.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: block;
    overflow-x: hidden;
    color: var(--text-primary);
}

/* Navbar Landing */
.landing-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(11, 15, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.landing-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.landing-menu a:hover {
    color: var(--accent-blue);
}

.btn-outline-gradient {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
                var(--gradient-signature) border-box;
    padding: 12px 28px;
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-gradient:hover {
    background: var(--gradient-signature);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 204, 0.3);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 100px 50px 60px;
    max-width: 1300px;
    margin: 0 auto;
    gap: 40px 60px;
}

.hero-content {
    flex: 1 1 460px;
    max-width: 560px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 20px 0;
    background: var(--gradient-signature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    text-decoration: none;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

.hero-link:hover {
    color: var(--accent-blue);
}

.hero-image {
    flex: 1 1 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-img-placeholder {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 199, 255, 0.2), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-img-placeholder i {
    font-size: 150px;
    color: var(--accent-blue);
    opacity: 0.5;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1a2233, #2d3748);
    border-radius: 12px;
    border: 2px solid var(--accent-pink);
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card.c1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.c2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Features Section */
.features-section {
    padding: 60px 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title.text-left {
    text-align: left;
}

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

.feature-card {
    background-color: #151b2b;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.icon-box.color-pink {
    background-color: rgba(236, 0, 140, 0.2);
    color: var(--accent-pink);
}

.icon-box.color-blue {
    background-color: rgba(0, 199, 255, 0.2);
    color: var(--accent-blue);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 60px 50px 80px;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.studio-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a2233, #2d3748);
    border-radius: 12px;
    border: 2px solid var(--accent-blue);
}

.steps-section {
    padding: 40px 50px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.cta-strip {
    max-width: 1300px;
    margin: 20px auto 60px;
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(11, 15, 26, 0.75);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cta-text {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 0.4px;
}

.cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==========================================================================
   MEDIA QUERIES RESPONSIVE - TOUTES LES PAGES
   ========================================================================== */

/* === PAGE ACCUEIL TCG (index.php) === */

/* Tablette */
@media (max-width: 1200px) {
    .tcg-container {
        grid-template-columns: 1fr;
        gap: 20px;
        height: auto;
        padding: 20px;
        min-height: auto;
    }
    
    .tcg-col {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .col-reward .card-frame,
    .col-news .card-frame {
        height: auto;
        min-height: 300px;
    }
    
    .col-center {
        gap: 15px;
        height: auto;
    }
    
    .col-center .card-frame {
        flex: none;
    }
}

/* Mobile et tablette */
@media (max-width: 768px) {
    /* Menu hamburger pour mobile */
    .tcg-navbar {
        padding: 0 20px;
        height: 60px;
    }
    
    .nav-brand {
        font-size: 20px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background-color: rgba(11, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 30px 0;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(0, 199, 255, 0.3);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1100;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: left;
        padding: 15px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav-item:hover,
    .nav-item.active {
        background-color: rgba(0, 199, 255, 0.1);
        border-left-color: var(--accent-blue);
    }
    
    /* Page d'accueil TCG */
    .tcg-body {
        padding-top: 0;
    }
    
    .tcg-container {
        padding: 15px;
        gap: 15px;
    }
    
    .tcg-col {
        max-width: 100%;
    }
    
    .card-frame {
        padding: 20px 15px;
    }
    
    .card-frame h2 {
        font-size: 18px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .card-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    /* Récompense journalière */
    .chest-icon {
        margin: 15px 0;
    }
    
    .chest-icon i {
        font-size: 80px !important;
    }
    
    .timer-text {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    /* Pack */
    .vinyl-pack {
        margin-bottom: 15px;
    }
    
    .vinyl-pack img {
        width: 120px !important;
        height: 120px !important;
    }
    
    .pack-info p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    /* Missions */
    .mission-list {
        gap: 12px;
    }
    
    .mission-item {
        gap: 12px;
    }
    
    .custom-checkbox {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .mission-item span {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Stats */
    .stats-content p {
        font-size: 14px;
        margin: 8px 0;
    }
    
    /* News */
    .news-list {
        gap: 12px;
        margin-top: 15px;
    }
    
    .news-card {
        padding: 10px;
        gap: 12px;
    }
    
    .news-img {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .news-info h4 {
        font-size: 15px;
        margin-bottom: 3px;
    }
    
    .news-info span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tcg-navbar {
        padding: 0 15px;
        height: 55px;
    }
    
    .nav-brand {
        font-size: 18px;
    }
    
    .nav-menu {
        top: 55px;
        height: calc(100vh - 55px);
        width: 80%;
    }
    
    .nav-item {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .tcg-container {
        padding: 10px;
        gap: 12px;
    }
    
    .card-frame {
        padding: 15px 12px;
        border-radius: 6px;
    }
    
    .card-frame h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .card-title {
        font-size: 13px;
        padding-bottom: 8px;
    }
    
    /* Récompense */
    .chest-icon i {
        font-size: 70px !important;
    }
    
    .timer-text {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    /* Pack */
    .vinyl-pack img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .pack-info p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .btn-sm {
        padding: 8px 15px !important;
        font-size: 13px !important;
    }
    
    /* Missions */
    .mission-list {
        gap: 10px;
    }
    
    .mission-item {
        gap: 10px;
    }
    
    .custom-checkbox {
        width: 16px;
        height: 16px;
    }
    
    .mission-item span {
        font-size: 12px;
    }
    
    /* Stats */
    .stats-content p {
        font-size: 13px;
        margin: 6px 0;
    }
    
    /* News */
    .news-list {
        gap: 10px;
    }
    
    .news-card {
        padding: 8px;
        gap: 10px;
    }
    
    .news-img {
        width: 45px;
        height: 45px;
    }
    
    .news-info h4 {
        font-size: 14px;
    }
    
    .news-info span {
        font-size: 11px;
    }
    
    /* Boutons */
    .btn-gradient {
        font-size: 14px !important;
        padding: 10px 15px !important;
    }
}

/* === PAGE COLLECTION === */
@media (max-width: 768px) {
    .collection-container {
        padding: 15px;
    }
    
    .collection-header h1 {
        font-size: 20px;
    }
    
    .cards-grid {
        gap: 15px;
    }
    
    .collection-card {
        padding: 15px;
        border-radius: 12px;
    }
    
    .card-details h3 {
        font-size: 16px;
    }
    
    .card-details p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .collection-container {
        padding: 10px;
    }
    
    .collection-header h1 {
        font-size: 18px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .collection-card {
        padding: 12px;
    }
    
    .card-image-wrapper {
        margin-bottom: 10px;
    }
    
    .card-details h3 {
        font-size: 14px;
    }
    
    .card-details p {
        font-size: 12px;
    }
}

/* === PAGE DÉTAIL === */
@media (max-width: 768px) {
    .detail-container {
        padding: 20px 15px;
        gap: 30px;
    }
    
    .detail-info-side {
        padding: 25px;
    }
    
    .info-header h1 {
        font-size: 24px;
    }
    
    .artist-name {
        font-size: 14px;
    }
    
    .tracklist-section h3 {
        font-size: 16px;
    }
    
    .tracklist-section li {
        font-size: 13px;
    }
    
    .metadata-box {
        padding: 15px;
        font-size: 13px;
    }
    
    .meta-row {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .detail-container {
        padding: 15px 10px;
        gap: 20px;
    }
    
    .detail-image-side {
        width: 100%;
        max-width: 250px;
    }
    
    .detail-info-side {
        padding: 20px;
    }
    
    .info-header h1 {
        font-size: 20px;
    }
    
    .artist-name {
        font-size: 13px;
    }
    
    .gradient-separator {
        height: 3px;
        margin: 15px 0 20px 0;
    }
    
    .info-content-grid {
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .tracklist-section h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .tracklist-section li {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .metadata-box {
        padding: 12px;
        font-size: 12px;
    }
    
    .meta-header {
        font-size: 12px;
        margin-bottom: 10px;
    }
}

/* === PAGE D'ACCUEIL (LANDING) === */
@media (max-width: 1024px) {
    .landing-navbar {
        padding: 16px 24px;
    }

    .hero-section {
        padding: 70px 24px 40px;
        gap: 30px;
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .hero-image {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-title {
        font-size: 44px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-img-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .hero-img-placeholder i {
        font-size: 100px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
    
    .features-section,
    .steps-section,
    .about-section,
    .cta-strip {
        padding-left: 24px;
        padding-right: 24px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .landing-navbar {
        padding: 15px 20px;
    }
    
    .landing-menu {
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .hero-img-placeholder {
        width: 260px;
        height: 260px;
    }
    
    .hero-img-placeholder i {
        font-size: 80px;
    }
    
    .floating-card {
        width: 80px;
        height: 80px;
    }
    
    .features-section,
    .steps-section,
    .about-section,
    .cta-strip {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 15px;
    }
    
    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .feature-card h3 {
        font-size: 16px;
    }
    
    .feature-card p {
        font-size: 13px;
    }
    
    .about-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .landing-navbar {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }
    
    .nav-brand {
        font-size: 18px;
    }
    
    .landing-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .landing-menu a {
        font-size: 14px;
    }
    
    .btn-outline-gradient {
        width: 100%;
        text-align: center;
        padding: 8px 20px;
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .hero-img-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .hero-img-placeholder i {
        font-size: 60px;
    }
    
    .floating-card {
        width: 60px;
        height: 60px;
    }
    
    .features-section,
    .steps-section,
    .about-section,
    .cta-strip {
        padding: 30px 15px;
    }
    
    .section-title {
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .feature-card h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 12px;
    }
    
    .about-content p {
        font-size: 14px;
    }
}

/* === PAGES LOGIN & REGISTER === */
@media (max-width: 768px) {
    .login-box {
        padding: 30px 25px;
        width: 95%;
        max-width: 400px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .login-box p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .input-field {
        padding: 12px;
        font-size: 15px;
    }
    
    .btn-login {
        padding: 13px 18px;
        font-size: 17px;
    }
    
    .signup-link-container {
        margin-top: 20px;
    }
    
    .signup-link-container a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 25px 20px;
        width: 95%;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 20px;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
    }
    
    .login-box p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .input-group {
        margin-bottom: 15px;
    }
    
    .input-field {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .btn-login {
        padding: 12px 15px;
        font-size: 16px;
        border-radius: 6px;
    }
    
    .signup-link-container {
        margin-top: 18px;
    }
    
    .signup-link-container a {
        font-size: 0.8rem;
    }
    
    .signup-link-container span {
        font-size: 0.8rem !important;
    }
}

/* === GENERAL RESPONSIVE UTILITIES === */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    button, .btn-gradient {
        font-size: 15px !important;
        padding: 11px 18px !important;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    button, .btn-gradient {
        font-size: 14px !important;
        padding: 10px 15px !important;
    }
}