:root {
  --bg: #f4ece2;
  --surface: #fdf9f3;
  --surface-soft: #f2e6d8;
  --ink: #1f2431;
  --ink-soft: #515a6a;
  --accent: #112e4a;
  --accent-2: #254f75;
  --brown: #5e3f2a;
  --line: #d6c8b9;
  --ok: #2d5b41;
  --warn: #8a5d2a;
  --radius-xl: 18px;
  --radius-l: 14px;
  --radius-m: 10px;
  --shadow: 0 18px 30px rgba(20, 30, 43, 0.08);
  --max: 1220px;
  --parallax-shift: 0px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 79, 117, 0.12), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(94, 63, 42, 0.24), transparent 35%),
    linear-gradient(180deg, #f7efe4 0%, #efe1d1 100%);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  margin: 0 0 10px;
  line-height: 1.2;
}

p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-shell,
.inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 20px;
}

main {
  position: relative;
  isolation: isolate;
  padding: 18px 0 30px;
  overflow: hidden;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center calc(50% + (var(--parallax-shift) * 0.18));
  filter: brightness(0.34) saturate(0.86);
  z-index: -2;
  will-change: background-position;
}

main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(32, 64, 96, 0.34), transparent 42%),
    radial-gradient(circle at 82% 76%, rgba(94, 63, 42, 0.4), transparent 45%),
    linear-gradient(160deg, rgba(16, 30, 48, 0.56), rgba(66, 43, 30, 0.52));
  z-index: -1;
  background-size: auto, auto, auto;
  background-position: center, center, center;
  will-change: background-position;
}

main > * {
  position: relative;
  z-index: 1;
}

main section {
  margin: 72px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-shadow {
  box-shadow: 0 8px 30px rgba(17, 35, 63, 0.12);
}

.site-header .inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid #b8c5d9;
  background: #fff;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text strong {
  font-size: 1rem;
  color: var(--accent);
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--accent);
  color: #fff;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  min-width: 132px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 18px rgba(31, 53, 97, 0.25);
}

.btn-outline {
  background: #f5f0e8;
  color: var(--ink);
  border-color: #d8cec0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #405a7d;
  font-weight: 800;
}

.hero-centered {
  position: relative;
  margin-top: 0;
  padding: 130px 0 110px;
  overflow: hidden;
  text-align: center;
}

.hero-centered::before {
  display: none;
}

.hero-centered::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 12px;
}

.hero-content p {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions .btn {
  min-width: 198px;
}

.hero-lines {
  display: none;
}

.hero-lines span {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  animation: drift 7s linear infinite;
}

.hero-lines span:nth-child(1) { left: 18%; animation-delay: 0s; }
.hero-lines span:nth-child(2) { left: 34%; animation-delay: 1.6s; }
.hero-lines span:nth-child(3) { left: 52%; animation-delay: 0.8s; }
.hero-lines span:nth-child(4) { left: 71%; animation-delay: 2.2s; }
.hero-lines span:nth-child(5) { left: 88%; animation-delay: 1.1s; }

.game-hero-lab {
  margin-top: 0;
}

.game-hero-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
  padding-top: 30px;
}

.game-hero-main,
.game-hero-aside {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(14, 31, 48, 0.72), rgba(71, 45, 30, 0.62));
  color: #fff;
  padding: 26px;
  box-shadow: 0 18px 34px rgba(12, 22, 35, 0.2);
}

.game-hero-main h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.game-hero-main p {
  color: rgba(255, 255, 255, 0.93);
}

.game-hero-main .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.game-hero-aside h3 {
  margin-bottom: 10px;
}

.game-hero-aside ul {
  display: grid;
  gap: 10px;
}

.game-hero-aside li {
  border-left: 3px solid #d2ad7f;
  padding-left: 10px;
  color: rgba(255, 255, 255, 0.93);
}

.game-hero-contract .game-hero-main {
  background: linear-gradient(156deg, rgba(13, 35, 56, 0.74), rgba(77, 47, 30, 0.62));
}

.game-hero-reel .game-hero-main {
  background: linear-gradient(156deg, rgba(16, 33, 52, 0.72), rgba(83, 52, 33, 0.62));
}

.game-hero-memory .game-hero-main {
  background: linear-gradient(156deg, rgba(14, 32, 50, 0.72), rgba(88, 56, 36, 0.62));
}

.section-head {
  text-align: center;
  margin-bottom: 22px;
}

.section-head .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.section-head h1,
.section-head h2 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(12, 23, 36, 0.36);
}

.section-head p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(12, 23, 36, 0.3);
}

.card-body p,
.section-surface p,
.panel p,
.review p,
.faq-content p {
  line-height: 1.72;
}

.grid-2,
.grid-3,
.game-grid,
.feature-grid,
.footer-grid,
.hud-grid,
.achievement-grid,
.form-grid,
.timeline,
.controls,
.metric-strip,
.table-meta,
.card-row,
.game-intro-grid {
  display: grid;
  gap: 16px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 1.25fr 1fr 1fr 1fr; }
.hud-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.achievement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game-intro-grid { grid-template-columns: 1.15fr 0.85fr; }
.metric-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.table-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-row { grid-template-columns: repeat(7, minmax(0, 1fr)); }

.game-stage,
.spin-shell,
.card-game-shell {
  margin-top: 6px;
}

.metric-strip,
.spin-meta,
.table-meta {
  gap: 12px;
  margin-bottom: 12px;
}

.status-title {
  margin-top: 10px;
  margin-bottom: 14px;
}

.card-table,
.spin-table {
  display: grid;
  gap: 14px;
}

.game-controls {
  margin-top: 12px;
}

.arena-spacer {
  margin-top: 14px;
}

.contract-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 4px;
}

.table-board {
  margin-top: 4px;
}

.hand-zone h3 {
  margin-bottom: 10px;
}

.section-surface,
.card,
.callout,
.review,
.panel,
.timeline-item,
.achievement,
.faq-item,
.hud-item,
.site-card,
.game-stage,
.spin-shell,
.card-game-shell,
.game-brief {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fcfbf8, #f4efe7);
  box-shadow: var(--shadow);
}

.panel{
  padding: 10px;
}

.section-surface,

.game-stage,
.spin-shell,
.card-game-shell,
.game-brief {
  padding: 30px;
}

.table-like .row {
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #dde4ee;
}

.table-like .row:last-child {
  border-bottom: 0;
}

.card {
  overflow: hidden;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin-bottom: 10px;
}

.game-cover {
  height: 250px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(17, 35, 63, 0.36), rgba(63, 47, 38, 0.25));
}

.game-cover.signals { background-image: url("../img/spin.jpg"); }
.game-cover.quiz { background-image: url("../img/duel.jpg"); }
.game-cover.memory { background-image: url("../img/muistipakka.jpg"); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.chip {
  border-radius: 999px;
  border: 1px solid #c7d3e6;
  background: #eef3f2;
  color: #2b4f63;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.compliance-tile {
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  border-radius: 16px;
  background: linear-gradient(165deg, #fffaf2, #f3e7d8);
  border: 1px solid #d6c4ae;
}

.compliance-tile::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 77, 114, 0.2), transparent 72%);
}

.tile-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid #c6b39f;
  background: linear-gradient(155deg, #fef8ee, #efe0cf);
  color: #183a59;
  margin-bottom: 12px;
}

.tile-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.compliance-tile h3 {
  margin-bottom: 8px;
}

.compliance-tile p {
  margin: 0;
}

.controls .btn,
.header-cta .btn {
  min-width: 146px;
}

.feature-grid-compliance {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.feature-grid-compliance .compliance-tile:nth-child(1),
.feature-grid-compliance .compliance-tile:nth-child(4) {
  grid-column: span 6;
}

.feature-grid-compliance .compliance-tile:nth-child(2),
.feature-grid-compliance .compliance-tile:nth-child(3) {
  grid-column: span 3;
}

.page-intro-shell {
  max-width: 960px;
  margin: 0 auto;
}

.page-intro-card {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(16, 35, 56, 0.62), rgba(68, 43, 29, 0.56));
  padding: 30px;
  text-align: center;
}

.page-intro-card p {
  color: rgba(255, 255, 255, 0.93);
  max-width: 760px;
  margin: 0 auto;
}

.page-intro-card .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.page-intro-card h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(11, 20, 31, 0.34);
}

.achievement-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ach-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #ccb9a5;
  background: linear-gradient(155deg, #fef7eb, #efdfcb);
  color: #1b3f5d;
  display: grid;
  place-items: center;
}

.ach-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.achievement-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.note-box {
  border: 1px solid #d8c9b9;
  border-radius: 12px;
  background: #fbf2e8;
  padding: 12px;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.review-stack {
  display: grid;
  gap: 14px;
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rating {
  border-radius: 999px;
  border: 1px solid #c8b5a2;
  background: #f8efe4;
  padding: 4px 10px;
  font-weight: 700;
  color: #294764;
}

.trust-list {
  display: grid;
  gap: 10px;
}

.trust-list li {
  border-left: 3px solid #b08a61;
  padding-left: 10px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
}

.faq-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.faq-chip {
  border-radius: 999px;
  border: 1px solid #cdbba7;
  background: #f8efe5;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.82rem;
  color: #2a4b69;
  width: fit-content;
}

.faq-item {
  padding: 18px 20px;
}

.section-note-top {
  margin-top: 10px;
}

.notice {
  margin-top: 10px;
  font-weight: 700;
  color: var(--ok);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.notice.show { opacity: 1; }

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d5e5;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  background: #fbf6ef;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

textarea { min-height: 120px; }

.form-row {
  display: flex;
  flex-direction: column;
}

.site-footer {
  position: relative;
  z-index: 12;
  isolation: isolate;
  margin-top: 0;
  background: linear-gradient(180deg, #efe0cf, #e4d1be);
  border-top: 2px solid #bfa991;
  box-shadow: 0 -10px 28px rgba(24, 34, 48, 0.16);
  padding: 40px 0 20px;
}

.footer-column li { margin-bottom: 8px; }

.footer-column h3 {
  color: #173654;
}

.footer-note {
  text-align: center;
  font-size: 0.84rem;
  color: #39475a;
  padding-top: 14px;
}

.faq-btn {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.faq-content p { margin: 10px 0 0; }

.cookie-banner {
  position: fixed;
  right: 0px;
  bottom: 0px;
  z-index: 90;
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(17, 35, 63, 0.7);
  display: grid;
  place-items: center;
  padding: 20px;
}

.age-panel {
  max-width: 520px;
  background: #fff;
  border: 1px solid #c8d4e4;
  border-radius: 16px;
  padding: 24px;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.float {
  animation: bob 5.5s ease-in-out infinite;
}

/* game shared */
.status-title,
.match-log,
.win-log,
.log-panel {
  border: 1px solid #cfbfad;
  border-radius: 12px;
  background: #f7efe5;
  padding: 14px;
  color: #473a2f;
}

.metric-item,
.hud-item,
.spin-meta .item,
.table-meta .item {
  border: 1px solid #d8cbbb;
  border-radius: 12px;
  background: #faf4eb;
  padding: 12px;
}

.metric-item span,
.hud-item span,
.spin-meta .item span,
.table-meta .item span {
  display: block;
  font-size: 0.75rem;
  color: #5f6b77;
}

.metric-item strong,
.hud-item strong,
.spin-meta .item strong,
.table-meta .item strong {
  font-size: 1.05rem;
}

.game-media-card {
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid #c6d3e5;
}

.game-media-card .cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.game-media-card .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(17, 35, 63, 0.72), rgba(63, 47, 38, 0.52));
}

.game-media-card .text {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 24px;
  max-width: 80%;
}

.game-media-card.signals .cover { background-image: url("../img/spin.jpg"); }
.game-media-card.verdict .cover { background-image: url("../img/duel.jpg"); }
.game-media-card.orbit .cover { background-image: url("../img/muistipakka.jpg"); }

.spin-meta {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.reel-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.reel {
  display: grid;
  gap: 8px;
}

.reel-cell {
  border: 1px solid #d5c8b7;
  border-radius: 10px;
  padding: 10px;
  background: #fff8ef;
  text-align: center;
}

.reel-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
  color: #314861;
}

.reel-glyph,
.reel-glyph svg {
  width: 100%;
  height: 100%;
  display: block;
}

.reel-label {
  font-size: 0.76rem;
  color: #5a6772;
}

.reel.spinning {
  animation: quickPulse 0.22s ease;
}

.bet-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.bet-btn,
.contract-btn {
  border: 1px solid #bfccdf;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.bet-btn.active,
.contract-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pay-table {
  margin-top: 12px;
  border: 1px solid #cfdaea;
  border-radius: 12px;
  padding: 12px;
  background: #f5f2eb;
}

.pay-row {
  padding: 7px 0;
  border-bottom: 1px solid #dfE7f2;
}

.pay-row:last-child { border-bottom: 0; }

.orbit-arena {
  border: 1px solid #d2c4b3;
  border-radius: 14px;
  padding: 14px;
  background: #f7eee3;
}

.orbit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}

.orbit-node {
  border: 1px solid #d5c8b8;
  background: #fff8f0;
  border-radius: 10px;
  min-height: 80px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  font-weight: 800;
  color: #213d5b;
  cursor: pointer;
}

.orbit-node.revealed {
  background: #e8eff8;
}

.orbit-node.locked {
  background: #dfe9f5;
  opacity: 0.72;
}

.orbit-icon {
  width: 30px;
  height: 30px;
}

.orbit-label {
  font-size: 0.62rem;
  color: #446183;
}

.progress-bar {
  height: 12px;
  background: #dbe5f2;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar .fill {
  height: 100%;
  width: 0;
  background: linear-gradient(120deg, #0f3a55, #1f6a78);
}

.table-board {
  margin-top: 10px;
  display: grid;
  gap: 14px;
}

.trick-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trick-slot {
  border: 1px dashed #b9ab98;
  border-radius: 12px;
  min-height: 134px;
  display: grid;
  place-items: center;
  background: #f5ebde;
}

.slot-label {
  color: #5b7391;
  font-size: 0.82rem;
}

.playing-card {
  border: 1px solid #c8b8a6;
  background: #fffdf9;
  border-radius: 10px;
  min-height: 118px;
  padding: 10px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  cursor: pointer;
  font-family: "Fraunces", Georgia, serif;
}

.playing-card.playable {
  box-shadow: 0 10px 20px rgba(34, 59, 97, 0.18);
}

.playing-card.back {
  place-items: center;
  font-size: 0.72rem;
  color: #5a4b3b;
  background: #f2ece2;
}

.card-rank,
.card-center,
.card-suit {
  color: #1b3e57;
}

.card-rank.red,
.card-center.red,
.card-suit.red {
  color: #8a4b38;
}

.card-center {
  display: grid;
  place-items: center;
  height: 34px;
}

.card-suit {
  text-align: right;
  height: 18px;
}

.card-center svg,
.card-suit svg {
  width: 16px;
  height: 16px;
}

/* Game hero spotlight */
.hero-spotlight {
  position: relative;
  margin-top: 0;
  overflow: hidden;
  border-bottom: 1px solid #cdbdaa;
}

.hero-parallax-layer {
  position: absolute;
  inset: -4% 0;
  background: url("../img/background.jpg") center / cover no-repeat fixed;
  transform: scale(1.08);
  filter: saturate(0.92) brightness(0.45);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(37, 79, 117, 0.38), transparent 40%),
    radial-gradient(circle at 78% 74%, rgba(94, 63, 42, 0.48), transparent 42%),
    linear-gradient(140deg, rgba(16, 35, 56, 0.78), rgba(64, 41, 28, 0.72));
}

.spotlight-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  padding-top: 106px;
  padding-bottom: 88px;
}

.spotlight-content,
.spotlight-panel {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(18, 31, 48, 0.76), rgba(73, 49, 35, 0.62));
  backdrop-filter: blur(3px);
  padding: 28px;
}

.spotlight-content h1 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  margin-bottom: 12px;
}

.spotlight-content p {
  color: rgba(255, 255, 255, 0.94);
}

.spotlight-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.spotlight-points li {
  border-left: 3px solid #dfba8a;
  padding-left: 12px;
  color: rgba(255, 255, 255, 0.94);
}

.spotlight-panel h3 {
  margin-bottom: 14px;
}

.hero-kpi-grid {
  display: grid;
  gap: 10px;
}

.hero-kpi-grid div {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-kpi-grid span {
  display: block;
  font-size: 0.77rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.hero-kpi-grid strong {
  font-size: 1.04rem;
}

.contract-spotlight .hero-glow {
  background:
    radial-gradient(circle at 18% 26%, rgba(46, 108, 150, 0.42), transparent 40%),
    radial-gradient(circle at 82% 74%, rgba(88, 52, 31, 0.54), transparent 42%),
    linear-gradient(142deg, rgba(12, 30, 48, 0.8), rgba(72, 46, 29, 0.74));
}

.spin-spotlight .hero-glow {
  background:
    radial-gradient(circle at 24% 24%, rgba(37, 79, 117, 0.45), transparent 39%),
    radial-gradient(circle at 80% 76%, rgba(103, 66, 39, 0.52), transparent 43%),
    linear-gradient(146deg, rgba(15, 31, 50, 0.8), rgba(77, 48, 30, 0.72));
}

.memory-spotlight .hero-glow {
  background:
    radial-gradient(circle at 20% 20%, rgba(58, 96, 130, 0.44), transparent 40%),
    radial-gradient(circle at 84% 78%, rgba(111, 76, 49, 0.5), transparent 42%),
    linear-gradient(145deg, rgba(14, 31, 49, 0.8), rgba(86, 56, 37, 0.7));
}

.page-contract .card-game-shell {
  max-width: 1160px;
  margin: 0 auto;
}

.page-contract .card-row {
  grid-template-columns: repeat(7, minmax(86px, 1fr));
  gap: 12px;
}

.page-contract .playing-card {
  aspect-ratio: 5 / 7;
  min-height: 0;
  max-width: 114px;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}

.page-contract .card-rank {
  font-size: 1rem;
  font-weight: 700;
}

.page-contract .card-center {
  height: 48px;
}

.page-contract .card-center svg,
.page-contract .card-suit svg {
  width: 20px;
  height: 20px;
}

.site-bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.site-bg-orbs span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 70, 112, 0.13), transparent 70%);
  animation: bob 12s ease-in-out infinite;
}

@keyframes drift {
  0% { transform: translateY(-14%); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(14%); opacity: 0; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes quickPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-lines span,
  .site-bg-orbs span,
  .float,
  .reel.spinning {
    animation: none !important;
    transition: none !important;
  }

  .hero-parallax-layer {
    background-attachment: scroll;
  }

  main::before {
    background-attachment: scroll;
    background-position: center center;
  }

}

@media (max-width: 1080px) {
  .site-header .inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .grid-2,
  .grid-3,
  .game-grid,
  .feature-grid,
  .footer-grid,
  .hud-grid,
  .achievement-grid,
  .metric-strip,
  .table-meta,
  .card-row,
  .reel-board,
  .game-intro-grid,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .spin-meta {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .game-media-card .text {
    max-width: 100%;
  }

  .spotlight-shell {
    grid-template-columns: 1fr;
    padding-top: 92px;
    padding-bottom: 76px;
  }

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

  .feature-grid-compliance {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid-compliance .compliance-tile {
    grid-column: auto !important;
  }

  .achievement-note-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .page-contract .card-row {
    grid-template-columns: repeat(4, minmax(82px, 1fr));
  }

  .page-contract .playing-card {
    max-width: 102px;
  }
}

@media (max-width: 760px) {
  .site-header .inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .logo-wrap {
    gap: 0;
  }

  .logo-text {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-nav.open {
    display: flex;
    justify-content: flex-start;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
    padding-top: 0;
  }

  .nav-toggle {
    display: inline-flex;
    min-width: 0;
    padding: 8px 12px;
  }

  .header-cta {
    justify-content: flex-end;
    gap: 0;
  }

  .header-cta .btn {
    display: none;
  }

  .hero-centered {
    padding: 106px 0 86px;
  }

  .spotlight-shell {
    gap: 14px;
    padding-top: 82px;
    padding-bottom: 62px;
  }

  .game-hero-shell {
    padding-top: 20px;
  }

  .game-hero-main,
  .game-hero-aside {
    padding: 20px;
  }

  .spotlight-content,
  .spotlight-panel {
    padding: 20px;
  }

  .grid-2,
  .grid-3,
  .game-grid,
  .feature-grid,
  .footer-grid,
  .hud-grid,
  .achievement-grid,
  .metric-strip,
  .table-meta,
  .card-row,
  .reel-board,
  .game-intro-grid,
  .form-grid,
  .trick-area,
  .orbit-grid {
    grid-template-columns: 1fr;
  }

  .spin-meta {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn,
  .controls .btn,
  .header-cta .btn {
    width: min(240px, 100%);
    min-width: 0;
  }

  .feature-grid-compliance {
    grid-template-columns: 1fr;
  }

  .achievement-note-grid {
    grid-template-columns: 1fr;
  }

  .page-contract .card-row {
    grid-template-columns: repeat(3, minmax(78px, 1fr));
  }

  .page-contract .playing-card {
    max-width: 96px;
    padding: 8px;
  }
}


