﻿/* ==========================================
   1. RESET Y CONFIGURACIÓN BÁSICA
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #e0e0e0;
  background-color: #0a0a0a;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================
   2. FONDO DE CONCRETO Y PANTALLA INTRO
   ========================================== */
.concrete-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(30,30,30,0.85) 0%, rgba(10,10,10,0.98) 100%),
              url('https://images.unsplash.com/photo-1518640467707-6811f4a6ab73?q=80&w=1920') no-repeat center center/cover;
  z-index: -1;
  filter: grayscale(30%);
}

.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}

.intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skip-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.skip-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   3. ESTRUCTURA PRINCIPAL (INDEX / PORTADA)
   ========================================== */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  margin-bottom: 2.5rem;
}

.domain-title {
  font-family: 'Fira Code', monospace;
  font-size: 2.2rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* GRID DE 2 COLUMNAS */
.grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
  flex-grow: 1;
}

/* COLUMNA IZQUIERDA: MANIFIESTO */
.manifesto-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.manifesto-text p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cccccc;
  margin-bottom: 0.3rem;
  font-weight: 300;
}

.manifesto-text strong {
  color: #ffffff;
  font-weight: 600;
}

.manifesto-text .closing {
  font-weight: 600;
  color: #ffffff;
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

/* COLUMNA DERECHA: PORTALES */
.portals-column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}

.portal-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.portal-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
}

.portal-num {
  font-family: 'Fira Code', monospace;
  color: #888;
}

.portal-text {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.terminal-btn {
  border-color: rgba(0, 255, 100, 0.3);
  background: rgba(0, 20, 10, 0.3);
}

.terminal-btn .portal-num,
.terminal-btn .portal-text {
  color: #00ff66;
  font-family: 'Fira Code', monospace;
}

.terminal-btn:hover {
  background: rgba(0, 255, 100, 0.15);
  box-shadow: 0 0 15px rgba(0, 255, 100, 0.2);
}

/* ==========================================
   4. SECCIÓN DISCOGRAFÍA (DISCOGRAFIA.HTML)
   ========================================== */
.discography-header {
  margin-bottom: 2rem;
}

.back-link {
  font-family: 'Fira Code', monospace;
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #00ff66;
}

.section-subtitle {
  color: #aaa;
  font-size: 0.95rem;
  margin-top: 0.4rem;
  font-weight: 300;
}

/* MARCO CONTENEDOR DEL EXHIBIDOR DE MADERA */
.exhibitor-frame {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto 0 auto;
  padding: 1.5rem 1rem 0 1rem;
  background: rgba(30, 18, 12, 0.4);
  border: 4px solid #4e342e;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 10px 25px rgba(0,0,0,0.6);
  box-sizing: border-box;
}

/* FILA ADAPTATIVA: FUERZA A QUE LAS 7 TAPAS ENTREN EN PANTALLA */
.albums-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.album-item {
  flex: 1 1 0px;
  min-width: 0;
  text-decoration: none;
  display: block;
}

.album-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  background-color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.album-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* HOVER / INFO SOBREPUESTA */
.album-hover-info {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.3rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(2px);
}

.album-year {
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  color: #00ff66;
  margin-bottom: 0.2rem;
}

.album-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

.album-item:hover .album-card {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.9);
}

.album-item:hover .album-hover-info {
  opacity: 1;
}

/* BASE REPISA DE MADERA */
.wood-shelf-base {
  width: calc(100% + 2rem);
  margin-left: -1rem;
  height: 20px;
  background: linear-gradient(180deg, #5d4037 0%, #3e2723 100%);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
  margin-top: 0;
}

/* ==========================================
   5. PÁGINA INDIVIDUAL DE ÁLBUM (MONDO, ETC.)
   ========================================== */
.album-detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 1rem;
}

/* Columna Tapa */
.album-cover-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.large-cover-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.large-cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-meta-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: #bbb;
  font-family: 'Fira Code', monospace;
}

.album-meta-info p {
  margin-bottom: 0.4rem;
}

.album-meta-info strong {
  color: #00ff66;
}

/* Columna Contenido */
.album-content-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.album-content-column h2 {
  font-family: 'Fira Code', monospace;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.4rem;
}

.album-description p {
  line-height: 1.6;
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 300;
}

/* --- BOTONES E ÍCONOS DE PLATAFORMAS (ALTO CONTRASTE) --- */
.icon-streaming-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.icon-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 1.6rem;
  text-decoration: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.icon-btn:hover {
  transform: translateY(-5px) scale(1.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.icon-btn.spotify:hover { color: #1DB954 !important; border-color: #1DB954; background: rgba(29, 185, 84, 0.25); box-shadow: 0 0 20px rgba(29, 185, 84, 0.5); }
.icon-btn.apple:hover { color: #FA233B !important; border-color: #FA233B; background: rgba(250, 35, 59, 0.25); box-shadow: 0 0 20px rgba(250, 35, 59, 0.5); }
.icon-btn.youtube:hover { color: #FF0000 !important; border-color: #FF0000; background: rgba(255, 0, 0, 0.25); box-shadow: 0 0 20px rgba(255, 0, 0, 0.5); }
.icon-btn.bandcamp:hover { color: #1DA0C3 !important; border-color: #1DA0C3; background: rgba(29, 160, 195, 0.25); box-shadow: 0 0 20px rgba(29, 160, 195, 0.5); }
.icon-btn.deezer:hover { color: #FF0099 !important; border-color: #FF0099; background: rgba(255, 0, 153, 0.25); box-shadow: 0 0 20px rgba(255, 0, 153, 0.5); }

/* --- LISTA DE TEMAS UNIFICADA --- */
.tracklist-container {
  margin-top: 1rem;
}

.unified-tracklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track-item-static {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.88rem;
  color: #aaa;
}

.track-accordion {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08)
}
/* ==========================================
   9. REPISA DEDICADA A LIBROS (CATALOGO.HTML)
   ========================================== */

/* Contenedor principal de la repisa de libros */
.books-exhibitor-frame {
  width: 100%;
  max-width: 760px;
  margin: 2rem auto 3rem auto;
  padding: 2rem 1.5rem 0 1.5rem;
  background: rgba(30, 18, 12, 0.35);
  border: 4px solid #4e342e;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.85), 0 15px 30px rgba(0, 0, 0, 0.7);
}

/* Fila donde se apoyan los libros */
.books-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2.5rem;
  padding-bottom: 0;
}

/* Enlace/Contenedor individual */
.book-shelf-item {
  text-decoration: none;
  display: block;
  perspective: 800px;
}

/* Tarjeta con proporción vertical de Libro (3:4) */
.book-cover-card {
  position: relative;
  width: 160px;              /* Ancho ideal para destacar en la bandeja */
  aspect-ratio: 3 / 4;       /* Relación vertical clásica de libro */
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
}

.book-cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Efecto Hover con información */
.book-cover-card .book-hover-info {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.8rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.book-hover-info .book-year {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: #00ff66;
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}

.book-hover-info .book-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

/* Elevación al pasar el cursor */
.book-shelf-item:hover .book-cover-card {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 255, 100, 0.25);
  border-color: #00ff66;
}

.book-shelf-item:hover .book-hover-info {
  opacity: 1;
}

/* Ajuste responsive para móviles */
@media (max-width: 600px) {
  .books-row {
    gap: 1.2rem;
  }
  .book-cover-card {
    width: 125px;
  }
}