:root {
  --bg: #08141a;
  --bg-alt: #0f232d;
  --panel: #102731;
  --panel-soft: #133240;
  --line: rgba(164, 228, 255, 0.16);
  --text: #eefbff;
  --muted: #b4d6df;
  --green: #6cf08a;
  --green-deep: #1fc55a;
  --cyan: #53d5ff;
  --yellow: #ffd964;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  --shell: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top, rgba(83, 213, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #08141a 0%, #0b1b22 48%, #081219 100%);
  color: var(--text);
  font-family: "Oswald", "Arial Narrow", sans-serif;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.shell { width: min(calc(100% - 28px), var(--shell)); margin: 0 auto; }

.topline {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(7, 18, 23, 0.84);
}
.topline__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(8, 20, 26, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
}
.brandmark,
.eyebrow,
.section-kicker,
.footer-kicker,
.header-nav a,
.cta-primary,
.cta-ghost,
.cta-link,
.inline-pills li,
.game-tile__media span,
.featured-match__visual span,
.back-link,
.meta-pills li {
  font-family: "Montserrat", "Segoe UI", sans-serif;
}
.brandmark {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.header-nav a {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 66vh;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,20,26,0.3), rgba(8,20,26,0.72)),
    linear-gradient(90deg, rgba(8,20,26,0.9) 0%, rgba(8,20,26,0.48) 45%, rgba(8,20,26,0.28) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 74px 0 92px;
}
.eyebrow,
.section-kicker,
.footer-kicker {
  margin: 0 0 12px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}
.hero h1,
.featured-match__copy h2,
.game-tile__body h2,
.support-card h2,
.page-title,
.game-copy h1 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.96;
}
.hero h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}
.hero__lead,
.featured-match__copy p,
.game-tile__body p,
.support-card p,
.page-single p,
.game-copy p,
.site-footer p,
.site-footer li,
.note-box p,
.note-box li {
  color: var(--muted);
}
.hero__lead {
  max-width: 760px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 18px 0 0;
}
.hero__actions,
.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.cta-primary,
.cta-ghost,
.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}
.cta-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: #052010;
}
.cta-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.cta-link {
  padding-left: 0;
  color: var(--cyan);
}

.score-strip,
.featured-match,
.game-grid,
.support-grid { padding: 22px 0; }
.score-strip__grid,
.support-grid__wrap {
  display: grid;
  gap: 16px;
}
.score-strip__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.score-strip article,
.support-card,
.featured-match__copy,
.game-tile,
.page-single,
.game-poster,
.game-copy,
.game-frame,
.note-box {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.score-strip article {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16,39,49,0.95), rgba(9,25,31,0.95));
}
.score-strip strong {
  display: block;
  color: var(--green);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1;
}
.score-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.featured-match__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}
.featured-match__copy {
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15,35,45,0.96), rgba(11,27,34,0.94));
}
.inline-pills,
.meta-pills {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.inline-pills li,
.meta-pills li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(83,213,255,0.08);
  border: 1px solid rgba(83,213,255,0.12);
  font-size: 0.82rem;
  font-weight: 800;
}
.featured-match__visual,
.game-tile__media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  display: block;
}
.featured-match__visual {
  min-height: 380px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.featured-match__visual img,
.game-tile__media img,
.game-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-match__visual span,
.game-tile__media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8,20,26,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 800;
}

.game-grid__wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.game-tile {
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(12,31,38,0.97), rgba(10,24,30,0.97));
}
.game-tile__media {
  min-height: 170px;
}
.game-tile__body {
  padding: 20px;
}

.support-grid__wrap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.support-card {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(19,50,64,0.9), rgba(13,33,42,0.94));
}

.site-footer {
  margin-top: auto;
  padding: 28px 0 38px;
  background: #071117;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.site-footer li + li {
  margin-top: 8px;
}

.page-shell {
  width: min(calc(100% - 28px), 1180px);
  margin: 0 auto;
  padding: 30px 0 54px;
}
.page-single {
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16,39,49,0.95), rgba(11,27,34,0.95));
}
.page-title {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  margin-bottom: 16px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-weight: 800;
}

.game-page {
  display: grid;
  gap: 18px;
}
.game-intro {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}
.game-poster,
.game-copy,
.game-frame,
.note-box {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16,39,49,0.95), rgba(11,27,34,0.95));
}
.game-poster {
  overflow: hidden;
  min-height: 280px;
}
.game-copy {
  padding: 24px;
}
.game-frame {
  padding: 12px;
}
.game-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #000;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.note-box {
  padding: 22px;
}
.note-box h2 {
  margin: 0 0 10px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.1rem;
}
.note-box ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

@media (max-width: 1100px) {
  .featured-match__grid,
  .game-grid__wrap,
  .support-grid__wrap,
  .footer-grid,
  .score-strip__grid,
  .game-intro,
  .notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }
  .topline__row,
  .header-main,
  .header-nav {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .hero__inner {
    padding: 46px 0 56px;
  }
}
