:root {
  --bg-base: #f7f9fc;
  --bg-soft: #eaf9ff;
  --ink-strong: #0f1c2e;
  --ink-normal: #2f4059;
  --brand-orange: #f77f00;
  --brand-teal: #00b3a4;
  --brand-sky: #54b5ff;
  --brand-red: #e71d36;
  --panel-white: #ffffff;
  --panel-border: rgba(15, 28, 46, 0.09);
  --shadow-soft: 0 20px 45px rgba(15, 28, 46, 0.09);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--ink-normal);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background: url(../img/background.jpg);
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  z-index: -1;
  opacity: 0.2;
}

body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  filter: blur(2px);
}

body::after {
  width: 360px;
  height: 360px;
  left: -90px;
  bottom: 120px;
  background: radial-gradient(circle at 35% 35%, rgba(0, 179, 164, 0.24), rgba(0, 179, 164, 0));
}

.game-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px #0002;
}

a {
  color: var(--ink-strong);
  text-decoration: none;
}

p {
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink-strong);
  font-family: "Bungee", "Tahoma", sans-serif;
  letter-spacing: 0.4px;
}

.container {
  width: min(1140px, calc(100vw - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(247, 249, 252, 0.8);
  border-bottom: 1px solid rgba(15, 28, 46, 0.09);
}

.site-header__topline {
  background: linear-gradient(90deg, var(--brand-orange), #ffb703);
  color: #221403;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0.4rem 0.7rem;
  font-size: 0.83rem;
  font-weight: 700;
}

.site-header__topline p {
  margin: 0;
  line-height: 1.2;
}

.site-header__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark__logo {
  width: 44px;
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  padding: 4px;
}

.brand-mark__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-mark__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-mark__copy strong {
  font-size: 1rem;
  color: var(--ink-strong);
}

.brand-mark__copy small {
  font-size: 0.74rem;
  color: rgba(47, 64, 89, 0.85);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e2d45;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.site-nav__link:hover {
  border-color: rgba(15, 28, 46, 0.2);
  background: rgba(84, 181, 255, 0.15);
}

.site-nav__link--active {
  background: linear-gradient(130deg, #dcf8ff, #d8ffe0);
  border-color: rgba(0, 179, 164, 0.3);
}

.token-box {
  border-radius: 999px;
  padding: 0.44rem 0.85rem;
  border: 1px solid rgba(15, 28, 46, 0.12);
  background: #fff;
  text-align: right;
  box-shadow: 0 10px 20px rgba(15, 28, 46, 0.08);
}

.token-box span {
  display: block;
  font-size: 0.7rem;
}

.token-box strong {
  color: var(--brand-red);
  letter-spacing: 0.4px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(15, 28, 46, 0.2);
  background: #fff;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #23344e;
  margin: 5px 0;
}

main {
  padding: 2.1rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
}

.hero__content,
.hero__panel {
  border-radius: var(--radius-lg);
  background: var(--panel-white);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--panel-border);
}

.hero__content {
  padding: 2rem 2rem 1.8rem;
  position: relative;
  overflow: hidden;
}

.hero__content::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -70px;
  right: -55px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 183, 3, 0.26), rgba(255, 183, 3, 0));
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--brand-red);
}

.hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin-top: 0.5rem;
  line-height: 1.22;
}

.hero__lead {
  margin-top: 0.9rem;
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.hero__bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero__bullet {
  border-radius: var(--radius-sm);
  background: linear-gradient(140deg, #f5fcff, #f5fff6);
  border: 1px solid rgba(0, 179, 164, 0.2);
  padding: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero__panel {
  padding: 1.5rem;
}

.hero__panel--media {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.hero__media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 28, 46, 0.12);
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(160deg, #dff6ff, #fff3dc);
  box-shadow: 0 14px 28px rgba(15, 28, 46, 0.14);
  position: relative;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__media figcaption {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.6rem;
  border-radius: 10px;
  background: rgba(15, 28, 46, 0.72);
  color: #f5fbff;
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.3;
}

.hero__media figcaption code {
  color: #ffdfa0;
}

.hero__panel--media .stack-list {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.hero__panel h3 {
  font-size: 1.25rem;
}

.hero__panel p {
  margin: 0.7rem 0;
}

.stack-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.stack-list div {
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border);
  background: #fffdf9;
  padding: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 42px;
  padding: 0.56rem 1rem;
  cursor: pointer;
  font-weight: 800;
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(130deg, #00b3a4, #54b5ff);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 179, 164, 0.35);
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--warm {
  background: linear-gradient(130deg, #ff8f00, #ffb703);
  color: #2f2108;
}

.btn--ghost {
  border-color: rgba(15, 28, 46, 0.24);
  background: rgba(255, 255, 255, 0.85);
  color: #1f304b;
}

.btn--small {
  min-height: 34px;
  padding: 0.3rem 0.78rem;
  font-size: 0.8rem;
}

.section {
  margin-top: 1.4rem;
}

.section h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.section__intro {
  margin-top: 0.45rem;
  max-width: 75ch;
}

.card-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius-md);
  background: var(--panel-white);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.card .pill + h3 {
  margin-top: 0.55rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-weight: 700;
  font-size: 0.72rem;
  border: 1px solid rgba(15, 28, 46, 0.2);
  background: #fff;
}

body[data-page="home"] .pill--slots {
  color: #5a2a00;
  border-color: rgba(247, 127, 0, 0.35);
  background: linear-gradient(135deg, #ffe4b8, #ffca8a);
  box-shadow: 0 8px 14px rgba(247, 127, 0, 0.22);
}

body[data-page="home"] .pill--spin {
  color: #073d55;
  border-color: rgba(0, 119, 182, 0.35);
  background: linear-gradient(135deg, #c8f2ff, #93d7ff);
  box-shadow: 0 8px 14px rgba(0, 119, 182, 0.2);
}

body[data-page="home"] .pill--cards {
  color: #422a0a;
  border-color: rgba(167, 118, 29, 0.38);
  background: linear-gradient(135deg, #fff2be, #ffde7d);
  box-shadow: 0 8px 14px rgba(167, 118, 29, 0.23);
}

.page-hero {
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: linear-gradient(140deg, #f7ffff, #fff8ef);
  box-shadow: var(--shadow-soft);
  padding: 1.55rem;
}

.page-hero p {
  max-width: 76ch;
  margin-top: 0.75rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-list {
  display: grid;
  gap: 0.7rem;
}

.info-list div {
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
}

.feature-table th,
.feature-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(15, 28, 46, 0.1);
}

.feature-table th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  margin-top: 1rem;
}

.game-panel {
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.game-panel h2,
.game-panel h3 {
  font-size: 1.1rem;
}

.control-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  margin: 0.65rem 0;
}

.control-row label {
  font-weight: 700;
}

.stake-inline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.stake-inline input[type="number"] {
  text-align: center;
}

.stake-step {
  min-width: 42px;
  padding-inline: 0.65rem;
  font-size: 1rem;
  font-weight: 800;
}

.stake-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: -0.05rem;
  margin-bottom: 0.1rem;
}

.stake-chip {
  border: 1px solid rgba(15, 28, 46, 0.2);
  background: #f8fbff;
  color: #1f304b;
  border-radius: 999px;
  min-height: 31px;
  padding: 0.25rem 0.62rem;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.stake-chip:hover {
  background: #eaf6ff;
}

input[type="number"],
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(15, 28, 46, 0.23);
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.status-box {
  margin-top: 0.85rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: #f7fbff;
  border: 1px solid rgba(84, 181, 255, 0.32);
  min-height: 70px;
}

.result-log {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.result-log li {
  border-radius: 10px;
  background: #fff9f0;
  border: 1px solid rgba(247, 127, 0, 0.2);
  padding: 0.5rem 0.6rem;
  font-size: 0.88rem;
}

.reel-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.reel {
  min-height: 114px;
  border-radius: 14px;
  background: linear-gradient(160deg, #e7f7ff, #f2fff1);
  border: 1px solid rgba(0, 179, 164, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.45rem;
  font-weight: 700;
  color: #1b2d49;
  box-shadow: inset 0 -10px 18px rgba(15, 28, 46, 0.08);
}

.reel::before,
.reel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 2;
  pointer-events: none;
}

.reel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
}

.reel::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
}

.slot-reel-track {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

.slot-cell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-symbol {
  display: inline-flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff, #f4f9ff);
  border: 1px solid rgba(15, 28, 46, 0.12);
  box-shadow: inset 0 -6px 10px rgba(15, 28, 46, 0.08);
}

.slot-symbol img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  display: block;
}

.slot-inline-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  vertical-align: middle;
}

.slot-inline-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.slot-inline-sep {
  opacity: 0.6;
  margin: 0 0.2rem;
}

.slot-log-meta {
  opacity: 0.92;
}

.result-log .slot-inline-icon {
  width: 18px;
  height: 18px;
  margin: 0 2px;
}

.paytable .slot-inline-icon {
  width: 24px;
  height: 24px;
}

.paytable {
  margin-top: 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: #fff;
  overflow: hidden;
}

.paytable table {
  width: 100%;
  border-collapse: collapse;
}

.paytable td,
.paytable th {
  padding: 0.56rem;
  border-bottom: 1px solid rgba(15, 28, 46, 0.09);
}

.paytable tr:last-child td {
  border-bottom: none;
}

.wheel-wrap {
  position: relative;
  width: min(390px, 100%);
  margin: 25px auto 25px;
}

.slot-board-actions,
.spin-wheel-actions,
.bj-board-actions {
  display: none;
}

.slot-mobile-launch,
.slot-auto-mobile,
.spin-mobile-launch,
.bj-mobile-launch,
.bj-hit-mobile,
.bj-stand-mobile {
  display: none;
}

.wheel {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 12px solid #f2c14b;
  box-shadow:
    0 15px 28px rgba(15, 28, 46, 0.22),
    inset 0 0 0 3px #fff2c5,
    inset 0 -10px 14px rgba(140, 84, 4, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 4s cubic-bezier(0.1, 0.75, 0.2, 1);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 65% 88%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0) 48%),
    conic-gradient(
      #ffcb77 0deg 36deg,
      #54b5ff 36deg 72deg,
      #b9fbc0 72deg 108deg,
      #ffd6a5 108deg 144deg,
      #cdb4db 144deg 180deg,
      #9bf6ff 180deg 216deg,
      #fdffb6 216deg 252deg,
      #ffc6ff 252deg 288deg,
      #a0c4ff 288deg 324deg,
      #d9ed92 324deg 360deg
    );
}

.wheel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center center;
  min-width: 38px;
  text-align: center;
  font-weight: 800;
  color: #192840;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.wheel-pointer {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffe8a6 0%, #f5c24d 52%, #d99010 100%);
  border: 2px solid #fff2c5;
  box-shadow: 0 8px 14px rgba(15, 28, 46, 0.3);
  z-index: 4;
}

.wheel-pointer::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 22px solid #e0a11e;
  filter: drop-shadow(0 2px 0 rgba(255, 244, 205, 0.85));
}

.wheel-pointer::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8db, #f0bc46);
  border: 1px solid #fff6d8;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
}

.wheel-hub {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  border: 7px solid rgba(15, 28, 46, 0.15);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.blackjack-table {
  margin-top: 0.55rem;
  border-radius: 16px;
  padding: 0.9rem;
  background: linear-gradient(165deg, #0b7a75, #0d5f87);
  color: #fff;
}

.hand {
  margin-top: 0.8rem;
}

.hand h4 {
  color: #fff;
  font-size: 0.95rem;
}

.card-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.card-face {
  width: 56px;
  height: 78px;
  border-radius: 8px;
  border: 2px solid #d9e5f3;
  background: linear-gradient(180deg, #ffffff, #f3f7fc);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1px;
  font-weight: 700;
  color: #1c2d47;
}

.card-face__rank {
  font-size: 1.02rem;
  line-height: 1;
}

.card-face__suit {
  font-size: 1rem;
  line-height: 1;
}

.card-face--red {
  color: #d7263d;
}

.card-face--black {
  color: #17263e;
}

.card-face--hidden {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 1px;
}

.score-chip {
  display: inline-flex;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.65rem;
  font-size: 0.82rem;
}

.achievement-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.badge-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.badge-card {
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: #fff;
  padding: 0.95rem;
  box-shadow: var(--shadow-soft);
}

.badge-card--locked {
  opacity: 0.75;
}

.badge-card__state {
  display: inline-flex;
  margin-top: 0.6rem;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.73rem;
  font-weight: 700;
}

.badge-card__state--done {
  background: #dcffe6;
  color: #11502f;
}

.badge-card__state--todo {
  background: #eef3fa;
  color: #334864;
}

.profile-strip {
  margin-top: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 28, 46, 0.11);
  background: #fff;
  padding: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.profile-strip div {
  padding: 0.5rem;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid rgba(15, 28, 46, 0.08);
}

.profile-strip span {
  display: block;
  font-size: 0.78rem;
}

.profile-strip strong {
  color: var(--ink-strong);
}

.timeline {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.75rem;
}

.timeline article {
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.timeline article h3 {
  font-size: 1rem;
}

.timeline article small {
  font-weight: 700;
  color: var(--brand-teal);
}

.faq-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 0.85rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink-strong);
}

.faq-list p {
  margin: 0.65rem 0 0.2rem;
}

.contact-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-panel {
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.66rem;
}

.contact-hint {
  margin-top: 0.5rem;
  padding: 0.7rem;
  border-radius: 10px;
  background: #f2fffa;
  border: 1px solid rgba(0, 179, 164, 0.28);
}

.legal-stack {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.legal-stack section {
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(15, 28, 46, 0.1);
  background: linear-gradient(170deg, #eef9ff, #fff8ef);
  padding: 1.6rem 0 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.site-footer__grid h3 {
  font-size: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.footer-brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  padding: 3px;
}

.footer-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand__copy {
  font-family: "Bungee", "Tahoma", sans-serif;
  font-size: 1rem;
  color: var(--ink-strong);
}

.site-footer__grid a {
  display: block;
  margin-top: 0.4rem;
}

.site-footer__grid .footer-brand {
  display: inline-flex;
  margin-top: 0;
}

.footer-email {
  display: inline-flex;
  margin-top: 0.65rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 28, 46, 0.2);
  background: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.site-footer__grid a.footer-email {
  display: inline-flex;
}

.site-footer__note {
  margin-top: 0.9rem;
  border-top: 1px dashed rgba(15, 28, 46, 0.2);
  padding-top: 0.9rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(9, 20, 34, 0.75);
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.age-gate__panel {
  width: min(520px, 100%);
  border-radius: 16px;
  background: #fff;
  padding: 1.35rem;
}

.age-gate__actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 1.5rem));
  z-index: 70;
  border-radius: 14px;
  background: #1f304b;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem;
  box-shadow: 0 18px 35px rgba(4, 14, 26, 0.45);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: #9de6f8;
  font-weight: 700;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.tiny-note {
  font-size: 0.8rem;
  opacity: 0.88;
}

@media (max-width: 1024px) {
  .site-header__main {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    padding: 0.75rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(15, 28, 46, 0.12);
    box-shadow: var(--shadow-soft);
    display: none;
    justify-content: flex-start;
  }

  .site-nav--open {
    display: flex;
  }

  .hero,
  .game-shell,
  .contact-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="slot-rush"] .slot-control-launch,
  body[data-page="slot-rush"] .slot-auto-control,
  body[data-page="spin-arena"] .spin-control-launch,
  body[data-page="blackjack-duel"] .bj-control-launch,
  body[data-page="blackjack-duel"] .bj-hit-control,
  body[data-page="blackjack-duel"] .bj-stand-control {
    display: none;
  }

  body[data-page="slot-rush"] .slot-mobile-launch,
  body[data-page="slot-rush"] .slot-auto-mobile,
  body[data-page="spin-arena"] .spin-mobile-launch {
    display: inline-flex;
  }

  body[data-page="blackjack-duel"] .bj-mobile-launch {
    display: inline-flex;
  }

  body[data-page="blackjack-duel"] .bj-hit-mobile,
  body[data-page="blackjack-duel"] .bj-stand-mobile {
    display: inline-flex;
  }

  body[data-page="slot-rush"] .slot-board-actions,
  body[data-page="spin-arena"] .spin-wheel-actions,
  body[data-page="blackjack-duel"] .bj-board-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.55rem;
    margin-bottom: 0.2rem;
  }

  body[data-page="spin-arena"] .spin-wheel-actions {
    margin-top: 0.35rem;
  }

  .hero__media,
  .hero__media img {
    min-height: 300px;
  }

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

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

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stack-list {
    grid-template-columns: 1fr;
  }
  .container {
    width: min(1140px, calc(100vw - 1.2rem));
  }

  .hero__bullet-grid {
    grid-template-columns: 1fr;
  }

  .hero__media,
  .hero__media img {
    min-height: 220px;
  }

  .hero__media figcaption {
    left: 0.45rem;
    right: 0.45rem;
    bottom: 0.45rem;
    font-size: 0.73rem;
    padding: 0.35rem 0.5rem;
  }

  .card-grid,
  .badge-grid {
    grid-template-columns: 1fr;
  }

  .site-header__topline {
    justify-content: flex-start;
    gap: 0.08rem 0.35rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.83rem;
    line-height: 1.2;
  }

  .token-box {
    width: 100%;
    text-align: left;
  }

  .site-header__main {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand menu"
      "token token";
  }

  .brand-mark {
    grid-area: brand;
  }

  .menu-toggle {
    grid-area: menu;
    justify-self: end;
  }

  .token-box {
    grid-area: token;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
