:root {
  color-scheme: dark;
  --bg: #04160c;
  --panel: #0c1f14;
  --panel-2: #0e2618;
  --accent: #22c77b;
  --accent-2: #f3b53b;
  --text: #f6f8f5;
  --muted: #b7c4ba;
  --stroke: #1b3d29;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  background: linear-gradient(180deg, #03140a 0%, #051b11 55%, #03140a 100%);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font-family: inherit;
}

picture {
  display: block;
}

.hero-art picture,
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app {
  max-width: 430px;
  margin: 0 auto;
  padding: 18px 16px 120px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0 16px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand-mark {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.icon-button {
  width: 40px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #0a2014;
  display: grid;
  gap: 4px;
  place-content: center;
  cursor: pointer;
}

.icon-button span {
  width: 18px;
  height: 2px;
  background: #e6efe6;
  display: block;
  border-radius: 2px;
}

.menu-close {
  grid-template-rows: repeat(2, 2px);
  gap: 0;
}

.menu-close span:first-child {
  transform: rotate(45deg);
  width: 18px;
}

.menu-close span:last-child {
  transform: rotate(-45deg);
  width: 18px;
  margin-top: -2px;
}

.hero-carousel {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-slider {
  display: block;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  align-items: center;
  background: linear-gradient(135deg, #0f2b1b 0%, #0a1c12 100%);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px;
}

.hero-copy {
  display: grid;
  gap: 8px;
}

.hero-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f4e3b2;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-cta {
  justify-self: start;
  background: #0f2b1b;
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.hero-art {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  background-color: #0b1f13;
  position: relative;
  overflow: hidden;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-art-alt {
  background-color: #0b1f13;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #153425;
  border: 1px solid #295a3f;
  padding: 0;
  cursor: pointer;
  appearance: none;
}

.dot.is-active {
  background: var(--accent-2);
}

.dot:focus-visible {
  outline: 2px solid #1fb86f;
  outline-offset: 3px;
}

.game-section {
  margin: 16px 0 8px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title h2 {
  font-size: 16px;
  margin: 0;
}

.section-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #1a3d2a;
  border: 1px solid #2f6d4a;
  position: relative;
}

.section-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 4px;
  background: var(--accent);
  opacity: 0.7;
}

.section-icon.crown::after { background: #e0b44c; }
.section-icon.exclusive::after { background: #f77b47; }
.section-icon.vip::after { background: #53c6ff; }
.section-icon.grid::after { background: #7ef5b4; }
.section-icon.spark::after { background: #f6a7ff; }
.section-icon.plane::after { background: #7bc7ff; }
.section-icon.spade::after { background: #9cf4a3; }
.section-icon.diamond::after { background: #6fd0ff; }
.section-icon.globe::after { background: #9aa6ff; }

.see-all {
  font-size: 12px;
  color: var(--muted);
}

.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(120px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.scroller::-webkit-scrollbar {
  height: 6px;
}

.scroller::-webkit-scrollbar-thumb {
  background: #1d3f2c;
  border-radius: 999px;
}

.game-card {
  background: #0b1f13;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  gap: 8px;
  scroll-snap-align: start;
  position: relative;
  min-height: 140px;
}

.rank-card {
  min-height: 150px;
}

.card-art {
  height: 80px;
  border-radius: 10px;
  background-color: #0b1f13;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-title {
  font-size: 12px;
  font-weight: 600;
}

.rank {
  position: absolute;
  bottom: 10px;
  left: 8px;
  font-size: 44px;
  font-weight: 700;
  color: rgba(34, 199, 123, 0.75);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.art-fire { background-image: image-set(url("assets/game-fire.webp") type("image/webp"), url("assets/game-fire.png") type("image/png")); }
.art-electric { background-image: image-set(url("assets/game-electric.webp") type("image/webp"), url("assets/game-electric.png") type("image/png")); }
.art-gold { background-image: image-set(url("assets/game-gold.webp") type("image/webp"), url("assets/game-gold.png") type("image/png")); }
.art-party { background-image: image-set(url("assets/game-party.webp") type("image/webp"), url("assets/game-party.png") type("image/png")); }
.art-sky { background-image: image-set(url("assets/game-sky.webp") type("image/webp"), url("assets/game-sky.png") type("image/png")); }
.art-critters { background-image: image-set(url("assets/game-critters.webp") type("image/webp"), url("assets/game-critters.png") type("image/png")); }
.art-wheel { background-image: image-set(url("assets/game-wheel.webp") type("image/webp"), url("assets/game-wheel.png") type("image/png")); }
.art-spin { background-image: image-set(url("assets/game-spin.webp") type("image/webp"), url("assets/game-spin.png") type("image/png")); }
.art-dragon { background-image: image-set(url("assets/game-dragon.webp") type("image/webp"), url("assets/game-dragon.png") type("image/png")); }
.art-jungle { background-image: image-set(url("assets/game-jungle.webp") type("image/webp"), url("assets/game-jungle.png") type("image/png")); }
.art-moon { background-image: image-set(url("assets/game-moon.webp") type("image/webp"), url("assets/game-moon.png") type("image/png")); }
.art-wolf { background-image: image-set(url("assets/game-wolf.webp") type("image/webp"), url("assets/game-wolf.png") type("image/png")); }
.art-buffalo { background-image: image-set(url("assets/game-buffalo.webp") type("image/webp"), url("assets/game-buffalo.png") type("image/png")); }
.art-jet { background-image: image-set(url("assets/game-jet.webp") type("image/webp"), url("assets/game-jet.png") type("image/png")); }
.art-king { background-image: image-set(url("assets/game-king.webp") type("image/webp"), url("assets/game-king.png") type("image/png")); }
.art-joker { background-image: image-set(url("assets/game-joker.webp") type("image/webp"), url("assets/game-joker.png") type("image/png")); }
.art-crash { background-image: image-set(url("assets/game-crash.webp") type("image/webp"), url("assets/game-crash.png") type("image/png")); }
.art-aero { background-image: image-set(url("assets/game-aero.webp") type("image/webp"), url("assets/game-aero.png") type("image/png")); }
.art-rocket { background-image: image-set(url("assets/game-rocket.webp") type("image/webp"), url("assets/game-rocket.png") type("image/png")); }
.art-roulette { background-image: image-set(url("assets/game-roulette.webp") type("image/webp"), url("assets/game-roulette.png") type("image/png")); }
.art-blackjack { background-image: image-set(url("assets/game-blackjack.webp") type("image/webp"), url("assets/game-blackjack.png") type("image/png")); }
.art-poker { background-image: image-set(url("assets/game-poker.webp") type("image/webp"), url("assets/game-poker.png") type("image/png")); }
.art-goblins { background-image: image-set(url("assets/game-goblins.webp") type("image/webp"), url("assets/game-goblins.png") type("image/png")); }
.art-carnival { background-image: image-set(url("assets/game-carnival.webp") type("image/webp"), url("assets/game-carnival.png") type("image/png")); }
.art-tribal { background-image: image-set(url("assets/game-tribal.webp") type("image/webp"), url("assets/game-tribal.png") type("image/png")); }

.logo-section {
  margin: 18px 0;
  display: grid;
  gap: 10px;
}

.logo-section h3 {
  margin: 0;
  font-size: 15px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.logo-tile {
  background: #0b1f13;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  place-items: center;
  min-height: 80px;
}

.logo-tile picture {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.logo-tile img {
  width: 100%;
  max-width: 170px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.logo-grid.payments {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logo-grid.payments .logo-tile img {
  max-width: 200px;
  height: 44px;
}

.coin-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.coin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b1f13;
  border: 1px solid var(--stroke);
}

.coin img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.trust-badge {
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.trust-chip {
  border: 1px solid #caa34a;
  color: #e9c86e;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 430px);
  background: #06190f;
  border-top: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 16px;
  z-index: 10;
}

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  padding: 12px 0;
  font-weight: 700;
  border: none;
  cursor: pointer;
  line-height: 1;
  min-height: 44px;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--accent);
}

.btn-primary {
  background: linear-gradient(135deg, #19b870, #38e38f);
  color: #03140a;
}

.chat-fab {
  position: fixed;
  right: 18px;
  bottom: 100px;
  border-radius: 999px;
  padding: 12px 16px;
  background: #0b1f13;
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: 12px;
  z-index: 12;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 5, 0.6);
}

.mobile-menu-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: linear-gradient(180deg, #072717 0%, #02150c 100%);
  border-right: 1px solid #123824;
  padding: 18px 18px 14px;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-nav {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.menu-item {
  background: transparent;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 4px 0;
}

.menu-item span {
  text-align: left;
}

.menu-icon,
.submenu-icon,
.footer-icon {
  width: 22px;
  height: 22px;
  stroke: #e7f6ea;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-item.has-children {
  justify-content: space-between;
}

.menu-item.has-children .chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid #3aa36d;
  border-bottom: 2px solid #3aa36d;
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.2s ease;
}

.menu-item.has-children.is-open .chevron {
  transform: rotate(-135deg);
}

.menu-submenu {
  display: grid;
  gap: 12px;
  padding-left: 34px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.menu-submenu.is-open {
  max-height: 500px;
}

.submenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d6e7dc;
  font-size: 15px;
}

.badge {
  background: #1fb86f;
  color: #0b1f13;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
}

.mobile-menu-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #123824;
}

.footer-action {
  background: transparent;
  border: none;
  color: var(--text);
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}

.footer-divider {
  width: 1px;
  height: 36px;
  background: #123824;
}

.editorial {
  margin: 20px 0 24px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, #0b1f13 0%, #081a10 100%);
  display: grid;
  gap: 16px;
}

.editorial-header {
  display: grid;
  gap: 12px;
}

.editorial-copy h1 {
  margin: 0;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kicker {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #f4e3b2;
}

.intro {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-links a {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #0b1f13;
  color: var(--text);
}

.editorial-card {
  background: #0b1f13;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 12px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f4e3b2;
}

.meta-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  display: grid;
  gap: 4px;
}

.meta-list strong {
  color: var(--text);
}

.editorial-grid {
  display: grid;
  gap: 12px;
}

.panel {
  background: #0b1f13;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 12px;
}

.panel h2 {
  margin: 0 0 8px;
  font-size: 15px;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  display: grid;
  gap: 6px;
}

.editorial-content h2 {
  margin: 12px 0 6px;
  font-size: 15px;
}

.editorial-content p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.checklist {
  margin: 0;
  padding-left: 18px;
  color: #d7e3da;
  font-size: 12px;
  display: grid;
  gap: 6px;
}

.faq {
  display: grid;
  gap: 8px;
}

.faq details {
  background: #0b1f13;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

.faq details p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

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

.disclaimer {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
  padding-top: 10px;
}

@media (min-width: 700px) {
  .app {
    padding-bottom: 140px;
  }
}
