﻿:root {
  --bg: #041520;
  --bg-deep: #021019;
  --surface: #0b2436;
  --surface-2: #12334a;
  --card: #133a54;
  --text: #e8f6ff;
  --muted: #9fc5da;
  --accent: #12c6db;
  --accent-strong: #00e5ff;
  --accent-warm: #ffb13d;
  --accent-lime: #8ee388;
  --danger: #ff6f61;
  --radius: 18px;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 12px 24px rgba(0, 0, 0, 0.28);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(2, 16, 24, 0.88), rgba(2, 16, 24, 0.82)),
    radial-gradient(circle at 15% 10%, rgba(18, 198, 219, 0.24), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(255, 177, 61, 0.2), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(142, 227, 136, 0.11), transparent 40%),
    url("../../images/bg.jpg") center / cover fixed no-repeat,
    linear-gradient(150deg, var(--bg), var(--bg-deep));
  min-height: 100vh;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  z-index: -1;
}

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

img {
  max-width: 100%;
}

main {
  display: block;
}

.container {
  width: min(100% - 2.4rem, var(--max-width));
  margin: 0 auto;
}

.top-banner {
  background: linear-gradient(90deg, rgba(18, 198, 219, 0.2), rgba(255, 177, 61, 0.2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
}

.top-banner .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  backdrop-filter: blur(8px);
  background: rgba(4, 21, 32, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Bebas Neue", "Sora", sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.7rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: conic-gradient(from 120deg, var(--accent), var(--accent-warm), var(--accent-lime), var(--accent));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 0;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-primary {
  color: #05212f;
  background: linear-gradient(120deg, var(--accent-warm), var(--accent));
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero {
  min-height: min(90vh, 860px);
  display: grid;
  align-items: center;
  padding: 3.8rem 0 3.2rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  animation: floatPulse 8s ease-in-out infinite;
}

.hero::before {
  width: 360px;
  height: 360px;
  right: -80px;
  top: 12%;
  background: radial-gradient(circle, rgba(18, 198, 219, 0.34), transparent 66%);
}

.hero::after {
  width: 340px;
  height: 340px;
  left: -110px;
  bottom: 5%;
  background: radial-gradient(circle, rgba(255, 177, 61, 0.24), transparent 66%);
  animation-delay: 1.2s;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.8rem;
  align-items: center;
}

.hero-grid.hero-single {
  grid-template-columns: 1fr;
  max-width: 760px;
  justify-items: center;
  text-align: center;
}

.hero-grid.hero-single > div {
  width: 100%;
}

.hero-grid.hero-single p {
  margin-left: auto;
  margin-right: auto;
}

.hero-grid.hero-single .hero-actions {
  justify-content: center;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Bebas Neue", "Sora", sans-serif;
  letter-spacing: 0.05em;
  line-height: 1;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.hero p {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-stat {
  background: rgba(8, 35, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 0.95rem;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 1.22rem;
}

.hero-panel {
  background: linear-gradient(160deg, rgba(19, 58, 84, 0.9), rgba(7, 27, 40, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  transform: rotate(-1.5deg);
}

.hero-panel h2 {
  margin: 0 0 0.6rem;
  font-family: "Bebas Neue", "Sora", sans-serif;
  letter-spacing: 0.04em;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
}

.hero-chip {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
}

.section {
  padding: 2.6rem 0;
}

.section h2 {
  margin: 0 0 0.7rem;
  font-family: "Bebas Neue", "Sora", sans-serif;
  letter-spacing: 0.045em;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

.section p.lead {
  color: var(--muted);
  max-width: 760px;
  margin: 0;
}

.card-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: linear-gradient(145deg, rgba(19, 58, 84, 0.83), rgba(8, 28, 43, 0.8));
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 1.05rem;
  box-shadow: var(--shadow-soft);
}

.card h3,
.card h4 {
  margin: 0.1rem 0 0.55rem;
  font-size: 1.14rem;
}

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

.card p + p {
  margin-top: 0.85rem;
}

.card p > .btn {
  margin-top: 0.15rem;
}

.game-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -20%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(18, 198, 219, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3, 18, 27, 0.94) 8%, rgba(3, 18, 27, 0.35) 66%, rgba(3, 18, 27, 0.1) 100%);
  z-index: 0;
}

.game-card > * {
  position: relative;
  z-index: 2;
}

.game-card--reel {
  background: linear-gradient(120deg, rgba(8, 32, 46, 0.76), rgba(8, 28, 43, 0.76)),
    url("../../images/reel-rush.jpg") center / cover no-repeat;
}

.game-card--cards {
  background: linear-gradient(120deg, rgba(8, 32, 46, 0.76), rgba(8, 28, 43, 0.76)),
    url("../../images/card-harbour.jpg") center / cover no-repeat;
}

.game-card--road {
  background: linear-gradient(120deg, rgba(8, 32, 46, 0.76), rgba(8, 28, 43, 0.76)),
    url("../../images/kiwi-road.jpg") center / cover no-repeat;
}

.game-card p {
  color: #d8efff;
}

.game-card .kpi {
  color: var(--accent-warm);
  text-shadow: 0 0 14px rgba(255, 177, 61, 0.28);
}

.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2, 17, 26, 0.9) 22%, rgba(2, 17, 26, 0.4) 62%, rgba(2, 17, 26, 0.18) 100%),
    url("../../images/games.jpg") center / cover no-repeat;
}

.showcase-card .showcase-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.showcase-card p {
  color: #d7edfd;
}

.showcase-card .hero-actions {
  margin-top: 0.9rem;
}

.page-hero.page-hero-game .container {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
}

.page-hero.page-hero-game .container::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.page-hero.page-hero-game .container > * {
  position: relative;
  z-index: 1;
}

.page-hero--reel .container::before {
  background:
    linear-gradient(115deg, rgba(2, 17, 26, 0.88) 24%, rgba(2, 17, 26, 0.45) 72%, rgba(2, 17, 26, 0.18) 100%),
    url("../../images/reel-rush.jpg") center / cover no-repeat;
}

.page-hero--cards .container::before {
  background:
    linear-gradient(115deg, rgba(2, 17, 26, 0.88) 24%, rgba(2, 17, 26, 0.45) 72%, rgba(2, 17, 26, 0.18) 100%),
    url("../../images/card-harbour.jpg") center / cover no-repeat;
}

.page-hero--road .container::before {
  background:
    linear-gradient(115deg, rgba(2, 17, 26, 0.88) 24%, rgba(2, 17, 26, 0.45) 72%, rgba(2, 17, 26, 0.18) 100%),
    url("../../images/kiwi-road.jpg") center / cover no-repeat;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-clean li {
  margin: 0.48rem 0;
}

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

.page-hero p {
  margin-top: 0.6rem;
  color: var(--muted);
  max-width: 780px;
}

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

.kpi {
  font-size: 1.75rem;
  font-family: "Bebas Neue", "Sora", sans-serif;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
}

.review {
  border-left: 3px solid var(--accent);
}

.review span {
  display: block;
  margin-top: 0.8rem;
  color: var(--accent-warm);
  font-size: 0.85rem;
}

.faq details {
  background: rgba(10, 36, 53, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
}

.faq details + details {
  margin-top: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

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

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
}

.timeline li {
  position: relative;
  margin: 0 0 1rem 0;
  padding-left: 2rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 5px;
  top: 7px;
  border-radius: 999px;
  background: var(--accent-warm);
}

.timeline h4 {
  margin: 0;
}

.timeline p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

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

label {
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.3rem;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: rgba(2, 18, 27, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 0.72rem;
}

textarea {
  resize: vertical;
}

.notice {
  font-size: 0.88rem;
  color: var(--muted);
}

.success-msg {
  margin-top: 0.8rem;
  color: var(--accent-lime);
  display: none;
}

.success-msg.show {
  display: block;
}

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

.legal section {
  background: rgba(10, 34, 50, 0.78);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 1rem;
}

.legal h2 {
  margin: 0 0 0.35rem;
  font-size: 1.28rem;
}

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

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

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

.badge {
  background: linear-gradient(145deg, rgba(19, 58, 84, 0.9), rgba(8, 29, 45, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 0.95rem;
  opacity: 0.5;
  transform: scale(0.98);
  transition: 0.3s ease;
}

.badge.unlocked {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 0 1px rgba(18, 198, 219, 0.3), 0 10px 26px rgba(18, 198, 219, 0.16);
}

.badge-title {
  font-weight: 700;
}

.badge small {
  color: var(--muted);
}

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

.badge-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-lime));
  width: 0;
  transition: width 0.35s ease;
}

.game-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.game-panel {
  background: linear-gradient(145deg, rgba(17, 56, 82, 0.93), rgba(7, 26, 39, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.game-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.credits {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
}

.credits strong {
  font-size: 1.05rem;
  color: var(--accent-warm);
}

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

.game-controls label {
  margin: 0;
  color: var(--muted);
}

.game-controls select {
  width: auto;
  min-width: 140px;
  flex: 0 0 auto;
}

.status-bar {
  margin-top: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  min-height: 48px;
}

.reel-machine {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.reel-column {
  background: rgba(2, 18, 27, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.reel-cell {
  padding: 0.75rem 0.4rem;
  text-align: center;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reel-cell.center {
  background: rgba(18, 198, 219, 0.16);
}

.reel-symbol {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(155deg, rgba(9, 33, 49, 0.92), rgba(4, 22, 34, 0.9));
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.reel-symbol svg {
  width: 32px;
  height: 32px;
}

.reel-cell.center .reel-symbol {
  box-shadow: 0 0 0 1px rgba(18, 198, 219, 0.35), 0 0 18px rgba(18, 198, 219, 0.28);
}

.reel-cell.win-flash .reel-symbol {
  animation: reelWinPulse 0.8s ease-in-out 2;
  box-shadow: 0 0 0 1px rgba(142, 227, 136, 0.5), 0 0 22px rgba(142, 227, 136, 0.45);
}

.reel-symbol--kiwi {
  color: #7ee486;
  filter: drop-shadow(0 0 9px rgba(126, 228, 134, 0.55));
}

.reel-symbol--wave {
  color: #39d4ff;
  filter: drop-shadow(0 0 9px rgba(57, 212, 255, 0.55));
}

.reel-symbol--star {
  color: #ffc44d;
  filter: drop-shadow(0 0 11px rgba(255, 196, 77, 0.62));
}

.reel-symbol--peak {
  color: #b3d8ff;
  filter: drop-shadow(0 0 8px rgba(179, 216, 255, 0.52));
}

.reel-symbol--sun {
  color: #ff9e47;
  filter: drop-shadow(0 0 10px rgba(255, 158, 71, 0.58));
}

.reel-symbol--fern {
  color: #7fe17c;
  filter: drop-shadow(0 0 9px rgba(127, 225, 124, 0.5));
}

.reel-column.spinning .reel-cell {
  animation: blurSpin 0.35s linear infinite;
}

@keyframes blurSpin {
  from {
    transform: translateY(0);
    filter: blur(0);
  }
  50% {
    transform: translateY(-2px);
    filter: blur(1px);
  }
  to {
    transform: translateY(0);
    filter: blur(0);
  }
}

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

.payout-item {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.65rem;
  font-size: 0.88rem;
}

.card-duel {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

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

.playing-card {
  width: 74px;
  height: 104px;
  border-radius: 12px;
  background: linear-gradient(155deg, #f8fbff, #d7e8f7);
  color: #022033;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.25);
  transform-origin: bottom;
  animation: cardEnter 0.28s ease;
}

.playing-card .suit {
  font-size: 1.15rem;
}

.playing-card .value {
  font-size: 1.25rem;
  font-weight: 800;
}

.playing-card.back {
  background: linear-gradient(160deg, #0f6b88, #054057);
  color: transparent;
}

#cardDuelGame.duel-win {
  animation: duelPanelWin 1.2s ease;
  box-shadow:
    0 0 0 1px rgba(142, 227, 136, 0.35),
    0 18px 34px rgba(142, 227, 136, 0.2);
}

#cardDuelGame.duel-jackpot {
  box-shadow:
    0 0 0 1px rgba(255, 177, 61, 0.45),
    0 0 28px rgba(255, 177, 61, 0.34),
    0 16px 30px rgba(255, 177, 61, 0.24);
}

.playing-card.winner {
  animation: cardWinShine 0.9s ease-in-out 2;
  box-shadow:
    0 0 0 1px rgba(142, 227, 136, 0.42),
    0 0 18px rgba(142, 227, 136, 0.45),
    0 10px 20px rgba(0, 0, 0, 0.3);
}

.playing-card.loser {
  opacity: 0.6;
  filter: saturate(0.6);
}

.status-bar.status-win {
  background: rgba(142, 227, 136, 0.18);
  border: 1px solid rgba(142, 227, 136, 0.45);
  color: #d6ffd3;
}

.hand-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.hand-score {
  color: var(--accent-warm);
  font-weight: 700;
}

.road-board {
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
}

.road-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}

.road-tile {
  min-height: 56px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s ease;
  position: relative;
  overflow: hidden;
}

.road-row[data-active="true"] .road-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 198, 219, 0.72);
}

.tile-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.tile-icon svg {
  width: 100%;
  height: 100%;
}

.tile-icon--mystery {
  color: #6de6ff;
  filter: drop-shadow(0 0 9px rgba(109, 230, 255, 0.62));
}

.tile-icon--safe {
  color: #8ee388;
  filter: drop-shadow(0 0 10px rgba(142, 227, 136, 0.7));
}

.tile-icon--hazard {
  color: #ff7b70;
  filter: drop-shadow(0 0 10px rgba(255, 123, 112, 0.7));
}

.road-row[data-active="true"] .tile-icon--mystery {
  animation: mysteryPulse 1.1s ease-in-out infinite;
}

.road-tile.safe {
  background: rgba(142, 227, 136, 0.22);
  border-color: rgba(142, 227, 136, 0.7);
}

.road-tile.hazard {
  background: rgba(255, 111, 97, 0.22);
  border-color: rgba(255, 111, 97, 0.72);
}

.road-row[data-active="true"] {
  animation: rowGlow 1.2s ease-in-out infinite;
}

.multiplier-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  background: rgba(18, 198, 219, 0.2);
  border: 1px solid rgba(18, 198, 219, 0.5);
  font-size: 0.86rem;
}

footer {
  margin-top: 2.5rem;
  background: rgba(2, 14, 22, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 1.8rem 0;
}

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.7rem 0 1rem;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.disclaimer-box {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.age-gate,
.cookie-banner {
  position: fixed;
  z-index: 120;
}

.age-gate {
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.age-gate.show {
  display: flex;
}

.age-card {
  width: min(100%, 520px);
  background: linear-gradient(145deg, #0f3148, #082231);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.age-card h2 {
  margin: 0 0 0.3rem;
  font-family: "Bebas Neue", "Sora", sans-serif;
  letter-spacing: 0.05em;
  font-size: 2rem;
}

.cookie-banner {
  right: 1rem;
  bottom: 1rem;
  width: min(100% - 2rem, 390px);
  background: rgba(9, 36, 53, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 0.85rem;
  box-shadow: var(--shadow-soft);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.cookie-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeSlide 0.7s ease forwards;
}

.fade-in.delay-1 {
  animation-delay: 0.15s;
}

.fade-in.delay-2 {
  animation-delay: 0.3s;
}

.fade-in.delay-3 {
  animation-delay: 0.45s;
}

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-7px) scale(1.05);
  }
}

@keyframes cardEnter {
  from {
    transform: translateY(8px) rotate(-2deg);
    opacity: 0;
  }
  to {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
}

@keyframes rowGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(18, 198, 219, 0);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(18, 198, 219, 0.15);
  }
}

@keyframes mysteryPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes reelWinPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes duelPanelWin {
  0% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .game-layout,
  .columns,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    transform: none;
  }

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

  .showcase-card::before {
    background:
      linear-gradient(to top, rgba(2, 17, 26, 0.9) 22%, rgba(2, 17, 26, 0.38) 74%, rgba(2, 17, 26, 0.16) 100%),
      url("../../images/games.jpg") center / cover no-repeat;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    background: rgba(4, 21, 32, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    padding: 0.8rem 1.2rem 1rem;
  }

  .nav-links.open {
    display: flex;
  }

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

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.1rem, 16vw, 3.8rem);
  }

  .hero-stat-grid,
  .achievements-grid,
  .card-grid,
  .payout-grid {
    grid-template-columns: 1fr;
  }

  .playing-card {
    width: 66px;
    height: 94px;
  }

  .road-tile {
    min-height: 50px;
  }

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

  .showcase-card {
    min-height: 240px;
  }

  .showcase-card::before {
    background:
      linear-gradient(to top, rgba(2, 17, 26, 0.95) 16%, rgba(2, 17, 26, 0.74) 62%, rgba(2, 17, 26, 0.58) 100%),
      url("../../images/games.jpg") center / cover no-repeat;
  }

  .showcase-card .showcase-content {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48);
  }

  .page-hero.page-hero-game .container {
    padding: 1.35rem;
  }

  .page-hero.page-hero-game .container::before {
    opacity: 0.72;
  }
}
