:root {
  color-scheme: dark;
  --bg: #090909;
  --ink: #f8f5ec;
  --muted: rgba(248, 245, 236, .72);
  --soft: rgba(248, 245, 236, .54);
  --line: rgba(255, 255, 255, .14);
  --panel: #141414;
  --panel-strong: #1d1a16;
  --gold: #f3c14b;
  --red: #d92432;
  --green: #46a66d;
  --blue: #4388c7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

.hero {
  min-height: 92svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .9), rgba(8, 8, 8, .6) 50%, rgba(8, 8, 8, .18)),
    url("assets/friday-darts-night-series-6-enhanced.jpg") center / cover;
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(168px, 22vw, 290px);
  min-height: 54px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .46);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topbar-links a {
  text-decoration: none;
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  align-self: center;
  padding: 72px 0 56px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(56px, 10vw, 132px);
  line-height: .85;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

.button.secondary {
  background: rgba(0, 0, 0, .5);
}

.event-strip {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, .72);
  backdrop-filter: blur(16px);
}

.event-strip div {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.event-strip div:last-child {
  border-right: 0;
}

.event-strip span,
.format-list span,
.prize-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.event-strip strong {
  font-size: 20px;
  line-height: 1.15;
}

main,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
  letter-spacing: 0;
}

.intro p,
.format-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.point-card,
.prize-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.point-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--gold);
  font-size: 30px;
  font-weight: 950;
}

.point-card.champion {
  border-color: rgba(243, 193, 75, .5);
  background: linear-gradient(145deg, rgba(243, 193, 75, .18), rgba(20, 20, 20, 1));
}

.point-card.participation {
  border-color: rgba(70, 166, 109, .55);
}

.point-card h3,
.prize-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.point-card p,
.rule-track p,
.prize-grid p,
.faq p {
  color: var(--muted);
  line-height: 1.58;
}

.rule-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.rule-track div {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #111;
}

.rule-track div:last-child {
  border-right: 0;
}

.rule-track span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 42px;
  font-weight: 950;
}

.rule-track strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.format-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: 36px;
  align-items: start;
}

.format-list {
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.format-list div {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.format-list div:last-child {
  border-bottom: 0;
}

.format-list strong {
  font-size: 19px;
  line-height: 1.32;
}

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

.prize-grid article:first-child {
  border-color: rgba(243, 193, 75, .5);
  background:
    linear-gradient(145deg, rgba(243, 193, 75, .16), rgba(20, 20, 20, .96)),
    var(--panel);
}

.prize-grid article:nth-child(2) {
  border-color: rgba(67, 136, 199, .42);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.final-cta {
  min-height: 420px;
  display: grid;
  align-content: center;
  padding: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .9), rgba(8, 8, 8, .42)),
    url("assets/friday-darts-night-series-6-enhanced.jpg") center / cover;
}

.final-cta h2,
.final-cta p {
  max-width: 780px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 40px;
  color: var(--soft);
  font-size: 14px;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(8, 8, 8, .82) 0%, rgba(8, 8, 8, .68) 42%, rgba(8, 8, 8, .92) 100%),
      url("assets/friday-darts-night-series-6-enhanced.jpg") center top / cover;
  }

  .topbar {
    align-items: flex-start;
  }

  .event-strip,
  .points-grid,
  .rule-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-strip div:nth-child(2),
  .rule-track div:nth-child(2) {
    border-right: 0;
  }

  .event-strip div {
    border-bottom: 1px solid var(--line);
  }

  .event-strip div:nth-child(3),
  .event-strip div:nth-child(4) {
    border-bottom: 0;
  }

  .intro,
  .format-section,
  .prize-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 14px;
    overflow: hidden;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  .brand {
    width: min(270px, 76vw);
    min-height: 48px;
    padding: 6px 0;
    background: transparent;
  }

  .topbar-links {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 12px;
    font-size: 12px;
    line-height: 1.2;
  }

  .topbar-links a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .hero-content {
    padding: 56px 0 34px;
  }

  .eyebrow,
  .section-label {
    font-size: 11px;
    letter-spacing: .18em;
  }

  h1 {
    max-width: 340px;
    font-size: clamp(48px, 16vw, 76px);
    line-height: .9;
  }

  .hero-subtitle {
    max-width: 340px;
    font-size: 21px;
    line-height: 1.16;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .72);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 340px);
  }

  .button {
    min-height: 50px;
    width: 100%;
    padding: 0 14px;
    font-size: 12px;
    text-align: center;
  }

  .event-strip {
    width: 100%;
    background: rgba(8, 8, 8, .82);
  }

  .event-strip,
  .points-grid,
  .rule-track {
    grid-template-columns: 1fr;
  }

  .event-strip div,
  .rule-track div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .event-strip div:last-child,
  .rule-track div:last-child {
    border-bottom: 0;
  }

  .event-strip div {
    min-height: 84px;
    padding: 16px 18px;
  }

  .event-strip strong {
    font-size: 19px;
  }

  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  section {
    padding: 52px 0;
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
    line-height: 1.02;
  }

  .intro p,
  .format-copy p,
  .final-cta p {
    font-size: 16px;
  }

  .point-card,
  .rule-track div {
    min-height: auto;
  }

  .final-cta {
    padding: 36px 20px;
    background:
      linear-gradient(180deg, rgba(8, 8, 8, .9), rgba(8, 8, 8, .72)),
      url("assets/friday-darts-night-series-6-enhanced.jpg") center top / cover;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .hero {
    padding: 12px;
  }

  .topbar-links {
    gap: 6px 10px;
    font-size: 11px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 60px);
  }

  .hero-subtitle {
    font-size: 19px;
  }
}
