﻿:root {
  --bg-main: #050723;
  --bg-deep: #090b2f;
  --bg-card: rgba(10, 21, 67, 0.78);
  --bg-card-strong: rgba(11, 24, 78, 0.92);
  --line-soft: rgba(79, 126, 255, 0.26);
  --line-strong: rgba(0, 222, 255, 0.55);
  --text-main: #ecf4ff;
  --text-soft: #a7bddf;
  --accent-cyan: #0ee9ff;
  --accent-blue: #46a2ff;
  --accent-pink: #ff3cd7;
  --accent-gold: #ffd67d;
  --success: #4bf19d;
  --danger: #ff5f7a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-main: 0 20px 45px rgba(1, 12, 45, 0.45);
  --shadow-glow: 0 0 22px rgba(14, 233, 255, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 12%, rgba(0, 218, 255, 0.19), transparent 35%),
    radial-gradient(circle at 82% 18%, rgba(255, 60, 215, 0.19), transparent 34%),
    linear-gradient(180deg, #090730aa 0%, #06041eaa 100%), url("/assets?p=%2F..%2Fimg%2Fbackground.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
}

body::before {
  width: 360px;
  height: 360px;
  top: -140px;
  left: -90px;
  background: radial-gradient(circle, rgba(14, 233, 255, 0.35), transparent 70%);
}

body::after {
  width: 440px;
  height: 440px;
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(255, 60, 215, 0.25), transparent 72%);
}

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

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

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

.page {
  padding-bottom: 72px;
  overflow-x: hidden;
}

.top-strip {
  border-bottom: 1px solid rgba(94, 130, 255, 0.22);
  background: rgba(6, 14, 46, 0.7);
  backdrop-filter: blur(10px);
}

.top-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.strip-note {
  color: var(--text-soft);
  font-size: 1rem;
}

.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 4px 14px;
  border: 1px solid rgba(255, 78, 189, 0.6);
  background: rgba(255, 60, 215, 0.16);
  border-radius: 999px;
  color: #ffd7f3;
  font-weight: 700;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(75, 126, 255, 0.18);
  background: rgba(4, 9, 34, 0.84);
  backdrop-filter: blur(13px);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.34rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #06122a;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  box-shadow: var(--shadow-glow);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(14, 233, 255, 0.75));
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  color: #c8daf8;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(71, 133, 255, 0.22);
}

main {
  padding-top: 30px;
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 60, 215, 0.22), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 24px;
  padding: 40px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  font-weight: 700;
  margin: 0 0 10px;
}

.hero h1,
.page-title {
  margin: 0;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.gradient-text {
  background: linear-gradient(90deg, #94fff4 0%, #4db4ff 35%, #e06dff 72%, #ffd67d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: #d7e4fa;
  font-size: 1.25rem;
  margin: 16px 0;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  border: 0;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.04rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

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

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  display: inline-block;
  color: #08132f;
  background: linear-gradient(120deg, var(--accent-cyan), #6ac1ff 60%, #9f97ff);
  box-shadow: 0 14px 30px rgba(13, 173, 255, 0.3);
}

.btn-secondary {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(120deg, #ff41c6, #9068ff);
  box-shadow: 0 14px 30px rgba(194, 58, 245, 0.3);
}

.btn-outline {
  color: #d5ecff;
  background: transparent;
  border: 1px solid rgba(95, 177, 255, 0.6);
}

.hero-panel,
.panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-main);
}

.hero-panel {
  padding: 20px;
}

.hero-panel h2,
.panel h2,
.panel h3 {
  margin-top: 0;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  letter-spacing: 0.3px;
}

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

.stat-box {
  border: 1px solid rgba(80, 136, 255, 0.26);
  border-radius: 12px;
  padding: 10px;
  background: rgba(6, 20, 66, 0.52);
}

.stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: #8de8ff;
}

.stat-label {
  display: block;
  color: var(--text-soft);
}

.safety-note {
  margin: 12px 0 0;
  border-left: 3px solid var(--accent-cyan);
  padding: 10px 12px;
  color: #d3ebff;
  background: rgba(27, 88, 145, 0.23);
  border-radius: 0 10px 10px 0;
}

.section {
  margin-top: 38px;
}

.section-head {
  margin-bottom: 16px;
}

.section-title {
  margin: 0 0 10px;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.section-subtitle {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.16rem;
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-main);
}

.card-body {
  padding: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

.card p {
  margin: 0 0 14px;
  color: #d3e0f8;
}

.card-top {
  min-height: 120px;
  border-bottom: 1px solid rgba(95, 129, 255, 0.28);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
}

.game-top-reels {
  background: linear-gradient(120deg, rgba(79, 8, 53, 0.8), rgba(5, 53, 64, 0.8)), url("/assets?p=%2F..%2Fimg%2Fneon-reels.jpg");
  background-position: center;
  background-size: cover;
}

.game-top-spin {
  background: linear-gradient(120deg, rgba(7, 74, 55, 0.8), rgba(6, 30, 81, 0.8)), url("/assets?p=%2F..%2Fimg%2Ftreasure-spin.jpg");
  background-position: center;
  background-size: cover;
}

.game-top-cards {
  background: linear-gradient(120deg, rgba(91, 64, 6, 0.8), rgba(44, 6, 79, 0.8)), url("/assets?p=%2F..%2Fimg%2Fmythic.jpg");
  background-position: center;
  background-size: cover;
}

.big-icon {
  font-size: 2.2rem;
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(94, 174, 255, 0.34);
  color: #b8d8ff;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(32, 69, 146, 0.24);
}

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

.info-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--bg-card);
}

.info-card h3 {
  margin-top: 0;
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
  color: #d2e7ff;
}

.notice-box {
  margin-top: 14px;
  border: 1px solid rgba(255, 206, 113, 0.36);
  border-radius: 12px;
  background: rgba(107, 69, 9, 0.14);
  padding: 10px 12px;
  color: #fff0cf;
}

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

.field-label {
  display: block;
  margin-bottom: 5px;
  color: #bfd5f8;
  font-weight: 600;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid rgba(93, 148, 255, 0.34);
  border-radius: 12px;
  background: rgba(8, 21, 67, 0.72);
  color: #f0f6ff;
  padding: 10px 12px;
  font: inherit;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: 1px solid var(--line-strong);
  border-color: var(--line-strong);
}

.textarea {
  resize: vertical;
  min-height: 110px;
}

.form-help {
  color: var(--text-soft);
  margin: 0;
}

.page-hero {
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: linear-gradient(145deg, rgba(10, 26, 84, 0.84), rgba(6, 13, 43, 0.78));
}

.page-hero.page-hero-neon-rush {
  background: linear-gradient(145deg, rgba(10, 26, 84, 0.84), rgba(6, 13, 43, 0.78)), url("/assets?p=%2F..%2Fimg%2Fneon-reels.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero.page-hero-mythic {
  background: linear-gradient(145deg, rgba(10, 26, 84, 0.84), rgba(6, 13, 43, 0.78)), url("/assets?p=%2F..%2Fimg%2Fmythic.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero.page-hero-spin {
  background: linear-gradient(145deg, rgba(10, 26, 84, 0.84), rgba(6, 13, 43, 0.78)), url("/assets?p=%2F..%2Fimg%2Ftreasure-spin.jpg");
  background-size: cover;
  background-position: center;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.page-hero p {
  color: #d8e8ff;
  font-size: 1.18rem;
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px;
  background: var(--bg-card);
  position: relative;
}

.timeline-year {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(58, 127, 255, 0.2);
  border: 1px solid rgba(80, 167, 255, 0.46);
  font-weight: 700;
  color: #c8eaff;
}

.timeline-item h3 {
  margin: 8px 0 6px;
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

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

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  border-top: 1px solid rgba(87, 129, 255, 0.24);
  padding: 12px 14px;
  color: #d2e8ff;
}

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

.review-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px;
}

.review-card img {
  border-radius: 10px;
}

.hero-image {
  margin-top: 15px;
  border-radius: 10px;
}

.review-score {
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: 1.75rem;
  color: #88ebff;
  margin: 0;
}

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

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.table th,
.table td {
  border: 1px solid rgba(93, 128, 255, 0.3);
  padding: 10px;
  text-align: left;
}

.table th {
  background: rgba(24, 63, 144, 0.35);
  color: #e8f5ff;
}

.table td {
  background: rgba(8, 23, 74, 0.55);
  color: #d4e6ff;
}

.legal-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 18px;
  margin-bottom: 14px;
}

.legal-card h2 {
  margin-top: 0;
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

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

.legal-card p,
.legal-card li {
  color: #d4e8ff;
}

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

.game-screen,
.game-side {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: var(--shadow-main);
}

.game-screen {
  padding: 20px;
}

.game-side {
  padding: 16px;
}

.game-title {
  margin: 0 0 8px;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

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

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

.reel-cell {
  border: 1px solid rgba(95, 152, 255, 0.35);
  border-radius: 12px;
  min-height: 88px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(7, 20, 62, 0.94), rgba(11, 30, 95, 0.78));
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.6px;
}

.result-line {
  min-height: 32px;
  margin: 10px 0 0;
  font-size: 1.04rem;
}

.result-line.success {
  color: var(--success);
}

.result-line.fail {
  color: #ffadc0;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.control-box {
  min-width: 170px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.neon-slot-theme {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 5%, rgba(14, 233, 255, 0.14), transparent 45%),
    radial-gradient(circle at 82% 8%, rgba(255, 60, 215, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(9, 24, 72, 0.9), rgba(4, 13, 44, 0.9));
}

.slot-machine {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(118, 183, 255, 0.38);
  background:
    linear-gradient(160deg, rgba(16, 34, 95, 0.86), rgba(8, 18, 59, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(171, 222, 255, 0.12),
    inset 0 18px 24px rgba(255, 255, 255, 0.08),
    inset 0 -24px 30px rgba(2, 8, 30, 0.72),
    0 20px 34px rgba(3, 16, 53, 0.66);
  perspective: 1200px;
}

.machine-marquee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.marquee-badge,
.marquee-note {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(118, 184, 255, 0.46);
  font-family: "Orbitron", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

.marquee-badge {
  color: #04172c;
  background: linear-gradient(120deg, #9ef6ff, #ff86e6);
}

.marquee-note {
  color: #cff0ff;
  background: rgba(13, 43, 112, 0.65);
}

.machine-stage {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(111, 168, 255, 0.32);
  padding: 14px 14px 16px;
  background:
    linear-gradient(180deg, rgba(4, 15, 50, 0.9), rgba(6, 24, 76, 0.92));
  box-shadow:
    inset 0 12px 18px rgba(157, 218, 255, 0.08),
    inset 0 -18px 20px rgba(4, 11, 34, 0.7);
}

.payline-lights {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.light-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(138, 184, 255, 0.24);
  box-shadow: 0 0 0 rgba(14, 233, 255, 0);
}

.slot-machine.is-spinning .light-dot {
  animation: light-run 0.42s linear infinite;
}

.slot-machine.is-spinning .light-dot:nth-child(2) {
  animation-delay: 0.05s;
}

.slot-machine.is-spinning .light-dot:nth-child(3) {
  animation-delay: 0.1s;
}

.slot-machine.is-spinning .light-dot:nth-child(4) {
  animation-delay: 0.15s;
}

.slot-machine.is-spinning .light-dot:nth-child(5) {
  animation-delay: 0.2s;
}

.slot-machine.is-spinning .light-dot:nth-child(6) {
  animation-delay: 0.25s;
}

.slot-machine.is-spinning .light-dot:nth-child(7) {
  animation-delay: 0.3s;
}

.slot-machine.is-spinning .light-dot:nth-child(8) {
  animation-delay: 0.35s;
}

.slot-machine.is-spinning .light-dot:nth-child(9) {
  animation-delay: 0.4s;
}

.reel-board.reel-board-3d {
  margin: 0;
  transform: rotateX(11deg);
  transform-style: preserve-3d;
}

.slot-machine .reel-cell {
  position: relative;
  min-height: 152px;
  border-radius: 14px;
  border: 1px solid rgba(120, 180, 255, 0.4);
  background:
    linear-gradient(180deg, rgba(7, 18, 54, 0.97), rgba(8, 25, 78, 0.93));
  box-shadow:
    inset 0 12px 14px rgba(221, 245, 255, 0.1),
    inset 0 -16px 18px rgba(5, 11, 33, 0.76),
    0 12px 14px rgba(0, 11, 39, 0.48);
  overflow: hidden;
}

.slot-machine .reel-cell::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  border: 1px solid rgba(190, 224, 255, 0.18);
  pointer-events: none;
}

.symbol-art {
  width: 100%;
  height: 100%;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background:
    linear-gradient(145deg, rgba(16, 55, 138, 0.44), rgba(20, 94, 156, 0.22));
}

.symbol-placeholder {
  font-family: "Orbitron", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.84rem;
  color: #d0e8ff;
}

/* Neon reels symbol art. */
.slot-machine .reel-cell[data-symbol="RUNE"] .symbol-art {
  background-image:
    linear-gradient(145deg, rgba(32, 113, 212, 0.34), rgba(55, 176, 255, 0.2)),
    url("/assets?p=%2F..%2Fimg%2Fneon-reels%2Frune.svg");
  background-size: 100% 100%, 76% 76%;
}

.slot-machine .reel-cell[data-symbol="STAR"] .symbol-art {
  background-image:
    linear-gradient(145deg, rgba(125, 84, 244, 0.3), rgba(251, 126, 220, 0.18)),
    url("/assets?p=%2F..%2Fimg%2Fneon-reels%2Fstar.svg");
  background-size: 100% 100%, 76% 76%;
}

.slot-machine .reel-cell[data-symbol="GEM"] .symbol-art {
  background-image:
    linear-gradient(145deg, rgba(3, 159, 161, 0.34), rgba(45, 246, 196, 0.16)),
    url("/assets?p=%2F..%2Fimg%2Fneon-reels%2Fgem.svg");
  background-size: 100% 100%, 76% 76%;
}

.slot-machine .reel-cell[data-symbol="CROWN"] .symbol-art {
  background-image:
    linear-gradient(145deg, rgba(176, 132, 37, 0.36), rgba(255, 220, 125, 0.17)),
    url("/assets?p=%2F..%2Fimg%2Fneon-reels%2Fcrown.svg");
  background-size: 100% 100%, 76% 76%;
}

.slot-machine .reel-cell[data-symbol="ORB"] .symbol-art {
  background-image:
    linear-gradient(145deg, rgba(38, 91, 206, 0.36), rgba(62, 215, 255, 0.18)),
    url("/assets?p=%2F..%2Fimg%2Fneon-reels%2Forb.svg");
  background-size: 100% 100%, 76% 76%;
}

.slot-machine .reel-cell[data-symbol="7"] .symbol-art {
  background-image:
    linear-gradient(145deg, rgba(185, 34, 65, 0.38), rgba(255, 138, 99, 0.2)),
    url("/assets?p=%2F..%2Fimg%2Fneon-reels%2Fseven.svg");
  background-size: 100% 100%, 76% 76%;
}

.slot-machine .reel-cell[data-symbol] .symbol-art {
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.slot-machine .reel-cell[data-symbol] .symbol-placeholder {
  display: none;
}

.slot-machine .reel-cell.is-spinning .symbol-art {
  animation: reel-jitter 0.1s linear infinite;
  filter: saturate(1.3) blur(0.7px);
}

.slot-machine .reel-cell.win {
  border-color: rgba(111, 254, 183, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(181, 255, 220, 0.35),
    0 0 26px rgba(78, 255, 179, 0.45),
    0 14px 20px rgba(0, 16, 50, 0.55);
}

.slot-machine.win-glow {
  box-shadow:
    inset 0 0 0 1px rgba(154, 255, 216, 0.3),
    inset 0 18px 24px rgba(255, 255, 255, 0.08),
    inset 0 -24px 30px rgba(2, 8, 30, 0.72),
    0 0 36px rgba(79, 255, 185, 0.34),
    0 20px 34px rgba(3, 16, 53, 0.66);
}

.machine-controls {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(90px, auto) 1fr auto;
  gap: 10px;
  align-items: center;
}

.stake-display {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(111, 183, 255, 0.42);
  border-radius: 12px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(8, 31, 88, 0.9), rgba(8, 21, 65, 0.88));
}

.stake-caption {
  font-size: 0.84rem;
  color: #adcaf2;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.stake-value {
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  color: #9ff5ff;
}

.bet-buttons,
.spin-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.machine-btn {
  border: 1px solid rgba(124, 181, 255, 0.46);
  color: #e5f3ff;
  background: linear-gradient(120deg, rgba(18, 67, 162, 0.9), rgba(18, 49, 123, 0.92));
  box-shadow: 0 10px 20px rgba(5, 18, 57, 0.45);
}

.machine-btn:hover {
  box-shadow: 0 14px 25px rgba(7, 23, 70, 0.55);
}

.machine-btn.is-active {
  border-color: rgba(113, 255, 185, 0.8);
  box-shadow: 0 0 24px rgba(87, 255, 181, 0.38);
}

.machine-spin-btn {
  min-width: 140px;
  text-transform: uppercase;
  letter-spacing: 0.65px;
}

.wheel-shell {
  margin: 40px auto 30px;
  width: 320px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid rgba(95, 162, 255, 0.55);
  background:
    conic-gradient(
      #0de4ff 0deg 45deg,
      #2f7bff 45deg 90deg,
      #ff63dd 90deg 135deg,
      #ffd37a 135deg 180deg,
      #8f8fff 180deg 225deg,
      #34f3be 225deg 270deg,
      #7ec8ff 270deg 315deg,
      #ff7fa7 315deg 360deg
    );
  box-shadow: 0 0 26px rgba(45, 199, 255, 0.4);
  position: relative;
  transition: transform 4.5s cubic-bezier(0.14, 0.68, 0.09, 1);
}

.wheel::before {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: rgba(5, 20, 66, 0.76);
  border: 1px solid rgba(110, 169, 255, 0.4);
}

.wheel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  transform-origin: 0 0;
  color: #031730;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.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: 25px solid #f7fbff;
  filter: drop-shadow(0 0 10px rgba(150, 235, 255, 0.65));
  z-index: 2;
}

.wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid rgba(131, 193, 255, 0.8);
  background: rgba(8, 38, 97, 0.92);
  display: grid;
  place-items: center;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: 0.8rem;
}

.wheel-label-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: rotate(0deg);
  transition: transform 4.7s cubic-bezier(0.12, 0.69, 0.09, 1);
  will-change: transform;
}

.treasure-wheel-theme {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 214, 125, 0.2), transparent 42%),
    radial-gradient(circle at 85% 9%, rgba(78, 175, 255, 0.2), transparent 45%),
    linear-gradient(170deg, rgba(13, 27, 74, 0.92), rgba(8, 17, 52, 0.94));
}

.treasure-wheel-shell {
  width: 360px;
  max-width: 100%;
  perspective: 1400px;
  filter: drop-shadow(0 14px 22px rgba(0, 10, 32, 0.6));
}

.treasure-wheel-shell::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 228, 148, 0.34);
  background: radial-gradient(circle at 32% 20%, rgba(255, 248, 208, 0.14), transparent 52%);
  pointer-events: none;
}

.treasure-wheel-shell::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 78%;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0, 7, 26, 0.68);
  filter: blur(10px);
  z-index: -1;
}

.treasure-wheel {
  position: relative;
  border-width: 10px;
  border-color: rgba(255, 221, 140, 0.6);
  background:
    conic-gradient(
      #1e76c6 0deg 45deg,
      #b48729 45deg 90deg,
      #2a95d7 90deg 135deg,
      #d4a83d 135deg 180deg,
      #2a7ac8 180deg 225deg,
      #c28f25 225deg 270deg,
      #268fd0 270deg 315deg,
      #d9ae4b 315deg 360deg
    );
  transform-style: preserve-3d;
  box-shadow:
    inset 0 10px 14px rgba(255, 250, 231, 0.2),
    inset 0 -16px 20px rgba(11, 19, 48, 0.65),
    0 0 22px rgba(255, 219, 132, 0.28),
    0 14px 22px rgba(6, 12, 37, 0.6);
  transition: transform 4.7s cubic-bezier(0.12, 0.69, 0.09, 1);
}

.treasure-wheel::before {
  inset: 21%;
  border: 1px solid rgba(255, 228, 168, 0.4);
  background:
    radial-gradient(circle at 40% 25%, rgba(255, 244, 204, 0.26), rgba(14, 37, 91, 0.88));
  box-shadow:
    inset 0 5px 10px rgba(255, 255, 255, 0.15),
    inset 0 -8px 14px rgba(0, 6, 20, 0.5);
}

.treasure-wheel::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(255, 239, 187, 0.24);
  pointer-events: none;
}

.treasure-wheel-shell .wheel-label {
  left: 50%;
  top: 50%;
  width: 66px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-origin: 50% 100%;
  text-align: center;
  line-height: 1;
  font-size: 0.84rem;
  letter-spacing: 0.2px;
  color: #fff2cf;
  text-shadow:
    0 1px 0 rgba(42, 27, 0, 0.75),
    0 0 10px rgba(255, 221, 144, 0.35);
  z-index: 4;
}

.treasure-pointer {
  position: absolute;
  top: -34px;
  left: 50%;
  width: 76px;
  height: 96px;
  transform: translateX(-50%) rotate(180deg);
  z-index: 8;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(3, 8, 29, 0.58));
}

.treasure-pointer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 38px;
  height: 62px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0%, 100% 66%, 66% 66%, 66% 100%, 34% 100%, 34% 66%, 0% 66%);
  background: linear-gradient(180deg, #fff6d6, #ffe59a 42%, #d8a744 80%, #9a6c18 100%);
}

.treasure-pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52px;
  width: 54px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(255, 223, 140, 0.72);
  background: linear-gradient(180deg, #f9edbf, #b8892f);
}

.treasure-pointer-cap {
  position: absolute;
  left: 50%;
  top: 58px;
  width: 26px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 230, 163, 0.74);
  background: radial-gradient(circle at 35% 32%, #fff8dd 0%, #f0c35f 45%, #986814 100%);
}

.treasure-wheel-center {
  width: 90px;
  height: 90px;
  border: 2px solid rgba(255, 227, 155, 0.82);
  color: #fff3d2;
  background:
    radial-gradient(circle at 35% 30%, #ffeeb8 0%, #d59c35 32%, #89611a 100%);
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.28),
    0 0 16px rgba(255, 211, 114, 0.46);
  z-index: 7;
}

.wheel-ring-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(255, 223, 146, 0.3);
  box-shadow:
    inset 0 0 22px rgba(255, 221, 131, 0.22),
    0 0 18px rgba(255, 220, 126, 0.2);
  pointer-events: none;
  z-index: 2;
}

.treasure-wheel-shell.is-spinning .treasure-pointer {
  animation: pointer-tremor 0.14s linear infinite;
}

.treasure-wheel-shell.is-spinning .wheel-ring-glow {
  animation: ring-pulse 0.52s ease-in-out infinite;
}

.treasure-wheel-shell.is-hit .treasure-wheel {
  box-shadow:
    inset 0 10px 14px rgba(255, 250, 231, 0.22),
    inset 0 -16px 20px rgba(11, 19, 48, 0.65),
    0 0 30px rgba(112, 255, 202, 0.4),
    0 14px 22px rgba(6, 12, 37, 0.6);
}

.card-table {
  margin: 16px 0;
  display: grid;
  gap: 14px;
}

.hand {
  border: 1px solid rgba(96, 145, 255, 0.34);
  border-radius: 12px;
  padding: 12px;
  background: rgba(7, 20, 66, 0.6);
}

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

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

.play-card {
  min-width: 78px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(117, 170, 255, 0.4);
  background: linear-gradient(180deg, rgba(17, 43, 120, 0.94), rgba(9, 24, 73, 0.9));
  text-align: center;
}

.play-card strong {
  display: block;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.play-card span {
  color: #bcd7ff;
  font-size: 0.92rem;
}

.mythic-duel-theme {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 7%, rgba(255, 191, 106, 0.16), transparent 42%),
    radial-gradient(circle at 88% 11%, rgba(91, 216, 255, 0.16), transparent 46%),
    linear-gradient(170deg, rgba(13, 33, 83, 0.94), rgba(7, 19, 56, 0.94));
}

.duel-controls .btn {
  min-height: 46px;
}

.duel-table {
  position: relative;
  padding-top: 54px;
  border-radius: 16px;
  border: 1px solid rgba(102, 174, 255, 0.32);
  background:
    radial-gradient(circle at 50% 25%, rgba(18, 99, 109, 0.24), transparent 48%),
    linear-gradient(180deg, rgba(8, 42, 72, 0.84), rgba(5, 28, 51, 0.9));
  box-shadow:
    inset 0 10px 16px rgba(171, 240, 255, 0.08),
    inset 0 -12px 16px rgba(0, 11, 32, 0.62);
}

.duel-deck {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 76px;
  height: 46px;
  pointer-events: none;
}

.deck-card {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1px solid rgba(180, 219, 255, 0.35);
  background:
    repeating-linear-gradient(
      -35deg,
      rgba(129, 198, 255, 0.2),
      rgba(129, 198, 255, 0.2) 7px,
      rgba(42, 99, 171, 0.4) 7px,
      rgba(42, 99, 171, 0.4) 14px
    );
}

.deck-card-one {
  transform: translate(-8px, 8px) rotate(-8deg);
}

.deck-card-two {
  transform: translate(-3px, 4px) rotate(-4deg);
}

.deck-card-three {
  transform: translate(0, 0) rotate(0deg);
}

.duel-table.is-dealing .duel-deck {
  animation: deck-shiver 0.48s ease-in-out infinite;
}

.mythic-duel-theme .hand {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.mythic-duel-theme .hand.is-active {
  border-color: rgba(119, 245, 212, 0.72);
  box-shadow: 0 0 24px rgba(81, 236, 194, 0.28);
}

.mythic-duel-theme .hand.is-waiting {
  opacity: 0.78;
}

.mythic-duel-theme .hand.is-bust {
  border-color: rgba(255, 113, 143, 0.74);
  box-shadow: 0 0 20px rgba(255, 95, 133, 0.26);
}

.mythic-duel-theme .hand-head strong {
  color: #d3ecff;
}

.mythic-duel-theme .hand-cards {
  min-height: 152px;
  align-items: flex-end;
}

.mythic-duel-theme .play-card {
  position: relative;
  width: 98px;
  min-height: 138px;
  padding: 10px 8px 8px;
  border-radius: 12px;
  border: 1px solid rgba(151, 206, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(239, 248, 255, 0.94), rgba(196, 226, 255, 0.88));
  text-align: center;
  color: #0a1d46;
  box-shadow:
    0 8px 14px rgba(4, 16, 44, 0.45),
    inset 0 10px 12px rgba(255, 255, 255, 0.75);
  transform-origin: center bottom;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.mythic-duel-theme .play-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.5), transparent 38%, transparent 62%, rgba(255, 255, 255, 0.3));
  opacity: 0.65;
  pointer-events: none;
}

.mythic-duel-theme .play-card::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 9px;
  border: 1px solid rgba(67, 119, 196, 0.32);
  pointer-events: none;
}

.mythic-duel-theme .play-card.is-dealt {
  animation: card-deal 0.5s cubic-bezier(0.14, 0.74, 0.22, 1);
}

.mythic-duel-theme .play-card.is-revealed {
  animation: card-flip 0.55s cubic-bezier(0.25, 0.75, 0.2, 1);
}

.mythic-duel-theme .play-card:hover {
  transform: translateY(-2px);
}

.mythic-duel-theme .play-card strong {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  color: #0b2459;
  letter-spacing: 0.2px;
}

.mythic-duel-theme .play-card span {
  position: relative;
  z-index: 2;
  color: #204a8b;
  font-weight: 600;
}

.mythic-duel-theme .play-card.play-card-hidden {
  color: #ddedff;
  background:
    radial-gradient(circle at 22% 20%, rgba(167, 221, 255, 0.3), transparent 48%),
    repeating-linear-gradient(
      -36deg,
      rgba(47, 102, 184, 0.88),
      rgba(47, 102, 184, 0.88) 8px,
      rgba(18, 62, 127, 0.92) 8px,
      rgba(18, 62, 127, 0.92) 16px
    );
  box-shadow:
    0 8px 14px rgba(2, 14, 42, 0.52),
    inset 0 10px 12px rgba(130, 193, 255, 0.2);
}

.mythic-duel-theme .play-card.play-card-hidden strong,
.mythic-duel-theme .play-card.play-card-hidden span {
  color: #d9edff;
}

.card-glyph {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  margin: 4px auto 2px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(97, 151, 224, 0.35);
  background: rgba(176, 214, 255, 0.35);
}

.card-glyph svg {
  width: 24px;
  height: 24px;
  display: block;
}

.card-glyph path,
.card-glyph circle,
.card-glyph polygon {
  fill: currentColor;
}

.card-glyph.glyph-sword {
  color: #2f61a9;
}

.card-glyph.glyph-bow {
  color: #3f7599;
}

.card-glyph.glyph-eye {
  color: #5f43a9;
}

.card-glyph.glyph-flame {
  color: #ab3d3d;
}

.card-glyph.glyph-shield {
  color: #2e7b81;
}

.mythic-duel-theme .play-card.tier-common {
  border-color: rgba(120, 177, 235, 0.55);
}

.mythic-duel-theme .play-card.tier-rare {
  border-color: rgba(92, 210, 255, 0.72);
}

.mythic-duel-theme .play-card.tier-epic {
  border-color: rgba(161, 121, 255, 0.74);
}

.mythic-duel-theme .play-card.tier-legend {
  border-color: rgba(255, 182, 88, 0.84);
  box-shadow:
    0 10px 18px rgba(56, 24, 2, 0.45),
    inset 0 10px 12px rgba(255, 241, 204, 0.8),
    0 0 14px rgba(255, 190, 103, 0.35);
}

.mythic-duel-theme .play-card.tier-legend .card-glyph {
  border-color: rgba(255, 197, 103, 0.62);
  background: rgba(255, 227, 171, 0.42);
}

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

.achievement {
  border: 1px solid rgba(96, 132, 255, 0.3);
  border-radius: 12px;
  padding: 12px;
  background: rgba(7, 17, 58, 0.72);
}

.achievement.unlocked {
  border-color: rgba(75, 241, 157, 0.75);
  box-shadow: 0 0 22px rgba(75, 241, 157, 0.2);
}

.achievement h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

.achievement p {
  margin: 0;
  color: #cfe3ff;
}

.achievement small {
  color: var(--text-soft);
}

.callout {
  border: 1px solid rgba(14, 233, 255, 0.44);
  border-radius: 14px;
  padding: 14px;
  background: rgba(6, 44, 90, 0.26);
}

.footer {
  border-top: 1px solid rgba(90, 129, 255, 0.2);
  margin-top: 48px;
  padding: 20px 0 34px;
  background: rgba(4, 10, 35, 0.9);
}

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

.footer-full {
  grid-template-columns: 1.05fr 1.95fr;
  align-items: start;
}

.footer-brand {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.footer-links-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-link-col {
  display: grid;
  gap: 5px;
  align-content: start;
}

.footer-col-title {
  margin: 0 0 4px;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #d9ebff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-link {
  display: inline-block;
  padding: 4px 0;
  color: #c4dcff;
  border-bottom: 1px solid transparent;
}

.footer-link:hover {
  border-bottom-color: rgba(130, 193, 255, 0.6);
}

.footer-note {
  color: var(--text-soft);
  margin: 0;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  border: 1px solid rgba(109, 167, 255, 0.5);
  border-radius: 14px;
  background: rgba(3, 13, 43, 0.96);
  padding: 12px;
  box-shadow: 0 10px 30px rgba(2, 13, 44, 0.5);
  display: none;
}

.cookie-banner.visible {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  color: #d1e4ff;
  max-width: 860px;
}

.status-message {
  min-height: 26px;
  margin-top: 8px;
}

.status-message.success {
  color: var(--success);
}

.status-message.error {
  color: #ffb4c0;
}

.pulse {
  animation: pulse-glow 2.4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(14, 233, 255, 0);
  }
  50% {
    box-shadow: 0 0 26px rgba(14, 233, 255, 0.36);
  }
}

@keyframes reel-jitter {
  0% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(-2px);
  }
}

@keyframes light-run {
  0% {
    background: rgba(156, 199, 255, 0.24);
    box-shadow: 0 0 0 rgba(14, 233, 255, 0);
  }
  50% {
    background: rgba(153, 252, 255, 0.96);
    box-shadow: 0 0 12px rgba(14, 233, 255, 0.9);
  }
  100% {
    background: rgba(156, 199, 255, 0.24);
    box-shadow: 0 0 0 rgba(14, 233, 255, 0);
  }
}

@keyframes pointer-tremor {
  0% {
    transform: translateX(-50%) rotate(180deg);
  }
  25% {
    transform: translateX(-50%) rotate(178deg);
  }
  75% {
    transform: translateX(-50%) rotate(182deg);
  }
  100% {
    transform: translateX(-50%) rotate(180deg);
  }
}

@keyframes ring-pulse {
  0%,
  100% {
    opacity: 0.45;
    box-shadow:
      inset 0 0 16px rgba(255, 221, 131, 0.18),
      0 0 12px rgba(255, 220, 126, 0.15);
  }
  50% {
    opacity: 0.9;
    box-shadow:
      inset 0 0 24px rgba(255, 221, 131, 0.35),
      0 0 24px rgba(255, 220, 126, 0.42);
  }
}

@keyframes deck-shiver {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(-1px) rotate(-1deg);
  }
  75% {
    transform: translateX(1px) rotate(1deg);
  }
}

@keyframes card-deal {
  0% {
    opacity: 0;
    transform: translateY(-18px) translateX(10px) rotate(8deg) scale(0.88);
  }
  55% {
    opacity: 1;
    transform: translateY(3px) translateX(0) rotate(-2deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
  }
}

@keyframes card-flip {
  0% {
    transform: rotateY(90deg) scale(0.92);
    opacity: 0.2;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

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

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

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

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

  .main-header .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .machine-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(1180px, 94vw);
  }

  .hero-grid {
    padding: 24px;
  }

  .lead {
    font-size: 1.08rem;
  }

  .card-grid.three,
  .card-grid.four,
  .info-grid,
  .review-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

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

  .wheel-shell {
    width: 280px;
  }

  .treasure-wheel-shell {
    width: 300px;
  }

  .treasure-wheel-shell .wheel-label {
    width: 56px;
    font-size: 0.76rem;
  }

  .treasure-pointer {
    top: -28px;
    width: 66px;
    height: 84px;
  }

  .treasure-wheel-center {
    width: 80px;
    height: 80px;
    font-size: 0.75rem;
  }

  .duel-table {
    padding-top: 46px;
  }

  .duel-deck {
    transform: scale(0.9);
    top: 8px;
    right: 8px;
  }

  .mythic-duel-theme .hand-cards {
    min-height: 134px;
    gap: 7px;
  }

  .mythic-duel-theme .play-card {
    width: 84px;
    min-height: 122px;
    padding: 8px 6px;
  }

  .mythic-duel-theme .play-card strong {
    font-size: 0.86rem;
  }

  .mythic-duel-theme .play-card span {
    font-size: 0.8rem;
  }

  .top-strip .container {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .top-strip .strip-note {
    margin: 0;
    min-width: 0;
    flex: 1;
    margin: 10px 0;
  }

  .slot-machine {
    padding: 12px;
  }

  .slot-machine .reel-cell {
    min-height: 118px;
  }

  .symbol-placeholder {
    font-size: 0.72rem;
    letter-spacing: 0.7px;
  }

  .machine-spin-btn {
    width: 100%;
  }
}
