﻿@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Oxanium:wght@400;600;700;800&display=swap');

:root {
  --bg-main: #09061a;
  --bg-soft: #131033;
  --panel: #17153d;
  --panel-2: #1f1a4c;
  --ink: #eef3ff;
  --muted: #b6bdd8;
  --cyan: #37e6ff;
  --pink: #ff3cbf;
  --gold: #ffc768;
  --lime: #a5ff6e;
  --danger: #ff5a76;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.35);
  --gradient-main: linear-gradient(120deg, #ff4fb9 0%, #7f7bff 52%, #31e8ff 100%);
  --gradient-dark: linear-gradient(130deg, rgba(255, 60, 191, 0.24), rgba(55, 230, 255, 0.12));
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 14% 2%, rgba(140, 52, 255, 0.2), transparent 60%),
    radial-gradient(900px 600px at 88% 18%, rgba(0, 216, 255, 0.15), transparent 62%),
    radial-gradient(1200px 800px at 50% 100%, rgba(255, 56, 183, 0.14), transparent 60%),
    var(--bg-main);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.18;
  z-index: -1;
}

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

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

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  margin: 0 0 12px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
}

.section-kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(8, 6, 24, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.top-alerts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  justify-content: center;
}

.alert-pill {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #d9def7;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.alert-pill.alert-18 {
  border-color: rgba(255, 89, 143, 0.75);
  color: #ffd5e5;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 10px;
  color: #d5dcfa;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.2rem;
}

.hero {
  padding: 98px 0 82px;
  background:
    radial-gradient(1200px 700px at 14% 2%, rgba(140, 52, 255, 0.2), transparent 60%),
    radial-gradient(900px 600px at 88% 18%, rgba(0, 216, 255, 0.15), transparent 62%),
    radial-gradient(1200px 800px at 50% 100%, rgba(255, 56, 183, 0.14), transparent 60%),
    linear-gradient(#09061aaa, #09061aaa),
    url("../img/background.jpg");
    background-position: center;
    background-size: cover;

}

.hero-box {
  text-align: center;
  padding: 54px 24px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(23, 20, 58, 0.78), rgba(12, 10, 32, 0.9));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-box::before,
.hero-box::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  z-index: -1;
}

.hero-box::before {
  width: 280px;
  height: 280px;
  background: rgba(255, 69, 176, 0.45);
  top: -120px;
  left: -80px;
}

.hero-box::after {
  width: 300px;
  height: 300px;
  background: rgba(55, 230, 255, 0.35);
  bottom: -140px;
  right: -80px;
}

.hero-kicker {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0f4ff;
}

.hero h1 {
  margin: 20px auto 16px;
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(2.1rem, 7vw, 5rem);
  line-height: 0.98;
  max-width: 780px;
  text-transform: uppercase;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-block;
  position: relative;
  border: 0;
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  vertical-align: middle;
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.2s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  color: #fff;
  background: var(--gradient-main);
  box-shadow: 0 16px 30px rgba(255, 62, 190, 0.28);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(60, 232, 255, 0.75);
  background: rgba(9, 8, 29, 0.6);
}

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

.stats-row {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
}

.stat-box {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-value {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  color: #c4ccea;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 6px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(21, 18, 53, 0.95), rgba(14, 12, 38, 0.95));
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.game-card .media {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.media-bg {
  position: absolute;
  inset: 0;
  background-size: 160% 160%;
  animation: driftBg 12s ease infinite;
}

.media-bg {
  z-index: 1;
  opacity: 0.35;
}

.media-fantasy {
  background-image:
    radial-gradient(circle at 24% 35%, rgba(255, 88, 173, 0.85), transparent 37%),
    radial-gradient(circle at 77% 62%, rgba(53, 231, 255, 0.7), transparent 34%),
    linear-gradient(140deg, #301259, #1f2558 58%, #123f58);
}

.media-treasure {
  background-image:
    radial-gradient(circle at 73% 28%, rgba(255, 203, 86, 0.8), transparent 37%),
    radial-gradient(circle at 25% 76%, rgba(45, 220, 255, 0.65), transparent 36%),
    linear-gradient(142deg, #073f60, #0f2951 50%, #321d57);
}

.media-cards {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(117, 255, 122, 0.55), transparent 35%),
    radial-gradient(circle at 78% 74%, rgba(255, 64, 172, 0.58), transparent 36%),
    linear-gradient(140deg, #16304c, #2e2153 55%, #421f4e);
}

.media-icon {
  position: absolute;
  inset: 0;
  place-content: center;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}
.media-icon img {
  
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tag {
  z-index: 1;
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(8, 7, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.75rem;
  font-weight: 700;
}

.game-card .content {
  padding: 18px 18px 22px;
}

.game-card h3 {
  margin: 0 0 10px;
  font-family: 'Oxanium', sans-serif;
  font-size: 1.52rem;
}

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

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: 14px;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: #dee4ff;
  background: rgba(255, 255, 255, 0.05);
}

.feature-card {
  padding: 26px 22px;
}

.feature-card .icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-content: center;
  border-radius: 16px;
  background: var(--gradient-dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.8rem;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(55, 230, 255, 0.2);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-family: 'Oxanium', sans-serif;
  font-size: 1.45rem;
}

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(24, 20, 59, 0.92), rgba(13, 11, 34, 0.92));
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.timeline {
  position: relative;
  margin-top: 14px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 15px;
  width: 2px;
  background: linear-gradient(var(--cyan), rgba(255, 255, 255, 0));
}

.timeline-item {
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gradient-main);
  box-shadow: 0 0 16px rgba(55, 230, 255, 0.8);
}

.timeline-item h4 {
  margin: 0;
  font-family: 'Oxanium', sans-serif;
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 18px;
}

.review-card {
  padding: 22px;
}

.rating {
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.review-card blockquote {
  margin: 0 0 12px;
  color: #f2f5ff;
  font-weight: 600;
}

.review-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
}

.badge-card {
  padding: 18px;
  text-align: center;
}

.badge-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.6rem;
}

.badge-card.unlocked .badge-icon {
  background: var(--gradient-main);
  color: #0d0930;
  box-shadow: 0 0 24px rgba(255, 81, 181, 0.5);
}

.badge-title {
  margin: 0;
  font-family: 'Oxanium', sans-serif;
  font-size: 1.08rem;
}

.badge-desc {
  color: var(--muted);
  font-size: 0.89rem;
  margin: 8px 0 0;
}

.badge-status {
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #ff9fbb;
}

.badge-card.unlocked .badge-status {
  color: #a7ff8c;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  color: #eff4ff;
  border: 0;
  padding: 15px 18px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--muted);
  padding: 0 18px;
}

.faq-item.open .faq-answer {
  padding-bottom: 14px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-family: 'Oxanium', sans-serif;
}

.footer-col p,
.footer-col li,
.footer-note {
  color: var(--muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: #dae1ff;
}

.footer-bottom {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.notice-box {
  border: 1px solid rgba(255, 164, 190, 0.3);
  background: rgba(255, 98, 165, 0.11);
  border-radius: 14px;
  padding: 14px 16px;
  color: #ffe3f0;
  margin-top: 14px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: #dce4ff;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(10, 10, 28, 0.72);
  color: #f1f5ff;
  font-family: inherit;
  padding: 12px 13px;
}

input[type='checkbox'],
input[type='radio'] {
  width: auto;
  padding: 0;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.consent-check input[type='checkbox'] {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: #37e6ff;
  cursor: pointer;
}

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

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

.success-msg {
  display: none;
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid rgba(165, 255, 110, 0.42);
  background: rgba(165, 255, 110, 0.12);
  color: #e8ffd9;
}

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

.policy {
  display: grid;
  gap: 18px;
}

.policy h2 {
  margin: 0;
  font-family: 'Oxanium', sans-serif;
  font-size: 1.4rem;
}

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

.policy ul {
  margin: 0;
  padding-left: 18px;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.legal-item {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #dde4ff;
}

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 12, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 14px;
}

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

.age-gate-box {
  width: min(640px, 94vw);
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(27, 22, 62, 0.97), rgba(15, 12, 37, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.age-gate h2 {
  margin: 0 0 10px;
  font-family: 'Oxanium', sans-serif;
  font-size: 2rem;
}

.age-gate p {
  color: var(--muted);
}

.age-gate-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: min(390px, 92vw);
  background: linear-gradient(160deg, rgba(20, 16, 50, 0.95), rgba(11, 10, 31, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 14px;
  z-index: 120;
  box-shadow: var(--shadow-soft);
  display: none;
}

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

.cookie-banner h4 {
  margin: 0 0 6px;
}

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

.cookie-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

/* Game layout */

.game-shell {
  padding-top: 42px;
  background:
    radial-gradient(1200px 700px at 14% 2%, rgba(140, 52, 255, 0.2), transparent 60%),
    radial-gradient(900px 600px at 88% 18%, rgba(0, 216, 255, 0.15), transparent 62%),
    radial-gradient(1200px 800px at 50% 100%, rgba(255, 56, 183, 0.14), transparent 60%),
    linear-gradient(#09061aaa, #09061aaa),
    url("../img/background.jpg");
    background-position: center;
    background-size: cover;
}

.game-head {
  text-align: center;
  margin-bottom: 24px;
}

.game-head h1 {
  margin: 0 0 8px;
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.game-head p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 780px;
}

.game-panel {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(150deg, rgba(24, 20, 57, 0.96), rgba(12, 11, 33, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.game-info-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
}

.metric-label {
  color: #b7c0e5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.metric-value {
  font-family: 'Oxanium', sans-serif;
  font-size: 1.3rem;
  margin-top: 5px;
}

.game-message {
  margin-top: 14px;
  min-height: 28px;
  font-weight: 700;
  color: #ecf2ff;
}

.game-message.win {
  color: var(--lime);
  text-shadow: 0 0 14px rgba(165, 255, 110, 0.4);
}

.game-message.warn {
  color: #ffadc3;
}

/* Game 1: reels */

.reel-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
  position: relative;
  isolation: isolate;
}

.reel-board::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.reel-board.board-win::after {
  background: radial-gradient(circle at 50% 50%, rgba(55, 230, 255, 0.26), rgba(255, 80, 190, 0.12) 46%, transparent 76%);
  animation: boardWinFlash 0.9s ease;
}

.reel-board.mega-win::after {
  background: radial-gradient(circle at 50% 50%, rgba(165, 255, 110, 0.4), rgba(55, 230, 255, 0.22) 42%, transparent 76%);
  animation: boardMegaFlash 1.3s ease;
}

.reel {
  display: grid;
  grid-template-rows: repeat(3, 100px);
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.reel::before {
  content: '';
  position: absolute;
  left: -20%;
  right: -20%;
  top: -35%;
  height: 55%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.55) 45%, transparent 100%);
  opacity: 0;
  transform: translateY(-160%);
  pointer-events: none;
  z-index: 2;
}

.reel.spinning {
  transform: translateY(-2px);
  border-color: rgba(88, 236, 255, 0.62);
  box-shadow: 0 0 26px rgba(55, 230, 255, 0.28);
}

.reel.spinning::before {
  opacity: 0.95;
  animation: reelSweep 0.48s linear infinite;
}

.reel.stopping::before {
  opacity: 0.8;
  animation: reelSweep 0.28s linear infinite;
}

.reel.landed {
  animation: reelLand 0.33s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reel.reel-hit {
  border-color: rgba(165, 255, 110, 0.95);
  box-shadow: 0 0 0 1px rgba(165, 255, 110, 0.65), 0 0 24px rgba(165, 255, 110, 0.55);
}

.symbol-cell {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(11, 11, 34, 0.84), rgba(24, 17, 60, 0.82));
  display: grid;
  place-content: center;
  text-align: center;
  gap: 3px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  backface-visibility: hidden;
  will-change: transform, filter, opacity;
}

.symbol-cell .icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 0;
}

.symbol-cell .icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 8px rgba(41, 227, 255, 0.28));
  transition: transform 0.22s ease, filter 0.25s ease;
}

.symbol-cell .name {
  font-size: 0.74rem;
  color: #d6defc;
}

.reel.spinning .symbol-cell {
  animation: reelCellDrift 0.2s linear infinite;
  filter: blur(1px) saturate(1.12);
  opacity: 0.84;
}

.reel.spinning .symbol-cell .icon svg {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 10px rgba(255, 121, 221, 0.35));
}

.reel.spinning .symbol-cell:nth-child(2) {
  animation-delay: 0.05s;
}

.reel.spinning .symbol-cell:nth-child(3) {
  animation-delay: 0.1s;
}

.reel.stopping .symbol-cell {
  animation: reelSettle 0.28s cubic-bezier(0.18, 0.84, 0.22, 1);
  opacity: 1;
  filter: blur(0);
}

.symbol-cell.win {
  border-color: rgba(165, 255, 110, 0.95);
  box-shadow: 0 0 18px rgba(165, 255, 110, 0.7);
  transform: scale(1.04);
}

.symbol-cell.win .icon svg {
  transform: scale(1.09);
  filter: drop-shadow(0 0 12px rgba(165, 255, 110, 0.62));
}

.bet-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}

.bet-controls .btn {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.bet-amount {
  min-width: 130px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-family: 'Oxanium', sans-serif;
  font-size: 1.2rem;
}

/* Game 2: wheel */

.wheel-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 460px) 1fr;
  gap: 20px;
  align-items: center;
}

.wheel-zone {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}

.wheel-zone::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(55, 230, 255, 0.22) 0%,
    rgba(255, 84, 180, 0.18) 34%,
    rgba(143, 139, 255, 0.08) 60%,
    transparent 74%
  );
  filter: blur(10px);
  opacity: 0.62;
  z-index: 0;
  pointer-events: none;
  animation: wheelAuraBreath 3.8s ease-in-out infinite;
}

.wheel-zone::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(120, 226, 255, 0.38);
  box-shadow: 0 0 24px rgba(55, 230, 255, 0.25), inset 0 0 18px rgba(255, 84, 180, 0.2);
  z-index: 2;
  pointer-events: none;
  animation: wheelContourRotate 14s linear infinite;
}

.wheel-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid #ffd86c;
  z-index: 5;
  filter: drop-shadow(0 0 10px rgba(255, 208, 102, 0.8));
}

.wheel {
  width: min(78vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  border: 10px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 22px 34px rgba(0, 0, 0, 0.44),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12),
    0 0 30px rgba(55, 230, 255, 0.22);
  transition: transform 4.2s cubic-bezier(0.12, 0.9, 0.22, 1);
  z-index: 1;
  overflow: hidden;
  will-change: transform, filter;
  background: conic-gradient(
    #ff54b4 0deg 30deg,
    #39e4ff 30deg 60deg,
    #7dfc70 60deg 90deg,
    #ffc86c 90deg 120deg,
    #8f8bff 120deg 150deg,
    #ff7f9c 150deg 180deg,
    #ff54b4 180deg 210deg,
    #39e4ff 210deg 240deg,
    #7dfc70 240deg 270deg,
    #ffc86c 270deg 300deg,
    #8f8bff 300deg 330deg,
    #ff7f9c 330deg 360deg
  );
}

.wheel::before {
  content: '';
  position: absolute;
  inset: 23%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.26), transparent 38%),
    linear-gradient(160deg, #1a1445, #100d2f);
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.48), 0 0 22px rgba(77, 220, 255, 0.28);
}

.wheel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.42), transparent 22%),
    radial-gradient(circle at 74% 78%, rgba(255, 255, 255, 0.22), transparent 26%);
  opacity: 0.62;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: wheelSpecularShift 4.6s linear infinite;
}

.wheel-labels {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 0.84rem;
  z-index: 4;
  pointer-events: none;
  transform-origin: center;
  transform: rotate(var(--wheel-rotation, 0deg));
  transition: transform 4.2s cubic-bezier(0.12, 0.9, 0.22, 1);
}

.wheel-labels li {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: rotate(var(--angle));
}

.wheel-labels span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(12, 11, 31, 0.4);
  color: #f4f8ff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  transform:
    translateY(calc(-1 * clamp(92px, 16vw, 152px)))
    rotate(calc(-1 * var(--angle)))
    rotate(calc(-1 * var(--wheel-rotation, 0deg)));
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 0 8px rgba(18, 20, 58, 0.75);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.wheel-zone.is-spinning::before {
  opacity: 0.95;
  animation-duration: 1.45s;
}

.wheel-zone.is-spinning::after {
  border-color: rgba(255, 202, 112, 0.55);
  box-shadow: 0 0 28px rgba(255, 84, 180, 0.33), inset 0 0 20px rgba(55, 230, 255, 0.35);
  animation-duration: 5.8s;
}

.wheel-zone.is-spinning .wheel {
  filter: saturate(1.22) brightness(1.08);
  box-shadow:
    0 22px 34px rgba(0, 0, 0, 0.44),
    inset 0 0 0 2px rgba(255, 255, 255, 0.16),
    0 0 42px rgba(255, 84, 180, 0.32);
}

.wheel-zone.is-spinning .wheel-labels span {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(12, 11, 31, 0.54);
  box-shadow: 0 0 16px rgba(55, 230, 255, 0.35);
}

.wheel-zone.is-spinning .wheel-pointer {
  animation: wheelPointerTick 0.11s steps(2, end) infinite;
}

.wheel-zone.spin-land .wheel {
  animation: wheelLandPulse 0.5s ease;
}

.wheel-zone.spin-win .wheel {
  box-shadow:
    0 22px 34px rgba(0, 0, 0, 0.44),
    inset 0 0 0 2px rgba(255, 255, 255, 0.16),
    0 0 50px rgba(120, 255, 130, 0.45);
}

.wheel-zone.spin-big .wheel {
  box-shadow:
    0 22px 34px rgba(0, 0, 0, 0.44),
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    0 0 66px rgba(120, 255, 130, 0.62),
    0 0 92px rgba(55, 230, 255, 0.45);
}

.wheel-zone.spin-win .wheel-labels span {
  border-color: rgba(165, 255, 110, 0.8);
  box-shadow: 0 0 18px rgba(165, 255, 110, 0.42);
}

.wheel-side h3 {
  margin: 0 0 12px;
  font-family: 'Oxanium', sans-serif;
  font-size: 1.6rem;
}

.wheel-side p {
  margin: 0 0 14px;
  color: var(--muted);
}

.outcome-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.outcome-list li {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 9px 10px;
  color: #dde4ff;
  background: rgba(255, 255, 255, 0.04);
}

/* Game 3: cards */

.duel-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

[data-card-game] .game-panel {
  position: relative;
  overflow: hidden;
}

[data-card-game] .game-panel::before,
[data-card-game] .game-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

[data-card-game] .game-panel::before {
  background:
    radial-gradient(circle at 16% 20%, rgba(55, 230, 255, 0.12), transparent 36%),
    radial-gradient(circle at 85% 78%, rgba(255, 65, 185, 0.1), transparent 34%);
  animation: duelBgFloat 9s ease-in-out infinite;
  z-index: 0;
}

[data-card-game] .game-panel::after {
  opacity: 0;
  z-index: 0;
}

[data-card-game].thinking .game-panel::after {
  opacity: 1;
  background: radial-gradient(circle at 50% 50%, rgba(55, 230, 255, 0.22), transparent 60%);
  animation: duelThinkingPulse 0.9s ease-in-out infinite;
}

[data-card-game].round-win .game-panel::after {
  opacity: 1;
  background: radial-gradient(circle at 50% 50%, rgba(165, 255, 110, 0.3), transparent 58%);
  animation: duelRoundFlash 0.62s ease;
}

[data-card-game].round-lose .game-panel::after {
  opacity: 1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 103, 146, 0.28), transparent 58%);
  animation: duelRoundFlash 0.62s ease;
}

[data-card-game].round-draw .game-panel::after {
  opacity: 1;
  background: radial-gradient(circle at 50% 50%, rgba(145, 191, 255, 0.25), transparent 58%);
  animation: duelRoundFlash 0.62s ease;
}

.duel-side {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  z-index: 1;
}

.duel-side h3 {
  margin: 0 0 8px;
  font-family: 'Oxanium', sans-serif;
}

.duel-side.hit {
  border-color: rgba(255, 118, 158, 0.8);
  box-shadow: 0 0 22px rgba(255, 118, 158, 0.34);
  animation: duelSideHit 0.45s ease;
}

.duel-side.boost {
  border-color: rgba(132, 255, 177, 0.82);
  box-shadow: 0 0 24px rgba(132, 255, 177, 0.3);
  animation: duelSideBoost 0.45s ease;
}

.duel-side.draw {
  border-color: rgba(139, 225, 255, 0.7);
  box-shadow: 0 0 18px rgba(139, 225, 255, 0.26);
  animation: duelSideDraw 0.38s ease;
}

.hp-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.hp-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #a5ff6e, #49f0ff);
  transition: width 0.3s ease;
}

.hp-fill.hp-hit {
  animation: hpFlash 0.42s ease;
}

.card-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 12px;
}

.card img {
  border-radius: 15px;
  margin-bottom: 15px;
}

.spell-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(31, 26, 73, 0.98), rgba(14, 12, 38, 0.98));
  color: #eaf1ff;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  z-index: 1;
}

.spell-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.35), 0 0 18px rgba(55, 230, 255, 0.25);
}

.spell-card .spell-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 6px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spell-card .spell-icon svg {
  width: 56px;
  height: 56px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(58, 233, 255, 0.3));
  transition: transform 0.2s ease, filter 0.25s ease;
}

.spell-card .spell-name {
  font-weight: 700;
}

.spell-card[data-spell='tuli'] .spell-icon {
  border-color: rgba(255, 124, 146, 0.62);
  box-shadow: inset 0 0 14px rgba(255, 124, 146, 0.22), 0 0 14px rgba(255, 124, 146, 0.16);
}

.spell-card[data-spell='jaa'] .spell-icon {
  border-color: rgba(140, 236, 255, 0.62);
  box-shadow: inset 0 0 14px rgba(140, 236, 255, 0.2), 0 0 14px rgba(140, 236, 255, 0.14);
}

.spell-card[data-spell='salama'] .spell-icon {
  border-color: rgba(255, 215, 106, 0.62);
  box-shadow: inset 0 0 14px rgba(255, 215, 106, 0.2), 0 0 14px rgba(255, 215, 106, 0.14);
}

.spell-card.active {
  border-color: rgba(55, 230, 255, 0.9);
  box-shadow: 0 0 20px rgba(55, 230, 255, 0.4), 0 0 36px rgba(255, 67, 184, 0.2);
}

.spell-card.active .spell-icon {
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(180, 246, 255, 0.85);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.2), 0 0 20px rgba(55, 230, 255, 0.32);
}

.spell-card.active .spell-icon svg {
  transform: scale(1.07);
  filter: drop-shadow(0 0 14px rgba(255, 111, 213, 0.45));
}

.spell-card.casting {
  animation: spellCasting 0.62s ease;
}

.spell-card.casting .spell-icon {
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.24), 0 0 24px rgba(55, 230, 255, 0.35);
}

.spell-card.casting .spell-icon svg {
  animation: spellIconCast 0.62s ease;
}

.spell-card.locked {
  opacity: 0.45;
  pointer-events: none;
}

.ai-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #eff4ff;
}

.ai-choice.reveal {
  animation: aiReveal 0.36s ease;
}

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

.ai-choice-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 8px rgba(55, 230, 255, 0.35));
}

.battle-result {
  margin-top: 12px;
  min-height: 30px;
  font-weight: 700;
}

.battle-log {
  margin-top: 14px;
  max-height: 210px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
}

.battle-log p {
  margin: 6px 0;
  font-size: 0.88rem;
  color: #d5ddfc;
}

.battle-log p.log-new {
  animation: logPopIn 0.42s ease;
}

.hero-mini {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 10px;
}

.mini-panel {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.6);
}

.mini-panel h4 {
  margin: 0 0 8px;
}

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

@keyframes driftBg {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes spinFlicker {
  0% {
    transform: translateY(0);
    filter: blur(0);
  }
  50% {
    transform: translateY(1px);
    filter: blur(1px);
  }
  100% {
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes reelCellDrift {
  0% {
    transform: translateY(-12px) scaleY(1.08);
  }
  50% {
    transform: translateY(12px) scaleY(0.92);
  }
  100% {
    transform: translateY(-12px) scaleY(1.08);
  }
}

@keyframes reelSettle {
  0% {
    transform: translateY(-16px) scaleY(1.06);
    filter: blur(1.3px);
  }
  65% {
    transform: translateY(5px) scaleY(0.95);
    filter: blur(0.35px);
  }
  100% {
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
}

@keyframes reelSweep {
  0% {
    transform: translateY(-170%);
  }
  100% {
    transform: translateY(250%);
  }
}

@keyframes reelLand {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes boardWinFlash {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  45% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes boardMegaFlash {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  35% {
    opacity: 1;
  }
  60% {
    opacity: 0.86;
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes wheelAuraBreath {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.97);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.04);
  }
}

@keyframes wheelContourRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes wheelSpecularShift {
  0% {
    transform: rotate(0deg);
    opacity: 0.46;
  }
  50% {
    transform: rotate(180deg);
    opacity: 0.7;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.46;
  }
}

@keyframes wheelPointerTick {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(calc(-50% - 1px)) rotate(-2deg);
  }
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
}

@keyframes wheelLandPulse {
  0% {
    filter: brightness(1.2) saturate(1.2);
  }
  55% {
    filter: brightness(0.95) saturate(1);
  }
  100% {
    filter: brightness(1) saturate(1);
  }
}

@keyframes duelBgFloat {
  0%,
  100% {
    transform: translateY(0);
    filter: saturate(1);
  }
  50% {
    transform: translateY(-8px);
    filter: saturate(1.12);
  }
}

@keyframes duelThinkingPulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes duelRoundFlash {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

@keyframes duelSideHit {
  0% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-6px);
  }
  60% {
    transform: translateX(6px);
  }
  100% {
    transform: translateX(0);
  }
}

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

@keyframes duelSideDraw {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes hpFlash {
  0% {
    filter: brightness(1.45);
  }
  100% {
    filter: brightness(1);
  }
}

@keyframes spellCasting {
  0% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-6px) scale(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes spellIconCast {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.09) rotate(4deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes aiReveal {
  0% {
    opacity: 0;
    transform: translateY(-3px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logPopIn {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .badge-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

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

  .wheel-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 4vw;
    width: min(340px, 92vw);
    background: rgba(13, 10, 36, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-soft);
  }

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

  .menu-toggle {
    display: inline-grid;
    place-content: center;
  }

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

  .game-info-row {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .reel-board {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .duel-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-box {
    padding: 36px 16px;
    border-radius: 22px;
  }

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

  .grid-4,
  .review-grid,
  .badge-grid {
    grid-template-columns: 1fr;
  }

  .top-alerts {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .alert-pill {
    white-space: nowrap;
  }

  .reel-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .reel {
    grid-template-rows: repeat(3, 84px);
  }

  .symbol-cell .icon {
    width: 46px;
    height: 46px;
  }

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

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .bet-controls {
    justify-content: center;
  }
}
