/* --- Configuración Global --- */
:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-orange: #ff9e00;
    --bg-dark: #0a0a12;
    --text-light: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Rajdhani', sans-serif; /* Fuente futurista */
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* --- Fondos Tecnológicos --- */
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px; /* Cuadrícula tipo Tron */
    z-index: -2;
}

.bg-glow {
    position: fixed;
    top: 50%; left: 50%;
    width: 80vw; height: 80vh;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, rgba(10, 10, 18, 0) 70%);
    z-index: -1;
}

/* --- Menú Hexagonal Futurista --- */
header {
    padding: 20px 0;
    z-index: 10;
}

.menu-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px; /* Espacio entre hexágonos */
}

/* La forma del hexágono usando clip-path */
.hex-btn {
    position: relative;
    width: 110px;
    height: 100px;
    background: rgba(16, 33, 65, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--neon-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    /* Esta es la magia que crea el hexágono */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.2);
}

/* Efecto "borde" brillante simulado */
.hex-btn::before {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: var(--bg-dark);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: -1;
}
.hex-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: -2;
    opacity: 0.7;
}

.hex-content {
    position: relative;
    z-index: 2;
}

/* Hover effect para el menú */
.hex-btn:hover {
    transform: scale(1.1);
    color: #fff;
    text-shadow: 0 0 10px var(--neon-blue);
}
.hex-btn:hover::after {
    opacity: 1;
    box-shadow: 0 0 30px var(--neon-blue);
}

/* Estilo especial para el botón "Salir" */
.hex-btn.salir {
    color: var(--neon-orange);
}
.hex-btn.salir::after {
    background: linear-gradient(45deg, var(--neon-orange), #ff4500);
}
.hex-btn.salir:hover {
    text-shadow: 0 0 10px var(--neon-orange);
}

/* --- Contenido Principal --- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.image-container {
    margin-bottom: 30px;
    position: relative;
}

/* Estilo de la imagen principal */
.hero-image {
    max-width: 100%;
    width: 700px; /* Ajusta el tamaño base de la imagen */
    height: auto;
    border-radius: 20px;
    /* Resplandor azul alrededor de la imagen para integrarla */
    filter: drop-shadow(0 0 25px rgba(0, 243, 255, 0.4));
    transition: transform 0.4s ease;
}

.hero-image:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Textos */
.text-container h1 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, var(--neon-blue));
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: #aab8c9;
    margin-bottom: 10px;
}

.date-info {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.highlight {
    color: var(--neon-blue);
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-blue);
}

/* --- Botón de "Volver al Inicio" --- */
.cyber-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--neon-blue);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    /* Clip path para darle un corte tecnológico en las esquinas */
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

/* Efecto de llenado al pasar el mouse */
.cyber-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.4), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.cyber-button:hover {
    background-color: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
}

.cyber-button:hover::before {
    left: 100%;
}

/* --- Responsivo (Para móviles) --- */
@media (max-width: 768px) {
    .hex-btn {
        width: 90px;
        height: 80px;
        font-size: 0.8rem;
    }
    .text-container h1 {
        font-size: 1.8rem;
    }
}