/* --- 1. VARIABLES Y ESTILOS BASE --- */
:root {
    --primary: #00f2ff;
    --mint: #00ffcc;
    --bg-dark: #0b0e14;
    --card-bg: rgba(15, 23, 42, 0.8);
    --warn: #ffd700;
}

body {
    background: var(--bg-dark);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.dialog-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://assets.faast.info/fondo.jpg') no-repeat center center;
    background-size: cover;
    filter: brightness(0.3) saturate(1.2);
    z-index: -1;
}

/* --- 2. CABECERA --- */
.menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}
.logo-top { height: 40px; filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.2)); }
.logo-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.2); }

/* --- 3. TÍTULO Y TIPOGRAFÍA --- */
.title-container { margin: 40px 0; text-align: center; }
.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 0.85;
    text-shadow: 0 0 20px var(--primary);
}
.highlight { color: var(--primary); }
.tagline { letter-spacing: 6px; color: var(--mint); font-size: 0.7rem; font-weight: 700; margin-top: 10px; text-transform: uppercase; }

/* --- 4. BOTONES --- */
.main-menu-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.btn-rect-anim {
    background: none; border: 2px solid var(--primary); color: var(--primary);
    padding: 15px 40px; font-weight: 900; text-transform: uppercase;
    letter-spacing: 2px; cursor: pointer; position: relative;
    overflow: hidden; transition: 0.3s; border-radius: 4px;
    text-decoration: none; text-align: center;
}
.btn-rect-anim:hover { background: var(--primary); color: #000; box-shadow: 0 0 25px var(--primary); }
.btn-secondary-fc { background: none; border: 1px solid rgba(255,255,255,0.3); color: #cbd5e1; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: 700; transition: 0.3s; }

/* --- 5. SECCIÓN MODO COLEGIO --- */
.school-mode-section {
    background: var(--card-bg);
    border: 1px dashed var(--mint);
    border-radius: 20px;
    padding: 25px;
    max-width: 450px;
    margin: 50px auto;
    position: relative;
    backdrop-filter: blur(10px);
    text-align: center;
}
.coming-soon-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--warn); color: black; font-size: 0.6rem; font-weight: 900; padding: 4px 15px; border-radius: 20px; }
.school-content h3 { color: var(--mint); margin: 10px 0; letter-spacing: 2px; }
.school-content p { font-size: 0.8rem; color: #94a3b8; line-height: 1.5; margin: 0; }

/* --- 6. SECCIÓN DE LOGOS --- */
.logo-footer-section {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}
.logo-title { font-size: 0.6rem; letter-spacing: 4px; color: #64748b; margin-bottom: 5px; }
.logo-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; width: 100%; }
.logo-slot { width: 90px; display: flex; align-items: center; justify-content: center; }
.logo-slot img { max-width: 100%; filter: grayscale(1) opacity(0.5); transition: 0.4s ease; }
.logo-slot img:hover { filter: grayscale(0) opacity(1); transform: scale(1.1); }

/* --- 7. SECCIÓN DE CRÉDITOS (SEPARADA Y CENTRADA) --- */
.credits-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 30px;
}

.credits-footer {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    opacity: 0.8;
    margin-top: 20px;
}

.credits-footer .highlight {
    color: var(--primary);
}

/* --- 8. MODALES --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(10px); }
.modal-card { background: #1e293b; border: 2px solid var(--primary); padding: 40px; border-radius: 20px; max-width: 500px; position: relative; text-align: left; }
.close-modal { position: absolute; top: 15px; right: 20px; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

/* RESPONSIVIDAD */
@media (max-width: 480px) {
    .main-title { font-size: 2.5rem; }
    .logo-grid { gap: 15px; }
    .logo-slot { width: 70px; }
}