/* ============================================================================
   base.css — design tokens, layout primitives, shared components
   ========================================================================== */

:root {
  --bg: #0f172a;
  --bg-deep: #0b1120;
  --card: #1e293b;
  --card-hi: #26344a;
  --line: #334155;
  --line-soft: #2a3a52;
  --text: #f8fafc;
  --sub: #94a3b8;
  --muted: #64748b;
  --accent: #facc15;
  --accent-dark: #ca8a04;
  --ok: #10b981;
  --danger: #ef4444;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --max: 1180px;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(250, 204, 21, 0.07), transparent 60%),
    radial-gradient(circle at 50% 0%, rgba(30, 41, 59, 0.55) 0%, rgba(15, 23, 42, 0.95) 70%);
}

main,
.topbar,
.site-footer {
  position: relative;
  z-index: 1;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

input {
  font: inherit;
}

.ic {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.13em;
  flex: none;
}

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

::selection {
  background: var(--accent);
  color: #000;
}

/* ------------------------------------------------------------------ brand */
.brand {
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
  line-height: 1.05;
}

.brand .hl {
  color: var(--accent);
  text-shadow: 0 0 22px rgba(250, 204, 21, 0.45);
}

.brand--hero {
  display: block;
  font-size: clamp(2.1rem, 6.2vw, 3.1rem);
}

.brand--sm {
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-shadow: none;
}

/* ----------------------------------------------------------------- topbar */
.topbar {
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sub);
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.18s var(--ease);
}

.topbar-back:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateX(-2px);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.18s;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(180deg, #fde047, var(--accent) 55%, #eab308);
  color: #14110a;
  box-shadow: 0 5px 0 var(--accent-dark), 0 12px 26px rgba(250, 204, 21, 0.16);
}

.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--accent-dark), 0 8px 18px rgba(250, 204, 21, 0.14);
  filter: brightness(1.03);
}

.btn-primary:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--accent-dark);
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: 0 5px 0 var(--accent-dark);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sub);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 2px;
  transition: color 0.18s;
}

.link-btn:hover {
  color: var(--accent);
}

/* ----------------------------------------------------------------- search */
.search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-ic {
  position: absolute;
  left: 18px;
  font-size: 1.05rem;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.2s;
}

.search-input {
  width: 100%;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 13px;
  padding: 16px 58px 16px 50px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.2px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.search-input::placeholder {
  color: var(--muted);
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.1), 0 14px 34px rgba(0, 0, 0, 0.35);
}

.search-field:focus-within .search-ic {
  color: var(--accent);
}

.search-btn {
  position: absolute;
  right: 6px;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--accent);
  color: #14110a;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: filter 0.18s, transform 0.18s;
}

.search-btn .ic {
  transform: rotate(-90deg);
}

.search-btn:hover {
  filter: brightness(1.08);
  transform: scale(1.03);
}

.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #172033;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  list-style: none;
  overflow: hidden auto;
  max-height: 330px;
  z-index: 40;
  padding: 6px;
}

.suggestions li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.14s;
}

.suggestions li:hover,
.suggestions li.active {
  background: var(--card-hi);
}

.suggestions li img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}

.suggestions li .sug-cat {
  margin-left: auto;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  font-weight: 700;
}

.suggestions li.no-match {
  display: block;
  cursor: default;
  color: var(--sub);
  font-size: 0.86rem;
  line-height: 1.5;
  padding: 14px 12px;
}

.suggestions li.no-match:hover {
  background: none;
}

/* ------------------------------------------------------------------ chips */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.chip {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(30, 41, 59, 0.6);
  color: var(--sub);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: all 0.16s var(--ease);
}

.chip:hover {
  color: #fff;
  border-color: var(--accent);
}

.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #14110a;
}

/* ------------------------------------------------------------------ trust */
.trust {
  margin-top: 34px;
  text-align: center;
}

.trust-text {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 26px;
  opacity: 0.45;
  transition: opacity 0.3s;
}

.trust-logos:hover {
  opacity: 0.9;
}

.trust-logo {
  font-size: 1.15rem;
  color: #cbd5e1;
  transition: all 0.3s;
}

.trust-logo:hover {
  color: #fff;
  transform: scale(1.04);
}

/* ---------------------------------------------------------------- statbar */
.statbar {
  max-width: var(--max);
  width: calc(100% - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 4px 0 6px;
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 10px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  font-size: 0.78rem;
  color: var(--muted);
}

.stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
  font-variant-numeric: tabular-nums;
}

.stat-ic {
  color: var(--accent);
  font-size: 0.95rem;
}

.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  align-self: center;
}

.stat-dot.live {
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: ping 2.2s infinite;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* --------------------------------------------------------------- live feed */
.live-panel {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(23, 32, 51, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.live-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #e2e8f0;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: ping 2.2s infinite;
  flex: none;
}

.live-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.live-feed {
  overflow: hidden;
  position: relative;
}

.claim {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 9px 4px;
  border-top: 1px solid rgba(51, 65, 85, 0.45);
  font-size: 0.83rem;
  animation: claimIn 0.45s var(--ease) both;
}

.claim:first-child {
  border-top: 0;
}

.claim img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.claim .who {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.claim .who b {
  font-weight: 700;
  font-size: 0.83rem;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.claim .who span {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.claim .amt {
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@keyframes claimIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ games */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.game-card {
  background: linear-gradient(180deg, var(--card), #1a2436);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s, background 0.25s;
  animation: cardIn 0.45s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 18ms);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 120px at 50% -20%, rgba(250, 204, 21, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(250, 204, 21, 0.15);
}

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

.game-icon-wrap {
  position: relative;
  margin-bottom: 14px;
}

.game-icon {
  width: 85px;
  height: 85px;
  border-radius: 19px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
  background: #0b1120;
}

.game-rate {
  position: absolute;
  right: -8px;
  bottom: -6px;
  background: var(--ok);
  color: #04231a;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 2px solid #172033;
  white-space: nowrap;
}

.game-title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #fff;
}

.game-badge {
  font-size: 0.62rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.7px;
  background: #0f172a;
  color: var(--sub);
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.btn-install {
  width: 100%;
  margin-top: auto;
  background: var(--accent);
  color: #14110a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 11px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 3px 0 var(--accent-dark);
  transition: all 0.1s;
}

.game-card:hover .btn-install {
  box-shadow: 0 3px 0 var(--accent-dark), 0 0 18px rgba(250, 204, 21, 0.35);
}

/* ----------------------------------------------------------------- blocks */
.block {
  max-width: var(--max);
  width: calc(100% - 40px);
  margin: 64px auto 0;
}

.block--narrow {
  max-width: 900px;
}

.block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}

.block-title {
  font-size: clamp(1.3rem, 3.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.block-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-top: 8px;
  opacity: 0.85;
}

.block-sub {
  font-size: 0.84rem;
  color: var(--muted);
}

.block-sub b {
  color: var(--accent);
}

/* --------------------------------------------------------------- sections */
.home {
  padding-bottom: 20px;
}

.hero {
  max-width: var(--max);
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 56px 0 26px;
  text-align: center;
}

.hero-sub {
  color: var(--sub);
  font-size: 1.02rem;
  font-weight: 500;
  margin: 12px 0 28px;
}

.home-cols {
  max-width: var(--max);
  width: calc(100% - 40px);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.home-cols .live-panel {
  position: sticky;
  top: 74px;
  order: 2;
}

.home-cols .games-block {
  order: 1;
  margin: 0;
  width: auto;
  max-width: none;
}

.empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--sub);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty .ic {
  font-size: 2rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.empty b {
  color: #fff;
}

.load-more-wrap {
  text-align: center;
  margin-top: 30px;
}

.btn-load {
  min-width: 260px;
}

.btn-load .ic {
  transition: transform 0.2s;
}

.btn-load:hover .ic {
  transform: translateY(2px);
}

/* ----------------------------------------------------------- how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

.step-n {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--sub);
}

/* ------------------------------------------------------------ most claimed */
.most-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.most-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: all 0.22s var(--ease);
}

.most-card img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 10px;
  background: #0b1120;
}

.most-card b {
  font-size: 0.98rem;
  font-weight: 800;
}

.most-amt {
  font-size: 0.76rem;
  color: var(--muted);
}

.most-rank {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.8;
}

.most-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* -------------------------------------------------------------- quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quote {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.quote blockquote {
  font-size: 0.92rem;
  color: #dbe3ee;
  line-height: 1.6;
}

.quote figcaption {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  font-size: 0.78rem;
}

.quote figcaption b {
  font-weight: 700;
}

.quote figcaption span {
  color: var(--muted);
}

/* ----------------------------------------------------------------- FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(250, 204, 21, 0.35);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chev {
  color: var(--muted);
  transition: transform 0.25s var(--ease);
  display: grid;
  place-items: center;
}

.faq-item[open] .faq-chev {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-a {
  padding: 0 20px 18px;
  color: var(--sub);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ------------------------------------------------------------ final CTA */
.final-cta {
  max-width: var(--max);
  width: calc(100% - 40px);
  margin: 70px auto 0;
  padding: 46px 30px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(250, 204, 21, 0.28);
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(250, 204, 21, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
}

.final-cta h2 {
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  font-weight: 800;
}

.final-cta p {
  color: var(--sub);
  margin: 10px auto 24px;
  max-width: 460px;
  font-size: 0.95rem;
}

/* -------------------------------------------------------------- related */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  transition: all 0.2s var(--ease);
}

.related-card img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
  background: #0b1120;
}

.related-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.related-meta b {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-meta span {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-go {
  margin-left: auto;
  color: var(--muted);
  display: grid;
  place-items: center;
  transform: rotate(-90deg);
  transition: all 0.2s;
}

.related-card:hover {
  border-color: var(--accent);
  background: rgba(38, 52, 74, 0.8);
}

.related-card:hover .related-go {
  color: var(--accent);
  transform: rotate(-90deg) translateY(-2px);
}

/* ---------------------------------------------------------- seo accordion */
.seo-accordion {
  max-width: 760px;
  width: calc(100% - 40px);
  margin: 40px auto 0;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

.seo-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 20px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--sub);
}

.seo-accordion summary::-webkit-details-marker {
  display: none;
}

.seo-inner {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.seo-inner p + p {
  margin-top: 10px;
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 30px;
  text-align: center;
}

.footer-brand {
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.footer-brand .hl {
  color: var(--accent);
}

.footer-note {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 20px 0 16px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--sub);
  font-weight: 600;
  transition: color 0.18s;
}

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

.footer-copy {
  font-size: 0.76rem;
  color: var(--muted);
}

.footer-disc {
  font-size: 0.68rem;
  color: #4b5b74;
  max-width: 620px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------- policy modal */
.policy-modal[hidden] {
  display: none;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.policy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 18, 0.75);
  backdrop-filter: blur(4px);
  animation: fade 0.2s ease;
}

.policy-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: 84vh;
  overflow: auto;
  background: #172033;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
  animation: pop 0.22s var(--ease);
}

.policy-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.policy-body {
  color: var(--sub);
  font-size: 0.9rem;
  line-height: 1.7;
}

.policy-body h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 20px 0 6px;
}

.policy-body ul {
  margin: 8px 0 0 20px;
}

.policy-body li {
  margin-bottom: 5px;
}

.policy-body a {
  color: var(--accent);
  text-decoration: underline;
}

.policy-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--sub);
  background: rgba(15, 23, 42, 0.6);
  transition: all 0.18s;
}

.policy-x:hover {
  color: #fff;
  background: var(--line);
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}

/* -------------------------------------------------------------- error page */
.err-page {
  margin: auto;
  text-align: center;
  padding: 60px 20px;
}

.err-page h1 {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.err-page p {
  color: var(--sub);
  margin: 12px 0 24px;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .home-cols {
    grid-template-columns: 1fr;
  }

  .home-cols .live-panel {
    position: static;
    order: 2;
  }

  .home-cols .games-block {
    order: 1;
  }

  .steps,
  .quotes {
    grid-template-columns: 1fr;
  }

  .quotegrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 34px;
  }

  .statbar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat {
    justify-content: flex-start;
    padding: 10px 14px;
  }

  .stat-num {
    margin-left: auto;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .game-card {
    padding: 16px 10px 12px;
    border-width: 1px;
  }

  .game-icon {
    width: 66px;
    height: 66px;
    border-radius: 15px;
  }

  .game-title {
    font-size: 0.88rem;
  }

  .game-badge {
    font-size: 0.56rem;
    padding: 2px 8px;
    margin-bottom: 12px;
  }

  .btn-install {
    font-size: 0.68rem;
    padding: 9px 4px;
  }

  .game-rate {
    font-size: 0.55rem;
    right: -4px;
  }

  .block,
  .statbar,
  .home-cols,
  .final-cta,
  .hero,
  .seo-accordion {
    width: calc(100% - 28px);
  }

  .block {
    margin-top: 48px;
  }

  .policy-dialog {
    padding: 24px 20px;
  }

  .btn {
    font-size: 0.88rem;
    padding: 14px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------ proof / partners */
.proof-badges {
  max-width: var(--max);
  width: calc(100% - 40px);
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.proof-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

.proof-ic {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.25);
  color: var(--accent);
  font-size: 1rem;
}

.proof-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.proof-txt b {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
}

.proof-txt span {
  font-size: 0.7rem;
  color: var(--muted);
}

.partners {
  max-width: var(--max);
  width: calc(100% - 40px);
  margin: 56px auto 0;
  padding: 24px 20px 22px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.5), rgba(23, 32, 51, 0.35));
}

.partners-label {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  opacity: 0.82;
  transition: opacity 0.25s;
}

.partners-row:hover {
  opacity: 1;
}

.partner {
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #cbd5e1;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}

.partner:hover {
  color: #fff;
  border-color: var(--line);
  background: rgba(30, 41, 59, 0.6);
}

.partner img {
  height: 26px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  .proof-badges {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .partners {
    width: calc(100% - 28px);
    margin-top: 42px;
  }
}
/* ============================================================================
   CloneCascade overrides - appended so it wins over the base rules.
   ========================================================================== */

/* ------------------------------------------------------- centred stat strip */
.statbar {
  justify-items: center;
}

.stat {
  justify-content: center;
  text-align: center;
}

/* ------------------------------------------------------- centred proof badges */
.proof-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: none;
  width: auto;
  margin: 18px auto 0;
  padding: 0 16px;
}

.proof-badge {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 10px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--line-soft);
  text-align: left;
}

.proof-ic {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.28);
  color: var(--accent);
  font-size: 0.9rem;
}

.proof-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.proof-txt b {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
}

.proof-txt span {
  font-size: 0.66rem;
  color: var(--muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------- block head */
.block-dot {
  color: var(--muted);
}

.block-sub b {
  color: #e2e8f0;
  font-weight: 700;
}

/* ------------------------------------------------------------ most claimed */
.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--radius);
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.most-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 26px 20px 22px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(23, 32, 51, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  position: relative;
}

.most-card:hover {
  border-color: var(--accent);
}

.most-card img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 10px;
  background: #0b1120;
}

.most-card b {
  font-size: 1.05rem;
  font-weight: 800;
}

.most-amt {
  font-size: 0.78rem;
  color: var(--muted);
}

.most-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
}

.most-go .ic {
  transform: rotate(-90deg);
}

.most-rank {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.85;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.car-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--sub);
  display: grid;
  place-items: center;
  transition: all 0.18s var(--ease);
}

.car-btn:hover {
  color: #fff;
  border-color: var(--accent);
}

.car-btn[data-car-next] .ic {
  transform: rotate(-90deg);
}

.car-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.car-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--line);
  transition: all 0.2s var(--ease);
}

.car-dot.is-active {
  width: 20px;
  background: var(--accent);
}

/* ----------------------------------------------------------- why players */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.why-card {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.why-card:hover {
  border-color: rgba(250, 204, 21, 0.45);
  transform: translateY(-3px);
}

.why-ic {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 10px;
}

.why-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.why-card p {
  font-size: 0.84rem;
  color: var(--sub);
  line-height: 1.55;
}

/* ------------------------------------------------------------- partners */
.partner {
  cursor: default;
  pointer-events: none;
}

.partner:hover {
  color: #cbd5e1;
  border-color: transparent;
  background: none;
}

.partner .partner-name {
  margin-left: 8px;
}

@media (max-width: 640px) {
  .stat {
    justify-content: center;
  }

  .stat-num {
    margin-left: 0;
  }

  .proof-badges {
    padding: 0;
  }

  .proof-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  .proof-badge {
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    padding: 10px 6px;
    border-radius: 12px;
    text-align: center;
  }

  .proof-ic {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  .proof-txt b {
    font-size: 0.66rem;
    line-height: 1.2;
    white-space: normal;
  }

  .proof-txt b {
    white-space: normal;
  }

  .proof-txt span {
    display: none;
  }
}

