/* 107D - HOJA DE ESTILO MAESTRA FINAL */

:root {
    --primary-bg: #050505;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent: #a78bfa; 
    --accent-blue: #4a90e2;
    --grad-107d: linear-gradient(135deg, #1E6BFF 0%, #4FA3FF 35%, #BFD4E6 70%, #E8EEF2 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--primary-bg);
    background-image: radial-gradient(circle at top right, #1e1b4b, #050505);
    color: white;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Fondo de Partículas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* MENÚ ULTRA-COMPACTO PARA MÓVIL (7 elementos en 1 línea) */
.glass-nav-top {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 8px 10px;
    border-radius: 50px;
    z-index: 1000;
    width: 98%; /* Máximo ancho en móvil */
    max-width: fit-content;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 6px; /* Espacio mínimo para que entren todos */
    align-items: center;
}

.nav-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.62rem; /* Tamaño optimizado para 7 items */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0px;
    white-space: nowrap;
    transition: 0.3s;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent);
}

/* CONTENIDO PRINCIPAL */
.main-content {
    /* Si tienes un padding-top de 80px o 100px, bájalo */
    padding-top: 90px !important; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Aseguramos que el logo-container en cualquier página suba */
.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 90px; /* Sube el logo hacia la barra de navegación */
}

/* Títulos con Gradiente */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--grad-107d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 15px;
}

/* AJUSTE DE IMÁGENES (No más deformes) */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo-central {
    max-width: 220px; /* Tamaño controlado en móvil */
    margin-bottom: 20px;
}

.character-img {
    max-width: 280px; /* Tamaño controlado en móvil */
    margin: 0 auto;
}

/* BOTONES */
.btn-bottom, .btn-primary {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s;
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: var(--grad-107d);
    color: #050505;
    border: none;
}

.bottom-panel {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

/* RESPONSIVIDAD PARA PANTALLAS GRANDES (PC) */
@media (min-width: 768px) {
    .nav-list { gap: 20px; }
    .nav-list a { font-size: 0.85rem; letter-spacing: 1px; }
    .glass-nav-top { padding: 10px 30px; }
    
    .section-title { font-size: 3.5rem; }
    .logo-central { max-width: 350px; }
    .character-img { max-width: 450px; }
    
    .main-content { padding-top: 120px; }
}

/* CLASES DE APOYO */
.neumorph-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
}
