﻿:root {
  --bg-deep: #041b26;
  --bg-mid: #0b2f3d;
  --bg-soft: #13485f;
  --text-main: #f4f8fa;
  --text-muted: #c5d7df;
  --primary: #ffd166;
  --primary-dark: #f4b400;
  --accent: #3dd6c6;
  --accent-dark: #21b3a3;
  --danger: #ff6b6b;
  --card-bg: rgba(7, 32, 44, 0.8);
  --card-border: rgba(180, 235, 255, 0.2);
  --shadow-soft: 0 20px 40px rgba(2, 12, 18, 0.3);
  --shadow-strong: 0 24px 70px rgba(3, 14, 20, 0.45);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Trebuchet MS', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 20%, rgba(61, 214, 198, 0.18), transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(255, 209, 102, 0.2), transparent 35%),
    linear-gradient(150deg, var(--bg-deep) 0%, #082836 45%, var(--bg-mid) 100%);
  line-height: 1.55;
}

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

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(2, 19, 28, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 235, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(192, 240, 255, 0.45);
  box-shadow: 0 0 18px rgba(61, 214, 198, 0.4);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 36, 50, 0.7);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.site-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  transition: all 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text-main);
  background: rgba(61, 214, 198, 0.2);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 4rem 0 3.2rem;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(2, 24, 35, 0.76) 0%, rgba(2, 24, 35, 0.72) 40%, rgba(2, 24, 35, 0.84) 100%),
    url('../../images/background.jpg') center center / cover no-repeat;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  pointer-events: none;
}

.hero::before {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(61, 214, 198, 0.32), transparent 70%);
  top: -120px;
  right: -80px;
  animation: floatPulse 8s ease-in-out infinite;
}

.hero::after {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.28), transparent 65%);
  left: -120px;
  bottom: -140px;
  animation: floatPulse 10s ease-in-out infinite reverse;
}

.hero-panel {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(7, 34, 46, 0.92), rgba(6, 25, 36, 0.86));
  border: 1px solid rgba(180, 235, 255, 0.2);
  box-shadow: var(--shadow-strong);
  animation: riseIn 0.75s ease-out both;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(61, 214, 198, 0.2);
  color: #aef8ef;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.page-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin: 1rem 0 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.1vw, 1.28rem);
  margin: 0 auto;
  max-width: 640px;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-media {
  margin: 1.4rem auto 0.4rem;
  max-width: 720px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(186, 234, 255, 0.32);
  box-shadow: 0 22px 48px rgba(2, 14, 20, 0.46);
}

.hero-media img {
  width: 100%;
  height: clamp(180px, 32vw, 320px);
  object-fit: cover;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.35rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

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

.btn.primary {
  color: #082130;
  background: linear-gradient(130deg, var(--primary) 0%, #ffdb86 100%);
  box-shadow: 0 12px 28px rgba(244, 180, 0, 0.35);
}

.btn.primary:hover {
  background: linear-gradient(130deg, #ffdf8f 0%, #ffd166 100%);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-main);
  background: rgba(8, 33, 48, 0.45);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

main {
  padding-bottom: 3.5rem;
}

.section {
  padding: 2.8rem 0;
}

.section h2 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  margin: 0 0 0.85rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.card li + li {
  margin-top: 0.24rem;
}

.card.glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid transparent;
  background: linear-gradient(130deg, rgba(61, 214, 198, 0.44), rgba(255, 209, 102, 0.2)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.26s ease;
}

.card.glow:hover::after {
  opacity: 1;
}

.tag {
  display: inline-flex;
  background: rgba(61, 214, 198, 0.17);
  color: #adfff4;
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
}

.game-card {
  overflow: hidden;
}

.game-card h3 {
  margin: 0.8rem 0 0.45rem;
  font-size: 1.26rem;
}

.game-preview {
  height: 140px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(61, 214, 198, 0.25), rgba(255, 209, 102, 0.2));
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(189, 235, 255, 0.22);
}

.game-preview::before,
.game-preview::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.game-preview::before {
  width: 160px;
  height: 160px;
  background: rgba(61, 214, 198, 0.24);
  top: -35px;
  right: -25px;
}

.game-preview::after {
  width: 120px;
  height: 120px;
  background: rgba(255, 209, 102, 0.24);
  bottom: -28px;
  left: -26px;
}

.preview-reel,
.preview-card,
.preview-wheel {
  background-size: cover;
  background-position: center;
}

.preview-reel {
  background-image:
    linear-gradient(145deg, rgba(5, 30, 42, 0.38), rgba(5, 30, 42, 0.45)),
    url('../../images/aurora-reel-rush.jpg');
}

.preview-card {
  background-image:
    linear-gradient(145deg, rgba(5, 30, 42, 0.38), rgba(5, 30, 42, 0.45)),
    url('../../images/kiwi-card-duel.jpg');
}

.preview-wheel {
  background-image:
    linear-gradient(145deg, rgba(5, 30, 42, 0.38), rgba(5, 30, 42, 0.45)),
    url('../../images/ocean-wheel.jpg');
}

.preview-reel::before,
.preview-reel::after,
.preview-card::before,
.preview-card::after,
.preview-wheel::before,
.preview-wheel::after {
  opacity: 0;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.inline-list li {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.notice {
  border-left: 3px solid var(--primary);
  background: rgba(255, 209, 102, 0.12);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  color: #ffedc2;
}

.page-hero {
  padding: 3.2rem 0 2rem;
}

.page-hero .page-title {
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 780px;
}

.page-hero-media {
  margin: 1.15rem 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(186, 234, 255, 0.28);
  box-shadow: 0 18px 36px rgba(2, 14, 20, 0.38);
}

.page-hero-media img {
  width: 100%;
  height: clamp(180px, 28vw, 310px);
  object-fit: cover;
}

.timeline {
  display: grid;
  gap: 1rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, rgba(61, 214, 198, 0.5), rgba(255, 209, 102, 0.35));
}

.timeline-item {
  position: relative;
  margin-left: 2.2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.68rem;
  top: 0.45rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(61, 214, 198, 0.17);
}

.faq-item {
  margin-bottom: 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(7, 30, 42, 0.75);
  border: 1px solid rgba(183, 233, 255, 0.2);
}

.faq-item p {
  margin: 0;
  padding: 0.9rem 0.95rem 0.2rem;
  color: var(--text-muted);
}

.review {
  position: relative;
}

.review-cover {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(182, 232, 255, 0.25);
  margin-bottom: 0.8rem;
}

.review .stars {
  color: #ffd166;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-top: 0.8rem;
}

.progress-meter {
  margin-top: 0.85rem;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.progress-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(130deg, var(--accent) 0%, #64e9d9 100%);
}

.table-wrap {
  overflow-x: auto;
}

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

th,
td {
  border-bottom: 1px solid rgba(180, 235, 255, 0.16);
  text-align: left;
  padding: 0.75rem 0.5rem;
}

th {
  color: #d8f4f0;
}

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

.achievement {
  position: relative;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(180, 235, 255, 0.24);
  background: rgba(5, 24, 35, 0.85);
  overflow: hidden;
}

.achievement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(61, 214, 198, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.achievement.unlocked::before {
  opacity: 1;
}

.achievement h3 {
  margin: 0.55rem 0 0.35rem;
}

.badge-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1.2rem;
  background: rgba(61, 214, 198, 0.15);
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.12);
}

.status-pill.on {
  background: rgba(61, 214, 198, 0.24);
  color: #9ff7ec;
}

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

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

input:not([type='checkbox']):not([type='radio']),
select,
textarea {
  width: 100%;
  background: rgba(4, 23, 34, 0.88);
  border: 1px solid rgba(194, 236, 255, 0.22);
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  padding: 0.75rem 0.85rem;
}

input:not([type='checkbox']):not([type='radio']):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(61, 214, 198, 0.75);
  box-shadow: 0 0 0 3px rgba(61, 214, 198, 0.2);
}

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

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

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-row input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.legal-copy p {
  color: var(--text-muted);
}

.legal-copy h3 {
  margin-top: 1.4rem;
}

.game-shell {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  align-items: start;
}

.game-panel {
  border-radius: 22px;
  border: 1px solid rgba(181, 234, 255, 0.24);
  background: linear-gradient(145deg, rgba(7, 33, 46, 0.92), rgba(4, 20, 30, 0.95));
  padding: 1.1rem;
  box-shadow: var(--shadow-strong);
}

.status-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.stat-chip {
  border-radius: 999px;
  border: 1px solid rgba(180, 235, 255, 0.22);
  padding: 0.35rem 0.68rem;
  font-size: 0.84rem;
  color: #cbecf2;
}

.reel-display {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  align-items: stretch;
}

.reel {
  height: 128px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 77, 97, 0.9), rgba(5, 32, 45, 0.95));
  border: 1px solid rgba(161, 225, 247, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 14px 26px rgba(2, 14, 20, 0.3);
  overflow: hidden;
  position: relative;
}

.reel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.32) 0%,
    transparent 16%,
    transparent 84%,
    rgba(0, 0, 0, 0.32) 100%
  );
  pointer-events: none;
  z-index: 3;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  will-change: transform;
}

.symbol-tile {
  height: 128px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}

.symbol-tile::before {
  content: '';
  position: absolute;
  inset: 21px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(147, 226, 255, 0.28), rgba(15, 53, 70, 0.08));
  z-index: -1;
}

.symbol-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(5, 44, 59, 0.82), rgba(4, 27, 39, 0.92));
  border: 1px solid rgba(174, 235, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 0 22px rgba(100, 216, 255, 0.2);
}

.symbol-icon svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 8px rgba(135, 225, 255, 0.5));
  transition: transform 0.25s ease;
}

.reel.spinning {
  animation: reelPulse 0.55s ease-in-out infinite;
}

.reel.spinning .symbol-icon svg {
  animation: symbolFloat 0.6s ease-in-out infinite;
}

.reel.win {
  border-color: rgba(255, 209, 102, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 2px rgba(255, 209, 102, 0.2),
    0 0 34px rgba(255, 209, 102, 0.35);
}

.symbol-icon.vector-wave {
  --v1: #69d7ff;
  --v2: #2bb8ff;
  --vs: #b9f4ff;
}

.symbol-icon.vector-shell {
  --v1: #ffd48f;
  --v2: #ff8aa8;
  --vs: #ffe9b9;
}

.symbol-icon.vector-coral {
  --v1: #ff9f6e;
  --v2: #ff5f7f;
  --vs: #ffd1b5;
}

.symbol-icon.vector-compass {
  --v1: #98c8ff;
  --v2: #ffe17a;
  --vs: #d8ebff;
}

.symbol-icon.vector-fern {
  --v1: #8ef2b4;
  --v2: #49d88b;
  --vs: #c0ffd9;
}

.symbol-icon.vector-pearl {
  --v1: #d2c9ff;
  --v2: #9db4ff;
  --vs: #ece9ff;
}

.symbol-icon .f1 {
  fill: var(--v1, #7ce5ff);
}

.symbol-icon .f2 {
  fill: var(--v2, #ffd166);
}

.symbol-icon .s1 {
  stroke: var(--vs, #aef2ff);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.control-row + .control-row {
  margin-top: 0.7rem;
}

.control-row input[type='range'] {
  max-width: 220px;
}

.result-box {
  margin-top: 0.85rem;
  min-height: 44px;
  border-radius: 12px;
  border: 1px dashed rgba(173, 227, 246, 0.3);
  padding: 0.7rem;
  color: #d4edf2;
}

.blackjack-table {
  margin: 1rem 0;
  display: grid;
  gap: 0.9rem;
}

.hand-row {
  border-radius: 14px;
  border: 1px solid rgba(180, 235, 255, 0.22);
  background: linear-gradient(160deg, rgba(9, 36, 48, 0.92), rgba(6, 26, 36, 0.95));
  padding: 0.78rem;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.hand-row.winner {
  border-color: rgba(61, 214, 198, 0.75);
  box-shadow: 0 0 26px rgba(61, 214, 198, 0.22);
}

.hand-row.busted {
  border-color: rgba(255, 123, 123, 0.7);
}

.hand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.hand-head h3 {
  margin: 0;
}

.hand-total {
  border-radius: 999px;
  border: 1px solid rgba(180, 235, 255, 0.3);
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  color: #d5f0f5;
}

.hand-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 116px;
  perspective: 1100px;
}

.playing-card {
  width: 88px;
  max-width: 88px;
  flex: 0 0 88px;
  min-height: 112px;
  border-radius: 12px;
  border: 1px solid rgba(227, 247, 255, 0.35);
  background: linear-gradient(175deg, rgba(244, 250, 255, 0.98), rgba(205, 235, 251, 0.96));
  color: #032131;
  padding: 0.45rem 0.48rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 22px rgba(2, 13, 20, 0.28);
  transform: none;
  opacity: 1;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.playing-card.is-new {
  transform: rotateY(84deg) translateY(10px) scale(0.92);
  opacity: 0;
  animation: dealIn 0.42s ease forwards;
}

.playing-card.red {
  color: #a3272f;
}

.playing-card.hidden-card {
  background:
    linear-gradient(160deg, rgba(17, 72, 99, 0.95), rgba(9, 43, 60, 0.98)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 8px,
      rgba(255, 255, 255, 0.12) 8px,
      rgba(255, 255, 255, 0.12) 16px
    );
  color: #def6ff;
}

.card-corner {
  display: grid;
  gap: 0.1rem;
  justify-items: start;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1;
}

.card-corner.bottom {
  justify-items: end;
  transform: rotate(180deg);
}

.card-suit {
  width: 17px;
  height: 17px;
  display: block;
}

.card-suit svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.card-center {
  display: grid;
  place-items: center;
  flex: 1;
}

.card-center .card-suit {
  width: 28px;
  height: 28px;
}

.blackjack-actions {
  margin-top: 0.2rem;
}

.blackjack-actions .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.table-note {
  margin-top: 0.65rem;
  color: #b6d9e4;
  font-size: 0.84rem;
}

.placeholder-card {
  min-height: 112px;
  width: 100%;
  flex: 1 0 100%;
  border-radius: 12px;
  border: 1px dashed rgba(180, 235, 255, 0.35);
  display: grid;
  place-items: center;
  color: #9fc6d3;
  background: rgba(5, 24, 34, 0.4);
}

.wheel-wrap {
  display: grid;
  place-items: center;
  margin: 1rem 0 1.2rem;
  position: relative;
}

.wheel {
  width: min(84vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 9px solid rgba(255, 255, 255, 0.26);
  background: conic-gradient(
    #ffd166 0deg 30deg,
    #3dd6c6 30deg 60deg,
    #ff8a5b 60deg 90deg,
    #84c9ff 90deg 120deg,
    #ffc96b 120deg 150deg,
    #18b9aa 150deg 180deg,
    #ff9666 180deg 210deg,
    #a4d8ff 210deg 240deg,
    #ffde83 240deg 270deg,
    #1fcab9 270deg 300deg,
    #ff8058 300deg 330deg,
    #8cd0ff 330deg 360deg
  );
  position: relative;
  transition: transform 4.8s cubic-bezier(0.12, 0.82, 0.06, 1);
  box-shadow: 0 24px 55px rgba(2, 14, 20, 0.45);
  z-index: 1;
}

.wheel::after {
  content: '';
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.38), rgba(7, 38, 54, 0.95));
  border: 2px solid rgba(223, 248, 255, 0.35);
}

.wheel-labels {
  position: absolute;
  width: min(84vw, 390px);
  aspect-ratio: 1;
  pointer-events: none;
  transition: transform 4.8s cubic-bezier(0.12, 0.82, 0.06, 1);
  z-index: 2;
}

.wheel-label {
  position: absolute;
  transform-origin: center;
  font-size: 1.06rem;
  font-weight: 900;
  color: #05212f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55), 0 2px 4px rgba(0, 0, 0, 0.15);
  line-height: 1;
  display: grid;
  place-items: center;
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid #f5f7f9;
  filter: drop-shadow(0 6px 10px rgba(2, 10, 18, 0.42));
  z-index: 4;
}

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

.metric-card {
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(7, 30, 41, 0.8);
  border: 1px solid rgba(181, 234, 255, 0.18);
}

.site-footer {
  border-top: 1px solid rgba(180, 235, 255, 0.15);
  background: rgba(2, 18, 26, 0.9);
  padding: 1.5rem 0 1.9rem;
}

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

.footer-links {
  display: grid;
  gap: 0.38rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

.small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.age-banner {
  margin-top: 0.9rem;
  border-radius: 10px;
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.35);
  padding: 0.55rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.modal-layer {
  position: fixed;
  inset: 0;
  background: rgba(2, 14, 20, 0.82);
  display: grid;
  place-items: center;
  z-index: 90;
  padding: 1rem;
}

.modal {
  width: min(480px, 100%);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(6, 31, 43, 0.98), rgba(4, 18, 27, 0.98));
  border: 1px solid rgba(184, 236, 255, 0.24);
  padding: 1.15rem;
  box-shadow: var(--shadow-strong);
}

.modal h2 {
  margin: 0.2rem 0 0.5rem;
}

.modal p {
  color: var(--text-muted);
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: rgba(3, 18, 27, 0.95);
  border-top: 1px solid rgba(180, 235, 255, 0.24);
  padding: 0.8rem;
}

.cookie-bar .inner {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-bar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-on-scroll.show {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

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

@keyframes reelPulse {
  0% {
    transform: translateY(0);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-1px);
    filter: brightness(1.16);
  }
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
}

@keyframes symbolFloat {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.03);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes dealIn {
  0% {
    transform: rotateY(84deg) translateY(10px) scale(0.92);
    opacity: 0;
  }
  100% {
    transform: rotateY(0deg) translateY(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 1020px) {
  .grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.45rem);
    background: rgba(3, 20, 30, 0.96);
    border: 1px solid rgba(179, 232, 255, 0.25);
    border-radius: 14px;
    padding: 0.8rem;
    box-shadow: var(--shadow-soft);
    z-index: 85;
    max-height: min(68vh, 460px);
    overflow-y: auto;
    justify-content: initial;
  }

  .site-nav.open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .site-nav a {
    background: rgba(10, 37, 52, 0.55);
    border-radius: 8px;
    width: 100%;
    padding: 0.68rem 0.8rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-panel {
    padding: 1.5rem 1rem;
  }

  .form-row,
  .grid.cols-2,
  .grid.cols-3,
  .footer-grid,
  .achievement-list,
  .metrics {
    grid-template-columns: 1fr;
  }

  .reel {
    height: 112px;
  }

  .symbol-tile {
    height: 112px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 2.4rem;
  }
}
