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

:root {
  --bg-ivory: #eef2f1;
  --bg-sea: #dce6e3;
  --bg-deep: #12343b;
  --bg-night: #1a2334;
  --surface: #ffffff;
  --surface-soft: #f6faf8;
  --line: #c8d8d4;
  --text-primary: #1f2c3f;
  --text-muted: #54647f;
  --accent-teal: #0d6c69;
  --accent-gold: #c58f39;
  --accent-coral: #f07f5e;
  --success: #2f8f48;
  --danger: #ab3e3e;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-soft: 0 18px 40px rgba(14, 42, 53, 0.14);
  --shadow-card: 0 12px 24px rgba(18, 52, 59, 0.12);
}

* {
  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;
}

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, #0b2b3e, #15405f);
  color: #e7f2ff;
  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(238, 242, 241, 0.84);
  border-bottom: 1px solid rgba(18, 52, 59, 0.08);
}

.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: url(../img/background.jpg);
  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(13, 108, 105, 0.16);
  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, #0f7f7a, #0b5956);
  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(13, 108, 105, 0.11);
  outline: none;
}

.nav-link.active {
  background: rgba(13, 108, 105, 0.14);
  color: #094f4d;
}

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

.age-badge {
  border: 1px solid rgba(18, 52, 59, 0.3);
  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, #0d6c69, #11837f);
  box-shadow: 0 10px 20px rgba(13, 108, 105, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 24px rgba(13, 108, 105, 0.35);
}

.btn-ghost {
  color: var(--text-primary);
  border: 2px solid rgba(13, 108, 105, 0.5);
  background: rgba(255, 255, 255, 0.65);
}

.btn-accent {
  color: #1f2838;
  background: linear-gradient(120deg, #f4b165, #e48953);
  box-shadow: 0 8px 18px rgba(233, 136, 84, 0.32);
}

.btn-muted {
  color: #1f2a3f;
  background: #dfe7e5;
}

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(13, 108, 105, 0.12);
  color: #0a5f5c;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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(21, 70, 86, 0.9), rgba(17, 46, 87, 0.72)),
    linear-gradient(140deg, #aad2ff, #d7efea 45%, #8ab48f);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(27, 63, 69, 0.14);
  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(18, 52, 59, 0.2);
  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-teal);
}

.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(18, 52, 59, 0.12);
  box-shadow: var(--shadow-card);
}

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

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

.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(18, 52, 59, 0.16);
  padding: 1rem;
  background: #f8fbfa;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.8rem;
}

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

.overview-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(13, 108, 105, 0.15);
  color: #0a5e5b;
  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(13, 108, 105, 0.09);
  color: #2b4660;
  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(18, 52, 59, 0.13);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 1.1rem;
}

.panel.alt {
  background: #eef6f4;
}

.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(13, 108, 105, 0.08);
}

.info-list strong {
  font-weight: 700;
  color: #0c5552;
}

.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(197, 143, 57, 0.17);
  border: 1px solid rgba(166, 116, 39, 0.32);
  color: #644213;
  font-weight: 700;
}

.game-shell {
  margin-top: 1rem;
  border-radius: 24px;
  border: 2px solid rgba(18, 52, 59, 0.18);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.game-head {
  background: linear-gradient(120deg, #0b635f, #104e74);
  color: #ecf5f5;
  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, #1a2538, #1b2e4b 32%, #1a2540);
  color: #eaf0f3;
  padding: 1.2rem;
}

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

.slot-machine {
  border: 2px solid rgba(197, 143, 57, 0.75);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(7, 14, 32, 0.45);
}

.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(55, 66, 98, 0.58), rgba(12, 28, 59, 0.7));
  font-size: clamp(2rem, 4vw, 3rem);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.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, 232, 203, 0.8);
  background: rgba(0, 0, 0, 0.1);
  color: #f8e8cb;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: rgba(197, 143, 57, 0.35);
  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(11, 99, 95, 0.2);
  border: 1px solid rgba(85, 180, 165, 0.35);
  font-weight: 600;
}

.game-message.warn {
  background: rgba(171, 62, 62, 0.2);
  border-color: rgba(241, 127, 127, 0.45);
}

.game-message.win {
  background: rgba(47, 143, 72, 0.26);
  border-color: rgba(124, 214, 146, 0.45);
}

.paytable {
  margin-top: 1rem;
  border-radius: 14px;
  background: rgba(29, 40, 67, 0.95);
  padding: 0.8rem;
}

.paytable h3 {
  color: #f4d9b6;
  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.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

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

.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 #f4c36d;
  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(244, 195, 109, 0.92);
  box-shadow: 0 0 0 6px rgba(10, 27, 55, 0.5), 0 15px 28px rgba(0, 0, 0, 0.3);
  background: conic-gradient(
    #f3a85d 0 45deg,
    #0f6e68 45deg 90deg,
    #4e8dd4 90deg 135deg,
    #d35f74 135deg 180deg,
    #9471d8 180deg 225deg,
    #0f6e68 225deg 270deg,
    #eec36d 270deg 315deg,
    #2a7999 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(10, 22, 45, 0.85);
  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(10, 19, 39, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem;
}

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

#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;
}

.table-board {
  border-radius: 20px;
  border: 8px solid rgba(93, 57, 49, 0.74);
  background: radial-gradient(circle at 40% 30%, rgba(31, 122, 72, 0.88), rgba(15, 80, 39, 0.9));
  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: #d9f0da;
}

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

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

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

.play-card.hidden {
  background: repeating-linear-gradient(
    135deg,
    #155f6c,
    #155f6c 6px,
    #124456 6px,
    #124456 12px
  );
  border-color: #53a5a9;
  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(7, 55, 30, 0.56);
  color: #ecf8e7;
  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: #337a3f;
  color: #edf7ed;
}

.btn-stand {
  background: #884645;
  color: #f2ecec;
}

.btn-new {
  background: #135f67;
  color: #eef5f4;
}

.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(18, 52, 59, 0.14);
  padding: 1rem;
  background: #f9fbfa;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

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

.achievement-card.unlocked {
  border-color: rgba(47, 143, 72, 0.45);
}

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

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

.progress-line {
  margin-top: 0.7rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(18, 52, 59, 0.13);
  overflow: hidden;
}

.progress-value {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0d6c69, #17a197);
}

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

.faq-item {
  border: 1px solid rgba(18, 52, 59, 0.15);
  border-radius: 12px;
  background: #f7fbfa;
  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: #20314b;
  cursor: pointer;
}

.faq-btn span {
  flex: 1;
}

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

.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(18, 52, 59, 0.15);
  background: #f9fbfa;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.contact-panel {
  background: #e9f2ef;
}

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

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

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

.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-teal);
  flex: 0 0 auto;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid rgba(18, 52, 59, 0.2);
  background: #fff;
  border-radius: 10px;
  padding: 0.62rem 0.68rem;
  font: inherit;
  color: #23344a;
}

.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(18, 52, 59, 0.14);
  border-radius: 14px;
  background: #f8fbfa;
  padding: 1rem;
}

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

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

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

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

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

.timeline-item {
  border-radius: 14px;
  background: #f8fbfa;
  border: 1px solid rgba(18, 52, 59, 0.14);
  padding: 0.95rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
}

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

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

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(124, 171, 191, 0.22);
  background:
    radial-gradient(circle at 12% 15%, rgba(59, 161, 146, 0.18), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(197, 143, 57, 0.2), transparent 38%),
    linear-gradient(135deg, #081827, #0d2035 52%, #112843);
  color: #e6f0fb;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(13, 108, 105, 0.16);
  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 1fr;
  gap: 1rem;
}

.footer-brand-block h3 {
  color: #f2f8ff;
  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: #c9d8ea;
}

.footer-email-line a {
  color: #ffd193;
  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.14);
  font-size: 0.84rem;
  font-weight: 700;
  color: #ecf6ff;
}

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

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

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

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

.footer-note {
  position: relative;
  padding: 0.9rem 0 1.3rem;
  color: #c7d5e7;
  font-size: 0.95rem;
  border-top: 1px solid rgba(197, 221, 240, 0.22);
}

.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(17, 29, 45, 0.75);
  padding: 1rem;
}

.age-panel {
  width: min(540px, 100%);
  border-radius: 20px;
  background: #f7fbfa;
  border: 1px solid rgba(18, 52, 59, 0.2);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
  padding: 1.2rem;
}

.age-panel p {
  color: #334963;
}

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

.cookie-bar {
  inset: auto 0 0;
  display: none;
  background: rgba(15, 36, 54, 0.93);
  color: #e8f0f5;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.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-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;
  }
}
