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

:root {
  --header-height: 72px;
  --pitch-deep: #0a1628;
  --tarmac: #141f33;
  --chalk-line: #e8edf5;
  --neon-lime: #39ff14;
  --sprint-orange: #ff6b00;
  --flood-gold: #ffc107;
  --cobalt-stripe: #1e88e5;
  --ink-bright: #f4f7fb;
  --ink-muted: #94a3b8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
}

html,
body {
  overflow-x: hidden !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-muted);
  background-color: var(--pitch-deep);
  background-image:
    radial-gradient(ellipse 70% 55% at 20% 0%, rgba(30, 136, 229, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 15%, rgba(57, 255, 20, 0.1), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 107, 0, 0.08), transparent 60%),
    linear-gradient(180deg, #0d1a2e 0%, var(--pitch-deep) 50%, #060d18 100%);
  background-attachment: fixed;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4,
.section-title,
.brand,
.foot-brand {
  font-family: Quicksand, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-bright);
  line-height: 1.2;
}

a {
  color: var(--neon-lime);
  text-decoration-thickness: 2px;
}

a:hover {
  color: var(--flood-gold);
}

img {
  display: block;
  height: auto;
}

main {
  flex: 1;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.layout-wrap {
  width: min(1140px, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.layout-grid-games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

.layout-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.layout-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skin-neon-panel {
  background: rgba(20, 31, 51, 0.78);
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.layout-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 22, 40, 0.94);
  border-bottom: 1px solid rgba(57, 255, 20, 0.2);
  box-shadow: 0 0 24px rgba(30, 136, 229, 0.12);
}

.layout-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.brand {
  font-size: 1.28rem;
  text-decoration: none;
  color: var(--chalk-line);
}

.brand span {
  color: var(--neon-lime);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.45);
}

.layout-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(57, 255, 20, 0.45);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.layout-header__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--chalk-line);
  transition: transform 0.25s, opacity 0.25s;
}

.layout-header__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.layout-header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.layout-header__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.layout-header__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.layout-header__nav a {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink-muted);
}

.layout-header__nav a:hover {
  color: var(--chalk-line);
}

.hero-strip {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
}

.hero-strip__title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0 0 1rem;
  max-width: 22ch;
  text-shadow: 0 0 28px rgba(57, 255, 20, 0.2);
}

.hero-strip__lead {
  font-size: 1.08rem;
  max-width: 62ch;
  margin: 0 0 1.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 4rem;
  text-align: center;
}

.games-lane {
  padding: 2rem 0 3.5rem;
}

.media-game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.media-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.18), 0 12px 32px rgba(0, 0, 0, 0.35);
}

.media-game-card__thumb {
  aspect-ratio: 1;
  overflow: hidden;
}

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

.media-game-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.media-game-card__title {
  font-size: 1.15rem;
  margin: 0;
}

.media-game-card__desc {
  margin: 0;
  font-size: 0.95rem;
  flex: 1;
}

.skin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  font-family: Quicksand, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.skin-btn--gradient {
  color: var(--pitch-deep);
  background: linear-gradient(135deg, var(--neon-lime) 0%, var(--cobalt-stripe) 55%, var(--sprint-orange) 100%);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.25);
}

.skin-btn--gradient:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.4);
  transform: translateY(-1px);
}

.skin-btn--play {
  width: 100%;
}

.skin-btn--small {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}

.skin-btn--hero {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

.perks-lane {
  padding: 2rem 0 3.5rem;
}

.media-perk {
  padding: 1.5rem;
}

.media-perk h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
}

.media-perk p {
  margin: 0;
}

.faq-lane {
  padding: 2rem 0 3.5rem;
}

.faq-lane__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 760px;
  margin-inline: auto;
}

.media-faq {
  overflow: hidden;
}

.media-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: Quicksand, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  color: var(--chalk-line);
  background: transparent;
  border: none;
  cursor: pointer;
}

.media-faq__trigger::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--neon-lime);
  flex-shrink: 0;
}

.media-faq.is-open .media-faq__trigger::after {
  content: "−";
}

.media-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.media-faq.is-open .media-faq__answer {
  max-height: 240px;
}

.media-faq__answer p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
}

.cta-lane {
  padding: 2rem 0 4rem;
}

.cta-lane__box {
  padding: 2.5rem 2rem;
  text-align: center;
}

.cta-lane__box h2 {
  margin: 0 0 0.75rem;
}

.cta-lane__box p {
  margin: 0 0 1.5rem;
  max-width: 48ch;
  margin-inline: auto;
}

.layout-footer {
  padding: 2.5rem 0 1.5rem;
  background: rgba(4, 10, 18, 0.96);
  border-top: 1px solid rgba(57, 255, 20, 0.12);
}

.layout-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.foot-brand {
  display: inline-block;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--neon-lime);
  margin-bottom: 0.75rem;
}

.foot-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.foot-heading {
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  color: var(--chalk-line);
}

.foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.foot-list a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.foot-list a:hover {
  color: var(--neon-lime);
}

.foot-copy {
  font-size: 0.82rem;
  text-align: center;
  opacity: 0.75;
  margin: 0;
}

.skin-cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 340px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.skin-cookie p {
  margin: 0;
  font-size: 0.88rem;
}

.media-player {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 10, 18, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

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

.media-player__shell {
  width: min(960px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.media-player__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(57, 255, 20, 0.18);
}

.media-player__title {
  margin: 0;
  font-size: 1.1rem;
}

.media-player__close {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(57, 255, 20, 0.45);
  border-radius: 10px;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--chalk-line);
}

.media-player__frame-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--pitch-deep);
}

.media-player__frame {
  width: 100%;
  height: 100%;
  border: none;
}

.media-player__fallback {
  margin: 0;
  padding: 0.75rem 1.1rem;
  font-size: 0.88rem;
  text-align: center;
}

.page-lane {
  padding: calc(var(--header-height) + 2rem) 0 3rem;
}

.page-lane__hero {
  padding: 2rem 1.75rem;
  margin-bottom: 2rem;
}

.page-lane__hero h1 {
  margin: 0 0 0.75rem;
}

.page-lane__hero p {
  margin: 0;
  max-width: 65ch;
}

.media-prose {
  padding: 1.75rem;
}

.media-prose h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
}

.media-prose p,
.media-prose li {
  margin: 0 0 0.85rem;
}

.media-prose ul,
.media-prose ol {
  margin: 0 0 0.85rem;
  padding-left: 1.4rem;
}

.media-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--chalk-line);
}

.media-form input,
.media-form textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  font: inherit;
  background: rgba(10, 22, 40, 0.85);
  color: var(--chalk-line);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: rgba(57, 255, 20, 0.12);
  color: var(--neon-lime);
  font-weight: 600;
}

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

.media-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.media-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.media-blog-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.media-blog-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.skin-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  background: rgba(57, 255, 20, 0.12);
  color: var(--neon-lime);
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  opacity: 0.85;
}

.skin-btn-read {
  margin-top: auto;
  align-self: flex-start;
}

.article-lane {
  padding: calc(var(--header-height) + 2rem) 0 3rem;
}

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

.article-lane__header h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.article-lane__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.article-lane__content {
  max-width: 720px;
}

.article-lane__content section {
  margin-bottom: 2rem;
}

.article-lane__content h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.article-lane__content p {
  margin: 0 0 0.85rem;
}

.article-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  text-align: center;
}

.article-cta h3 {
  margin: 0 0 1rem;
}

.article-lane__footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.legal-block h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-block h2:first-child {
  margin-top: 0;
}

.legal-block p,
.legal-block li {
  margin: 0 0 0.75rem;
}

@media (max-width: 900px) {
  .layout-grid-3,
  .layout-footer__grid {
    grid-template-columns: 1fr;
  }

  .layout-grid-2 {
    grid-template-columns: 1fr;
  }
}

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

  .layout-header__nav {
    position: fixed;
    top: calc(var(--header-height) - 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(10, 22, 40, 0.98);
    border-bottom: 1px solid rgba(57, 255, 20, 0.18);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .layout-header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .layout-header__nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  }

  .skin-cookie {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .media-player {
    padding: 0.5rem 0.65rem;
  }

  .media-player__shell {
    width: 100%;
    max-height: calc(100dvh - 1rem);
  }

  .media-player__frame-wrap {
    aspect-ratio: 1 / 1;
    width: 100%;
  }
}
