/* TeenPatti Master — felt table language (aligned with Teen Patti table UI) */
:root {
  --ink: #06140f;
  --felt: #0e7a50;
  --bg-deep: #030906;
  --bg-mid: #10241c;
  --bg-card: #143328;
  --wine: #8a3a28;
  --brass: #e0b050;
  --brass-deep: #b07828;
  --gold: #f0d078;
  --gold-bright: #ffe9a8;
  --gold-dark: #b07828;
  --saffron: #e89040;
  --cta: #e0b050;
  --cta-text: #1a1208;
  --text: #f6edd8;
  --muted: #c4b090;
  --ivory: #f6edd8;
  --ivory-dim: #c4b090;
  --paper: #f7f1e6;
  --red: #d04038;
  --accent-pink: #e89040;
  --safe: #6ee7a8;
  --line: rgba(232, 188, 90, 0.32);
  --radius: 16px;
  --header-h: 62px;
  --sticky-h: 0px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-script: "Cormorant Garamond", Georgia, serif;
  --font-body: "Noto Sans", "Segoe UI", sans-serif;
  --font-impact: "Cormorant Garamond", "Times New Roman", serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  color-scheme: dark;
  background: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 75% 38% at 50% -8%, rgba(232, 144, 64, 0.18), transparent 55%),
    radial-gradient(ellipse 90% 45% at 50% -2%, rgba(224, 176, 80, 0.12), transparent 58%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(14, 122, 80, 0.38), transparent 55%),
    linear-gradient(180deg, #10241c 0%, var(--ink) 42%, #020805 100%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: calc(var(--sticky-h) + 20px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: soft-light;
  background-image: var(--noise);
  background-size: 160px;
}

a {
  color: var(--gold);
  text-decoration: none;
}

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

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0 100px 0 12px;
  background: rgba(6, 20, 15, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(14px);
  overflow: visible;
}

.header-app-ico {
  display: none !important;
}

.header-app-ico img {
  display: none !important;
}

.site-header .brand {
  flex: 0 0 auto;
  text-align: center;
  margin-right: 0;
  min-width: 0;
}

.site-nav .header-app-ico {
  display: none !important;
}

.site-header .nav-toggle {
  position: absolute;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  margin-left: 0;
}

.site-header .header-dl {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 0.78rem;
  margin: 0;
}

/* Logo + nav + Download stay centered as one group */
.site-header > .header-dl {
  display: inline-flex !important;
  margin-left: 0;
}

.site-nav .header-dl,
.site-nav .lang-switch {
  display: none !important;
}

.lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 0;
  padding: 4px 8px;
  border: 1px solid rgba(240, 208, 120, 0.28);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-switch .lang-link {
  color: var(--ivory-dim);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
}

.lang-switch .lang-link:hover {
  color: var(--gold);
}

.lang-switch .lang-link.is-active {
  color: var(--gold-bright);
}

.lang-switch .lang-sep {
  color: rgba(240, 208, 120, 0.35);
  user-select: none;
}

/* Language switch pinned to the right edge */
.site-header > .lang-switch {
  display: inline-flex !important;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

body.lang-hi {
  font-family: "Noto Sans", "Tiro Devanagari Hindi", sans-serif;
}

body.lang-hi .brand-name,
body.lang-hi .hero-mark h1,
body.lang-hi h1,
body.lang-hi h2 {
  font-family: "Cormorant Garamond", "Tiro Devanagari Hindi", serif;
}

@media (max-width: 420px) {
  .site-header .header-dl {
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .site-header .brand-name {
    font-size: 1.28rem;
  }

  .site-header .brand-tag {
    font-size: 0.5rem;
    letter-spacing: 0.22em;
  }
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5d878 0%, var(--brass) 40%, var(--brass-deep) 100%);
  color: var(--cta-text);
  font-weight: 700;
  white-space: nowrap;
  border-radius: 12px;
}

.btn-header:hover {
  color: var(--cta-text);
  filter: brightness(1.05);
}

.site-nav .btn-header {
  margin-top: 6px;
  align-self: center;
}

.site-nav .btn-header:hover {
  background: linear-gradient(180deg, #f5d878 0%, var(--brass) 40%, var(--brass-deep) 100%);
  color: var(--cta-text);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  padding: 2px 4px;
  border-radius: 4px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.brand:hover {
  filter: brightness(1.08);
  transform: translateY(-0.5px);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  background: linear-gradient(185deg, #fff6d4 0%, #ffe08a 28%, #e8b84a 58%, #c88820 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.brand-tag {
  display: block;
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px solid rgba(232, 184, 74, 0.45);
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  opacity: 0.95;
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 1.28rem;
  }
}

.nav-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  margin-left: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1a061c;
  border-radius: 2px;
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: rgba(26, 6, 28, 0.97);
  border-bottom: 1px solid rgba(240, 193, 75, 0.2);
  padding: 12px 16px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 99;
  text-align: center;
}

.site-nav.open {
  display: flex;
}

.site-nav a:not(.btn-header) {
  color: var(--text);
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 500;
}

.site-nav a:not(.btn-header):hover {
  background: rgba(240, 193, 75, 0.12);
  color: var(--gold);
}

@media (min-width: 860px) {
  .site-header {
    padding: 0 110px 0 20px;
    gap: 12px;
    justify-content: center;
  }

  .site-header .brand {
    flex: 0 0 auto;
    text-align: center;
    margin-right: 0;
  }

  .site-header > .header-app-ico {
    display: none !important;
  }

  .site-header .site-nav {
    flex: 0 0 auto;
    justify-content: center;
    gap: 6px;
  }

  .site-header > .header-dl {
    display: inline-flex !important;
    margin-left: 0;
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .site-header > .lang-switch {
    display: inline-flex !important;
    right: 20px;
  }

  .site-nav .header-app-ico,
  .site-nav .header-dl,
  .site-nav .lang-switch {
    display: none !important;
  }

  .nav-toggle,
  .site-header .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    transform: none;
    margin-left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    gap: 4px;
    z-index: 1;
    text-align: center;
  }

  .site-nav a:not(.btn-header) {
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .site-nav .btn-header {
    margin-top: 0;
    margin-left: 6px;
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* —— Hero (felt table language) —— */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: min(78vh, 640px);
  padding:
    max(28px, env(safe-area-inset-top))
    18px
    36px;
  overflow: hidden;
  max-width: none;
  margin: 0;
  width: 100%;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 38% at 50% -8%, rgba(232, 144, 64, 0.22), transparent 55%),
    radial-gradient(ellipse 90% 45% at 50% -2%, rgba(224, 176, 80, 0.14), transparent 58%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(14, 122, 80, 0.42), transparent 55%),
    linear-gradient(180deg, #10241c 0%, var(--ink) 48%, #020805 100%);
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image: var(--noise);
  background-size: 160px;
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 14%, transparent 86%, rgba(0, 0, 0, 0.28));
  opacity: 0.65;
}

.hero-suits {
  position: absolute;
  left: -8%;
  top: -6%;
  width: 116%;
  height: 112%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-content: space-evenly;
  justify-items: center;
  gap: 0.35rem 0;
  transform: rotate(-12deg);
  mask-image: radial-gradient(ellipse 44% 38% at 50% 42%, transparent 52%, black 100%);
  -webkit-mask-image: radial-gradient(ellipse 44% 38% at 50% 42%, transparent 52%, black 100%);
}

.hero-suits i {
  font-style: normal;
  font-size: clamp(1.3rem, 4vw, 2rem);
  line-height: 1;
  color: rgba(224, 176, 80, 0.2);
}

.hero-suits i:nth-child(4n + 2) { color: rgba(208, 64, 56, 0.16); }
.hero-suits i:nth-child(4n + 3) { color: rgba(240, 208, 120, 0.18); }
.hero-suits i:nth-child(4n) { color: rgba(224, 176, 80, 0.14); }

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hero-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 9.6rem;
}

.hero-fan {
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.hero-card {
  position: absolute;
  left: -48px;
  top: 0;
  width: 96px;
  height: 136px;
  border-radius: 10px;
  background:
    linear-gradient(165deg, #fffcf5 0%, var(--paper) 55%, #ebe3d4 100%);
  border: 1px solid rgba(26, 22, 18, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink-card, #1a1612);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 10px;
  font-family: var(--font-display);
}

.hero-card b {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.hero-card em {
  font-style: normal;
  font-size: 1rem;
  margin-top: 2px;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 1.55rem;
  line-height: 1;
  transform: rotate(180deg);
}

.hero-card.c1 {
  color: #1a1612;
  z-index: 1;
  transform: rotate(-10deg) translate(-36px, 12px);
  animation: hero-float 7s ease-in-out 0.2s infinite;
}
.hero-card.c1 em,
.hero-card.c1::after { color: #1a1612; }
.hero-card.c1::after { content: "♠"; }

.hero-card.c2 {
  color: var(--red);
  z-index: 2;
  transform: rotate(2deg) translate(4px, 4px);
  animation: hero-float 7.5s ease-in-out 0.5s infinite;
}
.hero-card.c2 em,
.hero-card.c2::after { color: var(--red); }
.hero-card.c2::after { content: "♥"; }

.hero-card.c3 {
  color: var(--red);
  z-index: 3;
  transform: rotate(14deg) translate(44px, 2px);
  animation: hero-float 8s ease-in-out 0.8s infinite;
}
.hero-card.c3 em,
.hero-card.c3::after { color: var(--red); }
.hero-card.c3::after { content: "♦"; }

.hero-brand {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(232, 144, 64, 0.95);
}

.hero-mark h1 {
  position: relative;
  z-index: 2;
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 9vw, 3.8rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--ivory);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  text-align: center;
  max-width: none;
}

.hero-tag {
  position: relative;
  z-index: 2;
  margin: 0.65rem 0 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 224, 138, 0.95);
}

.hero-lead {
  margin: 1.15rem auto 0;
  color: #f3e6c8;
  font-size: clamp(0.98rem, 2.6vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  max-width: 36ch;
  text-align: center;
}

.hero-lead strong {
  color: #ffe9a8;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1.4rem;
}

.hero .btn-download {
  width: auto;
  min-width: 11.5rem;
}

.hero .trust-row {
  margin-top: 1.1rem;
  justify-content: center;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}

@media (max-height: 640px) {
  .hero {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .hero-mark {
    padding-top: 7.6rem;
  }

  .hero-card {
    width: 78px;
    height: 110px;
    left: -39px;
  }

  .hero-card.c1 { transform: rotate(-10deg) translate(-28px, 10px); }
  .hero-card.c2 { transform: rotate(2deg) translate(2px, 3px); }
  .hero-card.c3 { transform: rotate(14deg) translate(34px, 1px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner,
  .hero-card {
    animation: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-download {
  background: linear-gradient(180deg, #f5d878 0%, var(--brass) 40%, var(--brass-deep) 100%);
  color: var(--cta-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 220, 0.5),
    0 8px 22px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(224, 176, 80, 0.25);
  width: min(100%, 320px);
  border: 0;
  border-radius: 12px;
  letter-spacing: 0.06em;
}

.btn-download:hover {
  filter: brightness(1.05);
  color: var(--cta-text);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(180deg, #f5d878 0%, var(--brass) 40%, var(--brass-deep) 100%);
  color: var(--cta-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 220, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.35);
  border-radius: 12px;
}

.btn-gold:hover {
  filter: brightness(1.05);
  color: var(--cta-text);
}

.trust-line {
  margin-top: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 18px;
  list-style: none;
}

.trust-row li {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.reviewed {
  margin-top: 12px;
  font-size: 0.72rem;
  color: rgba(201, 180, 212, 0.7);
}

/* —— Sections —— */
.section {
  padding: 36px 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.section-tight {
  padding-top: 12px;
  padding-bottom: 8px;
}

.section-alt {
  background: transparent;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.section-alt .inner {
  max-width: none;
  margin: 0;
  padding: 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.section .lead {
  text-align: center;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 14px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  margin-top: 8px;
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  text-align: center;
  padding: 14px 8px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(240, 193, 75, 0.1);
  border: none;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--gold);
}

.feature h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.about-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

.about-block {
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(240, 193, 75, 0.12);
  background: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: center;
}

@media (min-width: 720px) {
  .about-block {
    padding: 4px 8px 8px;
    border-bottom: none;
  }
}

.about-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.about-block p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36ch;
  margin: 0 auto;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 600px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 860px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.games-entry-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .games-entry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.games-entry {
  display: block;
  padding: 18px 16px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
  text-align: center;
}

.games-entry:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  color: var(--text);
}

.games-entry-label {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.games-entry p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.page-games .page-hero {
  padding-bottom: 8px;
}

.page-games .games-hero {
  position: relative;
  text-align: center;
  padding: clamp(36px, 8vw, 72px) 18px 40px;
  max-width: none;
  margin: 0;
  overflow: hidden;
  border-bottom: none;
  isolation: isolate;
}

.games-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(232, 144, 64, 0.2), transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(14, 122, 80, 0.45), transparent 55%),
    transparent;
  pointer-events: none;
}

.games-hero-bg::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ctext x='12' y='36' font-size='22' fill='rgba(224,176,80,0.18)'%3E%E2%99%A0%3C/text%3E%3Ctext x='72' y='28' font-size='18' fill='rgba(208,64,56,0.16)'%3E%E2%99%A5%3C/text%3E%3Ctext x='40' y='78' font-size='20' fill='rgba(240,208,120,0.16)'%3E%E2%99%A6%3C/text%3E%3Ctext x='88' y='88' font-size='16' fill='rgba(224,176,80,0.14)'%3E%E2%99%A3%3C/text%3E%3C/svg%3E");
  background-size: 120px 120px;
  transform: rotate(-12deg);
  opacity: 0.9;
  mask-image: radial-gradient(ellipse 50% 45% at 50% 40%, transparent 40%, black 100%);
  -webkit-mask-image: radial-gradient(ellipse 50% 45% at 50% 40%, transparent 40%, black 100%);
}

.games-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image: var(--noise);
  background-size: 160px;
  animation: none;
}

@keyframes games-sparkle {
  from { transform: translateY(0); }
  to { transform: translateY(-36px); }
}

.games-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  animation: games-hero-in 0.7s ease-out both;
}

@keyframes games-hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-games .hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: none;
  color: rgba(232, 144, 64, 0.92);
  text-shadow: none;
}

.page-games .games-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  color: var(--ivory);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.page-games .games-hero-sub {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 22px;
  font-size: 1rem;
  line-height: 1.6;
}

.games-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.games-hero-cta .btn-download {
  width: auto;
  min-width: 180px;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(240, 193, 75, 0.55);
  background: transparent;
  color: var(--gold-bright);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.btn-outline-gold:hover {
  background: rgba(240, 193, 75, 0.1);
  color: var(--gold-bright);
}

.games-hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
}

.games-hero-stats li {
  text-align: center;
  min-width: 72px;
}

.games-hero-stats b {
  display: block;
  font-family: var(--font-impact);
  font-size: 1.25rem;
  color: var(--gold-bright);
  line-height: 1.2;
}

.games-hero-stats span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.games-count-line {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.games-count-line strong {
  color: var(--gold-bright);
  font-size: 1.1rem;
}

.browse-head {
  text-align: center;
  margin-bottom: 18px;
}

.browse-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.6vw, 1.65rem);
  margin: 0 0 6px;
}

.browse-head-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-section {
  padding-top: 28px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.games-search {
  display: block;
  max-width: 480px;
  margin: 0 auto 16px;
}

.games-search input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(240, 193, 75, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s;
}

.games-search input::placeholder {
  color: rgba(196, 176, 144, 0.55);
}

.games-search input:focus {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.18);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 14px;
  max-width: 520px;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  padding: 10px 0;
  background: linear-gradient(180deg, rgba(6, 20, 15, 0.98), rgba(6, 20, 15, 0.88) 70%, transparent);
}

.filter-btn {
  width: auto;
  min-width: 72px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.25;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.filter-btn.active {
  background: linear-gradient(180deg, rgba(245, 216, 120, 0.28), rgba(224, 176, 80, 0.12));
  border-color: var(--line);
  color: var(--gold-bright);
}

.browse-shelf {
  max-height: min(58vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 10px 14px;
  margin: 0 auto 8px;
  max-width: 1040px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 28, 20, 0.55);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 176, 80, 0.55) rgba(255, 255, 255, 0.06);
}

.browse-shelf::-webkit-scrollbar {
  width: 8px;
}

.browse-shelf::-webkit-scrollbar-thumb {
  background: rgba(224, 176, 80, 0.5);
  border-radius: 999px;
}

.browse-shelf::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

@media (max-width: 560px) {
  .browse-shelf {
    max-height: min(50vh, 420px);
  }
}

.catalog-folds {
  display: none;
}

.games-empty {
  text-align: center;
  color: var(--muted);
  margin: 12px 0 0;
}


.browse-shelf::-webkit-scrollbar {
  width: 6px;
}

.browse-shelf::-webkit-scrollbar-thumb {
  background: rgba(240, 193, 75, 0.4);
  border-radius: 999px;
}

.browse-shelf::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  justify-content: center;
}

.catalog-grid-featured {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

@media (min-width: 720px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 14px;
  }

  .catalog-grid-featured {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

@media (min-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  }
}

#games-grid .game-card > p,
#games-grid .game-card .features {
  display: none;
}

#games-grid .game-card {
  padding: 16px 12px 12px;
}

#games-grid .game-card .icon {
  width: 52px;
  height: 52px;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

#games-grid .game-card h3 {
  font-size: 0.84rem;
  min-height: 0;
  margin-bottom: 8px;
}

#games-grid .game-card .bonus {
  font-size: 0.68rem;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#games-grid .game-card .card-cta {
  padding: 7px 8px;
  font-size: 0.72rem;
}

#popular {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

#browse {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.popular-section .inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.popular-section .lead {
  margin-left: auto;
  margin-right: auto;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(232, 188, 90, 0.16);
  background:
    linear-gradient(165deg, rgba(247, 241, 230, 0.08), rgba(14, 122, 80, 0.08));
  color: var(--text);
  transition: background 0.22s, transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  min-height: 100%;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(224, 176, 80, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.22s;
}

.game-card:hover {
  background: linear-gradient(165deg, rgba(247, 241, 230, 0.12), rgba(14, 122, 80, 0.12));
  transform: translateY(-4px);
  border-color: rgba(224, 176, 80, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.game-card:hover::before {
  opacity: 1;
}

.game-card .icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 10px;
  background:
    radial-gradient(circle at 30% 25%, rgba(240, 193, 75, 0.22), transparent 60%),
    rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 193, 75, 0.2);
  transition: transform 0.22s;
}

.game-card:hover .icon {
  transform: scale(1.06);
}

.game-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.game-card > p {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2em;
}

.game-card .features {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  flex: 1;
  width: 100%;
  text-align: center;
}

.game-card .features li {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.35;
  margin-bottom: 2px;
  text-align: center;
}

.game-card .features li::before {
  content: "✓ ";
  color: #6ee7a8;
  font-weight: 700;
}

.game-card .bonus {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-bright);
  background: rgba(240, 193, 75, 0.12);
  border: none;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 8px;
  text-align: center;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.game-card .cat-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.28);
  padding: 3px 7px;
  border-radius: 999px;
}

.game-card .card-cta {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(240, 193, 75, 0.12);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.2s;
}

.game-card:hover .card-cta {
  background: rgba(240, 193, 75, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .games-hero-bg::after,
  .games-hero-inner,
  .game-card,
  .game-card .icon {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 560px) {
  .page-games .games-hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .games-hero-stats {
    gap: 6px 18px;
  }
}

@media (max-width: 560px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .game-card {
    padding: 14px 10px 12px;
  }

  .game-card .icon {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .game-card h3 {
    font-size: 0.8rem;
    min-height: 0;
  }

  .game-card > p,
  .game-card .features {
    display: none;
  }

  .game-card .bonus {
    font-size: 0.64rem;
    padding: 5px 8px;
  }

  .game-card .card-cta {
    padding: 7px 8px;
    font-size: 0.7rem;
  }
}

.games-empty {
  text-align: center;
  color: var(--muted);
  padding: 24px 0;
}

.game-tile {
  background: rgba(255, 255, 255, 0.045);
  border: none;
  border-radius: 12px;
  padding: 16px 10px 18px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.game-tile:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: none;
}

.game-tile .ico {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

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

.game-tile h3 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  line-height: 1.25;
}

.game-tile small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.game-tile .play {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cta-text);
  background: var(--cta);
  padding: 7px 14px;
  border-radius: 8px;
}

/* Download band */
.download-band {
  text-align: center;
  padding: 40px 18px;
  max-width: 1040px;
  margin: 0 auto;
  background: transparent;
  border-block: none;
}

.download-band h2 {
  font-family: var(--font-display);
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
}

.download-band > .btn-download {
  margin-top: 4px;
}

.download-band p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 20px;
  font-size: 0.92rem;
}

.steps {
  list-style: none;
  max-width: 520px;
  margin: 14px auto 0;
  text-align: left;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 12px 12px 12px 48px;
  margin-bottom: 4px;
  background: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(240, 193, 75, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
  counter-increment: step;
  text-align: left;
}

.gd-install-steps {
  margin-top: 18px;
  margin-bottom: 8px;
}

.gd-install-tips {
  margin-top: 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1200;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border: none;
  border-bottom: 1px solid rgba(240, 193, 75, 0.1);
  border-radius: 0;
  margin-bottom: 0;
  overflow: hidden;
  background: transparent;
}

.faq-item button {
  width: 100%;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 44px;
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 400;
}

.faq-item.open button::after {
  content: "−";
}

.faq-item .answer {
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.faq-item.open .answer {
  display: block;
}

.faq-item .answer ul {
  margin: 8px auto 0;
  display: inline-block;
  text-align: left;
}

/* Footer */
.site-footer {
  background: transparent;
  border-top: 1px solid rgba(240, 193, 75, 0.1);
  padding: 36px 16px 28px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.footer-warn {
  background: rgba(240, 193, 75, 0.06);
  border: none;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 20px;
  color: var(--gold-bright);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.copyright {
  opacity: 0.65;
  font-size: 0.75rem;
}

/* Sticky download bar — retired; icon + CTA live in site-header */
.sticky-dl {
  display: none !important;
}

@keyframes sticky-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

.sticky-dl .app-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #0e7a50, #06140f);
  border: 1px solid rgba(224, 176, 80, 0.45);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--gold);
  overflow: hidden;
  padding: 0;
}

.sticky-dl .app-ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-dl .meta {
  flex: 1;
  min-width: 0;
}

.sticky-dl .meta strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-dl .meta span {
  color: var(--muted);
  font-size: 0.74rem;
}

.sticky-dl .meta .star {
  color: var(--gold);
}

.sticky-dl .btn-gold {
  flex-shrink: 0;
  padding: 11px 16px;
  font-size: 0.84rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f5d878 0%, var(--brass) 40%, var(--brass-deep) 100%);
  color: var(--cta-text);
  font-weight: 700;
}

/* Utility */
.gold {
  color: var(--gold);
}

.center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

/* Guides & articles */
.guide-grid,
.article-list {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .article-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-card,
.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: none;
  border-radius: 12px;
  padding: 0;
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  background: #2a0a18;
}

.card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-cover {
  display: block;
  width: min(760px, calc(100% - 32px));
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  margin: 0 auto 12px;
  border-radius: 12px;
  border: none;
}

.guide-card:hover,
.article-card:hover {
  transform: translateY(-2px);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.guide-card h3,
.article-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.3;
}

.guide-card p,
.article-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 719px) {
  .article-card {
    flex-direction: row;
    align-items: stretch;
  }

  .article-card .card-thumb {
    width: 38%;
    min-width: 120px;
    aspect-ratio: 3 / 4;
    align-self: stretch;
  }

  .article-card .card-body {
    padding: 14px 14px 14px 12px;
  }

  .article-card h3 {
    font-size: 0.95rem;
  }

  .article-card p {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Legal / content pages */
.page-hero {
  text-align: center;
  padding: 40px 16px 20px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.2rem;
  margin: 28px 0 10px;
  text-align: center;
}

.prose h3 {
  color: var(--gold);
  font-size: 1rem;
  margin: 18px 0 8px;
  text-align: center;
}

.prose p,
.prose li {
  margin-bottom: 10px;
}

.prose ul {
  margin: 0 auto 12px;
  display: inline-block;
  text-align: left;
  padding-left: 1.1em;
}

.prose a {
  color: var(--gold);
}

/* Reveal motion — keep content visible to avoid blank gaps */
.reveal {
  opacity: 1;
  transform: none;
}

.footer-cols {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
  text-align: center;
}

@media (min-width: 700px) {
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-cols h4 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-cols a {
  display: block;
  color: var(--muted);
  padding: 4px 0;
  font-size: 0.85rem;
}

.footer-cols a:hover {
  color: var(--gold);
}

.hero-proof {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.65rem;
  width: min(100%, 22rem);
  margin: 1.15rem auto 0;
  padding: 0;
}

.hero-proof li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.55rem 0.4rem;
  text-align: center;
  background: rgba(6, 20, 15, 0.45);
  border: 1px solid rgba(232, 188, 90, 0.22);
  border-radius: 10px;
}

.hero-proof b {
  font-family: var(--font-impact);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
}

.hero-proof span {
  font-size: 0.68rem;
  line-height: 1.2;
  color: var(--muted);
}

@media (min-width: 640px) {
  .hero-proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 36rem);
    gap: 0.55rem;
  }

  .hero-proof li {
    padding: 0.5rem 0.35rem;
  }

  .hero-proof b {
    font-size: 1rem;
  }

  .hero-proof span {
    font-size: 0.64rem;
  }
}

/* legacy stats (unused on home) */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(0.5rem, 2vw, 1rem) 1rem;
}

.stat {
  text-align: center;
  padding: clamp(0.75rem, 2vw, 1.25rem) 0.5rem;
}

.stat b {
  display: block;
  font-family: var(--font-impact);
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  line-height: 1.1;
}

.stat span {
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  color: var(--muted);
}

/* —— Jungle-inspired home modules —— */
.hero-kicker-inline {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-mini-stats b {
  color: var(--gold-bright);
  font-weight: 700;
  margin-right: 4px;
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.search-chips a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.search-chips a:hover {
  background: rgba(240, 193, 75, 0.14);
  color: var(--gold-bright);
}

.home-games-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.home-games-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 12px;
  flex: 1;
  min-width: 0;
}

.home-games-rail::-webkit-scrollbar {
  display: none;
}

.home-games-rail .game-card {
  flex: 0 0 min(160px, 42vw);
  scroll-snap-align: start;
  min-height: 0;
}

.home-games-rail .game-card > p,
.home-games-rail .game-card .features {
  display: none;
}

.home-games-nav {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(240, 193, 75, 0.4);
  background: rgba(26, 6, 28, 0.85);
  color: var(--gold-bright);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-games-nav:hover {
  background: rgba(240, 193, 75, 0.15);
  border-color: var(--gold);
}

@media (max-width: 560px) {
  .home-games-nav {
    display: none;
  }
}

.winners-track {
  margin-top: 18px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 0;
}

.winners-inner {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: winners-scroll 36s linear infinite;
}

.winners-inner span {
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

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

.bonus-grid,
.perk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}

@media (min-width: 640px) {
  .bonus-grid,
  .perk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .bonus-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .perk-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bonus-card,
.perk {
  padding: 16px 14px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.bonus-ico {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--gold);
  line-height: 1;
}

.bonus-card h3,
.perk h3 {
  font-family: var(--font-impact);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--text);
}

.bonus-card p,
.perk p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.bonus-card a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.apk-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
}

.apk-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.apk-table th,
.apk-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(240, 193, 75, 0.12);
}

.apk-table th {
  font-family: var(--font-impact);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  background: rgba(240, 193, 75, 0.08);
}

.apk-table td:first-child {
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.apk-table tbody tr:last-child td {
  border-bottom: none;
}

.apk-table tbody tr:hover td {
  background: rgba(240, 193, 75, 0.04);
}

.center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

﻿/* —— Game detail page —— */
.page-game-detail {
  --game-accent: var(--gold);
  --game-accent-soft: rgba(240, 193, 75, 0.16);
}

.gd {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 0 32px;
}

.gd-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 18px auto 0;
  max-width: 820px;
  padding: 0 8px 4px;
}

.gd-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.gd-toc-link:hover {
  color: var(--gold-bright);
  border-bottom-color: rgba(240, 193, 75, 0.35);
  background: transparent;
}

.gd-toc-i {
  font-family: var(--font-impact);
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0.85;
}

.gd-read-links,
.gd-guide-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 16px;
}

.gd-guide-links a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.gd-hero {
  padding: 20px 18px 8px;
  text-align: center;
}

.gd-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 14px 28px;
  display: grid;
  gap: 14px;
}

.gd-block,
.gd-panel {
  padding: 22px 18px;
  text-align: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(240, 193, 75, 0.1);
}

.gd-block h2 {
  font-family: var(--font-impact);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin: 0 auto 14px;
  letter-spacing: 0.02em;
  text-align: center;
}

.gd-block > p,
.gd-sub,
.gd-stake-note {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 58ch;
  margin: 0 auto 14px;
  line-height: 1.55;
  text-align: center;
}

.gd-plain-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 520px;
  text-align: left;
}

.gd-plain-list li {
  position: relative;
  padding: 0 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  border: none;
  background: none;
}

.gd-plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.gd-chip-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
}

.gd-chip-row li {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.82rem;
  border: 1px solid rgba(240, 193, 75, 0.14);
}

.gd-chip-row li::before {
  display: none;
}

.gd-tip-grid {
  display: grid;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 700px) {
  .gd-tip-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.gd-tip-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  text-align: left;
}

.gd-tip-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-impact);
  font-size: 0.85rem;
  color: #1a1200;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.gd-tip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.gd-panels,
.gd-duo {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0;
}

@media (min-width: 800px) {
  .gd-duo {
    grid-template-columns: 1fr 1fr;
  }
}

.gd-cash-grid {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .gd-cash-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.gd-cash-grid article {
  padding: 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}

.gd-cash-grid h3 {
  font-family: var(--font-impact);
  font-size: 1.05rem;
  color: var(--gold-bright);
  margin: 0 0 8px;
}

.gd-cash-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.gd-bet-rows {
  display: grid;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.gd-bet-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.16);
}

.gd-bet-row b {
  font-family: var(--font-impact);
  color: var(--gold);
}

.gd-bet-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.gd-rules-numbered {
  list-style: none;
  counter-reset: rule;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 520px;
  text-align: left;
}

.gd-rules-numbered li {
  counter-increment: rule;
  position: relative;
  padding: 12px 12px 12px 52px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
  color: var(--muted);
  font-size: 0.9rem;
  border: none;
}

.gd-rules-numbered li::before {
  content: counter(rule);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(240, 193, 75, 0.18);
  color: var(--gold-bright);
  font-family: var(--font-impact);
  font-size: 0.85rem;
}

.gd-steps-rail {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 480px;
  text-align: left;
  border-left: 2px solid rgba(240, 193, 75, 0.25);
}

.gd-steps-rail li {
  position: relative;
  padding: 12px 0 12px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  border: none;
}

.gd-steps-rail li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 1.1em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.gd-lead-panel {
  text-align: center;
  padding: 28px 20px;
}

.gd-lead-panel .gd-eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gd-lead-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
}

.gd-block-alt {
  background: rgba(255, 255, 255, 0.03);
}

.gd-checklist {
  list-style: none;
  margin: 16px auto 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 520px;
  text-align: left;
}

.gd-checklist li {
  position: relative;
  padding: 8px 4px 8px 32px;
  border: none;
  border-bottom: 1px solid rgba(240, 193, 75, 0.08);
  font-size: 0.88rem;
  color: var(--muted);
}

.gd-checklist li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 10px;
  color: #86efac;
  font-weight: 700;
}

.gd-layout-magazine .gd-lead-panel {
  background:
    radial-gradient(circle at 50% 0%, var(--game-accent-soft), transparent 55%),
    rgba(255, 255, 255, 0.045);
}

.gd-layout-cards .gd-panel {
  background: rgba(255, 255, 255, 0.055);
}

.gd-layout-cards .gd-sec-feat .gd-chip-row li {
  background: rgba(240, 193, 75, 0.12);
}

.gd-layout-rail .gd-panel {
  border-color: rgba(240, 193, 75, 0.16);
}

.gd-layout-magazine .gd-toc-magazine {
  border-top: 1px solid rgba(240, 193, 75, 0.12);
  border-bottom: 1px solid rgba(240, 193, 75, 0.12);
  padding: 12px 8px;
  margin-top: 20px;
}

.gd-layout-rail .gd-toc-i {
  display: none;
}

.game-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.game-crumb a {
  color: var(--muted);
}

.game-crumb a:hover {
  color: var(--gold-bright);
}

.game-crumb span {
  opacity: 0.55;
}

.gd-hero-main {
  display: grid;
  gap: 16px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.game-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  background:
    radial-gradient(circle at 30% 25%, var(--game-accent-soft), transparent 60%),
    linear-gradient(160deg, rgba(90, 20, 50, 0.5), rgba(26, 6, 28, 0.9));
  border: 1px solid rgba(240, 193, 75, 0.35);
}

.gd-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.gd-hero-copy h1 {
  font-family: var(--font-impact);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.12;
  margin: 0 0 10px;
}

.gd-lead {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 54ch;
  margin: 0 auto 14px;
}

.gd-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0 auto 16px;
  padding: 0;
}

.gd-tags li {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(240, 193, 75, 0.3);
  background: var(--game-accent-soft);
}

.gd-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gd-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  list-style: none;
  margin: 16px auto 0;
  padding: 0;
  max-width: 640px;
  border: none;
  background: transparent;
}

@media (min-width: 640px) {
  .gd-facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gd-facts li {
  padding: 12px 8px;
  text-align: center;
  border: none;
}

.gd-facts b {
  display: block;
  font-family: var(--font-impact);
  color: var(--game-accent, var(--gold-bright));
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.gd-facts span {
  font-size: 0.72rem;
  color: var(--muted);
}

.gd-note {
  margin: 16px auto 0;
  font-size: 0.88rem;
  text-align: center;
  max-width: 52ch;
}

.gd-install-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 520px;
  counter-reset: step;
  text-align: left;
}

.gd-install-steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 12px 12px 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.gd-install-steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-impact);
  font-size: 0.8rem;
  color: #1a1200;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.gd-install-steps strong {
  color: var(--text);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 12px;
  border: none;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  text-align: center;
}

.related-card:hover {
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
}

.related-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.related-card strong {
  display: block;
  font-size: 0.9rem;
}

.related-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
}

.gd-cta-band {
  margin: 8px 18px 24px;
  padding: 20px 18px;
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: none;
}

.gd-cta-band p {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--text);
}

.gd-cta-band .btn-download {
  width: auto;
  min-width: 220px;
  display: inline-flex;
}

.gd-guide-links {
  justify-content: center;
}

.gd-sec-faq .faq-list {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.section {
  padding: 36px 18px;
}

.section-tight {
  padding-top: 12px;
  padding-bottom: 8px;
}

.catalog-section {
  padding-top: 16px;
}

.download-band {
  padding: 40px 18px;
}

.gd-cta-band {
  margin-top: 8px;
  padding: 18px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-inner,
  .hero-card,
  .hero-scene,
  .sticky-dl,
  .reveal,
  .winners-inner {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
