@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Open+Sans:wght@400;600;700&display=swap");

:root {
  --night-stadium: #0d1b2a;
  --track-slate: #1b263b;
  --pitch-green: #1a7f4c;
  --pitch-bright: #2ecc71;
  --jersey-orange: #ff6b2c;
  --line-yellow: #ffd60a;
  --chalk-white: #f8f9fa;
  --mist-gray: #6c757d;
  --ink-body: #212529;
  --font-head: "Quicksand", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --header-h: 74px;
  --max-w: 1160px;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--chalk-white);
  background-image:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(26, 127, 76, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 5%, rgba(255, 107, 44, 0.15), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(255, 214, 10, 0.12), transparent 55%);
}

body.is-nav-open {
  overflow: hidden;
}

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

a {
  color: var(--pitch-green);
}

a:hover {
  color: var(--jersey-orange);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--night-stadium);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: var(--header-h);
  background: rgba(248, 249, 250, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--night-stadium);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  min-width: 0;
}

.site-header__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.site-header__mark svg {
  width: 100%;
  height: 100%;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
}

.site-header__toggle:hover {
  background: rgba(13, 27, 42, 0.06);
}

.site-header__bar {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--night-stadium);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__toggle.is-open .site-header__bar:nth-of-type(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header__toggle.is-open .site-header__bar:nth-of-type(2) {
  opacity: 0;
}

.site-header__toggle.is-open .site-header__bar:nth-of-type(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: center;
}

.site-header__nav a {
  text-decoration: none;
  color: var(--mist-gray);
  font-weight: 600;
  font-size: 0.92rem;
}

.site-header__nav a:hover,
.site-header__nav a[aria-current="page"] {
  color: var(--pitch-green);
}

@media (max-width: 768px) {
  .site-header__toggle {
    display: flex;
  }

  .site-header__nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 65;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(248, 249, 250, 0.97);
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    box-shadow: 0 16px 32px rgba(13, 27, 42, 0.1);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .site-header__nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(13, 27, 42, 0.06);
  }

  .site-header__nav a:last-child {
    border-bottom: none;
  }
}

main {
  flex: 1 0 auto;
}

.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  text-align: center;
  padding: 1.5rem 0 2.5rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jersey-orange);
  margin-bottom: 0.65rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  max-width: 22ch;
  margin: 0 auto 1rem;
}

.hero__lead {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--mist-gray);
}

.games-section__title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.games-section__sub {
  text-align: center;
  color: var(--mist-gray);
  max-width: 52ch;
  margin: 0 auto 2.25rem;
}

.game-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.game-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 36px rgba(13, 27, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(26, 127, 76, 0.15);
}

.game-card__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(13, 27, 42, 0.05);
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__body {
  padding: 1.2rem 1.3rem 1.45rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-card__title {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.game-card__desc {
  margin: 0 0 1rem;
  font-size: 0.93rem;
  color: var(--mist-gray);
  flex: 1;
}

.btn-ripple {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--chalk-white);
  background: linear-gradient(135deg, var(--pitch-green), var(--pitch-bright));
  box-shadow: 0 4px 16px rgba(26, 127, 76, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-ripple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 10%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.btn-ripple:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: 0s;
}

.btn-ripple:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 44, 0.35);
}

.btn-ripple--block {
  width: 100%;
}

.btn-ripple--accent {
  background: linear-gradient(135deg, var(--jersey-orange), #ff9f43);
  box-shadow: 0 4px 16px rgba(255, 107, 44, 0.35);
}

.features {
  margin-top: 3.5rem;
}

.features__title {
  text-align: center;
  margin-bottom: 2rem;
}

.features__grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

.feature-tile {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(13, 27, 42, 0.06);
}

.faq {
  margin-top: 3.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(13, 27, 42, 0.06);
}

.faq h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.faq details {
  margin-bottom: 0.65rem;
  padding: 0.15rem 0;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  padding: 0.85rem 0;
  font-family: var(--font-head);
  color: var(--night-stadium);
}

.faq details[open] summary {
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  margin-bottom: 0.65rem;
}

.faq details p {
  margin: 0 0 0.85rem;
  color: var(--mist-gray);
  font-size: 0.97rem;
}

.cta-band {
  margin-top: 3.5rem;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(145deg, var(--night-stadium), var(--track-slate));
  color: rgba(248, 249, 250, 0.92);
}

.cta-band h2 {
  color: var(--chalk-white);
  margin-top: 0;
}

.cta-band p {
  max-width: 44ch;
  margin: 0 auto 1.35rem;
}

.site-footer {
  margin-top: auto;
  flex-shrink: 0;
  padding: 2.5rem 1.25rem;
  background: var(--night-stadium);
  color: rgba(248, 249, 250, 0.88);
}

.site-footer a {
  color: var(--line-yellow);
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer h3 {
  color: var(--chalk-white);
  font-size: 1rem;
  margin-top: 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer__base {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.85;
}

.page-head {
  margin-bottom: 2rem;
}

.page-head .lead {
  font-size: 1.1rem;
  color: var(--mist-gray);
  max-width: 62ch;
}

.content-panel {
  padding: 1.85rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.35rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(13, 27, 42, 0.06);
}

.form-stack label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.form-stack input,
.form-stack textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 27, 42, 0.15);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.form-stack textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(26, 127, 76, 0.12);
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.blog-list {
  display: grid;
  gap: 1.75rem;
}

.blog-card {
  display: grid;
  gap: 1.15rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(13, 27, 42, 0.06);
}

@media (min-width: 640px) {
  .blog-card {
    grid-template-columns: 200px 1fr;
  }
}

.blog-card__thumb {
  min-height: 160px;
  background: linear-gradient(145deg, var(--pitch-green), var(--night-stadium));
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.35rem 1.35rem 1.35rem 0;
}

@media (max-width: 639px) {
  .blog-card__body {
    padding: 0 1.25rem 1.25rem;
  }
}

.category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jersey-orange);
  margin-bottom: 0.45rem;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--mist-gray);
  margin: 0.65rem 0 1rem;
}

.article-page {
  max-width: 720px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  font-size: 0.92rem;
  color: var(--mist-gray);
}

.article-content section {
  margin-bottom: 1.85rem;
}

.article-content h2 {
  font-size: 1.32rem;
}

.article-cta {
  margin-top: 2.25rem;
  padding: 1.85rem;
  border-radius: var(--radius-lg);
  text-align: center;
  background: rgba(13, 27, 42, 0.05);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(13, 27, 42, 0.1);
  font-size: 0.94rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  max-width: 420px;
  margin-left: auto;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  z-index: 100;
  display: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 12px 40px rgba(13, 27, 42, 0.15);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin: 0 0 0.85rem;
  font-size: 0.91rem;
}

.player-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.player-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.88);
  cursor: pointer;
}

.player-modal__panel {
  position: relative;
  width: min(960px, 100%);
  height: min(88vh, 720px);
  max-height: min(88vh, 720px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--track-slate);
  border: 1px solid rgba(26, 127, 76, 0.35);
  box-shadow: 0 0 48px rgba(26, 127, 76, 0.2);
}

.player-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.player-modal__title {
  margin: 0;
  font-size: 1.02rem;
  color: var(--chalk-white);
  font-weight: 700;
}

.player-modal__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--chalk-white);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.player-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.player-modal__frame {
  flex: 1 1 auto;
  min-height: 200px;
  position: relative;
  background: #060b12;
}

.player-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tip-list {
  padding-left: 1.2rem;
}

.tip-list li {
  margin-bottom: 0.55rem;
}

.not-found {
  text-align: center;
  padding: 4rem 1.25rem;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
  color: var(--pitch-green);
  margin-bottom: 0.5rem;
}

.not-found p {
  color: var(--mist-gray);
  max-width: 40ch;
  margin: 0 auto 1.75rem;
}
