:root {
  --ink: #070b14;
  --ink-2: #0c1220;
  --panel: #121a2c;
  --card: #172236;
  --line: rgba(232, 241, 255, 0.08);
  --text: #f4f7fb;
  --muted: #9aabc4;
  --saffron: #ff9f1c;
  --saffron-2: #ffc857;
  --mint: #2ee6a6;
  --mint-2: #12b886;
  --ice: #d7e6ff;
  --wrap: 1180px;
  --pad: clamp(24px, 6vw, 64px);
  --header: 70px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --cut: 11px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 159, 28, 0.08), transparent 50%),
    radial-gradient(900px 400px at 100% 0%, rgba(46, 230, 166, 0.07), transparent 46%),
    var(--ink);
  color: var(--text);
  font-family: "Nirmala UI", "Noto Sans Devanagari", "Mangal", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

button, input { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

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

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--saffron);
  color: #1a1206;
  padding: 8px 12px;
  font-weight: 700;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.skip:focus,
.skip:focus-visible { top: 10px; }

.cut {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.logo img {
  width: 116px;
  height: 42px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
  min-width: 0;
}

.nav a {
  padding: 7px 10px;
  color: #c9d7ea;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: var(--saffron); }

.nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--mint);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.lang a {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.lang a.is-on {
  background: var(--saffron);
  color: #1a1206;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--saffron);
  box-shadow: inset 0 0 0 2px var(--saffron);
}

.btn-mint {
  background: linear-gradient(180deg, #4ff0bb, var(--mint-2));
  color: #04281c;
}

.btn-saffron {
  background: linear-gradient(180deg, #ffc45c, var(--saffron));
  color: #2a1800;
}

.btn-lg { min-height: 48px; padding: 0 22px; font-size: 16px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.hero {
  position: relative;
  margin-top: 16px;
}

.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1400 / 620;
  background: var(--panel);
  overflow: hidden;
  contain: layout paint;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.slide.is-on {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1400 / 620;
}

.slide-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 4vw, 40px);
  max-width: 640px;
  background: linear-gradient(90deg, rgba(7, 11, 20, 0.82) 0%, rgba(7, 11, 20, 0.35) 58%, transparent 100%);
}

.kicker {
  color: var(--mint);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.slide-copy h1,
.slide-copy h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.slide-copy p.lead {
  margin: 10px 0 16px;
  color: var(--ice);
  max-width: 42ch;
}

.dots {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
  min-height: 16px;
}

.dots button {
  width: 28px;
  height: 6px;
  background: #2a364c;
}

.dots button.is-on { background: var(--saffron); }

.cats {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-block: 22px 8px;
  min-height: 96px;
}

.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  color: #d5e2f2;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.cat:hover {
  border-color: rgba(255, 159, 28, 0.45);
  color: #fff;
}

.cat svg {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
  overflow: visible;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.38));
}

.cat:hover svg {
  filter: drop-shadow(0 3px 6px rgba(46, 230, 166, 0.28)) brightness(1.08);
}

.section {
  margin-top: 36px;
  margin-bottom: 36px;
}

.wrap.section,
.wrap.hero,
.wrap.prose,
.wrap.note-18,
.wrap.page-hero,
.wrap.winners {
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.more {
  color: var(--saffron);
  font-weight: 700;
  font-size: 14px;
}

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

.game {
  position: relative;
  display: block;
  background: var(--card);
  overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.game figure { margin: 0; }

.game-media {
  position: relative;
  aspect-ratio: 4 / 3;
}

.game img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.game-cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: rgba(7, 11, 20, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.game:hover .game-cta,
.game:focus-within .game-cta {
  opacity: 1;
  pointer-events: auto;
}

.game-cta .btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  font-size: 13px;
  --cut: 8px;
}

.game figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px 10px;
  font-size: 13px;
  font-weight: 700;
}

.game small { color: var(--muted); font-weight: 600; }

@media (hover: none) {
  .game-cta {
    opacity: 1;
    pointer-events: auto;
    top: auto;
    align-items: flex-end;
    background: linear-gradient(180deg, transparent, rgba(7, 11, 20, 0.9));
    padding: 28px 8px 8px;
  }

  .game-cta .btn { flex: 1 1 0; }
}

.winners {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  padding-top: 10px;
  padding-bottom: 10px;
}

.winners-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 13px;
  color: var(--ice);
}

.winners b { color: var(--mint); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bonus {
  padding: 18px;
  background: linear-gradient(180deg, #1b2740, #121a2c);
  border: 1px solid var(--line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.bonus h3 { font-size: 1.15rem; margin: 6px 0; }

.bonus p { color: var(--muted); margin-bottom: 14px; font-size: 14px; }

.prose {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 32px);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.prose h2 {
  font-size: 1.4rem;
  margin: 22px 0 10px;
}

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

.prose h3 { font-size: 1.08rem; margin: 18px 0 8px; color: var(--saffron-2); }

.prose p { margin: 0 0 12px; color: #d5deec; }

.prose ul,
.prose ol {
  margin: 0 0 14px 1.1em;
  padding: 0;
  list-style: disc;
  color: #d5deec;
}

.prose li { margin: 0 0 6px; }

.prose a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }

.table-wrap { overflow-x: auto; margin: 12px 0 18px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th { color: var(--saffron); font-weight: 800; }

.faq details {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 12px 8px;
  font-weight: 700;
}

.faq details p {
  padding: 0 8px 12px;
  color: var(--muted);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 8px;
}

.crumbs a { color: var(--ice); }

.page-hero {
  position: relative;
  margin-bottom: 22px;
  overflow: hidden;
  contain: layout paint;
  aspect-ratio: 1100 / 420;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .shade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 4vw, 32px);
  background: linear-gradient(180deg, transparent 20%, rgba(7, 11, 20, 0.88));
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  max-width: 18ch;
  line-height: 1.15;
}

.author {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 12px;
  background: var(--panel);
}

.author img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.author small { color: var(--muted); }

.site-footer {
  margin-top: 40px;
  padding: 28px 0 20px;
  background: #05080f;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 22px;
}

.site-footer h3 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 10px;
}

.site-footer a { color: #c5d3e6; display: inline-block; margin: 4px 0; }

.site-footer a:hover { color: var(--mint); }

.legal {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 8px;
  border: 2px solid var(--saffron);
  color: var(--saffron);
  font-weight: 800;
}

.to-top {
  position: fixed;
  right: max(16px, var(--pad));
  bottom: max(16px, var(--pad));
  z-index: 40;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--saffron);
  color: #1a1206;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.to-top.is-on {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  display: none;
}

.note-18 {
  margin-block: 16px 0;
  color: var(--muted);
  font-size: 13px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.cta-row .btn { min-height: 44px; }

.drawer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.drawer-cta .btn {
  flex: 1 1 140px;
  min-height: 44px;
}

body.drawer-open { overflow: hidden; }

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.blog-card {
  background: var(--panel);
  overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.blog-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }

.blog-card div { padding: 12px; }

.blog-card h3 { font-size: 1.05rem; margin-bottom: 6px; }

@media (max-width: 1020px) {
  :root { --pad: clamp(22px, 6vw, 48px); }
  .nav { display: none; }
  .burger { display: grid; }
  .header-cta { display: none; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bonus-grid, .blog-list, .foot-grid { grid-template-columns: 1fr 1fr; }
  .lang a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .drawer {
    display: block;
    position: fixed;
    inset: var(--header) 0 auto 0;
    background: #121a2c;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 18px;
    transform: translateY(-120%);
    transition: transform 0.2s ease;
    z-index: 60;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .drawer.is-on { transform: translateY(0); }
  .drawer a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }
  .drawer .lang { margin: 12px 0; display: inline-flex; }
  .drawer .lang a { border-bottom: 0; }
  .drawer-cta a { border-bottom: 0; justify-content: center; }
}

@media (max-width: 720px) {
  :root { --header: 58px; --pad: clamp(20px, 7vw, 36px); }
  .logo img { width: 88px; height: 32px; }
  .btn { min-height: 44px; padding: 0 12px; font-size: 13px; --cut: 8px; }
  .lang a { padding: 6px 8px; min-height: 44px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .grid-games { grid-template-columns: 1fr 1fr; }
  .bonus-grid, .blog-list, .foot-grid { grid-template-columns: 1fr; }
  .slide-copy h1, .slide-copy h2 { max-width: 14ch; font-size: 1.45rem; }
  .game-cta .btn { min-height: 44px; padding: 0 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .winners-track { animation: none; }
  .slide { transition: none; }
}
