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

:root {
  --negro: #0a0a0a;
  --blanco: #f0ece3;
  --rojo: #c0392b;
  --gris: #888;
  --borde: #222;
}

body {
  background: var(--blanco);
  color: var(--negro);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

/* HEADER */
header {
  border-bottom: 2px solid var(--negro);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blanco);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 4px;
  color: var(--negro);
  text-decoration: none;
}

nav a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--negro);
  text-decoration: none;
  margin-left: 24px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
nav a:hover { border-bottom-color: var(--negro); }

/* CAROUSEL */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--negro);
}
.carousel-slides {
  display: flex;
  transition: transform 0.6s ease;
}
.carousel-slide {
  min-width: 100%;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2.5rem;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}
.carousel-btn:hover { background: rgba(0,0,0,0.7); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.dot.active { background: white; }

/* BARRA REDES */
.social-bar {
  background: var(--negro);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #333;
}
.social-bar a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #aaa;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.2s;
}
.social-bar a:hover { color: var(--blanco); }
.social-bar .sep { color: #444; font-size: 13px; }

.email-bar {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.email-bar span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #888;
  letter-spacing: 1px;
}
.email-bar input {
  background: #1a1a1a;
  border: 1px solid #444;
  color: var(--blanco);
  padding: 5px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  width: 180px;
  outline: none;
}
.email-bar input::placeholder { color: #555; }
.email-bar button {
  background: var(--rojo);
  border: none;
  color: white;
  padding: 6px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s;
}
.email-bar button:hover { background: #a93226; }
.newsletter-msg {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #6aaa6a;
  display: none;
}

/* SECCIÓN TÍTULOS */
.section-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

/* NOVEDADES (Nuevo layout 1:1) */
.novedades-full {
  grid-column: 1 / -1;
  border-bottom: 1px solid #ccc;
}
.novedades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.nov-col {
  padding: 0 24px 28px 24px;
}
.nov-col.left {
  border-right: 1px solid #ccc;
}
.square-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--negro);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.square-container.tapa {
  background: #111;
}
.square-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FORMULARIO DISCO (Dentro del 1:1) */
.disco-form-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.disco-form-wrap input {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #444;
  border-bottom: 2px solid var(--rojo);
  color: var(--blanco);
  padding: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s;
}
.disco-form-wrap input:focus { border-color: var(--rojo); }
.disco-form-wrap input::placeholder { color: #555; }
.disco-form-wrap button {
  width: 100%;
  background: var(--rojo);
  border: none;
  color: white;
  padding: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.disco-form-wrap button:hover { background: #a93226; }

/* PLAYER CUSTOM (Dentro del 1:1) */
#player {
  height: 100%;
}
#player.hidden { display: none; }
#player.visible { display: flex; flex-direction: column; }

.np-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  padding: 24px;
  color: #e0ddd8;
  height: 100%;
}
.np-now-playing {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1a1a1a;
}
.np-now-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.np-now-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: #e0ddd8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.np-progress-area { margin-bottom: 16px; }
.np-progress-wrap {
  width: 100%;
  height: 2px;
  background: #1e1e1e;
  cursor: pointer;
  position: relative;
  margin-bottom: 6px;
}
.np-progress-fill {
  height: 100%;
  background: var(--rojo);
  width: 0%;
  transition: width 0.3s linear;
  pointer-events: none;
}
.np-progress-wrap:hover .np-progress-fill { background: #e74c3c; }
.np-time {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #333;
  letter-spacing: 1px;
}
.np-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.np-ctrl-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #444;
  transition: color 0.15s;
  display: flex;
  align-items: center;
}
.np-ctrl-btn:hover { color: #e0ddd8; }
.np-play-btn {
  width: 44px;
  height: 44px;
  background: var(--rojo);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.np-play-btn:hover { background: #e74c3c; }
.np-play-btn svg { color: #fff; }

.np-tracklist-container {
  flex: 1;
  overflow-y: auto;
  margin-top: 10px;
  padding-right: 8px;
}
.np-tracklist-container::-webkit-scrollbar { width: 6px; }
.np-tracklist-container::-webkit-scrollbar-track { background: #0f0f0f; }
.np-tracklist-container::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.np-tracklist-header {
  display: grid;
  grid-template-columns: 24px 1fr 44px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: #2a2a2a;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid #141414;
  margin-bottom: 2px;
}
.np-track-row {
  display: grid;
  grid-template-columns: 24px 1fr 44px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #0f0f0f;
  cursor: pointer;
}
.np-track-row:hover { background: #111; margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.np-track-row.active .np-track-name { color: var(--rojo); }
.np-track-row.active .np-track-num { color: var(--rojo); }
.np-track-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #2a2a2a;
  letter-spacing: 1px;
}
.np-track-name {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #888;
  transition: color 0.15s;
}
.np-track-row:hover .np-track-name { color: #e0ddd8; }
.np-track-dur {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #2a2a2a;
  text-align: right;
  letter-spacing: 1px;
}

/* MAIN LAYOUT (2 Columnas) */
main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: none;
}
.col-left {
  border-right: 1px solid #ccc;
  padding: 28px 24px;
}
.col-right {
  padding: 28px 24px;
}

/* SHOWS */
.shows-section { margin-bottom: 40px; margin-top: 40px; }
.no-shows {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  color: #aaa;
  font-style: italic;
}
.show-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}
.show-date { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--rojo); min-width: 80px; font-weight: 700; }
.show-info { flex: 1; }
.show-venue { font-weight: 600; font-size: 17px; }
.show-city { font-size: 15px; color: #777; }
.show-ticket { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--rojo); text-decoration: none; letter-spacing: 1px; }

/* NOVEDADES TEXTO */
.novedad {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.novedad:last-child { border-bottom: none; }
.novedad-fecha { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #aaa; letter-spacing: 1px; margin-bottom: 4px; }
.novedad-titulo { font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.novedades-sidebar { margin-bottom: 32px; }
.novedad-texto { font-size: 17px; color: #444; line-height: 1.6; }

/* CONTACTO */
.contacto-section { margin-top: 40px; }
.contacto-section input,
.contacto-section textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid #bbb; padding: 8px 0; font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px; margin-bottom: 14px; outline: none; transition: border-color 0.2s; color: var(--negro);
}
.contacto-section input:focus, .contacto-section textarea:focus { border-bottom-color: var(--negro); }
.contacto-section input::placeholder, .contacto-section textarea::placeholder { color: #aaa; font-size: 15px; }
.contacto-section textarea { height: 80px; resize: none; }
.contacto-section button {
  background: var(--negro); border: none; color: var(--blanco); padding: 10px 24px; font-family: 'IBM Plex Mono', monospace;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background 0.2s;
}
.contacto-section button:hover { background: var(--rojo); }
.contacto-email { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--rojo); margin-top: 12px; display: block; text-decoration: none; }

/* DISCOGRAFIA */
.singles-divider { font-family: "IBM Plex Mono",monospace; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #aaa; margin: 16px 0 8px; padding-top: 12px; border-top: 1px dashed #ddd; }
.discografia-grid { display: flex; flex-direction: column; gap: 0; }
.album-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; align-items: center; }
.album-cover { width: 100px; height: 100px; flex-shrink: 0; background: transparent; display:flex; align-items:center; justify-content:center; overflow:hidden; }
..album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.album-cover.tapa-cover img {
  object-position: center center;
}
.album-cover-placeholder { font-family: "IBM Plex Mono",monospace; font-size: 9px; color: #555; letter-spacing: 1px; }
.album-name { font-weight: 600; font-size: 17px; margin-bottom: 2px; }
.album-year { font-family: "IBM Plex Mono",monospace; font-size: 14px; color: #aaa; margin-bottom: 4px; }
.album-links a { font-family: "IBM Plex Mono",monospace; font-size: 13px; color: var(--rojo); text-decoration: none; margin-right: 10px; letter-spacing: 1px; }
.album-links a:hover { text-decoration: underline; }
.album-tag { font-family: "IBM Plex Mono",monospace; font-size: 9px; background: var(--rojo); color: white; padding: 2px 6px; letter-spacing: 1px; }
    
/* MERCH */
.merch-section { margin-top: 0; }
.section-divider { height: 1px; background: #ddd; margin: 28px 0; }
.merch-grid { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 4px; }
.merch-item { padding: 8px 0; border: none; }
.merch-name { font-weight: 600; font-size: 15px; margin-bottom: 0; }
.merch-desc { font-size: 13px; color: #888; margin-bottom: 4px; }
.merch-status { font-family: "IBM Plex Mono",monospace; font-size: 11px; color: var(--rojo); letter-spacing: 1px; }
.merch-img, .merch-placeholder { display: none; }
    
/* FOOTER */
footer {
  background: var(--negro); color: #555; padding: 14px 24px; font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; letter-spacing: 2px; text-align: center; border-top: 1px solid #222;
}

/* RESPONSIVE */
.hamburger {
  display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px;
  background: none; border: none; cursor: pointer; padding: 0; z-index: 200;
}
.hamburger span { display: block; height: 2px; background: var(--negro); transition: all 0.3s ease; transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 57px; left: 0; right: 0; bottom: 0; background: var(--blanco);
  z-index: 150; flex-direction: column; padding: 20px 0; border-top: 1px solid #ddd;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'IBM Plex Mono', monospace; font-size: 1.1rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--negro); text-decoration: none; padding: 18px 28px; border-bottom: 1px solid #eee; transition: background 0.15s;
}
.mobile-menu a:hover { background: #f5f5f0; }

@media (max-width: 700px) {
  main { grid-template-columns: 1fr; }
  .col-left { border-right: none; border-bottom: 1px solid #ccc; padding: 20px 16px; }
  .col-right { padding: 20px 16px; }
  .novedades-grid { grid-template-columns: 1fr; }
  .nov-col.left { border-right: none; padding-bottom: 20px; }
  .nov-col { padding: 0 16px 20px 16px; }
  .square-container { aspect-ratio: auto; height: 480px; }
  .square-container.tapa { height: auto; aspect-ratio: 1 / 1; }
  #nav-desktop { display: none; }
  .hamburger { display: flex; }
  .email-bar { display: none; }
  .social-bar { flex-wrap: wrap; gap: 8px; }
  .social-bar a { font-size: 12px; }
  .merch-grid { grid-template-columns: 1fr 1fr; }
  .album-cover { width: 70px; height: 70px; }
}
