/* ============================================================
   VÉRTIGO — pieza de demostración de Golden Deer Tech
   Marca ficticia (club / sala de conciertos).
   Identidad propia: cartel brutalista, negro + un acento
   eléctrico, tipografía pesada en mayúsculas, filo de 0px.
   Energía por contraste y tipo, no por efectos.
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #131317;
  --fg: #f4f2ec;
  --muted: #8b8b93;
  --line: rgba(244, 242, 236, 0.14);
  --line-soft: rgba(244, 242, 236, 0.07);
  --acc: #ff2e6e;
  --acc-ink: #0b0b0d;

  --display: "Helvetica Neue", Arial, "Segoe UI", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;

  --container: 78rem;
  --gutter: 1.5rem;

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}

::selection {
  background: var(--acc);
  color: var(--acc-ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1000;
  padding: 0.6rem 0.9rem;
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --- Barra de demo --------------------------------------- */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  padding: 0.5rem 1rem;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-align: center;
}

.demo-bar b {
  font-weight: 700;
}

.demo-bar a {
  color: var(--bg);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

/* --- Cabecera -------------------------------------------- */
.v-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(6px);
}

.v-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
}

.v-logo span {
  color: var(--acc);
}

.v-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.v-nav > a {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.v-nav > a:not(.v-ticket):hover {
  color: var(--acc);
}

.v-ticket {
  padding: 0.55rem 1.05rem;
  background: var(--acc);
  color: var(--acc-ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease;
}

.v-ticket:hover {
  background: var(--fg);
  color: var(--bg);
}

.button.v-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 0;
}

.v-burger {
  display: none;
  flex-direction: column;
  gap: 0.32rem;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.v-burger span {
  width: 1.2rem;
  height: 2px;
  background: var(--fg);
  transition: transform 160ms ease, opacity 160ms ease;
}

.v-burger[aria-expanded="true"] span:first-child {
  transform: translateY(0.28rem) rotate(45deg);
}

.v-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-0.28rem) rotate(-45deg);
}

/* --- Contenedor de secciones ----------------------------- */
.v-section {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.v-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.v-section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

.v-section-head p {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* --- Hero ------------------------------------------------ */
.v-hero {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.v-kicker {
  margin: 0 0 clamp(1rem, 3vw, 2rem);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 19vw, 17rem);
  letter-spacing: -0.05em;
  line-height: 0.82;
  text-transform: uppercase;
}

.v-title-break::before {
  content: "";
}

.v-claim {
  margin: clamp(1rem, 2.5vw, 1.8rem) 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.v-claim em {
  color: var(--acc);
  font-style: normal;
}

.v-next {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.3rem clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
}

.v-next-label {
  color: var(--acc);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v-next-body {
  min-width: 0;
}

.v-next-date {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.v-next-name {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.v-next-name span {
  color: var(--acc);
}

/* Estado agotado del hero: informa sin invitar a comprar (no interactivo). */
.v-next-soldout {
  justify-self: end;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- Ticker (informa de la agenda) ----------------------- */
.v-marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--acc);
  color: var(--acc-ink);
}

/* Dos pistas idénticas, cada una ≥100% del ancho, ambas a -100%: bucle sin huecos. */
.v-marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 1.5rem;
  padding: 0.55rem 0;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  will-change: transform;
  animation: v-scroll 26s linear infinite;
}

.v-marquee-track i {
  font-style: normal;
  opacity: 0.55;
}

@keyframes v-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* --- Agenda ---------------------------------------------- */
.v-events {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.v-event {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) 8rem 4.5rem auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) 0.75rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 120ms ease, color 120ms ease, padding-left 120ms ease;
}

.v-event:hover {
  background: var(--fg);
  color: var(--bg);
  padding-left: 1.5rem;
}

.v-event-date {
  font-family: var(--mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--muted);
}

.v-event:hover .v-event-date {
  color: var(--bg);
}

.v-event-date b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--fg);
}

.v-event:hover .v-event-date b {
  color: var(--bg);
}

.v-event-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.v-event-name em {
  color: var(--acc);
  font-style: normal;
}

.v-event:hover .v-event-name em {
  color: var(--bg);
}

.v-event.is-featured .v-event-name {
  color: var(--acc);
}

.v-event.is-featured:hover .v-event-name {
  color: var(--bg);
}

.v-event-tag {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.v-event:hover .v-event-tag {
  color: var(--bg);
}

.v-event-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  text-align: right;
}

.v-event-cta {
  padding: 0.5rem 0.9rem;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease;
}

.v-event-cta:hover {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--acc-ink);
}

/* Entrada agotada: se mantiene destacada (es el cabeza de cartel) pero
   el botón no invita a comprar y el precio va tachado. */
.v-event-out {
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
}

.v-event-out:hover,
.v-event:hover .v-event-out {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.v-event.is-soldout .v-event-price {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--acc);
}

/* --- La sala --------------------------------------------- */
.v-sala {
  background:
    linear-gradient(var(--line), var(--line)) top / 100% 1px no-repeat;
}

.v-sala-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.v-sala-copy h2 {
  margin: 0 0 1.3rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}

.v-sala-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.v-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.v-stats > div {
  padding: 1.4rem;
  background: var(--bg);
}

.v-stats dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v-stats dd {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.v-press {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.v-press span {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* --- Residentes ------------------------------------------ */
.v-djs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.v-djs li {
  display: flex;
  flex-direction: column;
  min-height: 12rem;
  padding: 1.4rem;
  background: var(--bg);
  transition: background-color 140ms ease, color 140ms ease;
}

.v-djs li:hover {
  background: var(--acc);
  color: var(--acc-ink);
}

.v-dj-i {
  color: var(--acc);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.v-djs li:hover .v-dj-i {
  color: var(--acc-ink);
}

.v-djs b {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.v-djs small {
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.v-djs li:hover small {
  color: var(--acc-ink);
}

/* --- Info + cierre --------------------------------------- */
.v-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.v-info h2 {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.v-info-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.v-info-list > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.v-info-list dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.v-info-list dd {
  margin: 0;
  font-size: 0.94rem;
}

.v-cta-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid var(--acc);
}

.v-cta-kicker {
  margin: 0 0 0.6rem;
  color: var(--acc);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v-cta-line {
  margin: 0 0 1.4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.v-form {
  display: flex;
  gap: 0.6rem;
}

.v-form input {
  flex: 1;
  min-width: 0;
  padding: 0 1rem;
  min-height: 3rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--fg);
}

.v-form input::placeholder {
  color: var(--muted);
}

.v-form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.v-form-note.is-done {
  color: var(--acc);
}

/* --- Pie ------------------------------------------------- */
.v-footer {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 3rem;
  border-top: 1px solid var(--line);
}

.v-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.v-logo-sm {
  font-size: 1.6rem;
}

.v-footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.v-footer-top nav a {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.v-footer-top nav a:hover {
  color: var(--acc);
}

.v-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
}

.v-footer-bottom p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.v-footer-bottom b {
  color: var(--fg);
}

.v-credit a {
  color: var(--acc);
  font-weight: 600;
  text-decoration: none;
}

.v-credit a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 60rem) {
  .v-burger {
    display: flex;
  }

  .v-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem clamp(1rem, 4vw, 3rem) 1.2rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  .js .v-nav {
    display: none;
  }

  .js .v-nav.is-open {
    display: flex;
  }

  .v-nav > a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .v-ticket {
    margin-top: 0.8rem;
    text-align: center;
  }

  .v-sala-grid,
  .v-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v-djs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 40rem) {
  .v-next {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    text-align: left;
  }

  .v-next .button.v-ticket {
    width: 100%;
  }

  .v-next-soldout {
    justify-self: stretch;
    text-align: center;
  }

  .v-event {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "date name"
      "date meta";
    gap: 0.3rem 1rem;
    align-items: start;
  }

  .v-event-date { grid-area: date; align-self: center; }
  .v-event-name { grid-area: name; }
  .v-event-tag { grid-column: 1 / -1; }
  .v-event-price { display: none; }
  .v-event-cta {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.5rem;
  }

  .v-event:hover {
    padding-left: 0.75rem;
  }

  .v-stats {
    grid-template-columns: 1fr;
  }

  .v-djs {
    grid-template-columns: 1fr;
  }

  .v-djs li {
    min-height: 0;
    flex-direction: row;
    align-items: baseline;
    gap: 0.8rem;
  }

  .v-djs b {
    margin-top: 0;
  }

  .v-form {
    flex-direction: column;
  }
}

/* --- Movimiento reducido --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .v-marquee-track {
    animation: none;
    transform: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
