:root {
  --ink: #eaf2f7;
  --muted: #8494a5;
  --line: rgba(255, 255, 255, 0.09);
  --panel: #0e1a28;
  --panel-2: #111f30;
  --bg: #07101a;
  --lime: #c8ff35;
  --cyan: #57e6d4;
  --orange: #ff7a45;
  --font: "Be Vietnam Pro", sans-serif;
  --display: "Manrope", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.14;
  pointer-events: none;
  z-index: -1;
}
.ambient-one {
  width: 480px;
  height: 480px;
  background: #16d9bb;
  top: -240px;
  right: 2%;
}
.ambient-two {
  width: 420px;
  height: 420px;
  background: #365fe7;
  left: -220px;
  top: 45%;
}
.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 16, 26, 0.84);
  backdrop-filter: blur(18px);
}
.brand {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand > span:last-child > span {
  color: var(--lime);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border: 2px solid var(--lime);
  border-radius: 9px;
  display: flex !important;
  align-items: flex-end;
  gap: 2px;
  padding: 6px;
  transform: rotate(-4deg);
}
.brand-mark i {
  width: 4px;
  background: var(--lime);
  border-radius: 4px;
}
.brand-mark i:nth-child(1) {
  height: 8px;
}
.brand-mark i:nth-child(2) {
  height: 14px;
}
.brand-mark i:nth-child(3) {
  height: 10px;
}
.brand.compact {
  font-size: 20px;
}
.brand.compact .brand-mark {
  width: 26px;
  height: 26px;
}
.main-nav {
  display: flex;
  gap: 34px;
  margin-left: 7vw;
}
.main-nav a {
  font-size: 13px;
  color: #96a6b6;
  transition: 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.text-button {
  font-size: 13px;
  color: #b5c1cc;
  padding: 10px;
}
.primary-button,
.secondary-button {
  height: 48px;
  padding: 0 23px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 700;
  font-size: 13px;
  border: 0;
  cursor: pointer;
}
.primary-button {
  background: var(--lime);
  color: #101705;
  box-shadow: 0 10px 35px rgba(200, 255, 53, 0.12);
}
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(200, 255, 53, 0.2);
}
.primary-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.primary-button.small {
  height: 39px;
  padding: 0 17px;
}
.primary-button.full {
  width: 100%;
}
.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.currency-switch select {
  background: #0f1b28;
  color: #d9e5ec;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 26px 9px 10px;
  font-size: 11px;
}
.wallet-pill {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 12px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 120px;
}
.wallet-pill span {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
}
.wallet-pill strong {
  font-size: 12px;
}
.icon-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 34px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px;
}
.hero {
  min-height: 680px;
  padding: 90px clamp(24px, 7vw, 110px) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: 6vw;
  align-items: center;
  max-width: 1600px;
  margin: auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 700;
  color: #95a8b7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow i,
.status-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 53, 0.12);
}
.hero h1,
.auth-story h1,
.page-heading h1,
.prose-page h1 {
  font-family: var(--display);
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -5px;
  margin: 25px 0;
}
.hero h1 em,
.auth-story h1 em,
.feature-band h2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px #738392;
}
.hero-copy > p {
  max-width: 590px;
  color: #91a1b2;
  line-height: 1.8;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}
.trust-row {
  display: flex;
  gap: 25px;
  margin-top: 40px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #718396;
}
.trust-row b {
  color: var(--lime);
  margin-right: 4px;
}
.hero-visual {
  height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(200, 255, 53, 0.16);
  border-radius: 50%;
}
.orbit-one {
  width: 440px;
  height: 440px;
}
.orbit-two {
  width: 320px;
  height: 320px;
  border-style: dashed;
  animation: spin 24s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hero-card.main {
  width: 280px;
  height: 380px;
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(155deg, #244e43, #0c1e22 70%);
  border: 1px solid rgba(162, 255, 211, 0.2);
  position: relative;
  z-index: 2;
  box-shadow: 0 35px 90px #020609;
  transform: rotate(4deg);
  overflow: hidden;
}
.hero-card.main:before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: var(--lime);
  filter: blur(80px);
  opacity: 0.16;
  right: -100px;
  top: -70px;
}
.mini-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #b4cabb;
}
.hero-symbol {
  font-family: serif;
  font-size: 120px;
  text-align: center;
  color: var(--lime);
  text-shadow: 0 12px 45px rgba(200, 255, 53, 0.3);
  margin: 48px 0 25px;
}
.hero-card h3 {
  font-size: 20px;
  margin: 0;
}
.hero-card p {
  font-size: 11px;
  color: #849c99;
}
.play-dot {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: #111;
  font-size: 11px;
}
.float-card {
  position: absolute;
  background: rgba(14, 26, 40, 0.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px 17px;
  z-index: 3;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.float-card span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #718494;
  margin-bottom: 6px;
}
.float-card strong {
  font-size: 11px;
}
.float-card strong i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #52e49d;
  border-radius: 50%;
  margin-right: 5px;
}
.float-card.top {
  right: 0;
  top: 75px;
}
.float-card.bottom {
  left: 0;
  bottom: 65px;
}
.ticker {
  height: 46px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0a1520;
}
.ticker div {
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: 2.6px;
  color: #758798;
  animation: ticker 25s linear infinite;
}
.ticker span {
  color: var(--lime);
  font-weight: 800;
  margin-right: 30px;
}
.ticker i {
  color: #38505f;
  margin: 0 25px;
}
@keyframes ticker {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-100%);
  }
}
.lobby-section,
.page-shell {
  max-width: 1450px;
  margin: auto;
  padding: 95px clamp(24px, 6vw, 90px);
}
.section-heading,
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 38px;
}
.section-heading > div > span {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--lime);
  letter-spacing: 2px;
}
.section-heading h2,
.page-heading h1 {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 48px);
  letter-spacing: -2px;
  margin: 8px 0 0;
}
.page-heading h1 {
  font-size: 55px;
}
.page-heading p {
  color: var(--muted);
}
.filter-tabs {
  display: flex;
  gap: 6px;
  background: #0c1723;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 12px;
}
.filter-tabs button {
  background: transparent;
  color: #728496;
  border: 0;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
}
.filter-tabs button.active {
  background: #1a2938;
  color: #fff;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 18px;
}
.game-card {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.45s ease;
  transition-delay: var(--delay);
}
.game-card.visible {
  opacity: 1;
  transform: none;
}
.game-cover {
  height: 270px;
  border-radius: 18px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.game-cover:before,
.game-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(255, 255, 255, 0.22),
      transparent 28%
    ),
    linear-gradient(140deg, transparent 30%, rgba(0, 0, 0, 0.35));
}
.game-cover.jade,
.game-art.jade {
  background: linear-gradient(145deg, #347b64, #102f2c);
}
.game-cover.sunset,
.game-art.sunset {
  background: linear-gradient(145deg, #ef7d42, #60212c);
}
.game-cover.sakura,
.game-art.sakura {
  background: linear-gradient(145deg, #ec87a8, #5b285a);
}
.game-cover.violet,
.game-art.violet {
  background: linear-gradient(145deg, #745bdf, #25245d);
}
.game-cover.ember,
.game-art.ember {
  background: linear-gradient(145deg, #b43f35, #35181d);
}
.game-cover.ocean,
.game-art.ocean {
  background: linear-gradient(145deg, #278ca8, #15344f);
}
.game-cover.midnight,
.game-art.midnight {
  background: linear-gradient(145deg, #273a63, #10182c);
}
.game-cover.gold,
.game-art.gold {
  background: linear-gradient(145deg, #c79531, #49301b);
}
.game-symbol {
  font-family: serif;
  font-size: 88px;
  color: #fff;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: 0.35s;
}
.game-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  border-radius: 7px;
  background: rgba(4, 10, 16, 0.55);
  backdrop-filter: blur(8px);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.game-play {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: var(--lime);
  color: #121a08;
  display: grid;
  place-items: center;
  position: absolute;
  opacity: 0;
  transform: scale(0.7);
  transition: 0.3s;
  z-index: 3;
}
.shine {
  position: absolute;
  width: 80px;
  height: 400px;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(25deg);
  left: -160px;
  transition: 0.6s;
}
.game-cover:hover .game-symbol {
  filter: blur(2px);
  transform: scale(1.08);
}
.game-cover:hover .game-play {
  opacity: 1;
  transform: scale(1);
}
.game-cover:hover .shine {
  left: 120%;
}
.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 5px;
}
.game-meta h3 {
  font-size: 13px;
  margin: 0 0 4px;
}
.game-meta span {
  font-size: 9px;
  color: #718292;
}
.game-meta button {
  background: transparent;
  border: 0;
  color: #718292;
  font-size: 19px;
}
.feature-band {
  max-width: 1320px;
  margin: 40px auto 110px;
  padding: 70px clamp(25px, 5vw, 75px);
  border-radius: 28px;
  background: linear-gradient(135deg, #101f2e, #0b1722);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
}
.feature-band h2 {
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.05;
  letter-spacing: -3px;
}
.feature-list article {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(20px);
  transition: 0.4s;
}
.feature-list article.visible {
  opacity: 1;
  transform: none;
}
.feature-list b {
  color: var(--lime);
  font-size: 10px;
}
.feature-list h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
.feature-list p {
  font-size: 12px;
  color: #8293a2;
  line-height: 1.6;
  margin: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 45px clamp(24px, 6vw, 90px);
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.site-footer p {
  font-size: 10px;
  color: #6f8191;
  max-width: 430px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 10px;
  color: #8696a4;
}
.compliance {
  display: flex;
  gap: 12px;
  align-items: center;
}
.compliance > span {
  border: 1px solid #ff7b62;
  color: #ff8a74;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
}
.auth-shell {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 8vw;
  max-width: 1250px;
  margin: auto;
  padding: 70px 40px;
}
.auth-story h1 {
  font-size: clamp(52px, 6vw, 78px);
}
.auth-story > p {
  color: var(--muted);
  max-width: 580px;
  line-height: 1.8;
}
.auth-metrics {
  display: flex;
  gap: 35px;
  margin-top: 45px;
}
.auth-metrics div {
  display: flex;
  flex-direction: column;
}
.auth-metrics strong {
  font-family: var(--display);
  font-size: 23px;
}
.auth-metrics span {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 5px;
}
.auth-card {
  background: linear-gradient(145deg, #111f2d, #0b1621);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 11px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a6b4;
}
.auth-card h2 {
  font-family: var(--display);
  font-size: 30px;
  margin: 30px 0 8px;
}
.auth-card > p {
  font-size: 11px;
  color: var(--muted);
}
.auth-form {
  margin-top: 28px;
}
.auth-form label {
  display: block;
  font-size: 10px;
  color: #8fa0af;
  margin-bottom: 18px;
}
.auth-form input {
  display: block;
  width: 100%;
  height: 49px;
  background: #09131e;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  padding: 0 14px;
  margin-top: 8px;
  outline: 0;
}
.auth-form input:focus {
  border-color: rgba(200, 255, 53, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 255, 53, 0.06);
}
.form-note {
  font-size: 9px !important;
  text-align: center;
  line-height: 1.6;
  margin-top: 18px;
}
.alert {
  padding: 11px;
  border-radius: 9px;
  font-size: 10px;
}
.alert.error {
  background: rgba(255, 91, 91, 0.1);
  color: #ff9b9b;
  border: 1px solid rgba(255, 91, 91, 0.2);
}
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.wallet-card {
  border-radius: 18px;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  min-height: 150px;
}
.wallet-card span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #8da0af;
}
.wallet-card strong {
  font-family: var(--display);
  font-size: 25px;
  margin: auto 0 7px;
}
.wallet-card small {
  font-size: 9px;
  color: #718292;
}
.wallet-card.vnd {
  background: linear-gradient(135deg, #173d35, #0e2524);
}
.wallet-card.usdt {
  background: linear-gradient(135deg, #17443e, #0d2725);
}
.wallet-card.cny {
  background: linear-gradient(135deg, #4a2226, #25151b);
}
.table-card {
  margin-top: 35px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}
th {
  text-align: left;
  color: #6e8090;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}
td code {
  color: #9eb0bd;
}
.positive {
  color: #65dda9;
}
.negative {
  color: #ff8a7b;
}
.empty-cell {
  text-align: center;
  color: var(--muted);
  padding: 40px;
}
.player-shell {
  max-width: 1200px;
  margin: auto;
  padding: 50px 30px 100px;
}
.back-link {
  font-size: 11px;
  color: var(--muted);
}
.player-frame {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #0c1722;
  padding: 20px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
}
.game-art {
  min-height: 500px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.game-art span {
  font-family: serif;
  font-size: 180px;
  position: relative;
}
.connection-card {
  padding: 45px;
}
.connection-card h1 {
  font-family: var(--display);
  font-size: 45px;
  letter-spacing: -2px;
}
.connection-card > p {
  color: var(--muted);
  line-height: 1.7;
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 25px 0;
}
.connection-grid div {
  background: #09131d;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.connection-grid span {
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
}
.connection-grid strong {
  font-size: 11px;
  margin-top: 5px;
}
.connection-card details {
  margin: 20px 0;
  font-size: 10px;
}
.connection-card code {
  display: block;
  word-break: break-all;
  background: #07101a;
  padding: 12px;
  border-radius: 8px;
  color: #8fa5b5;
  margin-top: 10px;
}
.prose-page {
  min-height: 600px;
  max-width: 900px;
}
.prose-page h1 {
  font-size: 60px;
}
.prose-page > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.info-panel {
  margin-top: 45px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 25px;
  border-radius: 15px;
}
.info-panel h2 {
  font-size: 14px;
}
.info-panel a {
  color: var(--lime);
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: 25px;
  }
  .main-nav.open {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 77px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 25px;
    background: #09131e;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }
  .hero-visual {
    height: 440px;
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-band {
    grid-template-columns: 1fr;
  }
  .auth-shell {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
  .auth-story {
    display: none;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .player-frame {
    grid-template-columns: 1fr;
  }
  .game-art {
    min-height: 300px;
  }
  .connection-card {
    padding: 25px;
  }
}
@media (max-width: 650px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }
  .brand {
    font-size: 21px;
  }
  .header-actions .wallet-pill,
  .header-actions .currency-switch,
  .header-actions .text-button,
  .header-actions .primary-button.small {
    display: none;
  }
  .menu-toggle {
    position: absolute;
    right: 18px;
    display: block !important;
    margin-left: auto;
    padding: 5px;
  }
  .header-actions {
    margin-left: 0;
  }
  .hero {
    display: block;
    padding: 58px 20px 20px;
  }
  .hero h1 {
    max-width: 350px;
    font-size: 42px;
    line-height: 1.03;
    letter-spacing: -2.8px;
  }
  .hero-copy > p {
    max-width: 340px;
    font-size: 13px;
  }
  .hero-actions {
    flex-direction: column;
    padding-right: 20px;
  }
  .hero-actions a {
    width: 100%;
  }
  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 8px;
    font-size: 8px;
  }
  .hero-visual {
    left: 50%;
    width: 500px;
    height: 400px;
    margin-top: 45px;
    margin-left: -250px;
    transform: scale(0.72);
    transform-origin: top center;
  }
  .float-card.top {
    right: 0;
  }
  .float-card.bottom {
    left: 0;
  }
  .ticker {
    margin-top: -90px;
  }
  .lobby-section,
  .page-shell {
    padding: 70px 18px;
  }
  .section-heading,
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .filter-tabs {
    width: 100%;
  }
  .filter-tabs button {
    flex: 1;
  }
  .game-grid {
    gap: 24px 10px;
  }
  .game-cover {
    height: 205px;
  }
  .game-symbol {
    font-size: 65px;
  }
  .game-meta h3 {
    font-size: 11px;
  }
  .feature-band {
    margin: 20px 12px 70px;
    padding: 45px 25px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding: 35px 20px;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .auth-shell {
    padding: 35px 16px;
  }
  .auth-card {
    padding: 25px;
  }
  .wallet-grid {
    grid-template-columns: 1fr;
  }
  .page-heading h1 {
    font-size: 42px;
  }
  .player-shell {
    padding: 30px 12px;
  }
  .player-frame {
    padding: 10px;
  }
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .connection-card h1 {
    font-size: 34px;
  }
  .prose-page h1 {
    font-size: 44px;
  }
}

/* GS-style lobby shell — original SV6886 artwork and branding */
.app-strip,
.mobile-dock { display: none; }
.gs-home {
  --bg: #0b1726;
  --panel: #102238;
  --line: rgba(174, 199, 222, .13);
  background: #0b1726;
  color: #f6f8fb;
}
.gs-home .ambient { display: none; }
.gs-home .site-header {
  position: relative;
  height: 68px;
  max-width: 1220px;
  margin: auto;
  padding: 0 18px;
  border: 0;
  background: #09131f;
  backdrop-filter: none;
}
.gs-home .brand { color: #ff7b35; font-size: 26px; font-style: italic; }
.gs-home .brand > span:last-child > span { color: #ffb02e; }
.gs-home .brand-mark { border-color: #ff7938; }
.gs-home .brand-mark i { background: #ffb12d; }
.gs-home .main-nav { height: 100%; margin-left: 65px; gap: 0; }
.gs-home .main-nav a {
  min-width: 104px;
  height: 100%;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #9eabbc;
  font-size: 12px;
}
.gs-home .main-nav a b { color: #e5b34e; font-size: 17px; }
.gs-home .main-nav a.active { background: #12263b; color: #ffbc48; border-bottom: 2px solid #ff9b30; }
.gs-home .primary-button { background: linear-gradient(90deg, #ff6938, #ff9a39); color: white; box-shadow: none; }
.gs-home .secondary-button { border-color: #ff7439; color: white; background: rgba(5, 15, 27, .7); }
.gs-home .text-button { border: 1px solid rgba(255,255,255,.42); border-radius: 20px; padding: 8px 20px; color: white; }
.gs-home .currency-switch select,
.gs-home .wallet-pill { background: #101f31; }
.home-categories {
  height: 80px;
  background: #10273a;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-block: 1px solid rgba(255,255,255,.03);
}
.home-categories a {
  width: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #a6b1bf;
  font-size: 11px;
  position: relative;
}
.home-categories a b { font-size: 24px; filter: saturate(.75); }
.home-categories a.active { color: #ffbd45; background: #0b1825; }
.home-categories a.active:before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 3px; background: #ff8b2e; }
.gs-home .gs-hero {
  min-height: 0;
  height: 320px;
  max-width: 1170px;
  margin: 16px auto 12px;
  padding: 44px 55px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: #08152a url('/assets/home/sv6886-hero-v1.webp') center/cover no-repeat;
}
.gs-hero .hero-copy { max-width: 430px; position: relative; z-index: 2; }
.gs-hero .hero-kicker { color: #ffb645; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; }
.gs-home .gs-hero h1 { margin: 10px 0 8px; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: -2px; text-shadow: 0 4px 25px #020916; }
.gs-home .gs-hero p { margin: 0; color: #c4ced9; font-size: 13px; line-height: 1.65; }
.gs-home .hero-actions { margin-top: 22px; }
.gs-home .hero-actions a { height: 38px; min-width: 125px; border-radius: 21px; }
.home-actions { display: none; }
.notice {
  max-width: 1170px;
  min-height: 46px;
  margin: 0 auto 16px;
  padding: 7px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0f2033;
}
.notice > b { font-size: 19px; }
.notice div { display: flex; flex: 1; gap: 15px; font-size: 11px; }
.notice strong { color: #ffad37; }
.notice span { color: #8393a4; }
.notice > a { color: #8e9dae; font-size: 20px; }
.promo-row {
  max-width: 1170px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.promo-row article {
  min-height: 126px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  background: radial-gradient(circle at 90% 20%, rgba(255,116,52,.32), transparent 30%), linear-gradient(135deg, #142c44, #0c1c2e);
  display: flex;
  flex-direction: column;
}
.promo-row article:nth-child(2) { background: radial-gradient(circle at 88% 18%, rgba(130,71,255,.35), transparent 30%), linear-gradient(135deg, #172a44, #10192f); }
.promo-row article:nth-child(3) { background: radial-gradient(circle at 88% 18%, rgba(255,191,41,.3), transparent 30%), linear-gradient(135deg, #2c2635, #111d2d); }
.promo-row span { color: #ffac3e; font-size: 9px; letter-spacing: 1.4px; }
.promo-row strong { margin-top: 7px; font-size: 18px; line-height: 1.25; }
.promo-row a { margin-top: auto; color: #9eabb9; font-size: 10px; }
.gs-home .lobby-section { max-width: 1170px; padding: 10px 0 42px; }
.gs-home .section-heading { margin-bottom: 18px; align-items: center; }
.gs-home .section-heading > div > span { color: #ff9b38; font-size: 9px; }
.gs-home .section-heading h2 { margin-top: 4px; font-size: 25px; letter-spacing: -.7px; }
.gs-home .filter-tabs { border: 0; background: transparent; }
.gs-home .filter-tabs button { border: 1px solid rgba(255,255,255,.12); border-radius: 17px; padding: 7px 15px; }
.gs-home .filter-tabs button.active { background: #ff7438; color: white; }
.gs-home .game-grid { grid-template-columns: repeat(6, 1fr); gap: 22px 12px; }
.gs-home .game-cover { height: 208px; border-radius: 8px; border: 0; box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.gs-home .game-cover:after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.gs-home .game-symbol { font-size: 66px; z-index: 2; }
.gs-home .game-tag { z-index: 3; top: 8px; left: 8px; background: #ff6536; color: white; border-radius: 3px; }
.gs-home .game-play { background: #ff7138; color: white; }
.gs-home .game-meta { padding: 9px 2px; }
.gs-home .game-meta h3 { font-size: 12px; }
.provider-strip { border-top: 1px solid var(--line); background: #091521; }
.provider-strip div { max-width: 1170px; height: 74px; margin: auto; display: flex; align-items: center; justify-content: space-around; }
.provider-strip span { font-size: 19px; font-weight: 900; font-style: italic; color: #53657a; }
.provider-strip span:nth-child(1) { color: #b64ea5; }.provider-strip span:nth-child(2) { color: #ff7a3e; }.provider-strip span:nth-child(4) { color: #15a885; }
.gs-home .site-footer { max-width: 1170px; margin: auto; padding: 36px 0; background: #0b1726; }

@media (max-width: 760px) {
  .gs-home { padding-bottom: 68px; background: #0b1628; }
  .gs-home .app-strip {
    height: 54px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #081225;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .app-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg,#fff4ce,#e0b95c); color: #182638; font-weight: 900; font-size: 11px; }
  .app-strip > div:nth-child(2) { display: flex; flex: 1; flex-direction: column; }
  .app-strip strong { font-size: 11px; }.app-strip span { color: #78889a; font-size: 8px; margin-top: 3px; }
  .app-strip > a { padding: 8px 14px; border-radius: 18px; background: linear-gradient(90deg,#6542d9,#934cf1); font-size: 10px; font-weight: 700; }
  .gs-home .site-header { height: 66px; padding: 0 14px; }
  .gs-home .brand { font-size: 19px; }.gs-home .brand-mark { display: none !important; }
  .gs-home .main-nav { display: flex; order: 3; margin: 0 0 0 auto; }
  .gs-home .main-nav a { min-width: 42px; padding: 0 6px; }
  .gs-home .main-nav a b { font-size: 20px; }.gs-home .main-nav a span { display: none; }
  .gs-home .main-nav a { font-size: 0; }.gs-home .main-nav a.active { background: transparent; border: 0; }
  .gs-home .header-actions { display: none; }.gs-home .menu-toggle { display: none; }
  .home-categories { height: 70px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .home-categories a { min-width: 72px; width: 72px; font-size: 9px; }.home-categories a b { font-size: 21px; }
  .gs-home .gs-hero { height: 178px; margin: 10px 12px; padding: 18px 16px; border-radius: 10px; background-position: 60% center; position: relative; }
  .gs-home .gs-hero:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(3,12,28,.94),rgba(3,12,28,.2) 70%); }
  .gs-hero .hero-copy { max-width: 58%; }.gs-home .gs-hero h1 { margin: 6px 0; font-size: 20px; letter-spacing: -.6px; }.gs-home .gs-hero p { font-size: 9px; line-height: 1.45; }
  .gs-hero .hero-kicker { font-size: 7px; letter-spacing: .7px; }.gs-home .hero-actions { display: none; }
  .home-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 10px; }
  .home-actions a { height: 38px; border: 2px solid #ff6f38; border-radius: 22px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
  .home-actions a.register { background: #ff6938; }
  .notice { margin: 0 12px 10px; padding: 7px 10px; min-height: 42px; border-radius: 20px; }.notice div { gap: 5px; flex-direction: column; }.notice span { max-width: 255px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
  .promo-row { display: flex; overflow-x: auto; gap: 8px; margin: 0; padding: 0 12px 18px; scrollbar-width: none; }.promo-row article { min-width: 240px; min-height: 110px; padding: 16px; }
  .gs-home .lobby-section { padding: 4px 12px 25px; }.gs-home .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }.gs-home .section-heading h2 { font-size: 18px; }
  .gs-home .filter-tabs { width: 100%; overflow-x: auto; padding: 0; }.gs-home .filter-tabs button { white-space: nowrap; font-size: 9px; padding: 6px 12px; }
  .gs-home .game-grid { grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }.gs-home .game-cover { height: 132px; }.gs-home .game-symbol { font-size: 46px; }.gs-home .game-meta h3 { font-size: 9px; }.gs-home .game-meta span { font-size: 7px; }.gs-home .game-meta button { display: none; }
  .provider-strip div { height: 55px; overflow: hidden; gap: 24px; justify-content: flex-start; padding: 0 15px; }.provider-strip span { font-size: 15px; }
  .gs-home .site-footer { display: block; padding: 25px 16px 30px; }.gs-home .site-footer > div:first-child { display: none; }.gs-home .footer-links { justify-content: center; }.gs-home .compliance { justify-content: center; margin-top: 20px; }
  .gs-home .mobile-dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: 66px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(7,16,29,.97); border-top: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); }
  .mobile-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8794a4; font-size: 8px; }.mobile-dock b { font-size: 20px; }.mobile-dock a.active { color: #ffac40; }
}

/* QAT mini games imported from the ss88win engines. */
.mini-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 100px;
}
.mini-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.mini-wallet {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
}
.mini-wallet span,
.panel-title span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.mini-wallet strong {
  color: var(--lime);
  font-family: Manrope, sans-serif;
}
.mini-stage {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 45%, rgba(152, 255, 0, 0.15), transparent 30%),
    linear-gradient(135deg, #101e2d, #07101b 65%);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
}
.mini-stage.coins {
  background:
    radial-gradient(circle at 72% 45%, rgba(255, 65, 116, 0.16), transparent 30%),
    linear-gradient(135deg, #241327, #07101b 65%);
}
.mini-stage::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent);
}
.mini-stage-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.mini-stage h1 {
  margin: 12px 0 9px;
  font-family: Manrope, sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -3px;
}
.mini-stage-head > div:first-child > p {
  max-width: 590px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.round-clock {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 130px;
  padding: 15px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(5, 12, 20, 0.68);
  backdrop-filter: blur(12px);
}
.round-clock span,
.round-clock small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.round-clock strong {
  color: var(--lime);
  font-family: Manrope, sans-serif;
  font-size: 54px;
  line-height: 1.1;
}
.round-clock strong.locking { color: #ff5377; }
.result-orbit {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 38px;
}
.die,
.coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #cbd6dd);
  box-shadow: 0 14px 35px rgba(0,0,0,.32);
  color: #101825;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
}
.coin {
  border: 5px solid #d9e2e8;
  border-radius: 50%;
  font-size: 18px;
}
.coin.red { border-color: #ff8299; background: #ed3157; color: #fff; }
.coin.white { color: #687681; }
.revealed { animation: reveal-result .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes reveal-result { from { opacity: 0; transform: translateY(-15px) rotate(-15deg) scale(.7); } to { opacity: 1; transform: none; } }
.commit-line {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: 32px;
  color: #647987;
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.commit-line code { color: #8da2b0; }
.mini-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 20px;
  margin-top: 20px;
}
.bet-panel,
.round-panel,
.my-bets {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(12, 25, 37, 0.88);
  padding: 28px;
}
.panel-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}
.panel-title h2 {
  margin: 3px 0 0;
  font-family: Manrope, sans-serif;
  font-size: 22px;
}
.panel-title small { color: #6f8290; font-size: 10px; }
.bet-doors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.bet-door {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #0b1723;
  color: #fff;
  cursor: pointer;
  transition: .2s ease;
}
.bet-door:hover { border-color: rgba(154,255,0,.55); transform: translateY(-2px); }
.bet-door.selected { border-color: var(--lime); background: rgba(135,220,0,.11); box-shadow: inset 0 0 0 1px var(--lime); }
.bet-door:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.bet-door strong { font-size: 14px; }
.bet-door span { color: var(--lime); font-family: Manrope, sans-serif; font-size: 12px; }
.stake-box { margin-top: 22px; }
.stake-box label { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.stake-box label > span { float: right; color: var(--lime); }
.stake-box input {
  width: 100%;
  height: 54px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #07121d;
  padding: 0 16px;
  color: #fff;
  font: 700 18px Manrope, sans-serif;
}
.stake-box input:focus { border-color: var(--lime); }
.stake-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 18px; }
.stake-chips button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #102130;
  padding: 9px 5px;
  color: #b8c7d1;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.stake-chips button:hover { border-color: var(--lime); color: var(--lime); }
.mini-message { min-height: 18px; margin: 12px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.mini-message.success { color: var(--lime); }
.mini-message.error { color: #ff6d8a; }
.round-history { display: flex; flex-direction: column; gap: 7px; }
.round-history > p,
.bet-history > p { color: var(--muted); font-size: 12px; }
.round-history article {
  display: grid;
  grid-template-columns: 1fr auto 50px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0a1621;
  color: #728794;
  font-size: 10px;
}
.round-history article.latest { border: 1px solid rgba(154,255,0,.2); }
.round-history article > strong { color: #dce7ed; text-align: right; }
.history-values { display: flex; gap: 3px; }
.history-values .die,
.history-values .coin { width: 20px; height: 20px; border-width: 1px; border-radius: 5px; box-shadow: none; font-size: 13px; }
.history-values .coin { border-radius: 50%; font-size: 6px; }
.fair-note { margin-top: 16px; color: #6c818e; font-size: 10px; line-height: 1.55; }
.fair-note summary { cursor: pointer; color: #91a4af; font-weight: 700; }
.fair-note p { margin-top: 8px; }
.my-bets { margin-top: 20px; }
.bet-history { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.bet-history article { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-radius: 11px; background: #0a1621; }
.bet-history article div { display: flex; flex-direction: column; gap: 4px; }
.bet-history article strong { font-size: 12px; }
.bet-history article span { color: #6e818e; font-size: 9px; }
.bet-history article b { color: #8094a1; font-size: 10px; }
.bet-history article b.win { color: var(--lime); }
.bet-history article b.lose { color: #ff6d8a; }
@media (max-width: 850px) {
  .mini-stage { padding: 30px; }
  .mini-stage-head { gap: 25px; }
  .mini-layout { grid-template-columns: 1fr; }
  .bet-history { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .mini-shell { width: calc(100% - 28px); padding-top: 24px; }
  .mini-stage { min-height: 420px; padding: 26px 18px; border-radius: 20px; }
  .mini-stage-head { flex-direction: column; }
  .mini-stage h1 { font-size: 38px; letter-spacing: -2px; }
  .round-clock { position: absolute; top: 3px; right: 0; min-width: 90px; padding: 9px 12px; }
  .round-clock strong { font-size: 38px; }
  .round-clock span { display: none; }
  .result-orbit { margin-top: 56px; gap: 8px; }
  .die, .coin { width: 57px; height: 57px; font-size: 39px; }
  .commit-line { margin-top: 28px; }
  .bet-panel, .round-panel, .my-bets { padding: 20px 16px; border-radius: 17px; }
  .bet-doors { grid-template-columns: 1fr 1fr; }
  .bet-door { min-height: 62px; padding: 0 13px; }
  .bet-history { grid-template-columns: 1fr; }
  .mini-topbar { align-items: flex-start; }
  .mini-wallet strong { font-size: 12px; }
}
