/* Variables y Reset Básico */
:root {
    --color-background: #121212; /* Fondo oscuro */
    --color-primary: #BB86FC;    /* Morado vibrante (accent color) */
    --color-text: #FFFFFF;
    --color-text-secondary: #AAAAAA;
    --color-play-button: #007BFF; /* Azul para el nuevo botón */
}

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

/* 🚀 ARREGLO CLAVE PARA OCUPAR TODA LA PANTALLA Y CENTRAR */
html, body {
    /* 1. Establece la altura al 100% de la ventana */
    height: 100%; 
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    
    /* 2. Habilita Flexbox en el body para apilar elementos (header, hero, footer) */
    display: flex;
    flex-direction: column; 
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

/* 1. Header y Navegación */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--color-primary);
}

.main-header ul {
    list-style: none;
    display: flex;
}

.main-header ul li {
    margin-left: 20px;
}

.main-header a {
    color: var(--color-text);
    transition: color 0.3s;
}

.main-header a:hover {
    color: var(--color-primary);
}

/* 2. Sección Principal (Hero) */
.hero-section {
    background: url('') no-repeat center center/cover;
    text-align: center;
    
    /* 3. Hace que el hero-section ocupe todo el espacio sobrante */
    flex-grow: 1; 
    
    /* 4. Habilita Flexbox INTERNO para centrar el contenido (título y botón) */
    display: flex; 
    justify-content: center; /* Centrado horizontal */
    align-items: center; /* Centrado vertical */
    flex-direction: column; /* Apila el título y el botón */
    padding: 20px; /* Padding de seguridad */
}

.hero-section h1 {
    font-size: 3.5em; /* Tamaño ajustado */
    font-weight: 700;
    margin-bottom: 25px; /* Más separación del botón */
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra para contraste */
}

/* NUEVOS ESTILOS PARA EL CÍRCULO DE REPRODUCCIÓN */
.play-circle-container {
    /* Asegura que el contenedor esté centrado (aunque ya lo hace .hero-section) */
    display: flex;
    justify-content: center;
}

.play-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: var(--color-play-button); /* Azul */
    border-radius: 50%; /* Hace el círculo */
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.7);
    transition: transform 0.3s ease-in-out; /* Transición para el efecto hover */
    cursor: pointer;
}

.play-circle img {
    /* Estilo para la imagen play.png */
    width: 40%; /* Ajusta el tamaño del triángulo */
    height: auto;
    /* Ajuste para centrar visualmente un triángulo de reproducción */
    transform: translateX(5%);
}

.play-circle:hover {
    transform: scale(1.1); /* Aumenta el tamaño un 10% al pasar el puntero */
    box-shadow: 0 0 25px rgba(0, 123, 255, 1);
}
/* FIN DE LOS NUEVOS ESTILOS */


/* 3. Grid de Contenido */
.content-grid {
    padding: 0 40px 60px;
    /* Este margen es innecesario si el hero-section es lo principal */
    /* margin-bottom: 40px; */ 
}

.content-grid h2 {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

.content-grid {
    display: grid;
    /* 2 columnas por defecto, ajustables para móviles */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.media-card {
    background-color: #1F1F1F;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
}

.media-card:hover {
    transform: translateY(-5px);
}

.media-placeholder {
    height: 150px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: var(--color-text-secondary);
    border-radius: 4px;
}

.media-card h3 {
    color: var(--color-primary);
    margin-bottom: 5px;
}

.play-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

/* 4. Pie de Página */
.main-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    color: var(--color-text-secondary);
    /* Asegura que el footer no se pegue al fondo si el contenido es pequeño */
    margin-top: auto; 
}

.social-links a {
    margin: 0 10px;
    font-size: 1.2em;
}

/* 5. Responsividad Básica */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 15px 20px;
    }

    .main-header nav ul {
        margin-top: 10px;
    }

    .main-header ul li {
        margin: 0 10px;
    }

    .hero-section h1 {
        font-size: 2em;
    }
}