:root {
  color-scheme: light;
  --forest: #173d28;
  --paddy: #238542;
  --emerald: #2fa653;
  --lime: #b7e66b;
  --mint: #d7ebcf;
  --paper: #f4f7ee;
  --sage: #a7be9d;
  --ink: #203d2b;
  --muted: #607865;
  --line: rgba(35, 78, 48, .17);
  --surface: rgba(244, 247, 238, .96);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #173d28;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
.ambient-video, .ambient-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ambient-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) brightness(.9) hue-rotate(-8deg);
}
.ambient-backdrop {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 14%, rgba(20, 71, 39, .18), transparent 58%),
    linear-gradient(180deg, rgba(13, 39, 25, .38), rgba(16, 54, 31, .5) 64%, rgba(16, 48, 30, .62));
}
body::before {
  position: fixed;
  z-index: 2;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 61, 40, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 61, 40, .025) 1px, transparent 1px);
  background-size: 24px 24px;
  content: '';
  opacity: .22;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}
a { color: inherit; }
button { font: inherit; }
:where(a, button):focus-visible { outline: 3px solid #176d3a; outline-offset: 3px; }
button:disabled, button[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.scroll-progress {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--lime);
  pointer-events: none;
}
.wrapper {
  position: relative;
  z-index: 3;
  width: min(100% - 64px, 1120px);
  margin-inline: auto;
  padding-bottom: 44px;
}
.header {
  position: relative;
  z-index: 5;
  padding: 22px 0 18px;
  border-bottom: 1px solid rgba(215, 235, 207, .23);
}
.header-inner { display: flex; min-height: 54px; align-items: center; gap: 30px; }
.logo-block { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; text-decoration: none; }
.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(35, 133, 66, .2);
  border-radius: 12px;
  object-fit: cover;
}
.logo-text { margin: 0; color: #f4f7ee; font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 700; line-height: 1.15; }
.logo-sub { margin: 4px 0 0; color: #c3d9c1; font-size: 9px; font-weight: 700; letter-spacing: 1.35px; }
.main-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 10px 0;
  color: #e0ebdc;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease;
}
.main-nav a:hover, .main-nav a[aria-current="location"] { color: var(--lime); }
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--paddy);
  content: '';
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="location"]::after { transform: scaleX(1); }
.status-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(35, 133, 66, .2);
  color: #335b3e;
  background: rgba(255, 255, 255, .52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .65px;
  text-transform: uppercase;
}
.status-dot, .online-dot, .eyebrow-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--emerald);
}
.status-dot.closed { background: #b45843; }
.status-badge.is-error .status-dot { background: #b37b45; }
.status-badge.is-loading .status-dot, .online-count.is-loading { animation: status-pulse 1.1s ease-in-out infinite alternate; }
.status-badge.is-loading .status-dot { background: var(--sage); }
.online-count.is-loading { color: #82937e; }
.online-count.is-error { color: #71816e; }
@keyframes status-pulse { to { opacity: .45; } }
.menu-toggle { display: none; }

.hero-layout {
  display: grid;
  min-height: 485px;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  padding: 46px 0 56px;
}
.casino-intro { padding: 18px 0 28px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #c2d8bb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; background: var(--paddy); }
.intro-title {
  margin: 19px 0 14px;
  color: #f4f7ee;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -5px;
  line-height: .93;
}
.intro-title span { color: var(--lime); }
.intro-copy { max-width: 420px; margin: 0; color: #dbe8d7; font-size: 16px; line-height: 1.8; }
.intro-copy strong { color: #fff; font-weight: 700; }
.intro-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.intro-badges span {
  padding: 7px 10px;
  border: 1px solid rgba(215, 235, 207, .32);
  color: #e7f1e3;
  background: rgba(15, 58, 32, .48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .55px;
}
.world-section { min-width: 0; margin: 0; scroll-margin-top: 24px; }
.world-section .section-heading { margin: 0 0 11px 4px; }
.world-section .section-title { font-size: 19px; }
.section-heading { margin-bottom: 20px; }
.section-title { margin: 7px 0 0; color: #f4f7ee; font-family: 'Outfit', sans-serif; font-size: clamp(27px, 3vw, 34px); font-weight: 600; letter-spacing: -.8px; line-height: 1.2; }
.world-card {
  position: relative;
  isolation: isolate;
  min-height: 295px;
  overflow: hidden;
  padding: 29px 30px 22px;
  border: 1px solid rgba(215, 235, 207, .24);
  color: #f2f7ed;
  background:
    radial-gradient(ellipse at 85% 8%, rgba(183, 230, 107, .21), transparent 45%),
    linear-gradient(142deg, #1e6538 0%, #173d28 75%);
  box-shadow: 0 20px 46px rgba(23, 61, 40, .17), inset 0 1px rgba(255, 255, 255, .13);
}
.world-card::before {
  position: absolute;
  z-index: -1;
  top: -25px;
  right: 40px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(215, 235, 207, .15);
  content: '';
  transform: rotate(45deg);
}
.world-card::after {
  position: absolute;
  z-index: -1;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  background-image:
    linear-gradient(rgba(215, 235, 207, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 235, 207, .2) 1px, transparent 1px);
  background-size: 8px 8px;
  content: '';
}
.world-label { margin: 0; color: #c0d5b5; font-size: 10px; font-weight: 700; letter-spacing: 1.75px; }
.world-name {
  overflow-wrap: anywhere;
  margin: 22px 0 6px;
  color: #f3f8ed;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 8vw, 76px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 3px rgba(0, 0, 0, .12);
}
.world-since { margin: 10px 0 29px; color: #b3cdb0; font-size: 10px; font-weight: 700; letter-spacing: 1.75px; }
.world-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(215, 235, 207, .2);
}
.online-display { display: inline-flex; align-items: center; gap: 8px; color: #e8f2e2; }
.online-dot { width: 8px; height: 8px; background: var(--lime); }
.online-count { font-size: 14px; font-weight: 700; }
.online-caption { color: #c2d4bd; font-size: 12px; }
.copy-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(215, 235, 207, .45);
  color: #f1f7ed;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.copy-btn:hover { transform: translateY(-2px); border-color: var(--lime); color: var(--forest); background: var(--lime); }
.copy-btn:active { transform: translateY(1px); }
.copy-icon { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.copy-icon .copy-mark { display: none; }
.copy-btn.is-copied { border-color: var(--lime); color: var(--forest); background: var(--lime); }
.copy-btn.is-copied .copy-icon > :not(.copy-mark) { display: none; }
.copy-btn.is-copied .copy-icon .copy-mark { display: block; }
.world-pixels { position: absolute; top: 15px; right: 16px; width: 9px; height: 9px; background: var(--lime); box-shadow: -12px 12px 0 rgba(183, 230, 107, .38), 12px 12px 0 rgba(183, 230, 107, .68), 0 24px 0 rgba(183, 230, 107, .3); }

.section { margin: 0 0 66px; scroll-margin-top: 24px; }
#games, #accounts, #contact { padding-top: 42px; border-top: 1px solid rgba(215, 235, 207, .22); }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.game-card {
  position: relative;
  display: flex;
  min-height: 148px;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.game-card:hover { transform: translateY(-3px); border-color: rgba(35, 133, 66, .38); background: #f7faf3; }
.game-symbol {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(35, 78, 48, .14);
  color: #287345;
  background: #e4efdc;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.game-card:hover .game-symbol { transform: translateY(-2px); color: #f4f7ee; background: var(--paddy); }
.game-symbol svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.game-symbol-bj svg { width: 24px; height: 24px; }
.game-kicker { margin: 0; color: #617b66; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.game-card h3 { margin: 1px 0 2px; color: var(--forest); font-family: 'Outfit', sans-serif; font-size: 20px; line-height: 1.25; }
.game-card p:last-child { margin: 0; color: #607865; font-size: 12px; }
.game-card p strong { color: #267143; }
.tax-note { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; color: #526c58; font-size: 13px; }
.tax-note span { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid rgba(35, 133, 66, .22); color: var(--paddy); background: #e4efdc; font-weight: 700; }

.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.account-card {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.account-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.account-card:hover { transform: translateY(-2px); border-color: rgba(35, 133, 66, .38); background: #f8faf4; }
.account-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(35, 78, 48, .16); color: #287345; background: #e4efdc; font-size: 11px; font-weight: 700; }
.account-info { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.account-info strong { overflow: hidden; color: var(--forest); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-info small { color: var(--muted); font-size: 11px; }
.account-info .account-price { margin-top: 2px; font-weight: 700; letter-spacing: .35px; }
.account-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 10px;
  border: 1px solid rgba(35, 133, 66, .24);
  color: #27623a;
  background: #edf4e8;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.account-action:hover { transform: translateY(-1px); border-color: var(--paddy); color: white; background: var(--paddy); }
.account-action:active { transform: translateY(1px); }
.account-action span, .contact-arrow { transition: transform .18s ease; }
.account-action:hover span, .contact-card:hover .contact-arrow { transform: translate(2px, -2px); }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.contact-card {
  display: flex;
  min-width: 0;
  min-height: 86px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  color: #35583d;
  background: var(--surface);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: rgba(35, 133, 66, .38); background: #f8faf4; }
.contact-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(35, 78, 48, .15); color: #287345; background: #e4efdc; }
.contact-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.contact-icon .icon-fill { fill: currentColor; stroke: none; }
.contact-info { min-width: 0; flex: 1; }
.contact-name { margin: 0; color: var(--forest); font-size: 13px; font-weight: 700; }
.contact-handle { overflow: hidden; margin: 2px 0 0; color: #617865; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.contact-arrow { align-self: flex-start; color: #52815c; font-size: 18px; }

.footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 20px 22px;
  color: #e7f0e2;
  background: var(--forest);
}
.footer p { margin: 0; }
.footer p:first-child { color: white; font-size: 14px; font-weight: 700; }
.footer p:first-child span { padding-inline: 4px; color: var(--lime); }
.footer-sub { color: #c3d5be; font-size: 12px; }
.toast {
  position: fixed;
  z-index: 10;
  bottom: 22px;
  left: 50%;
  max-width: min(440px, calc(100% - 32px));
  padding: 11px 16px;
  transform: translate(-50%, 80px);
  border: 1px solid rgba(23, 61, 40, .2);
  color: #f4f7ee;
  background: var(--forest);
  box-shadow: 0 8px 24px rgba(23, 61, 40, .16);
  font-size: 12px;
  opacity: 0;
  transition: transform .22s ease, opacity .2s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.motion-ready .reveal-on-scroll { transform: translateY(12px); opacity: 0; transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.motion-ready .reveal-on-scroll.is-visible { transform: translateY(0); opacity: 1; }
.motion-ready .game-card.reveal-on-scroll:nth-child(even), .motion-ready .account-card.reveal-on-scroll:nth-child(even), .motion-ready .contact-card.reveal-on-scroll:nth-child(2) { transition-delay: 70ms; }
@keyframes header-arrive { from { transform: translateY(-6px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.header { animation: header-arrive .4s ease-out both; }

@media (max-width: 820px) {
  .wrapper { width: min(100% - 40px, 720px); }
  .header-inner { gap: 20px; }
  .main-nav { gap: 17px; }
  .hero-layout { min-height: 0; grid-template-columns: 1fr 1fr; gap: 28px; padding: 42px 0 48px; }
  .intro-title { font-size: clamp(58px, 9vw, 76px); }
  .world-card { min-height: 280px; padding: 25px 21px 19px; }
  .world-name { font-size: clamp(40px, 7vw, 60px); }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 9px; }
}
@media (max-width: 640px) {
  .wrapper { width: min(100% - 32px, 520px); padding-bottom: 28px; }
  .header { padding: 14px 0; }
  .header-inner { position: relative; flex-wrap: wrap; gap: 10px; }
  .brand-logo { width: 42px; height: 42px; }
  .menu-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 1px solid rgba(35, 133, 66, .25);
    color: var(--forest);
    background: #e6f0df;
    cursor: pointer;
  }
  .menu-toggle span { width: 16px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu-toggle:hover { background: #d7ebcf; }
  .menu-toggle:active { transform: translateY(1px); }
  .status-badge { order: 3; min-height: 30px; margin-left: 0; }
  .main-nav {
    position: absolute;
    z-index: 5;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 7px;
    transform: translateY(-5px);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 28px rgba(23, 61, 40, .12);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 10px 12px; }
  .main-nav a:hover { background: #e6f0df; }
  .main-nav a::after { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 27px; padding: 38px 0 43px; }
  .casino-intro { padding: 7px 0 0; }
  .intro-title { margin-top: 15px; font-size: clamp(58px, 14vw, 78px); }
  .intro-copy { font-size: 15px; }
  .world-section .section-heading { margin-left: 0; }
  .world-card { min-height: 275px; }
  .section { margin-bottom: 46px; }
  #games, #accounts, #contact { padding-top: 32px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-card:last-child:nth-child(odd) { grid-column: auto; }
  .footer { align-items: flex-start; flex-direction: column; gap: 5px; padding: 18px; }
}
@media (max-width: 390px) {
  .wrapper { width: min(100% - 32px, 520px); }
  .world-card { padding: 22px 16px 17px; }
  .world-name { font-size: clamp(38px, 12vw, 50px); }
  .world-card-bottom { align-items: flex-start; flex-direction: column; }
  .copy-btn { width: 100%; }
  .account-card { gap: 9px; padding: 10px; }
  .account-action { padding-inline: 7px; font-size: 10px; }
  .account-info strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .motion-ready .reveal-on-scroll { transform: none; opacity: 1; }
  .ambient-video { display: none; }
}
