/* ================================================= */
/* GLOBAL RESET & TYPOGRAPHY */
/* ================================================= */
:root {
    --color-dark-bg: #1e1f26;     /* Discord-like dark background */
    --color-card-bg: #292b33;     /* Slightly lighter card background */
    --color-accent: #ffcc00;      /* Gold/Yellow accent color */
    --color-text-light: #fefefe;
    --color-text-dim: #b9bbbe;    /* Discord gray text */
    --color-success: #3cb462;     /* Green for CTA button */
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-text-light);
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--color-accent);
}

section {
    padding: 60px 5%;
}

/* ================================================= */
/* HEADER & NAVIGATION */
/* ================================================= */
header {
    background-color: var(--color-card-bg);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 50px;
    width: auto;
    margin-right: 15px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
}

.logo-text {
    font-size: 1.8em;
    margin: 0;
    color: var(--color-accent);
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav a {
    color: var(--color-text-dim);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
}

.invite-button {
    background-color: var(--color-success);
    color: var(--color-text-light) !important;
    padding: 8px 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.invite-button:hover {
    background-color: #349856;
}

/* ================================================= */
/* HERO SECTION (PREMIUM REDESIGN) */
/* ================================================= */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 5%;
}

/* Arrière-plan "Tech Grid" */
.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    z-index: 1;
}

/* --- COLONNE GAUCHE (TEXTE) --- */
.hero-content {
    flex: 1;
    max-width: 600px;
}

.version-badge {
    display: inline-block;
    background: rgba(255, 204, 0, 0.1);
    color: var(--color-accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    border: 1px solid rgba(255, 204, 0, 0.3);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

/* Texte Or avec Dégradé */
.text-gradient {
    background: linear-gradient(to right, #ffcc00, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2em;
    color: var(--color-text-dim);
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Boutons */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1em;
    transition: all 0.3s;
    background: var(--color-accent);
    color: #000 !important;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}
.primary-btn:hover {
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.6);
    transform: translateY(-3px);
}

.secondary-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1em;
    transition: all 0.3s;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-light) !important;
}
.secondary-btn:hover {
    border-color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.05);
}

/* --- COLONNE DROITE (VISUEL) --- */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 40px;
}

.hero-logo-img {
    width: 300px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.glowing-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--color-accent);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.float-card {
    position: absolute;
    bottom: 60px;
    right: 40px;
    background: rgba(30, 31, 38, 0.9);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 3;
    animation: float 5s ease-in-out infinite reverse;
    backdrop-filter: blur(10px);
}

.float-card span {
    display: block;
    font-size: 0.8em;
    color: var(--color-text-dim);
}
.float-card strong {
    color: var(--color-success);
    font-size: 1.2em;
}

/* --- ANIMATIONS & RESPONSIVE --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        padding: 0;
    }
    .hero-logo-img {
        width: 200px;
    }
    .float-card {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
}

/* ================================================= */
/* FEATURE SECTION */
/* ================================================= */
.features {
    background-color: var(--color-card-bg);
    text-align: center;
}

.features h3 {
    font-size: 2em;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--color-dark-bg);
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    border-top: 4px solid var(--color-accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.feature-item h4 {
    font-size: 1.3em;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--color-text-dim);
}

/* ================================================= */
/* EGG GALLERY STYLES (Grid Premium) */
/* ================================================= */
.egg-gallery-container {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.egg-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.egg-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: var(--color-card-bg);
    border: 2px solid rgba(255, 204, 0, 0.3);
    border-radius: 16px;
    padding: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.egg-gallery img:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.2);
    cursor: pointer;
}

.egg-count-claim {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-text-dim);
    margin-top: 20px;
}

.egg-count-claim strong {
    color: var(--color-accent);
}

/* ================================================= */
/* COMMANDS SECTION */
/* ================================================= */
.commands {
    text-align: center;
}

.commands h3 {
    font-size: 2em;
    margin-bottom: 40px;
}

.command-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.command-item {
    background-color: var(--color-card-bg);
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.command-item code {
    display: inline-block;
    background-color: var(--color-dark-bg);
    color: var(--color-accent);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.command-item p {
    color: var(--color-text-dim);
}

/* ================================================= */
/* UPDATES / PATCH NOTES SECTION */
/* ================================================= */
.updates {
    background-color: var(--color-dark-bg);
    text-align: center;
}

.updates h3 {
    font-size: 2em;
    margin-bottom: 40px;
}

.patch-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.patch-item {
    background-color: var(--color-card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.patch-item h4 {
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.patch-item .patch-date {
    color: var(--color-accent);
    font-size: 0.9em;
    margin-bottom: 10px;
}

.patch-item ul {
    list-style: disc;
    margin-left: 20px;
    color: var(--color-text-dim);
}

.patch-item ul li {
    margin-bottom: 5px;
}

/* ================================================= */
/* FOOTER */
/* ================================================= */
footer {
    background-color: var(--color-card-bg);
    text-align: center;
    padding: 20px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: var(--color-text-dim);
    margin-bottom: 10px;
    font-size: 0.9em;
}

.social-links a {
    color: var(--color-text-light);
    margin: 0 10px;
    font-size: 0.9em;
}

.social-links a:hover {
    color: var(--color-accent);
}
