@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #10110f;
  --surface: #181a17;
  --surface-raised: #20231e;
  --text: #f3f2eb;
  --muted: #a5a99d;
  --accent: #c8f36a;
  --accent-dark: #18210e;
  --border: rgba(239, 244, 226, .11);
  --font: 'DM Sans', 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--font); }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.brand b { color: var(--accent); font-weight: 700; }
.brand-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; background: var(--accent); color: #16190f; font-size: 18px; font-weight: 800; }
.header-note { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.hero { min-height: 378px; position: relative; display: flex; align-items: center; overflow: hidden; padding-top: 66px; padding-bottom: 70px; }
.hero::after { content: ''; position: absolute; width: 510px; height: 510px; top: -290px; right: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(200,243,106,.14), transparent 68%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.spark { margin-right: 8px; font-size: 14px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(48px, 7.5vw, 82px); font-weight: 600; line-height: .99; letter-spacing: -.065em; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 490px; margin: 21px 0 24px; color: var(--muted); font-size: 15px; }
.hero-button { display: inline-flex; align-items: center; gap: 22px; min-height: 45px; padding: 0 16px; border: 1px solid rgba(200,243,106,.45); border-radius: 7px; color: var(--accent); text-decoration: none; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.hero-button:hover { background: var(--accent); color: var(--accent-dark); }
.hero-button span { font-size: 17px; }
.hero-decoration { position: absolute; right: 11%; top: 50%; width: 210px; height: 210px; transform: translateY(-50%); border: 1px solid rgba(200,243,106,.13); border-radius: 50%; color: rgba(200,243,106,.65); }
.hero-decoration::before, .hero-decoration::after { content: ''; position: absolute; inset: 22px; border: 1px solid rgba(200,243,106,.1); border-radius: 50%; }
.hero-decoration::after { inset: 45px; }
.hero-decoration span { position: absolute; font-size: 21px; }
.hero-decoration span:nth-child(1) { top: 14px; left: 93px; }
.hero-decoration span:nth-child(2) { top: 89px; right: 8px; font-size: 16px; }
.hero-decoration span:nth-child(3) { bottom: 10px; left: 55px; font-size: 14px; }

.games-section { padding: 22px 0 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; font-size: clamp(25px, 3.4vw, 36px); font-weight: 600; line-height: 1.16; letter-spacing: -.045em; }
.section-hint { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.game-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(200,243,106,.46); box-shadow: 0 16px 38px rgba(0,0,0,.25); }
.game-link { display: block; height: 100%; text-decoration: none; }
.game-image-wrap { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #25281f; }
.game-image-wrap::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(9,11,8,.55), transparent); pointer-events: none; }
.game-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-image-wrap img { transform: scale(1.035); }
.game-number { position: absolute; z-index: 1; top: 12px; left: 12px; min-width: 32px; height: 27px; display: grid; place-items: center; padding: 0 7px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; background: rgba(15,17,13,.7); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.image-play { position: absolute; z-index: 2; right: 13px; bottom: 12px; display: flex; align-items: center; gap: 9px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.image-play span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #16190f; font-size: 15px; }
.game-card:hover .image-play, .game-link:focus-visible .image-play { opacity: 1; transform: none; }
.game-info { min-height: 116px; padding: 15px 16px 14px; }
.game-tag { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.game-info h3 { margin: 7px 0 10px; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.play-caption { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.game-card:hover .play-caption { color: var(--accent); }
.more-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 27px 0 0; color: var(--muted); font-size: 12px; }
.more-note span { color: var(--accent); }

.site-footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 13px; }
.footer-brand .brand-icon { width: 29px; height: 29px; border-radius: 9px; font-size: 15px; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 11px; }
.visitor-count { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.visitor-count strong { color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
.counter-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(200,243,106,.6); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .hero-decoration { right: 4%; width: 160px; height: 160px; opacity: .72; }
  .hero-decoration::before { inset: 17px; }
  .hero-decoration::after { inset: 35px; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 460px); }
  .header-inner { min-height: 64px; }
  .header-note { max-width: 125px; font-size: 9px; text-align: right; }
  .hero { min-height: 340px; padding-top: 57px; padding-bottom: 50px; }
  .hero-decoration { right: -49px; top: auto; bottom: -48px; width: 140px; height: 140px; transform: none; opacity: .42; }
  .hero-decoration::before { inset: 15px; }
  .hero-decoration::after { inset: 30px; }
  .hero-copy { max-width: 360px; font-size: 14px; }
  .games-section { padding-top: 17px; padding-bottom: 54px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 17px; }
  .games-grid { grid-template-columns: 1fr; gap: 13px; }
  .game-image-wrap { aspect-ratio: 16 / 9; }
  .image-play { opacity: 1; transform: none; }
  .game-info { min-height: 0; padding: 14px 15px; }
  .footer-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 19px; padding-bottom: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
