/* Estilos Globales y Full Screen */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden; /* Evita barras de desplazamiento */
    position: relative;
}

/* 1. Video de Fondo */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Detrás de todo el contenido */
    overflow: hidden;
}

#video-bg {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Asegura que cubra toda la pantalla sin distorsión */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Capa oscura para mejor lectura */
    z-index: -1;
}

/* 2. Contenido Principal */
.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.title {
    color: white;
    font-size: 5vw; /* Tamaño de fuente responsivo */
    font-weight: 900;
    letter-spacing: 0.8vw;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.start-button {
    display: block;
    padding: 15px 40px;
    background-color: #2e8b57; /* Verde llamativo */
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, transform 0.1s;
}

.start-button:hover {
    background-color: #3cb371; /* Verde más claro al pasar el mouse */
    transform: scale(1.05);
}

/* 3. Botón de Información Fijo */
.info-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.info-button {
    /* **Importante:** Usar 'display: block' o 'inline-block' para que acepte width/height */
    display: inline-block; 
    width: 35px;
    height: 35px;
    line-height: 35px; /* Centra el texto verticalmente */
    text-align: center;
    
    /* Estilos visuales */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none; /* Elimina el subrayado predeterminado */
}

.info-label {
    color: white;
    margin-left: 10px;
    font-size: 1rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

.info-label:hover {
    text-decoration: underline;
}
/* 4. Modal de Información (Alpine.js) */
.info-modal {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 80%; /* Más estrecho en móvil */
    max-width: 400px;
    background: white;
    padding: 20px;
    border-top-left-radius: 10px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    z-index: 30;
    /* Ajuste para móvil */
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

[x-show].info-modal {
    transform: translateY(0);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.modal-body p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.modal-close-button {
    margin-top: 15px;
    background-color: #ccc;
    color: #333;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Responsive para la web */
@media (min-width: 768px) {
    .title {
        font-size: 4rem;
        letter-spacing: 10px;
    }
}