/* ==========================================================
   PLATFORM — site styles
   Colors are taken from the 2nd Anniversary poster (approximate).
   Fonts: the brand font is Eurostile Extended (paid, needs a web license).
   Michroma is a free stand-in. To switch, change --font below.
   ========================================================== */

:root {
  --bg: #0a0204;
  --panel: #14060a;
  --red: #e10014;
  --red-deep: #7a0010;
  --red-text: #ff3b4a;
  --text: #f2f2f2;
  --muted: #b9a8aa;
  --line: rgba(255, 255, 255, 0.16);

  --font: 'Michroma', 'Eurostile', 'Arial Black', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(60rem 38rem at 85% -4%, rgba(225, 0, 20, 0.28), transparent 62%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

::selection { background: var(--red); color: #fff; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red-text);
  outline-offset: 3px;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(10, 2, 4, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand img { width: 48px; height: 48px; margin: -6px 0; }

.nav { display: flex; gap: 22px; }

.nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover { color: var(--red-text); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  min-height: calc(100svh - 61px);
}

.wordmark { margin: 0; }

.wordmark img {
  width: 100%;
  max-width: 660px;
  height: auto;
}

.edition {
  display: inline-block;
  margin: 28px 0 0;
  padding: 0.5em 1.1em;
  border: 1px solid var(--text);
  border-radius: 10px;
  font-size: clamp(13px, 2.2vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.facts {
  display: grid;
  gap: 2px;
  margin: 28px 0 32px;
}

.facts .date { font-size: clamp(16px, 2.6vw, 22px); letter-spacing: 0.08em; }
.facts .place { text-transform: uppercase; }
.facts .address { color: var(--muted); }

.btn {
  display: inline-block;
  padding: 1em 1.9em;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: #fff; color: #000; }

.hero-poster {
  margin: 0;
  animation: reveal 1.1s ease-out both;
}

.hero-poster img {
  width: auto;
  max-height: 80svh;
  margin-inline: auto;
  border-radius: 4px;
  box-shadow: 0 0 90px rgba(225, 0, 20, 0.35);
}

@keyframes reveal {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- Sections ---------- */

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--line);
}

.section.wide { max-width: 1240px; }

h2 {
  margin: 0 0 20px;
  font-size: clamp(18px, 3.2vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h3 {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 400;
  text-transform: uppercase;
}

.lead {
  margin: 0 0 40px;
  color: var(--red-text);
  font-size: clamp(14px, 2vw, 18px);
}

/* Event details */

.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin: 0;
}

.details dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.details dd { margin: 0; font-size: 15px; }

.details a { text-decoration: underline; text-underline-offset: 4px; }
.details a:hover { color: var(--red-text); }

/* Lineup */

.lineup {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lineup li {
  padding: 0.3em 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 3.2vw, 32px);
  line-height: 1.2;
  text-transform: uppercase;
}

.lineup li:last-child { border-bottom: 0; }

.lineup small {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.25em 0.7em;
  border: 1px solid var(--text);
  border-radius: 8px;
  font-size: 0.3em;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

.gallery .g-big { grid-column: 1 / -1; }

/* Merch */

.product {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.product-media img {
  width: 100%;
  border-radius: 6px;
  background: #eee;
}

.views {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.view {
  padding: 0.6em 1.3em;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.view:hover { border-color: var(--text); }

.view.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #000;
}

.product-info p { margin: 0 0 16px; color: var(--muted); }

.product-info .price {
  margin: 8px 0 20px;
  color: var(--text);
  font-size: 22px;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.sizes li {
  min-width: 3.4em;
  padding: 0.55em 1em;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.product-info .note { margin: 14px 0 0; font-size: 12px; }

/* ---------- Footer ---------- */

.footer {
  padding: 64px 24px 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer img { margin: 0 auto; }

.slogan {
  max-width: 520px;
  margin: 24px auto;
  color: var(--muted);
}

.social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.social a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.social a:hover { color: var(--red-text); }

.copy { margin: 0; color: var(--muted); font-size: 11px; }

/* ---------- Mobile ---------- */

@media (max-width: 820px) {
  .topbar { padding: 10px 16px; }
  .nav { gap: 14px; }
  .nav a { font-size: 10px; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    min-height: 0;
    padding: 40px 16px 56px;
  }

  .hero-poster img { max-height: none; width: 100%; max-width: 420px; }

  .section { padding: 56px 16px; }

  .product { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-poster { animation: none; }
  .btn { transition: none; }
}
.countdown {
  margin: 0 0 28px;
  color: var(--red-text);
  font-size: clamp(14px, 2.4vw, 20px);
  letter-spacing: 0.06em;
}
.hero-wrap {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* dark layer so the text stays readable */
.hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 2, 4, 0.9) 0%, rgba(10, 2, 4, 0.62) 55%, rgba(10, 2, 4, 0.4) 100%);
}

.hero {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
@media (max-width: 820px) {
  .hero-video {
    inset: 0 0 auto 0;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }

  .hero-wrap::after {
    background: linear-gradient(180deg, rgba(10, 2, 4, 0.5) 0%, rgba(10, 2, 4, 0.75) 30%, #0a0204 55%);
  }
}
/* stability fixes for Safari and phones */
.hero-copy,
.hero-poster {
  min-width: 0;
}

.hero-wrap {
  isolation: isolate;
}

.hero-video {
  transform: translateZ(0);
}

.hero-poster {
  animation: none;
}

.wordmark img {
  max-width: 100%;
  height: auto;
}
.event-poster { display: none; margin: 0 0 40px; }

@media (max-width: 820px) {
  .hero-poster { display: none; }
  .event-poster { display: block; }
  .event-poster img {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    border-radius: 4px;
  }
}