/* Maç Günü — night-match theme with digital match passes */
:root {
  --bg: #080a18;
  --bg-2: #0e1126;
  --surface: rgba(255, 255, 255, .045);
  --border: rgba(255, 255, 255, .09);
  --text: #f4f5fb;
  --muted: #9aa0bd;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: Sora, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Floodlights ---------- */
.lights { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(70% 55% at 50% -10%, #1b1f4a 0%, transparent 70%), var(--bg); }
.lights i { position: absolute; top: -30vh; width: 38vw; height: 130vh; filter: blur(60px); opacity: .32; transform-origin: top center; }
.lights i:nth-child(1) { left: -6vw; background: linear-gradient(180deg, #ff4d6d, transparent 70%); transform: rotate(18deg); animation: sway 14s ease-in-out infinite alternate; }
.lights i:nth-child(2) { left: 31vw; background: linear-gradient(180deg, #8b5cf6, transparent 65%); opacity: .22; animation: sway 18s ease-in-out infinite alternate-reverse; }
.lights i:nth-child(3) { right: -6vw; background: linear-gradient(180deg, #22d3ee, transparent 70%); transform: rotate(-18deg); animation: sway 16s ease-in-out infinite alternate; }
.lights::after { /* subtle grid to give depth */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
}

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px/1 var(--display); letter-spacing: -.01em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.chip { font-size: 13px; color: var(--muted); padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); backdrop-filter: blur(8px); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: clamp(44px, 9vw, 104px) 0 clamp(36px, 6vw, 64px); display: flex; flex-direction: column; align-items: center; }
.hero > * { animation: rise .8s var(--ease) both; }
.hero > :nth-child(2) { animation-delay: .06s; }
.hero > :nth-child(3) { animation-delay: .12s; }
.hero > :nth-child(4) { animation-delay: .18s; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #d6d9ee; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 2.2s infinite; }
h1 { font: 800 clamp(40px, 7.4vw, 84px)/1.04 var(--display); letter-spacing: -.035em; margin: 22px 0 18px; max-width: 900px; }
.grad { background: linear-gradient(100deg, #ff4d6d 0%, #ff9f43 30%, #e879f9 60%, #22d3ee 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
.lead { margin: 0; color: var(--muted); font-size: clamp(16px, 2.1vw, 19px); max-width: 560px; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.quick a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); transition: border-color .25s, transform .25s var(--ease), background .25s; }
.quick a i { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--a), var(--b)); }
.quick a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--a) 60%, transparent); background: color-mix(in srgb, var(--a) 10%, transparent); }

/* ---------- Passes ---------- */
.passes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: clamp(48px, 7vw, 88px); }

.pass {
  --notch: 12px;
  position: relative; display: flex; flex-direction: column; min-width: 0; text-decoration: none;
  border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)), var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 60px -30px rgba(0, 0, 0, .7);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  animation: rise .8s var(--ease) both;
  isolation: isolate; overflow: hidden;
}
.pass:nth-child(1) { animation-delay: .2s; }
.pass:nth-child(2) { animation-delay: .28s; }
.pass:nth-child(3) { animation-delay: .36s; }
.pass::before { /* colored glow from the top */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--a) 30%, transparent), transparent 70%);
  opacity: .55; transition: opacity .4s;
}
.pass:hover, .pass:focus-visible {
  transform: translateY(-8px); outline: none;
  border-color: color-mix(in srgb, var(--a) 55%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 40px 80px -30px color-mix(in srgb, var(--a) 55%, transparent);
}
.pass:hover::before, .pass:focus-visible::before { opacity: 1; }

.pass-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px 0; }
.pass-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #d6d9ee; }
.status i { width: 7px; height: 7px; border-radius: 50%; }
.status.is-up i { background: #34d399; box-shadow: 0 0 10px #34d399; }
.status.is-down i { background: #fbbf24; }

.pass-art {
  /* colors used by the SVG illustrations */
  --ink: rgba(255, 255, 255, .85); --paper: #fff; --paper-2: rgba(255, 255, 255, .08);
  color: var(--a);
  margin: 16px 20px 0; height: 150px; border-radius: 18px; display: grid; place-items: center;
  background:
    radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--b) 22%, transparent), transparent 70%),
    linear-gradient(135deg, color-mix(in srgb, var(--a) 16%, transparent), color-mix(in srgb, var(--b) 6%, transparent));
  border: 1px solid var(--border);
}
.pass-art svg { width: 116px; height: 116px; transition: transform .5s var(--ease); filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--a) 45%, transparent)); }
.pass:hover .pass-art svg { transform: scale(1.07) rotate(-3deg); }

.pass-body { padding: 18px 20px 20px; flex: 1; }
.genre { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(90deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.name { margin: 6px 0 8px; font: 800 30px/1.1 var(--display); letter-spacing: -.025em; }
.pitch { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { font-size: 12.5px; color: #d6d9ee; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }

/* Stub: perforated line with side notches, then gate info + CTA */
.pass-stub { position: relative; padding: 18px 20px 20px; border-top: 2px dashed rgba(255, 255, 255, .12); display: grid; gap: 14px; }
.pass-stub::before, .pass-stub::after {
  content: ""; position: absolute; top: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2);
  border-radius: 50%; background: var(--bg); border: 1px solid var(--border);
}
.pass-stub::before { left: calc(var(--notch) * -1 - 1px); }
.pass-stub::after { right: calc(var(--notch) * -1 - 1px); }
.meta { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; margin: 0; }
.meta div { min-width: 0; }
.meta dt { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 2px 0 0; font: 700 15px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-host dd { font: 500 13px/1.45 Inter, sans-serif; color: #d6d9ee; }
.go {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 18px; border-radius: 14px; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(100deg, var(--a), var(--b));
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--a) 70%, transparent);
}
.go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.pass:hover .go svg { transform: translateX(4px); }

/* ---------- Footer ---------- */
.foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 22px 0 34px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes shine { to { background-position: 200% 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } }
@keyframes sway { from { margin-left: -3vw; } to { margin-left: 3vw; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .passes { grid-template-columns: 1fr 1fr; }
  .pass:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav { padding: 16px 0; }
  .chip { display: none; }
  .hero { padding-top: 36px; }
  h1 { margin-top: 18px; }
  .quick { display: none; }
  .passes { grid-template-columns: 1fr; gap: 18px; }
  .pass:last-child { grid-column: auto; }
  .pass-art { height: 128px; }
  .pass-art svg { width: 96px; height: 96px; }
  .name { font-size: 27px; }
  .lights i { filter: blur(40px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
