:root {
  --bg: #0b0d13;
  --card: #111422;
  --glass: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --txt: #fff;
  --muted: #9aa6c5;
  --accent1: #ff6ef8;
  --accent2: #fff;
  --radius: 20px;
  --blur: 10px;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--txt);
  background-color: #111;
  background-color: #330033;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23404' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23505'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1250px;
  margin-inline: auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  /* z-index:50; */
  /* backdrop-filter:saturate(180%) blur(10px);
  background:linear-gradient(180deg, rgba(8,10,18,.8), rgba(8,10,18,.4)); */
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--txt);
  font-size: 24px;
}
.logo {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(255, 110, 248, 0.5));
}
.brand-text {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav {
  margin-left: auto;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  padding: 0;
  margin: 0;
}
.nav-list a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.nav-list a:hover {
  color: var(--txt);
}

.actions {
  display: flex;
  gap: 10px;
  margin-left: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--txt);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn.primary {
  border: 0;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #06060a;
  box-shadow: 0 6px 30px rgba(255, 110, 248, 0.25),
    0 6px 30px rgba(109, 243, 255, 0.2);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
}

.btn.xl {
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
}

/* Burger */
.burger {
  display: none;
  position: relative;
  width: 54px;
  height: 44px;
  border: 0;
  background: transparent;
  margin-left: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  margin: 7px 9px;
  transition: 0.25s ease;
  border-radius: 2px;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(6, 8, 14, 1);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  z-index: 40;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.mobile-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.mobile-list li {
  border-bottom: 1px solid var(--line);
}
.mobile-list a {
  display: block;
  padding: 16px 20px;
  color: var(--txt);
  text-decoration: none;
  font-weight: 700;
}
.mobile-actions {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.heroBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  filter: blur(2px);
  -webkit-filter: blur(2px);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: 100px;
  justify-content: center;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.03);
}
.hero-title {
  text-transform: uppercase;
  margin: 0.8rem 0 0.4rem;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, var(--txt), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(109, 243, 255, 0.05);
  text-align: center;
}
.hero-title .stroke {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
  color: transparent;
}
.hero-title .glow {
  position: relative;
}
.hero-title .glow::after {
  content: "";
  position: absolute;
  inset: 60% -6% -10% -6%;
  background: radial-gradient(
    180px 60px at 50% 0,
    rgba(109, 243, 255, 0.25),
    transparent 60%
  );
  filter: blur(16px);
  z-index: -1;
}
.hero-sub {
  text-align: center;
  color: #fff;
  margin: 0 0 18px;
  font-size: 1.05rem;
}
.cta-row {
  display: flex;
  gap: 12px;
  margin: 18px 0 12px;
}

.trust {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.trust li {
  font-size: 0.9rem;
  color: #b9c6e5;
  padding-left: 18px;
  position: relative;
}
.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--accent2),
    var(--accent1)
  );
  box-shadow: 0 0 10px rgba(109, 243, 255, 0.6),
    0 0 16px rgba(255, 110, 248, 0.4);
}

/* Hero art */
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-stack {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 4/3;
}
.slot-card {
  position: absolute;
  inset: auto;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(255, 110, 248, 0.08);
}
.slot-card img {
  display: block;
  width: 100%;
  height: auto;
}
.slot-card strong {
  display: block;
  padding: 10px 12px 14px;
}
.slot-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #06060a;
}
.slot-card.c1 {
  top: 2%;
  rotate: -6deg;
}
.slot-card.c2 {
  top: 16%;
  width: 78%;
  rotate: 3deg;
}
.slot-card.c3 {
  top: 34%;
  width: 86%;
  rotate: -2deg;
}

/* Marquee */
.marquee {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.marquee .track {
  display: flex;
  gap: 40px;
  padding: 12px 0;
  width: max-content;
  animation: scroll 56s linear infinite;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #cfe4ff;
  -webkit-animation: scroll 56s linear infinite;
}
.marquee span::before {
  content: "★";
  margin: 0 10px 0 0;
  color: #ffd66b;
  text-shadow: 0 0 10px rgba(255, 214, 107, 0.5);
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .nav,
  .actions {
    display: none;
  }
  .burger {
    display: inline-block;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 0 36px;
  }
  .hero-art {
    order: -1;
  }
  .card-stack {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee .track {
    animation: none;
  }
  .btn,
  .slot-card {
    transition: none;
  }
}

/* Utility (optional lock scroll when menu open) */
body.lock {
  overflow: hidden;
}

/*  */
/* Jackpot Section */
.jackpot {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
}
.jackpot::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
}
.jackpot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Left */
.jackpot-title {
  margin: 0.35rem 0 0.2rem;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.08;
  background: linear-gradient(90deg, var(--txt), #fff);
  -webkit-background-clip: text;
  color: transparent;
}
.jackpot-amount {
  margin: 10px 0 16px;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 110, 248, 0.18),
    0 0 40px rgba(109, 243, 255, 0.18);
}
.jackpot-amount .currency {
  opacity: 0.9;
  margin-right: 2px;
}

.meter-wrap {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--line);
  margin: 10px 0 14px;
}
.meter-fill {
  --pct: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  width: var(--pct);
  box-shadow: 0 0 30px rgba(255, 110, 248, 0.25),
    0 0 30px rgba(109, 243, 255, 0.25);
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.meter-tip {
  position: absolute;
  top: 100%;
  transform: translate(-50%, 6px);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #0a0c12;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  padding: 0;
  margin: 10px 0 16px;
  color: #c2d2f5;
}
.kpis strong {
  color: #eaf0ff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 18px;
}
.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--txt);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}
.chip.is-active {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #06060a;
  border: 0;
}

/* Right */
.jackpot-right {
  position: relative;
}
.reels {
  position: absolute;
  inset: -20px -20px auto auto;
  width: 220px;
  height: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(255, 110, 248, 0.08);
}
.reel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  animation: spin 6s linear infinite;
}
.reel.slow {
  animation-duration: 7.5s;
}
.reel.fast {
  animation-duration: 4.5s;
}
.reel span {
  display: grid;
  place-items: center;
  height: 28px;
  font-size: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}
@keyframes spin {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

.board {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.board-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.board-head .blink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #06060a;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    filter: saturate(100%) brightness(1);
  }
  50% {
    filter: saturate(140%) brightness(1.25);
  }
}

.board-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.board-list li {
  display: grid;
  grid-template-columns: 36px 1fr auto 36px;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
}
.board-list li:last-child {
  border-bottom: 0;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #06060a;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
}
.board .row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.board .row strong {
  color: #fff;
}
.board .row span {
  color: #b8c6e6;
}
.board .amt {
  font-weight: 800;
  color: #a7f5ff;
}
.board time {
  color: #9aa6c5;
  font-size: 0.85rem;
  text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
  .reels {
    display: none;
  }
}
@media (max-width: 960px) {
  .jackpot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* == */

/* Top Games */
.topgames {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
}
.tg-title {
  margin: 0.3rem 0 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--txt), #fff);
  -webkit-background-clip: text;
  color: transparent;
}
.tg-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.tg-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.chips.small .chip {
  padding: 0.4rem 0.7rem;
  font-size: 0.9rem;
}
.tg-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}
.tg-sort select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--txt);
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  font-weight: 700;
}

.tg-grid {
  list-style: none;
  padding: 0;
  margin: 16px 0 6px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.tg-grid > .tg-card {
  grid-column: span 3;
}
@media (max-width: 1100px) {
  .tg-grid > .tg-card {
    grid-column: span 4;
  }
}
@media (max-width: 780px) {
  .tg-grid > .tg-card {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  .tg-grid > .tg-card {
    grid-column: span 12;
  }
}

.tg-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.tg-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(109, 243, 255, 0.1);
}
.tg-link::after {
  content: "";
  position: absolute;
  inset: -30% -10% 60% -10%;
  background: radial-gradient(
    500px 120px at 50% 100%,
    rgba(109, 243, 255, 0.18),
    transparent 60%
  );
  pointer-events: none;
  filter: blur(6px);
}
.tg-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: #06060a;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border: 0;
}
.badge.alt {
  background: linear-gradient(90deg, #7cfad1, #6df3ff);
}

.tg-meta {
  padding: 12px 14px 14px;
}
.tg-meta h3 {
  margin: 0 0 6px;
}
.meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.stars {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 2px;
}
.stars i {
  width: 16px;
  height: 16px;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="m12 17.27 6.18 3.73-1.64-7.03 5.46-4.73-7.19-.61L12 2 9.19 8.63l-7.19.61 5.46 4.73L5.82 21z"/></svg>')
    center/contain no-repeat;
  background: linear-gradient(90deg, #ffd66b, #fff0a5);
}
.stars .half {
  background: linear-gradient(90deg, #ffd66b 50%, transparent 50%);
}
.stars .empty {
  background: rgba(255, 255, 255, 0.2);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cfe4ff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.tag.v-low {
  color: #b0f2ff;
}
.tag.v-mid {
  color: #baffc4;
}
.tag.v-high {
  color: #ffd1e9;
}

/* tilt shine */
.tg-link .shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px 200px at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.08),
    transparent 60%
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Rails background */
.rails {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}
.rail {
  position: absolute;
  left: -50%;
  right: -50%;
  height: 2px;
  opacity: 0.45;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 110, 248, 0.5) 20%,
    rgba(109, 243, 255, 0.5) 80%,
    transparent 100%
  );
  box-shadow: 0 0 14px rgba(255, 110, 248, 0.35),
    0 0 14px rgba(109, 243, 255, 0.35);
  animation: rail 18s linear infinite;
}
.r1 {
  top: 18%;
}
.r2 {
  top: 52%;
  animation-duration: 22s;
}
.r3 {
  top: 82%;
  animation-duration: 26s;
}
@keyframes rail {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}

.tg-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

/* mobile spacing */
@media (max-width: 960px) {
  .tg-head {
    align-items: flex-start;
  }
}

/* = */
/* Bonus Ladder */
.bonus {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
}
.bonus::before {
  content: "";
  position: absolute;
  inset: -15% -10% auto -10%;
  height: 140%;
}
.bonus-title {
  margin: 0.3rem 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--txt), #fff);
  -webkit-background-clip: text;
  color: transparent;
}
.bonus-sub {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 8px;
}
.bonus-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.bonus-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ladder {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.tier {
  grid-column: span 3;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tier:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
}
.tier.highlight {
  outline: 2px solid rgba(109, 243, 255, 0.25);
  box-shadow: 0 18px 60px rgba(109, 243, 255, 0.15);
}
@media (max-width: 1100px) {
  .tier {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  .tier {
    grid-column: span 12;
  }
}

.ring {
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}
.ring-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}
.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}
.ring-fill {
  fill: none;
  stroke: linear-gradient(90deg, var(--accent1), var(--accent2));
  stroke: url(#grad);
}
.ring-fill {
  stroke: url(#grad);
}
.ring-svg defs {
  display: none;
}

/* paint gradient via stroke-dash and filter glow */
.ring-fill {
  stroke: #6df3ff; /* base, overridden by filter glow */
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 326; /* 2 * PI * r (approx for r=52) */
  stroke-dashoffset: 326;
}

.ring-val {
  position: absolute;
  text-align: center;
}
.ring-val strong {
  display: block;
  font-size: 1.3rem;
}
.ring-val span {
  color: #b8c6e6;
  font-size: 0.85rem;
}

.tier-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}
.tier-body h3 {
  margin: 0 0 6px;
}
.tier-body p {
  margin: 0 0 10px;
  color: #c7d4f1;
}
.perks {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 6px;
}
.perks li {
  position: relative;
  padding-left: 18px;
  color: #cfe4ff;
}
.perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--accent2),
    var(--accent1)
  );
  box-shadow: 0 0 8px rgba(109, 243, 255, 0.5),
    0 0 10px rgba(255, 110, 248, 0.4);
}
.ghost {
  margin-top: auto;
}

/* = */

/* Payments & Trust */
.payments {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
}

.pay-title {
  margin: 0.3rem 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--txt), #fff);
  -webkit-background-clip: text;
  color: transparent;
}
.pay-sub {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 8px;
}
.pay-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.pay-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pay-logos {
  list-style: none;
  padding: 0;
  margin: 6px 0 20px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.pay-logos .chip {
  grid-column: span 3;
  display: grid;
  place-items: center;
  height: 64px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease;
  overflow: hidden;
  position: relative;
}
.pay-logos .chip::after {
  content: "";
  position: absolute;
  inset: -40% -20% 60% -20%;
  background: radial-gradient(
    500px 120px at 50% 100%,
    rgba(109, 243, 255, 0.18),
    transparent 60%
  );
  filter: blur(6px);
  pointer-events: none;
}
.pay-logos .chip:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(109, 243, 255, 0.12);
}
.pay-logos img {
  max-width: 110px;
  width: 80%;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.06));
}
@media (max-width: 1100px) {
  .pay-logos .chip {
    grid-column: span 4;
  }
}
@media (max-width: 700px) {
  .pay-logos .chip {
    grid-column: span 6;
  }
}
@media (max-width: 520px) {
  .pay-logos .chip {
    grid-column: span 12;
  }
}

.trust-wrap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 6px;
}
.tcard {
  grid-column: span 3;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.tcard:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
}
.tcard .ticn {
  font-size: 22px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}
.tcard h3 {
  margin: 0 0 6px;
}
.tcard p {
  margin: 0;
  color: #c9d6f3;
}
@media (max-width: 1100px) {
  .tcard {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  .tcard {
    grid-column: span 12;
  }
}

.compliance {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
}
.compliance summary {
  cursor: pointer;
  font-weight: 800;
}
.compliance ul {
  margin: 10px 0 0 18px;
  color: #cfe4ff;
}

/* = */
/* Why Play Here */
.why {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
}

.why-title {
  margin: 0.3rem 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--txt), #fff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.why-sub {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 8px;
}
.why-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.why-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.why-grid {
  list-style: none;
  padding: 0;
  margin: 8px 0 6px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.wcard {
  grid-column: span 4;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease;
}
@media (max-width: 1100px) {
  .wcard {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  .wcard {
    grid-column: span 12;
  }
}

.wcard:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36), 0 0 40px rgba(109, 243, 255, 0.1);
}
.wicn {
  font-size: 24px;
  margin-bottom: 8px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}
.wcard h3 {
  margin: 0 0 6px;
}
.wcard p {
  margin: 0;
  color: #c9d6f3;
}

/* Micro-motion glow sweep */
.wcard::after {
  content: "";
  position: absolute;
  inset: -40% -20% 60% -20%;
  background: radial-gradient(
    500px 120px at 50% 100%,
    rgba(109, 243, 255, 0.14),
    transparent 60%
  );
  filter: blur(6px);
  pointer-events: none;
  transform: translateY(30%);
  transition: transform 0.25s ease;
}
.wcard:hover::after {
  transform: translateY(0);
}

/* Stats bar */
.why-stats {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin: 18px 0 8px;
}
.stat {
  grid-column: span 3;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}
@media (max-width: 1100px) {
  .stat {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  .stat {
    grid-column: span 12;
  }
}
.stat strong {
  display: block;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
}
.stat span {
  color: #b8c6e6;
}

/* FAQ teaser */
.why-faq {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.why-faq details {
  grid-column: span 4;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .why-faq details {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  .why-faq details {
    grid-column: span 12;
  }
}
.why-faq summary {
  cursor: pointer;
  font-weight: 800;
}
.why-faq p {
  color: #cfe4ff;
  margin: 0.5rem 0 0;
}

/* = */

/* Newsletter */
.news {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
}

.news-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .news-wrap {
    grid-template-columns: 1fr;
  }
}
.news-title {
  margin: 0.3rem 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--txt), #fff);
  -webkit-background-clip: text;
  color: transparent;
}
.news-sub {
  color: var(--muted);
  max-width: 56ch;
  margin-top: 8px;
}

.news-form {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}
.news-form input,
.news-form select {
  width: 100%;
  padding: 0.9rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--txt);
  font-weight: 600;
}
.news-form select {
  appearance: none;
  background-image: linear-gradient(180deg, transparent, transparent);
}
.news-form .check {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #cfe4ff;
  font-size: 0.92rem;
}
.news-form .check a {
  color: #eaf0ff;
}
.news-form .btn {
  grid-column: 2;
}
.news-note {
  grid-column: 1 / -1;
  color: #9fb1d6;
  margin: 4px 0 0;
  font-size: 0.9rem;
}
.news-success {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #06060a;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* Footer */

#footer.site-footer {
  --ink: #ffeff8;
  --muted: #f3cde4;
  --rose: #ff4fb6;
  --fuchsia: #d946ef;
  --border: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.08);

  background: linear-gradient(180deg, #1a0e26, #0f0a16);
  color: var(--ink);
  padding: 40px 0 24px;
  border-top: 1px solid var(--border);
}

.footer__wrap {
  width: min(1180px, 92%);
  margin-inline: auto;
  align-items: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  p {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .footer__wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.footer__logo {
  font-weight: 900;
  font-size: 22px;
  text-decoration: none;
  color: #fff;
}
.footer__logo span {
  background: linear-gradient(90deg, var(--rose), var(--fuchsia));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__tagline {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 700px;
  opacity: 0.6;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}
.footer__links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s ease;
}
.footer__links a:hover {
  color: var(--rose);
}

.footer__copy {
  font-size: 13px;
  color: var(--muted);
  justify-self: end;
}
@media (max-width: 768px) {
  .footer__copy {
    justify-self: center;
    margin-top: 14px;
  }
}

/*   НАСТРОЙКА SCROLL-BAR   */
::-webkit-scrollbar {
  width: 0.5em;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 100vw;
  background-color: #fff;
}

::-webkit-scrollbar-thumb:active {
  background-color: #fff;
}
