/* =========================================
   1. CORE & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    --wow-gold: #f8b700;
    --wow-gold-dim: #c29f00;
    --wow-text: #e0e0e0;
    --nav-height: 80px;
    
    /* Couleurs de Rareté / Extension */
    --color-ascension: #a335ee; /* Epic Purple */
    --color-335: #0070dd;       /* Rare Blue */
    --color-classic: #e6cc80;   /* Heirloom Gold */
    --color-midnight: #00ffea;  /* Ethereal Cyan */
    --color-retail: #ff2a2a;    /* Legendary Orange/Red */
}

/* =========================================
   2. GLOBAL & BACKGROUND
   ========================================= */
body {
    margin: 0; padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--wow-text);
    min-height: 100vh;
    background-color: #050505;
    overflow-x: hidden;
    display: flex; flex-direction: column;
}

/* FOND D'ÉCRAN PARALLAXE */
body::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), #050505),
                url('https://image.noelshack.com/fichiers/2026/10/7/1772966983-6b917cca21c367b5f26a64f7a0509400.jpg');
    background-size: cover;
    background-position: center top;
    filter: blur(4px) contrast(1.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1; /* Pousse le footer vers le bas */
}

/* TYPOGRAPHIE */
h1, h2, h3, .wow-font, .nav-brand {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================
   3. NAVBAR
   ========================================= */
.wow-navbar {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    height: var(--nav-height);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 50px;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.nav-brand {
    font-size: 2rem; font-weight: 900;
    background: linear-gradient(to bottom, #fff, var(--wow-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(248, 183, 0, 0.3);
}

.nav-links { display: flex; gap: 20px; height: 100%; align-items: center; }

.nav-item {
    color: #bbb; text-decoration: none; font-family: 'Cinzel', serif;
    font-weight: 700; font-size: 0.9rem;
    padding: 10px 20px; border-radius: 4px;
    transition: all 0.3s; position: relative;
    border: 1px solid transparent;
}

.nav-item:hover, .dropdown-content a:hover {
    color: #fff; background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

/* Dropdown */
.dropdown-content {
    display: none; position: absolute; top: 60px; left: 0;
    background: #0f1115; border: 1px solid #333;
    min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,1);
    border-radius: 4px; overflow: hidden;
}
.nav-item:hover .dropdown-content { display: block; animation: slideDown 0.2s ease; }
.dropdown-content a {
    display: block; padding: 12px 20px; color: #aaa; text-decoration: none;
    border-bottom: 1px solid #222; font-family: 'Open Sans', sans-serif;
}

/* =========================================
   4. HERO SECTION (NOUVEAU)
   ========================================= */
.hero-section {
    text-align: center;
    padding: 100px 20px 60px 20px;
    position: relative;
}

.hero-title {
    font-size: 4rem; color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.8), 0 0 30px var(--wow-gold-dim);
    margin: 0;
    animation: fadeIn 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem; color: #ccc; margin-top: 10px;
    text-shadow: 2px 2px 4px #000;
    animation: fadeIn 1.5s ease-out;
}

/* =========================================
   5. CARTES ADDONS (IMPROVED)
   ========================================= */
.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.addon-card {
    background: rgba(20, 22, 28, 0.85);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 25px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    display: flex; flex-direction: column;
}

/* Effet de lueur au survol selon l'extension */
.addon-card:hover { transform: translateY(-7px); }

.addon-header { display: flex; gap: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }

.addon-icon {
    width: 68px; height: 68px; border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 2px solid #333;
}

.addon-card h3 { margin: 0 0 5px 0; font-size: 1.4rem; color: #fff; }

.addon-card p {
    color: #bbb; line-height: 1.6; font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1;
}

/* Bouton stylisé */
.btn-download {
    text-align: center; text-decoration: none;
    background: #111; color: var(--wow-text);
    padding: 15px; border-radius: 4px;
    font-family: 'Cinzel', serif; font-weight: bold;
    border: 1px solid #333; transition: 0.3s;
    text-transform: uppercase; letter-spacing: 1px;
}

.btn-download:hover {
    background: var(--wow-gold); color: #000;
    box-shadow: 0 0 20px rgba(248, 183, 0, 0.4);
    border-color: var(--wow-gold);
}

/* =========================================
   6. CLASSES DE COULEURS DYNAMIQUES
   ========================================= */
/* Ces classes s'ajoutent à la carte via PHP */
.border-ascension:hover { border-color: var(--color-ascension); box-shadow: 0 10px 40px rgba(163, 53, 238, 0.2); }
.border-335:hover { border-color: var(--color-335); box-shadow: 0 10px 40px rgba(0, 112, 221, 0.2); }
.border-classic:hover { border-color: var(--color-classic); box-shadow: 0 10px 40px rgba(230, 204, 128, 0.2); }
.border-midnight:hover { border-color: var(--color-midnight); box-shadow: 0 10px 40px rgba(0, 255, 234, 0.2); }
.border-retail:hover { border-color: var(--color-retail); box-shadow: 0 10px 40px rgba(255, 42, 42, 0.2); }

/* Badges */
.badge-exp { font-size: 0.7rem; padding: 4px 8px; border-radius: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.badge-ascension { color: var(--color-ascension); background: rgba(163, 53, 238, 0.1); border: 1px solid var(--color-ascension); }
.badge-335 { color: var(--color-335); background: rgba(0, 112, 221, 0.1); border: 1px solid var(--color-335); }
.badge-classic { color: var(--color-classic); background: rgba(230, 204, 128, 0.1); border: 1px solid var(--color-classic); }
.badge-midnight { color: var(--color-midnight); background: rgba(0, 255, 234, 0.1); border: 1px solid var(--color-midnight); }
.badge-retail { color: var(--color-retail); background: rgba(255, 42, 42, 0.1); border: 1px solid var(--color-retail); }

/* =========================================
   7. FOOTER
   ========================================= */
footer {
    background: #080808; border-top: 1px solid #222;
    padding: 40px 0; text-align: center; margin-top: auto;
}
footer p { color: #555; font-size: 0.9rem; }
footer a { color: #777; text-decoration: none; transition: 0.3s; }
footer a:hover { color: var(--wow-gold); }

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }