@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&amp;family=Source+Sans+3:wght@400;500;600;700&amp;display=swap");

:root {
  --bg-ivory: #f5f3fa;
  --bg-sea: #e8e5f0;
  --bg-deep: #2d2654;
  --bg-night: #1e1b3a;
  --surface: #ffffff;
  --surface-soft: #faf9fc;
  --line: #d4d0e0;
  --text-primary: #1e1b2e;
  --text-muted: #4a4568;
  --accent-primary: #4c3d99;
  --accent-secondary: #d4a043;
  --accent-coral: #c95d4a;
  --success: #2d7d4a;
  --danger: #b83d3d;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-soft: 0 18px 40px rgba(45, 38, 84, 0.12);
  --shadow-card: 0 12px 24px rgba(45, 38, 84, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
  background: var(--bg-ivory);
}

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

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

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

.top-age-banner {
  background: linear-gradient(120deg, #3d2d6b, #2d2654);
  color: #f0eef8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.top-age-banner .container {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: rgba(245, 243, 250, 0.9);
  border-bottom: 1px solid rgba(45, 38, 84, 0.1);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

main:after {
  content: "";
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
  opacity: 0.15;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--bg-deep);
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(76, 61, 153, 0.2);
  background: #fff;
}

.brand-text {
  line-height: 1;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #5a4aa8, #3d2d6b);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-link {
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(76, 61, 153, 0.12);
  outline: none;
}

.nav-link.active {
  background: rgba(76, 61, 153, 0.16);
  color: #3d2d6b;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.age-badge {
  border: 1px solid rgba(45, 38, 84, 0.25);
  background: #fff;
  color: var(--text-primary);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 14px;
  padding: 0.78rem 1.24rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #4c3d99, #5a4aa8);
  box-shadow: 0 10px 20px rgba(76, 61, 153, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 24px rgba(76, 61, 153, 0.4);
}

.btn-ghost {
  color: var(--text-primary);
  border: 2px solid rgba(76, 61, 153, 0.45);
  background: rgba(255, 255, 255, 0.75);
}

.btn-accent {
  color: #1e1b2e;
  background: linear-gradient(120deg, #e5b55a, #d4a043);
  box-shadow: 0 8px 18px rgba(212, 160, 67, 0.35);
}

.btn-muted {
  color: #1e1b2e;
  background: #e3dfec;
}

main {
  padding-bottom: 4.2rem;
}

.hero {
  padding: 3.8rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.82rem;
  border-radius: 999px;
  background: rgba(76, 61, 153, 0.14);
  color: #3d2d6b;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.12;
  color: #1e1b2e;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.1rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.hero-sub {
  font-size: clamp(1.03rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 61ch;
  margin-top: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(61, 45, 107, 0.85), rgba(45, 38, 84, 0.78)),
    linear-gradient(140deg, #b8a8e0, #e8e5f0 45%, #9b8bc4);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(45, 38, 84, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 0.9rem 1rem;
  min-width: 170px;
}

.hero-panel strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-panel span {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.hero-panel.top {
  top: 11%;
  left: 6%;
}

.hero-panel.mid {
  top: 47%;
  right: 9%;
}

.hero-panel.bottom {
  bottom: 11%;
  left: 12%;
}

.stats-row {
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(45, 38, 84, 0.15);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 0.35rem 0.2rem;
}

.stat-value {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  color: var(--accent-primary);
}

.stat-label {
  color: var(--text-muted);
  font-weight: 600;
}

.section {
  padding: 2rem 0;
}

.section-head {
  max-width: 78ch;
  margin-bottom: 1.2rem;
}

.section-copy {
  color: var(--text-muted);
  font-size: 1.08rem;
}

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

.checker-card {
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(45, 38, 84, 0.1);
  box-shadow: var(--shadow-card);
}

.checker-grid .checker-card:nth-child(odd) {
  background: #faf9fc;
}

.checker-grid .checker-card:nth-child(even) {
  background: #edeaf2;
}

.checker-grid.tight {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checker-card h3,
.checker-card h4 {
  margin-bottom: 0.6rem;
}

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

.overview-card {
  border-radius: 18px;
  border: 1px solid rgba(45, 38, 84, 0.12);
  padding: 1rem;
  background: #faf9fc;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.8rem;
}

.game-overview-grid .overview-card:nth-child(even) {
  background: #edeaf2;
}

.overview-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(76, 61, 153, 0.14);
  color: #3d2d6b;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  font-size: 0.87rem;
}

.overview-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.overview-meta li {
  padding: 0.5rem 0.62rem;
  border-radius: 10px;
  background: rgba(76, 61, 153, 0.08);
  color: #2d2a44;
  font-weight: 600;
}

.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-nav-actions {
  margin-top: 1rem;
}

.card-note {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 38, 84, 0.1);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 1.1rem;
}

.panel.alt {
  background: #f0edf5;
}

.info-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.info-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(76, 61, 153, 0.08);
}

.info-list strong {
  font-weight: 700;
  color: #3d2d6b;
}

.page-hero {
  padding: 2.45rem 0 1.2rem;
}

.page-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.page-lead {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 80ch;
}

.notice-band {
  margin-top: 1.15rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(212, 160, 67, 0.2);
  border: 1px solid rgba(184, 132, 42, 0.35);
  color: #4a3610;
  font-weight: 700;
}

.game-shell {
  margin-top: 1rem;
  border-radius: 24px;
  border: 2px solid rgba(45, 38, 84, 0.15);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.game-head {
  background: linear-gradient(120deg, #4c3d99, #3d2d6b);
  color: #f0eef8;
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.metric {
  display: grid;
  gap: 0.2rem;
}

.metric span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  opacity: 0.85;
}

.metric strong {
  font-size: 1.55rem;
  font-family: "Fraunces", Georgia, serif;
}

.metric .inline {
  font-size: 1.05rem;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
}

.game-body {
  background: linear-gradient(180deg, #2d2654, #1e1b3a 32%, #252240);
  color: #e8e6f2;
  padding: 1.2rem;
}

.game-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.slot-machine {
  border: 2px solid rgba(212, 160, 67, 0.6);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(30, 27, 58, 0.5);
}

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

.reel {
  display: grid;
  place-items: center;
  min-height: 110px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(76, 61, 153, 0.4), rgba(45, 38, 84, 0.6));
  font-size: clamp(2rem, 4vw, 3rem);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
}

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

.bet-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 0.3rem 0.4rem;
}

.icon-btn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1px solid rgba(248, 245, 252, 0.8);
  background: rgba(255, 255, 255, 0.08);
  color: #f0eef8;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: rgba(212, 160, 67, 0.4);
  outline: none;
}

.bet-value {
  min-width: 52px;
  text-align: center;
  font-size: 1.2rem;
  font-family: "Fraunces", Georgia, serif;
}

.game-message {
  margin-top: 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(76, 61, 153, 0.25);
  border: 1px solid rgba(149, 135, 200, 0.4);
  color: #e8e6f2;
  font-weight: 600;
}

.game-message.warn {
  background: rgba(184, 61, 61, 0.25);
  border-color: rgba(230, 140, 140, 0.5);
  color: #f5e0e0;
}

.game-message.win {
  background: rgba(45, 125, 74, 0.3);
  border-color: rgba(120, 200, 140, 0.5);
  color: #e0f5e5;
}

.paytable {
  margin-top: 1rem;
  border-radius: 14px;
  background: rgba(45, 38, 84, 0.9);
  padding: 0.8rem;
}

.paytable h3 {
  color: #f0e6c8;
  margin-bottom: 0.6rem;
}

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

.pay-row {
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #e8e6f2;
}

.game-caption {
  margin-top: 0.85rem;
  padding: 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #d4d0e8;
}

.wheel-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.wheel-box {
  display: grid;
  place-items: center;
  padding: 1rem 0.5rem 0.7rem;
  position: relative;
  overflow: hidden;
}

.wheel-pointer {
  position: absolute;
  top: 0.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid #e5b55a;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.2));
  z-index: 3;
}

.wheel {
  width: min(350px, calc(100vw - 5.6rem));
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 8px solid rgba(212, 160, 67, 0.9);
  box-shadow: 0 0 0 6px rgba(45, 38, 84, 0.4), 0 15px 28px rgba(0, 0, 0, 0.3);
  background: conic-gradient(
    #e5b55a 0 45deg,
    #5a4aa8 45deg 90deg,
    #6b8ed4 90deg 135deg,
    #d36378 135deg 180deg,
    #9b7ed8 180deg 225deg,
    #5a4aa8 225deg 270deg,
    #e8c97a 270deg 315deg,
    #4a7aa8 315deg 360deg
  );
  position: relative;
  transition: transform 3.6s cubic-bezier(0.17, 0.67, 0.2, 1);
}

.wheel-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.wheel-center::before {
  content: "Spin";
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(45, 38, 84, 0.9);
  border: 3px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wheel-label {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  font-size: 0.96rem;
  white-space: nowrap;
  z-index: 2;
}

.wheel-side {
  background: rgba(45, 38, 84, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  padding: 1rem;
}

.wheel-side h3 {
  color: #f0e6c8;
}

#wheel-spin {
  width: 100%;
  margin-top: 0.55rem;
}

.wheel-rewards {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.wheel-rewards li {
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #e8e6f2;
}

.table-board {
  border-radius: 20px;
  border: 8px solid rgba(76, 52, 45, 0.75);
  background: radial-gradient(circle at 40% 30%, rgba(45, 125, 74, 0.9), rgba(30, 95, 55, 0.92));
  padding: 1rem;
}

.hands {
  display: grid;
  gap: 0.8rem;
}

.hand-zone {
  border-radius: 14px;
  border: 1px dashed rgba(211, 233, 214, 0.3);
  min-height: 130px;
  padding: 0.8rem;
}

.hand-title {
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e0f5e5;
}

.hand-cards {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.play-card {
  width: 56px;
  height: 80px;
  border-radius: 10px;
  background: #faf9fc;
  border: 2px solid #e3dfec;
  color: #1e1b2e;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.18);
}

.play-card.red {
  color: #b83d3d;
}

.play-card.hidden {
  background: repeating-linear-gradient(
    135deg,
    #4c3d99,
    #4c3d99 6px,
    #3d2d6b 6px,
    #3d2d6b 12px
  );
  border-color: #7a6bb8;
  color: transparent;
}

.value-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(30, 75, 45, 0.7);
  color: #e8f5ec;
  font-weight: 700;
}

.hand-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.3rem;
}

.action-row {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-action {
  min-width: 118px;
}

.btn-hit {
  background: #2d7d4a;
  color: #edf7ed;
}

.btn-stand {
  background: #8b4545;
  color: #f5e8e8;
}

.btn-new {
  background: #4c3d99;
  color: #f0eef8;
}

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

.achievement-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 38, 84, 0.12);
  padding: 1rem;
  background: #faf9fc;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.achievement-card:nth-child(even) {
  background: #edeaf2;
}

.achievement-card.unlocked {
  border-color: rgba(45, 125, 74, 0.5);
}

.achievement-card.unlocked::after {
  content: "Unlocked";
  position: absolute;
  right: -40px;
  top: 16px;
  transform: rotate(38deg);
  background: var(--success);
  color: #fff;
  font-size: 0.74rem;
  padding: 0.22rem 2.4rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.achievement-points {
  color: #4c3d99;
  font-weight: 700;
  margin-top: 0.45rem;
}

.progress-line {
  margin-top: 0.7rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(45, 38, 84, 0.12);
  overflow: hidden;
}

.progress-value {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4c3d99, #6b5bb8);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(45, 38, 84, 0.12);
  border-radius: 12px;
  background: #faf9fc;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: #1e1b2e;
  cursor: pointer;
}

.faq-btn span {
  flex: 1;
}

.faq-btn strong {
  color: var(--accent-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding-inline: 1rem;
  color: var(--text-muted);
}

.faq-item.open .faq-content {
  max-height: 220px;
  padding-bottom: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.form-panel,
.contact-panel {
  border-radius: 18px;
  border: 1px solid rgba(45, 38, 84, 0.12);
  background: #faf9fc;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.contact-panel {
  background: #edeaf2;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

.form-group {
  display: grid;
  gap: 0.33rem;
}

.form-group label {
  font-weight: 700;
  color: #1e1b2e;
}

.form-group.check-inline label {
  display: flex;
  align-items: flex-start;
  gap: 0.56rem;
  line-height: 1.35;
  font-weight: 600;
}

.form-group.check-inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0.14rem 0 0;
  accent-color: var(--accent-primary);
  flex: 0 0 auto;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid rgba(45, 38, 84, 0.2);
  background: #fff;
  border-radius: 10px;
  padding: 0.62rem 0.68rem;
  font: inherit;
  color: #1e1b2e;
}

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

.form-help {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.form-status {
  border-radius: 10px;
  padding: 0.58rem 0.68rem;
  font-weight: 700;
  display: none;
}

.form-status.error {
  display: block;
  background: rgba(171, 62, 62, 0.15);
  border: 1px solid rgba(171, 62, 62, 0.4);
  color: #7d2222;
}

.form-status.success {
  display: block;
  background: rgba(47, 143, 72, 0.17);
  border: 1px solid rgba(47, 143, 72, 0.45);
  color: #1f5f2d;
}

.legal-wrap {
  display: grid;
  gap: 0.75rem;
}

.legal-section {
  border: 1px solid rgba(45, 38, 84, 0.12);
  border-radius: 14px;
  background: #faf9fc;
  padding: 1rem;
}

.legal-section:nth-child(even) {
  background: #edeaf2;
}

.legal-section h3 {
  margin-bottom: 0.55rem;
}

.legal-section p,
.legal-section li {
  color: #2d2a44;
}

.legal-section ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  border-radius: 14px;
  background: #faf9fc;
  border: 1px solid rgba(45, 38, 84, 0.12);
  padding: 0.95rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
}

.timeline-item:nth-child(even) {
  background: #edeaf2;
}

.timeline-year {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: #4c3d99;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(149, 135, 200, 0.25);
  background:
    radial-gradient(circle at 12% 15%, rgba(76, 61, 153, 0.25), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(212, 160, 67, 0.18), transparent 38%),
    linear-gradient(135deg, #1e1b3a, #2d2654 52%, #252240);
  color: #e8e6f2;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(76, 61, 153, 0.2);
  filter: blur(2px);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  padding: 1.9rem 0 1.15rem;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr ;
  gap: 1rem;
}

.footer-brand-block h3 {
  color: #f5f3fc;
  margin-bottom: 0.55rem;
}

.footer-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.footer-brand-block p {
  margin: 0 0 0.55rem;
  color: #d4d0e8;
}

.footer-email-line a {
  color: #f0d89e;
  font-weight: 700;
}

.footer-tags {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer-tags span {
  border-radius: 999px;
  padding: 0.3rem 0.58rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.84rem;
  font-weight: 700;
  color: #e8e6f2;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.footer-links h4 {
  margin: 0 0 0.4rem;
  color: #f5f3fc;
  font-size: 1.02rem;
}

.footer-links a {
  color: #d4d0e8;
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #f0d89e;
  text-decoration: underline;
  outline: none;
}

.footer-note {
  position: relative;
  padding: 0.9rem 0 1.3rem;
  color: #c9c5dc;
  font-size: 0.95rem;
  border-top: 1px solid rgba(212, 208, 232, 0.25);
}

.reveal {
  animation: riseIn 0.65s ease both;
}

.reveal.delay-1 {
  animation-delay: 0.08s;
}

.reveal.delay-2 {
  animation-delay: 0.16s;
}

.reveal.delay-3 {
  animation-delay: 0.24s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.age-gate,
.cookie-bar {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.age-gate.show {
  display: grid;
  place-items: center;
  background: rgba(30, 27, 58, 0.8);
  padding: 1rem;
}

.age-panel {
  width: min(540px, 100%);
  border-radius: 20px;
  background: #faf9fc;
  border: 1px solid rgba(45, 38, 84, 0.18);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
  padding: 1.2rem;
}

.age-panel p {
  color: #2d2a44;
}

.age-actions {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.cookie-bar {
  inset: auto 0 0;
  display: none;
  background: rgba(30, 27, 58, 0.95);
  color: #e8e6f2;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-bar.show {
  display: block;
}
.overview-card p {
  margin: 0
}

.cookie-inner {
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  max-width: 72ch;
}

.cookie-bar a {
  color: #f0d89e;
  text-decoration: underline;
}

.cookie-bar a:hover,
.cookie-bar a:focus-visible {
  color: #fff;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid,
  .split-layout,
  .wheel-wrap {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-age-banner .container {
    min-height: 44px;
    padding: 0.25rem 0;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .main-nav {
    display: none;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .footer-logo {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .checker-grid,
  .game-overview-grid,
  .checker-grid.tight,
  .achievement-grid,
  .paytable-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric strong {
    font-size: 1.25rem;
  }

  .game-body {
    padding: 0.9rem;
  }

  .wheel-box {
    padding: 0.75rem 0.1rem 0.35rem;
  }

  .wheel {
    width: min(300px, calc(100vw - 4.9rem));
    border-width: 6px;
    box-shadow: 0 0 0 4px rgba(10, 27, 55, 0.5), 0 12px 24px rgba(0, 0, 0, 0.3);
  }

  .wheel-center::before {
    width: 76px;
    height: 76px;
  }

  .wheel-label {
    font-size: 0.84rem;
  }

  .table-board {
    padding: 0.8rem;
  }
}
