/* =========================================================
   VARIABLES GLOBALES
========================================================= */
:root {
    --primary-color: #000000;
    --secondary-color: #3399ff;
    --accent-color: #3399ff;
    --text-color: #ffffff;
    --gradient: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(102, 0, 255, 0.5);
    --card-hover: rgba(51, 153, 255, 0.5);
}

/* =========================================================
   RESET / BASE
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* =========================================================
   SCROLLBAR CUSTOM
========================================================= */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: rgba(51, 51, 51, 0.1); /* couleur de fond du track */
    border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6633FF, #3399FF); /* violet → bleu */
    border-radius: 5px;
    box-shadow: inset 0 0 3px rgba(102,0,255,0.5);
}

/* =========================================================
   SCROLL PROGRESS BAR
========================================================= */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #6600FF, #3399ff);
    width: 0%;
    z-index: 99999;
    transition: width 0.25s ease;
}

/* =========================================================
NAVBAR STYLE TEAM FINAL (Liens à droite)
========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo à gauche, liens à droite */
    padding: 0.5rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 0, 255, 0.5);
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Effet scroll */
.navbar.scrolled {
    padding: 0.5rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 20px rgba(51, 153, 255, 0.5);
}

/* Logo à gauche */
.nav-brand {
    display: flex; /* plus besoin de position absolute */
    align-items: center;
    gap: 0.0rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.nav-brand i {
    color: #3399ff;
}

/* Liens alignés à droite */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end; /* liens à droite */
    position: relative;
}

/* Style des liens */
.nav-links a {
    position: relative;
    color: #888;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6600FF, #3399ff);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #3399ff;
}

.nav-links a.active::after {
    width: 100%;
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #fff;
    user-select: none;
    z-index: 10001;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger.active {
    transform: rotate(90deg);
    color: #33ffff;
}

/* =========================================================
NAVBAR RESPONSIVE
========================================================= */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
        position: fixed;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 1.5rem 0.5rem;
        border-radius: 12px;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        width: 90%;
        max-width: 400px;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 9999;
        box-sizing: border-box;
    }

    .nav-links.active {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
        border-radius: 12px;
        width: 95%;
        max-width: 350px;
        text-align: center;
        color: #fff;
        background: rgba(51, 153, 255, 0.1);
        transition: all 0.3s ease;
        box-sizing: border-box;
        min-height: 44px;
    }

    .nav-links a:hover {
        background: rgba(51, 153, 255, 0.3);
        color: #33ffff;
        transform: translateY(-2px);
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 18px;
        right: 20px;
    }

    .nav-brand img.logo {
        max-height: 30px;
    }
}

/* =========================================================
   HERO – RESPONSIVE (DESKTOP + MOBILE)
========================================================= */

.hero {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.85)),
        url("https://r2.fivemanage.com/ZoSR7TklbKs6LKQicbSAe/accueil.gif")
        center / cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 120px 20px 60px;
    color: #fff;
}

/* ====================
   CONTENU HERO
==================== */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
}

/* ====================
   TITRE
==================== */
.gradient-title {
    font-size: clamp(2.2rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;

    color: transparent;
    background: linear-gradient(135deg, #6633FF, #3399FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ====================
   TEXTE INTRO
==================== */
.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.6;
    margin: 0;
}

/* Bloc texte mis en valeur */
.hero-content [data-i18n="hero_intro"] {
    display: inline-block;
    position: relative;
    padding: 0.6rem 1.2rem 0.6rem 1.6rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #3399ff28, #6633ff2c);
    color: #fff;
    font-weight: 600;
    margin-top: 0.8rem;
}

/* Barre verticale à gauche */
.hero-content [data-i18n="hero_intro"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #6633ff, #3399ff);
    border-radius: 10px 0 0 10px;
}

/* ====================
   BOUTON CTA
==================== */
.cta-button {
    margin-top: 1.5rem;
    padding: 0.8rem 2.2rem;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 700;
    text-decoration: none;
    color: #fff;

    border-radius: 999px;
    background: linear-gradient(135deg, #6633FF, #3399FF);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

/* =========================================================
   MOBILE (Téléphone)
========================================================= */
@media (max-width: 768px) {
    .hero {
        padding: 70px 15px 40px;
    }

    .hero-content {
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* =========================================================
   TRÈS PETITS ÉCRANS
========================================================= */
@media (max-width: 400px) {
    .gradient-title {
        font-size: 2rem;
    }
}

/* ===== TRAILER VIDEO ===== */
.video-trailer {
    padding: 2rem 2rem;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.95));
}

.video-trailer h2 {
    color: #3399ff;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(102,0,255,0.5);
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 30.25%; /* 16:9 */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(51,153,255,0.5);
}

/* Bordure dégradée arrondie permanente */
.video-container::before {
    content: '';
    position: absolute;
    inset: 0;               /* couvre tout le container */
    border-radius: 20px;    /* coins arrondis */
    padding: 3px;           /* épaisseur de la bordure */
    background: linear-gradient(135deg, #6633FF, #3399FF);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;   /* laisse l'iframe interactif */
    z-index: 1;             /* derrière l'iframe */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;  /* même rayon que le container */
    display: block;
    z-index: 0;
}

.video-desc {
    margin-top: 1.5rem;
    color: #ccc;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .video-trailer h2 {
        font-size: 1.8rem;
    }

    .video-desc {
        font-size: 1rem;
    }
}

/* ===================== DISCLAIMER ===================== */
.disclaimer {
    background: rgba(0, 0, 0, 0.95);
    padding: 1.5rem;
    text-align: center;
    color: #888;
    font-size: 1rem;
    border-bottom: 2px solid rgba(102, 0, 255, 0.5);
    margin-top: 80px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.disclaimer.hidden {
    opacity: 0;
    transform: translateY(-100%);
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
}

.disclaimer-icon {
    color: #3399ff;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.disclaimer-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.disclaimer-text {
    color: #fff;
    font-weight: 500;
}

.disclaimer a {
    color: #ff3333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(102, 0, 255, 0.5);
    border-radius: 20px;
    background: rgba(51, 153, 255, 0.2);
}

.disclaimer a:hover {
    color: #fff;
    background: rgba(51, 153, 255, 0.2);
    text-shadow: 0 0 10px rgba(51, 153, 255, 0.3);
    transform: translateY(-2px);
}

.disclaimer-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) rotate(90deg);
}

/* =========================================================
   FEATURES / STATS
========================================================= */
.features, .server-stats {
    padding: 20px 0;
    background: linear-gradient(to bottom, var(--primary-color), #000);
}

.features-grid, .stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    padding: 0 1rem;
}

.features-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* =========================================================
   FEATURE / STAT CARD
   Bordure dégradée arrondie + shimmer hover
========================================================= */
.feature-card, .stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Bordure dégradée arrondie */
.feature-card::before, .stat-card::before {
    content: '';
    position: absolute;
    inset: 0; /* couvre toute la carte */
    border-radius: 15px; /* même que la carte */
    padding: 3px; /* épaisseur de la bordure */
    background: linear-gradient(135deg, #6633FF, #3399FF);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Shimmer animé sur hover */
.feature-card::after, .stat-card::after {
    content: "";
    position: absolute;
    top: 0; 
    left: -100%;
    width: 50%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102,0,255,0.5), rgba(51,153,255,0.5), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    transition: 0.5s;
}

.feature-card:hover::after, .stat-card:hover::after {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer { 
    0% { left: -100%; } 
    100% { left: 200%; } 
}

/* Hover glow et translation */
.feature-card:hover, .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(51,153,255,0.6), 0 0 15px rgba(102,0,255,0.4);
}

/* =========================================================
   ICONS
========================================================= */
.feature-icon, .stat-icon {
    width: 80px; 
    height: 80px;
    background: linear-gradient(135deg, #6633FF, #3399FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.feature-icon i, .stat-icon i { 
    font-size: 2.5rem; 
    color: var(--text-color); 
}

/* =========================================================
   TITRES
========================================================= */
.feature-content h3, .stat-content h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #6633FF, #3399FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    text-align: center;
}

/* =========================================================
   STATS SECTION
========================================================= */
.server-stats h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* =========================================================
   GALLERY 3x3 + LIGHTBOX
========================================================= */
/* ===== GALERIE CONTAINER ===== */
.gallery-container {
    background: rgba(0,0,0,0.85); /* fond sombre semi-transparent */
    padding: 1rem;
    border-radius: 15px;          
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(51,153,255,0.3);
}

/* Bordure dégradée arrondie pour container */
.gallery-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 3px; /* épaisseur de la bordure */
    background: linear-gradient(135deg, #6633FF, #3399FF);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ===== GALERIE INTERFACE ===== */
.gallery-interface {
    padding: 2rem 1rem;
    text-align: center;
    background: rgba(0,0,0,0.95);
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
}

.gallery-interface h2 {
    color: #3399ff;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

/* ===== GRILLE 3x3 ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
    grid-auto-rows: 200px;
    gap: 0.5rem; 
    justify-items: center; 
    align-items: center;
}

/* ===== IMAGE CARD ===== */
.gallery-grid img {
    width: 100%;       
    height: 100%;      
    object-fit: cover; 
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent; /* fallback pour bordure */
}

/* Bordure dégradée visible autour des images */
.gallery-grid img-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    padding: 3px; /* épaisseur de la bordure */
    background: linear-gradient(135deg, #6633FF, #3399FF);
}

.gallery-grid img-wrapper img {
    display: block;
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

/* Shimmer hover léger sur l'image */
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(51,153,255,0.5);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .gallery-interface {
        max-width: 95%; 
        padding: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
        grid-auto-rows: auto;
        gap: 0.5rem;
    }

    .gallery-grid img {
        height: auto;
        width: 100%;
    }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(51,153,255,0.6);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff3333;
}

#caption {
    text-align: center;
    color: #ccc;
    font-size: 1rem;
    margin-top: 10px;
}

/* Flèches navigation lightbox */
.lightbox .prev, .lightbox .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -30px;
    color: #fff;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s;
    user-select: none;
    border-radius: 10px;
    background: rgba(102,0,255,0.2);
}

.lightbox .prev:hover, .lightbox .next:hover {
    background: rgba(51,153,255,0.5);
}

.lightbox .prev { left: 10px; }
.lightbox .next { right: 10px; }

/* Caption */
.lightbox #caption {
    margin-top: 15px;
    color: #fff;
    font-size: 1.2rem;
}

/* =========================================================
   SOCIALS
========================================================= */
.socials {
    padding: 1rem 1rem;
    background: transparent;
    text-align: center;
}

.socials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #3399ff;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: rgba(51, 153, 255, 0.1);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn i {
    font-size: 1.2rem;
}

/* Hover effects par réseau */
.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(51, 153, 255, 0.5);
}

.social-btn.tiktok:hover { background: #69C9D0; color: #000; }
.social-btn.facebook:hover { background: #3b5998; color: #fff; }
.social-btn.topserveur:hover { background: #ff9900; color: #000; }
.social-btn.youtube:hover { background: #FF0000; color: #fff; }
.social-btn.twitch:hover { background: #6441a5; color: #fff; }

/* Mobile */
@media (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* =========================================================
LOGO
========================================================= */
.logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(51, 153, 255, 0.5));
    border-radius: 20px; /* logo arrondi */
}

/* =========================================================
FOOTER ÉPURÉ – STRUCTURÉ GAUCHE / CENTRE / DROITE
========================================================= */
footer {
    background: linear-gradient(to right, rgba(51,153,255,0.05), rgba(102,0,255,0.05));
    padding: 0.8rem 2rem;
    border-radius: 25px;
    display: flex;
    justify-content: space-between; /* gauche / centre / droite */
    align-items: center;
    font-size: 0.85rem;
    color: #fff;
    flex-wrap: wrap; /* permet l’adaptation mobile */
    gap: 0.5rem;
}

/* =========================================================
Zone gauche : liens légaux
========================================================= */
.footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-left a {
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    background: rgba(51,153,255,0.1);
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(102,0,255,0.3);
    transition: all 0.3s ease;
}

.footer-left a:hover {
    background: rgba(51,153,255,0.25);
    color: #33ffff;
    transform: translateY(-1px);
}

/* =========================================================
Zone centre : copyright
========================================================= */
.footer-center {
    text-align: center;
    color: #aaa;
}

/* =========================================================
Zone droite : W_Dev + logo
========================================================= */
.footer-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.footer-right img {
    height: 18px; /* logo discret */
    width: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 3px rgba(102,0,255,0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-right img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(51,153,255,0.7));
}

.footer-right span {
    color: #aaa;
}

.footer-right strong {
    color: #33ffff;
}

/* =========================================================
FOOTER RESPONSIVE – MOBILE
========================================================= */
@media (max-width: 768px) {
    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
        width: 100%;
    }

    .footer-left {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .footer-right {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .footer-left a {
        width: auto;
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
}

/* =========================================================
   UTILITAIRES / SCROLL TOP / DISCLAIMER
========================================================= */
.scroll-top {
    position:fixed; bottom:30px; right:30px; width:50px; height:50px;
    background:var(--gradient); border:none; border-radius:50%; color:var(--text-color); font-size:1.5rem;
    cursor:pointer; opacity:0; visibility:hidden; transition:all 0.3s ease; z-index:1000;
}
.scroll-top.show { opacity:1; visibility:visible; }
.scroll-top:hover { transform:translateY(-5px); box-shadow:0 5px 15px var(--card-hover); }

.disclaimer {
    background: rgba(0,0,0,0.95); padding:1.5rem; text-align:center; color:#888; font-size:1rem;
    border-bottom:2px solid rgba(102,0,255,0.5); margin:80px 0 2rem; display:flex; align-items:center; justify-content:center; gap:1rem;
    transition:all 0.5s ease;
}
.disclaimer.hidden { opacity:0; transform:translateY(-100%); height:0; padding:0; margin:0; border:none; }
.disclaimer-icon { color:#3399ff; font-size:1.5rem; animation:pulse 2s infinite; }
@keyframes pulse { 0%{transform:scale(1);}50%{transform:scale(1.1);}100%{transform:scale(1);} }
.disclaimer a { color:#ff3333; text-decoration:none; font-weight:bold; padding:0.5rem 1rem; border:1px solid rgba(102,0,255,0.5); border-radius:20px; background: rgba(51,153,255,0.2); transition:0.3s; }
.disclaimer a:hover { color:#fff; text-shadow:0 0 10px rgba(51,153,255,0.3); transform:translateY(-2px); }
.disclaimer-close { position:absolute; right:1rem; top:50%; transform:translateY(-50%); color:#888; background:none; border:none; font-size:1.2rem; cursor:pointer; border-radius:50%; width:30px; height:30px; display:flex; align-items:center; justify-content:center; transition:0.3s; }
.disclaimer-close:hover { color:#fff; background: rgba(255,255,255,0.1); transform:translateY(-50%) rotate(90deg); }

/* =========================================================
   MEDIA QUERIES GLOBALES
========================================================= */
@media (max-width:768px){
    .hero { padding:100px 20px 40px; }
    .feature-content h3, .stat-content h3 { font-size:1.3rem; }
    .gallery-grid { grid-template-columns:1fr; grid-auto-rows:auto; }
    .gallery-grid img { width:100%; height:auto; }
    .social-buttons { flex-direction:column; gap:0.8rem; }
}

/* =========================================================
   BACK TO TOP BUTTON
========================================================= */
#backToTop {
    position: fixed;
    bottom: 60px;
    right: 10px;
    padding: 0.5rem 0.7rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(51,153,255,0.3);
    color: #fff;
    font-size: 1.4rem;
    display: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

#backToTop.show {
    display: block;
}

#backToTop:hover {
    background: rgba(51,153,255,0.6);
    transform: translateY(-3px);
}
