:root {
  --navy: #0b1528;
  --navy-2: #132038;
  --navy-3: #1c2f4d;
  --gold: #d4a84b;
  --gold-2: #f0d78a;
  --gold-3: #a67c2a;
  --green: #1f4d36;
  --green-2: #2f6b4a;
  --maroon: #6e1f2c;
  --maroon-2: #8a2838;
  --cream: #f4efe3;
  --muted: #b7c0cf;
  --line: rgba(212, 168, 75, 0.28);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--cream);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(212, 168, 75, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(46, 107, 74, 0.18), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, #08101c 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-2);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.notice {
  background: var(--maroon);
  color: var(--cream);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.notice strong {
  color: var(--gold-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(11, 21, 40, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-2);
  letter-spacing: 0.04em;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-2);
}

.nav-cta {
  background: linear-gradient(180deg, var(--maroon-2), var(--maroon));
  color: var(--gold-2) !important;
  border: 1px solid var(--gold);
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-cta:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gold-2);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--cream);
  font-weight: 700;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-copy p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-primary {
  background: linear-gradient(180deg, var(--maroon-2), var(--maroon));
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--cream);
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trust-inline span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  border: 1px solid var(--line);
  padding: 0.35rem 0.6rem;
  background: rgba(31, 77, 54, 0.35);
}

.hero-visual {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #0a1424;
  border: 1px solid var(--gold-3);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 168, 75, 0.2);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 42%;
  height: 42%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.35), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.section {
  padding: clamp(2.2rem, 5vw, 3.8rem) 0;
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: 54ch;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin: 0 0 0.6rem;
  color: var(--gold-2);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.band {
  background: linear-gradient(90deg, rgba(31, 77, 54, 0.35), rgba(110, 31, 44, 0.28));
  border-block: 1px solid var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric {
  padding: 1rem 0.25rem;
  text-align: center;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.92rem;
}

.game-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.game-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.game-tag {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.15rem;
}

.game-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.game-row p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.plain-list li {
  padding-left: 1.1rem;
  border-left: 3px solid var(--green-2);
  color: var(--muted);
}

.plain-list strong {
  color: var(--cream);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  background: rgba(19, 32, 56, 0.7);
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--green);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--cream);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(2rem, 5vw, 3.2rem) 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 0.7rem;
  color: var(--gold-2);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.prose {
  max-width: 70ch;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.35rem;
  margin: 1.8rem 0 0.6rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 520px;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--cream);
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(8, 16, 28, 0.8);
  color: var(--cream);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #070e18;
  padding: 2rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer nav {
  display: grid;
  gap: 0.35rem;
}

.legal-line {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.demo-panel {
  background: rgba(19, 32, 56, 0.75);
  border: 1px solid var(--line);
  padding: 1.25rem;
  margin: 1.25rem 0 1.75rem;
}

.demo-panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--gold-2);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}

.chip {
  min-width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-3);
  background: var(--navy-3);
  color: var(--gold-2);
  font-weight: 700;
}

.credit-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: rgba(19, 32, 56, 0.65);
}

.credit-bar strong {
  color: var(--gold);
  font-size: 1.15rem;
}

.slot-machine {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1rem 0;
}

.reel {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-2);
  background: linear-gradient(180deg, #152744, #0c1628);
  border: 2px solid var(--gold-3);
  box-shadow: inset 0 0 0 1px rgba(212, 168, 75, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.reel.win {
  box-shadow: 0 0 0 2px var(--gold), inset 0 0 18px rgba(212, 168, 75, 0.35);
  transform: translateY(-2px);
}

.game-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  margin-top: 1rem;
}

.game-controls label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.game-controls select,
.game-controls input {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(8, 16, 28, 0.9);
  color: var(--cream);
  min-width: 5.5rem;
}

.game-msg {
  color: var(--muted);
  margin: 0.9rem 0 0;
  min-height: 1.4em;
}

.pay-hint {
  margin: 0.5rem 0 0;
  color: var(--fog, #7a8fa0);
  font-size: 0.88rem;
}

.bj-row {
  display: grid;
  gap: 1.25rem;
}

.bj-row h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--gold-2);
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 4.2rem;
}

.playing-card {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  height: 4rem;
  padding: 0 0.45rem;
  border-radius: 0.35rem;
  border: 1px solid #d8dde8;
  background: #f7f4ec;
  color: #1a2e4a;
  font-weight: 700;
  font-size: 1rem;
}

.playing-card.red {
  color: #8a2838;
}

.playing-card.back {
  background: linear-gradient(145deg, var(--maroon), var(--navy-3));
  color: var(--gold-2);
  border-color: var(--gold-3);
}

.rou-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.rou-number {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-2);
  border: 3px solid var(--gold);
  background: radial-gradient(circle at 30% 30%, #243a5c, #0b1528);
}

.rou-color {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
}

.rou-color.red {
  background: var(--maroon);
  color: #fff;
}

.rou-color.black {
  background: #111;
  color: #fff;
}

.rou-color.green {
  background: var(--green);
  color: var(--gold-2);
}

button.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.credit-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: rgba(19, 32, 56, 0.65);
}

.credit-bar strong {
  color: var(--gold);
  font-size: 1.15rem;
}

.slot-machine {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1rem 0;
}

.reel {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-2);
  background: linear-gradient(180deg, #152744, #0c1628);
  border: 2px solid var(--gold-3);
  box-shadow: inset 0 0 0 1px rgba(212, 168, 75, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.reel.win {
  box-shadow: 0 0 0 2px var(--gold), inset 0 0 18px rgba(212, 168, 75, 0.35);
  transform: translateY(-2px);
}

.game-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  margin-top: 1rem;
}

.game-controls label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.game-controls select,
.game-controls input {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(8, 16, 28, 0.9);
  color: var(--cream);
  min-width: 5.5rem;
}

.game-msg {
  color: var(--muted);
  margin: 0.9rem 0 0;
  min-height: 1.4em;
}

.pay-hint {
  margin: 0.5rem 0 0;
  color: var(--fog, #7a8fa0);
  font-size: 0.88rem;
}

.bj-row {
  display: grid;
  gap: 1.25rem;
}

.bj-row h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--gold-2);
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 4.2rem;
}

.playing-card {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  height: 4rem;
  padding: 0 0.45rem;
  border-radius: 0.35rem;
  border: 1px solid #d8dde8;
  background: #f7f4ec;
  color: #1a2e4a;
  font-weight: 700;
  font-size: 1rem;
}

.playing-card.red {
  color: #8a2838;
}

.playing-card.back {
  background: linear-gradient(145deg, var(--maroon), var(--navy-3));
  color: var(--gold-2);
  border-color: var(--gold-3);
}

.rou-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.rou-number {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-2);
  border: 3px solid var(--gold);
  background: radial-gradient(circle at 30% 30%, #243a5c, #0b1528);
}

.rou-color {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
}

.rou-color.red {
  background: var(--maroon);
  color: #fff;
}

.rou-color.black {
  background: #111;
  color: #fff;
}

.rou-color.green {
  background: var(--green);
  color: var(--gold-2);
}

button.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .footer-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .game-row {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.4rem);
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-2);
    border: 1px solid var(--line);
    padding: 0.75rem;
    min-width: 200px;
  }

  .nav.open {
    display: flex;
  }

  .header-row {
    position: relative;
  }
}
