/* =========================================================
   FUENTES Y RESET
   ========================================================= */
@font-face {
    font-family: 'Debora Celina';
    src: url('Debora Celina.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Quitamos el fondo negro sólido porque ahora usaremos el video */
body.fdc-landing-page {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

/* =========================================================
   NUEVO: VIDEO DE FONDO
   ========================================================= */
.video-container {
    position: fixed; /* Se queda pegado al fondo aunque hagas scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

#bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(228, 33, 1, 0.7) 100%);
}

/* =========================================================
   1. MENÚ DE NAVEGACIÓN Y LOGO
   ========================================================= */
/* Estilos del Menú de Navegación */
.navbar {
  background-color: #1a1a1d;
  position: fixed;
  top: 8px;
  width: 101%;
  z-index: 9999; /* Asegura que el menú esté siempre por encima del contenido */
  padding: 10px 25px;
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #ff3823;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); /* Añade una sombra para destacarlo */
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto; /* Para alinear a la izquierda */
  padding-left: 8px; /* Ajusta el espacio desde el borde izquierdo */
}

.logo-img {
  max-height: 35px; /* Ajusta el tamaño del logo según se vea mejor */
  height: auto;
  display: block;
}


.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.nav-toggle-icon {
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  display: block;
  position: relative;
  transition: 0.3s;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s, top 0.3s, bottom 0.3s;
}

.nav-toggle-icon::before {
  top: -8px;
}

.nav-toggle-icon::after {
  bottom: -8px;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-item {
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #ff3823;
}
/* =========================================================
   2. DISEÑO DE LA LANDING (Títulos, Vinilo y Botones)
   ========================================================= */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 80px 20px;
    position: relative; /* Para que quede por encima del video */
    z-index: 1;
}

.intro-section {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.album-title {
    font-family: 'Debora Celina', serif;
    font-size: 72px;
    color: #ffffff; /* Lo dejé blanco para que resalte sobre el fondo rojo del video */
    margin-bottom: 40px;
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.5);
}

/* --- ANIMACIÓN DEL VINILO EN LA LANDING --- */
.vinyl-container {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border-radius: 50%;
    background-image: url('Vinilo_Gertrudis.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 145%; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.glow {
    box-shadow: 0 0 50px rgba(228, 33, 1, 0.9) !important;
}

.spinning {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Cuadrícula de Capítulos --- */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.chapter-card {
    background-color: rgba(17, 17, 17, 0.85); /* Un poco transparente para ver el video */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.chap-number {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #bbbbbb;
    margin-bottom: 10px;
}

.chap-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: white;
}

.status-indicator {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Botón Desbloqueado */
.unlocked {
    border-color: #E42101;
    cursor: pointer;
}

.unlocked .status-indicator { color: #E42101; }

.unlocked:hover {
    transform: translateY(-5px);
    background-color: #E42101;
    box-shadow: 0 10px 30px rgba(228, 33, 1, 0.5);
}

.unlocked:hover .chap-number, 
.unlocked:hover .status-indicator {
    color: #ffffff; 
}

/* Botones Bloqueados */
.locked {
    cursor: not-allowed;
    opacity: 0.7;
}

.locked .chap-name {
    color: #666666; 
    letter-spacing: 5px;
}

.locked .status-indicator { color: #888888; }

.locked:hover {
    border-color: rgba(255,255,255,0.3);
    background-color: rgba(26, 26, 26, 0.9);
}

/* =========================================================
   3. PIE DE PÁGINA (Footer)
   ========================================================= */
.footer {
    background-color: #1a1a1d;
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #E42101;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    width: 30px;
    transition: transform 0.3s ease;
}

.social-icon:hover { transform: scale(1.1); }

.footer p { color: #cccccc; font-size: 14px; }

/* =========================================================
   4. DISEÑO RESPONSIVO
   ========================================================= */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1d;
        flex-direction: column;
        padding: 20px 20px;
        border-bottom: 2px solid #E42101;
        display: none;
    }
    .nav-menu.active { display: flex; }
    .album-title { font-size: 48px; }
    .vinyl-container { width: 180px; height: 180px; }
    .landing-container { padding: 100px 20px 40px 20px; }
}