/* --- VARIABLES Y CONFIG BASE --- */
:root {
    --bg-dark: #020207;
    --primary: #00f2ff;
    --secondary: #bc13fe;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-dark);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- BACKGROUNDS --- */
.stars-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #0d0628 0%, #020207 100%);
    z-index: -10;
}
#particles-js { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -5; }

/* --- NAV (BARRA DE NAVEGACIÓN) --- */
nav {
    position: fixed; top: 0; width: 100%; height: 85px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 8%; background: rgba(2, 2, 7, 0.9);
    backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo { 
    font-family: 'Space Grotesk'; font-size: 1.8rem; font-weight: 900; 
    cursor: pointer; color: #fff; text-decoration: none; 
}
.logo span { color: var(--primary); text-shadow: 0 0 10px var(--primary); }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: #fff; font-size: 0.9rem; font-weight: 600; opacity: 0.7; transition: 0.3s; }
.nav-links a:hover { opacity: 1; color: var(--primary); }

/* Menú Hamburguesa (Alineado) */
.menu-btn { 
    display: none; font-size: 1.8rem; cursor: pointer; color: var(--primary); 
    align-items: center; justify-content: center; height: 100%; 
}

/* --- HERO SECTION --- */
.hero { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; padding-top: 80px; }
.hero h1 { font-family: 'Space Grotesk'; font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.gradient-text { background: linear-gradient(90deg, #fff, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: #aaa; max-width: 600px; margin: 0 auto 35px; font-size: 1.1rem; }

/* --- BOTONES (AQUÍ ESTÁ EL FIX DEL DISCORD) --- */
.hero-actions { display: flex; gap: 20px; justify-content: center; align-items: center; }

/* Botón Principal (Relleno) */
.btn-galaxy { 
    background: linear-gradient(45deg, var(--secondary), var(--primary)); 
    color: #fff !important; padding: 14px 30px; border-radius: 12px; 
    font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    transition: 0.3s; border: none; box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3); 
}
.btn-galaxy:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 242, 255, 0.5); }

/* Botón Secundario (Borde/Caja - Discord) */
.btn-outline { 
    background: rgba(255, 255, 255, 0.05); /* Fondo sutil */
    border: 1px solid var(--glass-border); /* Borde visible */
    color: #fff !important; padding: 14px 30px; border-radius: 12px; 
    font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    transition: 0.3s; 
}
.btn-outline:hover { 
    background: rgba(255, 255, 255, 0.1); 
    border-color: #fff; 
    transform: translateY(-3px); 
}

/* --- CARDS & GRID --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 80px 0; }
.section-title { text-align: center; font-family: 'Space Grotesk'; font-size: 3rem; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 60px; }

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

.glass-card {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 30px; padding: 50px 30px; text-align: center;
    position: relative; transition: var(--transition);
}
.glass-card:hover { transform: translateY(-15px); border-color: var(--primary); box-shadow: 0 15px 40px rgba(0, 242, 255, 0.15); }

.icon-box { width: 80px; height: 80px; background: rgba(0, 242, 255, 0.05); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; border: 1px solid rgba(0, 242, 255, 0.1); }
.icon-box i { font-size: 2.5rem; color: var(--primary); text-shadow: 0 0 10px var(--primary); }
.glass-card h3 { font-size: 1.6rem; margin-bottom: 15px; font-family: 'Space Grotesk'; }
.glass-card p { color: #888; font-size: 0.95rem; margin-bottom: 30px; height: 60px; }
.badge { position: absolute; top: 20px; right: 20px; background: var(--secondary); font-size: 0.7rem; font-weight: 900; padding: 4px 12px; border-radius: 20px; box-shadow: 0 0 10px var(--secondary); }

/* --- FOOTER --- */
footer { background: #010105; padding: 60px 8% 30px; border-top: 1px solid var(--glass-border); margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--primary); margin-bottom: 20px; text-transform: uppercase; }
.footer-col a { display: block; color: #555; text-decoration: none; margin-bottom: 10px; transition: 0.3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; color: #333; font-size: 0.8rem; }

/* --- RESPONSIVE (MÓVIL) --- */
@media (max-width: 992px) {
    .menu-btn { display: flex; } /* Se activa el botón */
    
    .nav-links { 
        position: fixed; top: 85px; right: -100%; width: 100%; height: calc(100vh - 85px); 
        background: #020207; flex-direction: column; padding: 50px; transition: 0.4s; 
        border-top: 1px solid var(--glass-border);
    }
    .nav-links.active { right: 0; }
    
    .hero-actions { flex-direction: column; width: 100%; padding: 0 10%; }
    .btn-galaxy, .btn-outline { width: 100%; justify-content: center; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }





/* --- AVISO DE COOKIES GALAXY --- */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Invisible al inicio */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 10000;
    transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.active {
    bottom: 30px; /* Sube a su posición */
}

.cookie-content p {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.cookie-btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
}

.cookie-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: -100%;
    }
}

