:root {
  --bg: #0a0f1c;
  --bg-alt: #0e1525;
  --paper: #131a2c;
  --paper-2: #1a2238;
  --ink: #f5f7fb;
  --ink-dim: #a8b3cf;
  --ink-muted: #6b7796;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #25e8b0;
  --accent-dim: #1bbf90;
  --accent-soft: rgba(37, 232, 176, 0.14);
  --shadow-card: 0 8px 28px rgba(0, 0, 0, 0.35);
  --radius: 14px;
}

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

html, body { overflow-x: hidden; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37, 232, 176, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 30%, rgba(37, 232, 176, 0.05), transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }

/* TOPBAR */
.topbar {
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink-dim);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar .topbar-right { color: var(--accent); }
@media (max-width: 520px) {
  .topbar { font-size: 0.62rem; letter-spacing: 0.1em; }
  .topbar .container { justify-content: center; }
  .topbar .topbar-right { display: none; }
}

/* HEADER + NAV */
.site-header {
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  padding: 10px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}

.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-cta {
  padding: 11px 22px;
  background: var(--accent);
  color: #062018;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s, background .2s;
  box-shadow: 0 8px 24px rgba(37, 232, 176, 0.22);
  white-space: nowrap;
}
.nav-cta:hover {
  background: #38f1bd;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(37, 232, 176, 0.32);
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav {
    position: relative;
    height: 68px;
  }
  .logo img { height: 34px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #0e1525;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0;
    margin: 0;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .3s ease, opacity .2s ease, padding .25s ease;
    z-index: 60;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6);
  }
  .nav.is-open .nav-links {
    max-height: 80vh;
    opacity: 1;
    pointer-events: auto;
    padding: 10px;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
  }
  .nav-links li:last-child {
    margin-top: 6px;
  }
  .nav-links li:last-child a.mobile-cta {
    background: var(--accent);
    color: #062018;
    text-align: center;
    font-weight: 700;
  }
}

/* HERO */
.hero {
  padding: 84px 0 64px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hero-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.kicker {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.lede {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5.8vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 1100px;
}

.lede em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink-dim);
}

.lede strong {
  font-weight: 900;
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.lede strong::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 28%;
  background: rgba(37, 232, 176, 0.18);
  z-index: -1;
  border-radius: 4px;
}

.byline {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .byline { font-size: 0.78rem; }
}

/* BIG FEATURE */
.big-feature {
  padding: 84px 0;
  border-bottom: 1px solid var(--border);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 880px) {
  .big-feature { padding: 56px 0; }
  .feature-split { grid-template-columns: 1fr; gap: 32px; }
}

.feature-image-block {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
}
.feature-image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.article-cat {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-left: 46px;
}

.article-cat::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.feature-text h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--ink);
}

.feature-text h2 em {
  font-style: italic;
  color: var(--accent);
}

.feature-text p {
  font-size: 1rem;
  color: var(--ink-dim);
  margin-bottom: 14px;
  line-height: 1.75;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--accent);
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: background .2s, color .2s;
  font-size: 0.88rem;
}
.text-link:hover { background: var(--accent); color: #062018; }

/* THREE-COL */
.three-col {
  padding: 84px 0;
  border-bottom: 1px solid var(--border);
}

.section-title { margin-bottom: 48px; }

.section-title h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

@media (max-width: 880px) {
  .three-col { padding: 56px 0; }
  .cols { grid-template-columns: 1fr; gap: 18px; }
}

.col {
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.col:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 232, 176, 0.4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.col-num {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.col h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}

.col p {
  color: var(--ink-dim);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* FOOTER */
.site-footer {
  padding: 60px 0 30px;
  background: var(--bg-alt);
  color: var(--ink-dim);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}

.footer-brand .logo img { height: 42px; }
.footer-brand p {
  margin-top: 14px;
  color: var(--ink-muted);
  font-style: italic;
  font-family: 'Fraunces', serif;
  max-width: 320px;
}

.site-footer h4 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink-dim); font-size: 0.92rem; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 48px 0 24px; }
}

/* SUB PAGES */
.page-hero {
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.page-hero p {
  max-width: 600px;
  margin-top: 20px;
  color: var(--ink-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 640px) { .page-hero { padding: 56px 0 44px; } }

.content-section { padding: 72px 0; }
@media (max-width: 640px) { .content-section { padding: 48px 0; } }

.content-block { max-width: 760px; }

.content-block h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
  margin: 40px 0 14px;
  color: var(--ink);
}
.content-block h2:first-child { margin-top: 0; }

.content-block p {
  font-size: 1rem;
  color: var(--ink-dim);
  margin-bottom: 14px;
  line-height: 1.75;
}

.content-block strong { color: var(--accent); font-weight: 700; }

/* PROVIDER GRID */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.provider-card {
  padding: 28px 22px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s, background .2s;
}

.provider-card:hover {
  background: var(--paper-2);
  border-color: rgba(37, 232, 176, 0.4);
  transform: translateY(-2px);
}

.provider-name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.provider-cat {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-top: 6px;
}

/* FAQ */
.faq-list { max-width: 780px; }

.faq-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color .2s, background .2s;
}

.faq-item[open] { border-color: rgba(37, 232, 176, 0.35); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  flex-shrink: 0;
  transition: transform .2s, background .2s;
}

.faq-item[open] summary::after {
  content: '−';
  background: var(--accent-soft);
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--ink-dim);
  line-height: 1.75;
  font-size: 0.98rem;
  max-width: 640px;
}

@media (max-width: 640px) {
  .faq-item summary { font-size: 1rem; padding: 18px 18px; }
  .faq-answer { padding: 0 18px 20px; font-size: 0.94rem; }
}

/* CARD RAIN BACKGROUND */
.card-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.card-rain span {
  position: absolute;
  top: -12vh;
  font-size: clamp(22px, 2.4vw, 38px);
  opacity: 0;
  animation-name: card-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  user-select: none;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  will-change: transform, opacity;
}

.card-rain .red { color: rgba(255, 90, 100, 0.55); }
.card-rain .teal { color: rgba(37, 232, 176, 0.55); }
.card-rain .pale { color: rgba(255, 255, 255, 0.35); }

@keyframes card-fall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(115vh) rotate(540deg); opacity: 0; }
}

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

@media (max-width: 640px) {
  .card-rain span { font-size: 20px; }
}

/* MINI GAME — SLOT DEMO */
.mini-games {
  padding: 84px 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 880px) { .mini-games { padding: 56px 0; } }

.mini-games .section-title { margin-bottom: 36px; }
.mini-games .section-sub {
  margin-top: 14px;
  color: var(--ink-dim);
  font-size: 1rem;
  max-width: 620px;
  line-height: 1.7;
}

.slot-machine {
  max-width: 580px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a2238, #0e1525);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(37, 232, 176, 0.08);
  text-align: center;
  position: relative;
}

.slot-machine::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  border: 1px dashed rgba(37, 232, 176, 0.18);
  pointer-events: none;
}

.slot-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.slot-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.slot-reels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 18px;
  background: #060a16;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.6);
}

.reel {
  height: 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #11182a, #0a0f1c);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  position: relative;
}

.reel::before, .reel::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 22px;
  z-index: 2;
  pointer-events: none;
}
.reel::before { top: 0; background: linear-gradient(180deg, rgba(6,10,22,0.95), transparent); }
.reel::after { bottom: 0; background: linear-gradient(0deg, rgba(6,10,22,0.95), transparent); }

.reel-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(0);
}

.reel-strip span {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  line-height: 1;
}

.slot-result {
  min-height: 44px;
  padding: 12px 14px;
  color: var(--ink-dim);
  font-size: 0.92rem;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: background .25s, color .25s;
}

.slot-result.win {
  background: rgba(37, 232, 176, 0.16);
  color: var(--accent);
  font-weight: 700;
}

.slot-result.near {
  background: rgba(255, 200, 60, 0.12);
  color: #ffd76b;
}

.slot-spin {
  width: 100%;
  padding: 16px 24px;
  background: var(--accent);
  color: #062018;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s, background .2s;
  box-shadow: 0 10px 28px rgba(37, 232, 176, 0.3);
}

.slot-spin:hover:not(:disabled) {
  background: #38f1bd;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 232, 176, 0.4);
}

.slot-spin:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 520px) {
  .slot-machine { padding: 24px 18px; }
  .reel { height: 84px; }
  .reel-strip span { height: 84px; font-size: 2.4rem; }
}

/* PROVIDER SLIDER */
.provider-marquee {
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.provider-marquee .section-title { margin-bottom: 28px; }
.provider-marquee .section-sub {
  margin-top: 10px;
  color: var(--ink-dim);
  font-size: 0.98rem;
  max-width: 620px;
}

.provider-slider {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  padding: 12px 0;
}

.provider-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: provider-slide 60s linear infinite;
}

.provider-slider:hover .provider-track { animation-play-state: paused; }

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

.provider-slide {
  flex: 0 0 auto;
  width: 170px;
  height: 100px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: border-color .2s, transform .2s, background .2s;
}

.provider-slide:hover {
  background: var(--paper-2);
  border-color: rgba(37, 232, 176, 0.5);
  transform: translateY(-3px);
}

.provider-slide img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(1.08) saturate(1.05);
}

@media (max-width: 640px) {
  .provider-slide { width: 130px; height: 84px; padding: 14px; }
  .provider-slide img { max-height: 50px; }
  .provider-marquee { padding: 56px 0; }
}

/* PROVIDER GRID (sub page) with images */
.provider-grid.has-img .provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 150px;
  padding: 22px 18px;
}

.provider-grid.has-img .provider-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.provider-grid.has-img .provider-logo img {
  max-height: 56px;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(1.08) saturate(1.05);
}
