:root {
  --navy: #07111f;
  --navy-2: #10243f;
  --panel: rgba(8, 20, 38, 0.92);
  --blue: #1f7cff;
  --blue-2: #49b4ff;
  --gold: #f0c45a;
  --text: #f5f8fc;
  --muted: #b7c6da;
  --line: rgba(73, 180, 255, 0.45);
  --header: 64px;
  --ticker: 28px;
  --bottom: 78px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  --card: rgba(8, 18, 36, 0.78);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
#guide-heading { scroll-margin-top: calc(var(--header) + var(--ticker) + 16px); }

body {
  margin: 0;
  color: var(--text);
  font: 15px/1.55 "Segoe UI", "Trebuchet MS", sans-serif;
  background: #07111f url("../images/images005.jpg") center top / cover fixed;
  padding: calc(var(--header) + var(--ticker)) 0 var(--bottom);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(31, 124, 255, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.55), rgba(7, 17, 31, 0.82));
  z-index: -1;
}

button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #07111f;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 8px; }

header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #10203a 0%, #05080f 70%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue) 20%, var(--gold) 50%, var(--blue) 80%, transparent);
}

header > a {
  display: flex;
  align-items: center;
  width: min(240px, calc(100% - 160px));
  height: 52px;
}

.logo {
  width: 100%;
  height: 52px;
  object-fit: contain;
  object-position: center;
}

.menu,
.partner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.menu {
  left: 12px;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  color: var(--gold);
  background: rgba(8, 22, 42, 0.9);
  border: 1px solid rgba(240, 196, 90, 0.55);
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(31, 124, 255, 0.45);
}

.partner {
  right: 12px;
  width: 92px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.ticker {
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  height: var(--ticker);
  z-index: 30;
  overflow: hidden;
  background: linear-gradient(90deg, #07111f, #12325c 50%, #07111f);
  border-bottom: 1px solid rgba(240, 196, 90, 0.7);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ticker span {
  display: inline-block;
  padding-left: 100%;
  line-height: var(--ticker);
  white-space: nowrap;
  animation: ticker 36s linear infinite;
}

@keyframes ticker { to { transform: translateX(-100%); } }

.drawer {
  position: fixed;
  z-index: 40;
  top: calc(var(--header) + var(--ticker));
  left: 10px;
  width: min(280px, calc(100% - 20px));
  padding: 16px;
  background: #0c1b31;
  border: 2px solid var(--blue);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.drawer h2 { margin: 0 0 10px; color: var(--gold); font-size: 18px; }
.drawer a, .drawer button {
  display: block;
  width: 100%;
  text-align: left;
  margin: 6px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #143056;
}
.drawer a:hover, .drawer button:hover { background: var(--blue); }

.layout {
  display: grid;
  grid-template-columns: minmax(240px, 22%) minmax(0, 1fr) minmax(220px, 20%);
  gap: 14px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px;
  align-items: start;
}

.sidebar, .center {
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(240, 196, 90, 0.22);
  box-shadow: var(--shadow);
}
.center { padding: 16px 14px 28px; }

.art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-slideshow {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 10px;
  background: #07111f;
  border: 1px solid var(--line);
}

.hero-slide {
  grid-row: 1;
  grid-column: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active {
  opacity: 1;
  animation: hero-drift 5s ease-out both;
}
@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: #07111f;
}

.hero-controls button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: #1c3e68;
  border: 1px solid var(--gold);
}
.hero-controls button[aria-current="true"] {
  background: var(--blue-2);
  box-shadow: 0 0 8px var(--blue-2);
}

.stack { display: grid; gap: 10px; margin-top: 12px; }
.stack img, .promo-stack img, .stack .image-btn img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease;
}
.stack img:hover, .promo-stack img:hover, .stack .image-btn:hover img { transform: translateY(-3px); }

.panel {
  margin-top: 12px;
  background: linear-gradient(180deg, #1a4478, #081526);
  border: 1px solid rgba(73, 180, 255, 0.45);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel h2, .panel h3 {
  margin: 0;
  padding: 8px 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: linear-gradient(#3aa0ff, #1457c8);
}

.live {
  float: right;
  background: #d31313;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  animation: live-dot 1.6s ease-in-out infinite;
}
@keyframes live-dot { 50% { opacity: 0.45; } }
.transactions tbody tr { transition: opacity 0.25s ease; }

.sample-note {
  margin: 0;
  padding: 6px 10px 0;
  color: var(--muted);
  font-size: 11px;
}

.transactions { width: 100%; border-collapse: collapse; font-size: 11px; }
.transactions th, .transactions td { padding: 5px 4px; text-align: center; }
.transactions thead th { color: var(--gold); }
.amount { color: #7dffb2; }

.find { padding-bottom: 12px; }
.find small { display: block; padding: 8px 10px 0; color: var(--gold); letter-spacing: 0.08em; }
.search {
  display: block;
  width: calc(100% - 20px);
  margin: 8px 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  color: #102033;
  background: #f4f7fb;
}

.mini-tabs, .gold-actions, .bank-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px 4px; }
.mini-tabs button, .text-btn {
  padding: 8px 10px;
  border-radius: 6px;
  background: #0d4ea8;
  font-size: 12px;
  font-weight: 700;
}
.mini-tabs button[aria-pressed="true"], .text-btn:hover { background: var(--gold); color: #102033; }

.image-btn {
  padding: 0;
  background: none;
  line-height: 0;
}
.image-btn img { display: block; width: 100%; height: auto; }

.gold-actions .image-btn { flex: 1 1 46%; }

.lobby-auth {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.lobby-auth .image-btn {
  width: 168px;
  max-width: 42%;
}
.lobby-auth .image-btn img {
  width: 100%;
  height: auto;
}
.welcome-btn {
  height: 45px;
  padding: 0 18px;
  border-radius: 12px;
  border: 3px solid #eef6ff;
  background: linear-gradient(180deg, #6ec4ff 0%, #2f8cff 42%, #1566d8 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 2px 0 #0a3d86;
  animation: welcome-glow 2.2s ease-in-out infinite;
}
.welcome-btn:hover { filter: brightness(1.08); animation-play-state: paused; }
@keyframes welcome-glow {
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 18px rgba(94, 182, 255, 0.95); }
}

.providers {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.providers button {
  flex: 0 0 92px;
  padding: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  background: transparent;
}
.providers button { transition: transform 0.2s ease; }
.providers button:hover { transform: translateY(-4px); }
.providers button[aria-pressed="true"] { border-color: var(--gold); }
.providers button[aria-pressed="true"] img { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.providers img { display: block; width: 92px; height: 92px; object-fit: cover; border-radius: 12px; }

.games {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 22px;
}

.game {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #07111f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: rise 0.45s ease both;
  animation-delay: calc(var(--i, 0) * 45ms);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.game:hover { transform: translateY(-6px); border-color: var(--gold); }
@keyframes rise {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
.game::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.28) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: sheen 5.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.32s);
  pointer-events: none;
}
@keyframes sheen {
  0%, 58% { transform: translateX(-130%); }
  82%, 100% { transform: translateX(130%); }
}
.game img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.game .play {
  position: absolute;
  z-index: 1;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 0;
  border-radius: 6px;
  background: linear-gradient(#5eb6ff, #1457c8);
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.game:hover .play, .game:focus-within .play { opacity: 1; transform: translateY(0); }

.empty {
  grid-column: 1 / -1;
  margin: 12px 0;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

.account {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(6, 16, 32, 0.9);
  border: 1px solid var(--line);
}
.account .lobby-auth { margin-bottom: 8px; }
.balance {
  display: grid;
  gap: 4px;
  margin: 8px 0;
  padding: 10px;
  border-radius: 8px;
  background: #07111f;
  font-size: 13px;
}
.balance strong { color: var(--gold); }
.bank-actions { padding: 0; }
.bank-actions .image-btn { flex: 1 1 30%; }
.recommend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.recommend img { width: 100%; border-radius: 8px; }

.guide { margin-top: 8px; }
.kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.guide-intro, .guide-card, .pay-card, .page-card {
  background:
    linear-gradient(180deg, rgba(22, 48, 86, 0.55), rgba(7, 18, 34, 0.92));
  border: 1px solid rgba(73, 180, 255, 0.28);
  border-radius: 16px;
  padding: 18px 18px 8px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.guide h2, .page-card h2, .pay-card h2, .stage h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.guide p, .page-card p, .pay-card p { color: #d5e2f0; }

.blog-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(#1b63d6, #0d3f93);
  font-weight: 700;
}
.blog-details summary::-webkit-details-marker { display: none; }
.blog-details .read-less { display: none; }
.blog-details[open] .read-more { display: none; }
.blog-details[open] .read-less { display: inline; }

.label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(31, 124, 255, 0.2);
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.questions, .defs, .review-grid, .card-grid {
  display: grid;
  gap: 10px;
}
.questions { grid-template-columns: repeat(3, 1fr); margin: 12px 0; }
.questions strong, .defs article, .review-grid article {
  display: block;
  padding: 12px;
  border-radius: 10px;
  background: rgba(20, 48, 86, 0.55);
}
.defs { grid-template-columns: repeat(3, 1fr); margin: 12px 0; }
.defs span { color: var(--gold); font-weight: 800; }
.card-grid, .review-grid { grid-template-columns: 1fr 1fr; }
.review-grid { grid-template-columns: repeat(3, 1fr); }

.checklist { margin: 8px 0 12px; padding-left: 18px; color: #d5e2f0; }
.checklist li { margin: 6px 0; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 12px;
  color: var(--gold);
  font-weight: 700;
}

.note {
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  color: #ffe7a8;
  background: rgba(240, 196, 90, 0.08);
}

.faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 4px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details[open] summary { color: var(--gold); }
.faq p { margin-top: 6px; }

.warning {
  padding: 16px;
  border-radius: 12px;
  background: #3a120f;
  border: 1px solid #d45a42;
  margin-bottom: 16px;
}
.warning strong { color: #ffb4a2; }

.pay-card table { width: 100%; border-collapse: collapse; }
.pay-card th, .pay-card td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
.pay-card th { width: 34%; color: var(--gold); font-weight: 700; }

.page-wrap { max-width: 1040px; margin: 0 auto; padding: 22px 16px 40px; }
.page-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.banner-row { display: grid; gap: 12px; }

footer {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto 8px;
  padding: 22px 18px 10px;
  border-radius: 18px;
  background: rgba(5, 10, 18, 0.92);
  border: 1px solid rgba(240, 196, 90, 0.22);
  box-shadow: var(--shadow);
}
.footer-about { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; }
.footer-logo { width: 180px; height: auto; }
.footer-about p { margin: 0; color: var(--muted); }
.footer-rule { height: 1px; margin: 16px 0; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.footer-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.footer-cards section {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #16325a, #10192a);
  border-top: 2px solid var(--gold);
}
.footer-cards h2 { margin: 0 0 8px; font-size: 14px; color: var(--gold); }
.footer-cards img { width: 100%; height: auto; border-radius: 8px; }
.copy { text-align: center; color: var(--muted); font-size: 12px; }

.bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bottom);
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(5, 8, 15, 0.94);
  border-top: 1px solid rgba(240, 196, 90, 0.55);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.35);
}
.bottom a.active {
  background: linear-gradient(180deg, rgba(31, 124, 255, 0.28), transparent);
  box-shadow: inset 0 2px 0 var(--gold);
}
.bottom a {
  display: grid;
  place-items: center;
  position: relative;
}
.bottom img { width: 62px; height: 62px; object-fit: contain; }
.badge {
  position: absolute;
  top: 8px;
  right: calc(50% - 28px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #e10600;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}
.modal {
  width: min(460px, 100%);
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, #16325a, #102033);
  border: 1px solid rgba(240, 196, 90, 0.45);
  box-shadow: var(--shadow);
}
.modal h2 { margin-top: 0; color: var(--gold); }
.modal p { color: #d5e2f0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions button, .actions a {
  padding: 10px 14px;
  border-radius: 8px;
  background: #163e74;
}
.actions .primary { background: var(--blue); color: #fff; }

.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  max-width: 90%;
  padding: 12px 16px;
  border-radius: 8px;
  background: #102033;
  border: 1px solid var(--gold);
}

[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .layout { grid-template-columns: 240px minmax(0, 1fr); padding: 12px; }
  .right { display: none; }
  .games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .questions, .defs, .review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .layout { display: block; padding: 10px; }
  .sidebar, .center { margin-bottom: 12px; }
  .center { padding: 12px 10px 20px; }
  .left { padding: 10px 10px 0; }
  .left > :not(.hero-slideshow) { display: none; }
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .questions, .card-grid, .review-grid, .footer-cards, .page-hero, .footer-about { grid-template-columns: 1fr; }
  .guide h2 { font-size: 22px; }
  .partner { width: 64px; }
  .bottom img { width: 54px; height: 54px; }
}

.stage {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 26px 20px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(73, 180, 255, 0.38), transparent 42%),
    linear-gradient(160deg, #1a4478, #07111f 72%);
  border: 1px solid rgba(240, 196, 90, 0.35);
  box-shadow: var(--shadow);
}
.stage h2 { font-size: 32px; }
.float-orb {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #49b4ff 40%, transparent 70%);
  opacity: 0.35;
  animation: drift 7s ease-in-out infinite;
  pointer-events: none;
}
.float-orb.two { width: 50px; height: 50px; right: 12%; top: 18%; animation-duration: 5.5s; animation-delay: -2s; }
.float-orb.one { left: 8%; bottom: 10%; }

@keyframes drift {
  50% { transform: translateY(-16px) scale(1.08); }
}

.marquee {
  overflow: hidden;
  margin: 0 0 14px;
  border-radius: 999px;
  background: #07111f;
  border: 1px solid var(--line);
}
.marquee span {
  display: inline-block;
  padding: 8px 0;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
  color: var(--gold);
  font-weight: 700;
}

.reel {
  display: grid;
  grid-template-columns: repeat(3, 96px);
  gap: 10px;
  width: max-content;
  margin: 16px auto;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(#24365c, #0c1730);
  border: 1px solid rgba(240, 196, 90, 0.55);
  box-shadow: inset 0 0 0 5px #07111f;
}
.reel-window {
  height: 96px;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 35%, #24365c, #05080f 72%);
  border: 2px solid var(--gold);
  box-shadow: inset 0 14px 16px rgba(0, 0, 0, 0.55), inset 0 -14px 16px rgba(0, 0, 0, 0.55);
}
.reel-strip {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  animation: reel var(--reel-time, 1.1s) linear infinite;
  animation-play-state: paused;
}
.reel-strip span {
  display: grid;
  place-items: center;
  height: 96px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: #f0c45a;
}
.reel-strip .star { color: #fff; }
.reel-strip .gem { color: #7ec8ff; }
.reel.is-spinning .reel-strip { animation-play-state: running; }
.reel.is-settled .reel-strip { animation: none; }
@keyframes reel { to { transform: translateY(-50%); } }
.stage .pace { justify-content: center; }
.stage #reelSpin { display: block; margin-inline: auto; }
.stage #reelNote { text-align: center; }

.pace, .topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.pace button, .topics button, .send {
  padding: 8px 12px;
  border-radius: 999px;
  background: #143056;
  border: 1px solid transparent;
}
.pace button[aria-pressed="true"], .topics button[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--gold);
}

.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 4px; }
.flip {
  height: 150px;
  padding: 0;
  background: none;
  perspective: 800px;
}
.flip-inner {
  position: relative;
  display: block;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s ease;
}
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  backface-visibility: hidden;
  background: linear-gradient(#1a4f96, #0c2344);
  border: 1px solid rgba(240, 196, 90, 0.4);
}
.flip-back { transform: rotateY(180deg); background: linear-gradient(#12325c, #081526); align-content: center; text-align: left; }
.flip-front strong { font-size: 22px; color: var(--gold); }
.flip-back p { margin: 0; color: #d5e2f0; font-size: 14px; }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.offer {
  min-height: 180px;
  padding: 0;
  text-align: left;
  background: none;
}
.offer .flip-front { align-items: flex-start; justify-content: flex-end; background: #0c2344 center / cover no-repeat; }
.offer .flip-front span { background: rgba(5, 12, 24, 0.72); padding: 8px 10px; border-radius: 8px; }
.meter { height: 12px; margin: 8px 0 14px; border-radius: 99px; background: #07111f; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1f7cff, #f0c45a); transition: width 0.35s ease; }
.checks { display: grid; gap: 8px; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(20, 48, 86, 0.55);
}
.check input { margin-top: 4px; }

.chat {
  display: grid;
  grid-template-rows: 320px auto auto;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #07111f;
  border: 1px solid var(--line);
}
.chat-log {
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}
.bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  animation: pop 0.35s ease;
}
.bubble.bot { background: #143056; align-self: flex-start; }
.bubble.me { background: #1f7cff; align-self: flex-end; }
.bubble.typing { color: var(--gold); letter-spacing: 3px; }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } }
.chat-form { display: flex; gap: 8px; }
.chat-form input {
  flex: 1;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  color: #102033;
  background: #f4f7fb;
}
.steps { display: grid; gap: 8px; }
.step {
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  background: #102033;
  border: 1px solid transparent;
}
.step.is-on { border-color: var(--gold); background: #143056; animation: pulse 1.4s ease infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(240, 196, 90, 0.18); } }

@media (max-width: 760px) {
  .flips, .offers { grid-template-columns: 1fr; }
  .stage h2 { font-size: 26px; }
  .chat { grid-template-rows: 260px auto auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker span, .marquee span, .reel-strip, .float-orb, .step.is-on,
  .hero-slide.active, .welcome-btn, .live, .providers button[aria-pressed="true"] img, .game, .game::after { animation: none; }
  .ticker span, .marquee span { padding-left: 12px; }
  .hero-slide { transition: none; }
  .flip-inner, .meter span, .game, .game .play, .providers button { transition: none; }
}
