:root {
  --bg-night: #140507;
  --bg-deep: #2a090d;
  --bg-sky: #3f1415;
  --accent-cyan: #4be8ff;
  --accent-gold: #ffca55;
  --accent-orange: #ff7844;
  --accent-red: #ff4a4f;
  --hero-image: url("../images/games.jpg");
  --text-main: #fff6ef;
  --text-muted: #edcfbf;
  --panel: rgba(41, 10, 16, 0.78);
  --panel-strong: rgba(28, 7, 11, 0.95);
  --border: rgba(255, 190, 123, 0.4);
  --success: #56e39f;
  --warning: #ffd166;
  --danger: #ff6b6b;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text-main);
  background-image: linear-gradient(168deg, rgba(20, 5, 7, 0.97), rgba(42, 9, 13, 0.95) 52%, rgba(63, 20, 21, 0.92)),
    radial-gradient(circle at 20% 10%, rgba(255, 74, 79, 0.16), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(255, 202, 85, 0.14), transparent 33%),
    url("../images/back.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-attachment: scroll, scroll, scroll, fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
  animation: drift 18s ease-in-out infinite;
}

body::before {
  width: 320px;
  height: 320px;
  background: rgba(255, 74, 79, 0.32);
  top: -120px;
  right: -80px;
}

body::after {
  width: 240px;
  height: 240px;
  background: rgba(255, 202, 85, 0.22);
  bottom: -80px;
  left: -60px;
  animation-delay: -8s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -14px) scale(1.08);
  }
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
}

a:hover {
  color: #8fffea;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(24, 4, 9, 0.86);
  border-bottom: 1px solid rgba(255, 188, 118, 0.24);
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 24px;
}

.logo {
  font-family: "Bungee", cursive;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--accent-gold), var(--accent-red));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22), 0 0 30px rgba(255, 108, 79, 0.42);
}

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

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

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 195, 120, 0.5);
  background: linear-gradient(145deg, rgba(49, 12, 18, 0.94), rgba(29, 8, 12, 0.96));
  color: #ffe6ba;
  border-radius: 12px;
  padding: 8px 12px 8px 42px;
  min-height: 42px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 230, 181, 0.14);
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.menu-toggle span:nth-child(1) {
  top: 13px;
}

.menu-toggle span:nth-child(2) {
  top: 19px;
}

.menu-toggle span:nth-child(3) {
  top: 25px;
}

.menu-toggle em {
  font-style: normal;
  font-size: 0.88rem;
  margin-left: 0;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-link {
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
}

.nav-link:hover,
.nav-link.active {
  border-color: rgba(255, 202, 85, 0.55);
  background: rgba(255, 202, 85, 0.12);
}

.age-chip {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ffd8d8;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(120, 20, 20, 0.22);
}

main {
  padding-bottom: 60px;
}

.hero {
  padding: 68px 0 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.hero-premium {
  grid-template-columns: 1.2fr 0.8fr;
}

.hero-simple {
  display: block;
  padding-bottom: 30px;
}

.hero-fullwidth {
  width: 100%;
  margin: 0;
  padding: 0 0 30px;
}

.hero-fullwidth .hero-stage {
  border-radius: 0;
  min-height: 520px;
}

.hero-stage {
  min-height: 430px;
  border-radius: 24px;
  border: none;
  background-image:
    linear-gradient(180deg, rgba(18, 5, 8, 0.72), rgba(12, 3, 6, 0.9)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 24%, rgba(255, 194, 95, 0.09), transparent 56%);
}

.hero-stage-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(720px, 92%);
}

.hero-stage-content h1 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-wrap: balance;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.62);
}

.hero-stage-content p {
  margin: 14px auto 0;
  max-width: 56ch;
  color: #ffe5cf;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.58);
}

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

.hero-visual {
  border-radius: 24px;
  border: 1px solid rgba(255, 203, 125, 0.45);
  min-height: 360px;
  background-image:
    linear-gradient(130deg, rgba(255, 86, 72, 0.2), rgba(26, 7, 10, 0.9)),
    radial-gradient(circle at 15% 80%, rgba(75, 232, 255, 0.14), transparent 45%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.18)),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 20px
    );
}

.hero-visual-label,
.hero-chip-row {
  position: relative;
  z-index: 1;
}

.hero-visual-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 235, 190, 0.7);
  background: rgba(40, 8, 14, 0.68);
  font-size: 0.88rem;
  letter-spacing: 0.4px;
}

.hero-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-chip-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(29, 8, 14, 0.76);
  border: 1px solid rgba(255, 191, 118, 0.45);
  font-size: 0.82rem;
}

.hero-pitch p {
  max-width: 42ch;
}

.hero h1 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero p {
  color: var(--text-muted);
  max-width: 62ch;
}

.glow-card {
  background: linear-gradient(160deg, rgba(57, 14, 22, 0.84), rgba(26, 7, 12, 0.95));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  top: -90px;
  right: -70px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 127, 88, 0.25), transparent 70%);
}

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

.stat-item {
  background: rgba(33, 9, 15, 0.82);
  border: 1px solid rgba(255, 191, 118, 0.3);
  border-radius: 16px;
  padding: 14px;
}

.stat-item strong {
  display: block;
  font-size: 1.55rem;
  font-family: "Rajdhani", sans-serif;
}

.section {
  padding: 26px 0;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: auto -35% -70% auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 85, 0.2), transparent 70%);
}

.game-thumb {
  height: 136px;
  border-radius: 12px;
  border: 1px solid rgba(255, 204, 138, 0.4);
  margin: 10px 0 12px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -40px 46px rgba(12, 3, 6, 0.72);
}

.thumb-compass {
  background-image: linear-gradient(150deg, rgba(16, 4, 9, 0.45), rgba(16, 4, 9, 0.82)), url("../images/compass-circuit.jpg");
}

.thumb-trail {
  background-image: linear-gradient(150deg, rgba(16, 4, 9, 0.45), rgba(16, 4, 9, 0.82)), url("../images/trail-dash-run.jpg");
}

.thumb-glyph {
  background-image: linear-gradient(150deg, rgba(16, 4, 9, 0.45), rgba(16, 4, 9, 0.82)), url("../images/glyph-grid-flow.jpg");
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 202, 85, 0.7);
  box-shadow: 0 15px 26px rgba(0, 0, 0, 0.3);
}

.pill {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 191, 77, 0.6);
  color: #ffe4b5;
  margin-bottom: 8px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

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

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

.btn-primary {
  color: #2a070d;
  background: linear-gradient(140deg, var(--accent-gold), #ffe19d);
  box-shadow: 0 7px 18px rgba(255, 196, 82, 0.38);
}

.btn-alt {
  color: #fff;
  background: linear-gradient(140deg, #ff4a4f, #ff8c56);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(140deg, #ff6b6b, #ff855e);
}

.panel {
  background: var(--panel-strong);
  border: 1px solid rgba(255, 185, 111, 0.28);
  border-radius: 18px;
  padding: 20px;
}

.disclaimer-box {
  margin-top: 18px;
  border-left: 4px solid var(--warning);
  background: rgba(255, 209, 102, 0.14);
  padding: 12px 14px;
  border-radius: 10px;
  color: #fff6df;
  font-size: 0.94rem;
  backdrop-filter: blur(5px);
}

.split {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.timeline {
  border-left: 2px dashed rgba(255, 191, 77, 0.5);
  padding-left: 16px;
}

.timeline-item {
  margin-bottom: 15px;
}

.timeline-item strong {
  color: #ffd389;
}

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

.review {
  background: rgba(7, 22, 34, 0.9);
  border: 1px solid rgba(71, 217, 194, 0.25);
  border-radius: 15px;
  padding: 16px;
}

.review .author {
  color: var(--accent-cyan);
  font-weight: 700;
}

.faq-item {
  background: rgba(8, 24, 36, 0.92);
  border: 1px solid rgba(137, 211, 217, 0.28);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

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

.achievement {
  background: rgba(8, 24, 37, 0.9);
  border: 1px solid rgba(255, 191, 77, 0.22);
  border-radius: 14px;
  padding: 14px;
  position: relative;
}

.achievement.locked {
  opacity: 0.55;
}

.achievement .status {
  font-size: 0.8rem;
  color: var(--warning);
}

.achievement.unlocked {
  border-color: rgba(86, 227, 159, 0.65);
  box-shadow: 0 0 25px rgba(86, 227, 159, 0.25);
}

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

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #d8f4f7;
  margin-bottom: 4px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(137, 211, 217, 0.35);
  background: rgba(6, 18, 29, 0.95);
  color: var(--text-main);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

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

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

.site-footer {
  border-top: 1px solid rgba(131, 211, 219, 0.2);
  background: rgba(4, 11, 19, 0.85);
  margin-top: 30px;
}

.site-footer-rich {
  border-top-color: rgba(255, 187, 118, 0.28);
  background: linear-gradient(180deg, rgba(20, 5, 8, 0.96), rgba(10, 3, 5, 0.98));
}

.footer-inner {
  padding: 20px 0 28px;
}

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

.footer-mega h3 {
  margin: 0 0 8px;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  color: #ffd89f;
  font-size: 1rem;
}

.site-footer-rich .footer-links {
  display: grid;
  gap: 6px;
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #ffe1b2;
  margin-bottom: 8px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-note {
  color: #d8e8ea;
  font-size: 0.9rem;
}

.legal-content h2 {
  font-family: "Rajdhani", sans-serif;
  margin-top: 18px;
}

.notice-highlight {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 107, 0.4);
  background: rgba(170, 28, 28, 0.12);
  color: #ffd7d7;
}

.game-shell {
  padding-top: 52px;
}

.game-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 18px;
}

.game-stage {
  background: rgba(25, 7, 11, 0.92);
  border: 1px solid rgba(255, 184, 108, 0.4);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.games-photo-card {
  background-image: linear-gradient(160deg, rgba(16, 4, 8, 0.74), rgba(16, 4, 8, 0.94)), url("../images/games.jpg");
  background-size: cover;
  background-position: center;
}

.games-photo-card h2,
.games-photo-card li {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.game-cover {
  background-size: cover;
  background-position: center;
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(10, 2, 6, 0.66), rgba(10, 2, 6, 0.93));
}

.game-cover > * {
  position: relative;
  z-index: 1;
}

.game-cover h1,
.game-cover p {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.cover-compass {
  background-image: url("../images/compass-circuit.jpg");
}

.cover-trail {
  background-image: url("../images/trail-dash-run.jpg");
}

.cover-glyph {
  background-image: url("../images/glyph-grid-flow.jpg");
}

.game-stage h2 {
  margin: 0 0 12px;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
}

.game-score {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.metric {
  background: rgba(38, 10, 16, 0.92);
  border: 1px solid rgba(255, 192, 113, 0.33);
  border-radius: 11px;
  padding: 8px 12px;
  min-width: 120px;
}

.metric strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
}

.status-line {
  min-height: 32px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(37, 11, 17, 0.95);
  border: 1px solid rgba(255, 191, 77, 0.3);
  color: #ffe9c1;
  margin-top: 10px;
}

.status-line.good {
  border-color: rgba(86, 227, 159, 0.45);
  color: #e9ffef;
}

.status-line.bad {
  border-color: rgba(255, 107, 107, 0.45);
  color: #ffe9e9;
}

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

.rune-card {
  border: 1px solid rgba(137, 211, 217, 0.3);
  border-radius: 15px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(17, 44, 58, 0.92), rgba(10, 25, 38, 0.98));
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}

.rune-card::after {
  content: "";
  position: absolute;
  inset: -80% 40% 80% -40%;
  transform: rotate(23deg);
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.rune-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 191, 77, 0.55);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.3);
}

.rune-card.played {
  border-color: rgba(86, 227, 159, 0.9);
  box-shadow: 0 0 20px rgba(86, 227, 159, 0.55);
}

.rune-card h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.rune-card .power {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin: 0 0 6px;
}

.runeforge-bars {
  display: grid;
  gap: 10px;
}

.bar-track {
  width: 100%;
  background: rgba(6, 18, 28, 0.9);
  border-radius: 999px;
  overflow: hidden;
  height: 11px;
  border: 1px solid rgba(137, 211, 217, 0.35);
}

.bar-fill {
  height: 100%;
  transition: width 0.35s ease;
}

.bar-fill.player {
  background: linear-gradient(90deg, #4de0b4, #94ffe1);
}

.bar-fill.enemy {
  background: linear-gradient(90deg, #ff8066, #ffc2a5);
}

.relic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.relic-tile {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid rgba(137, 211, 217, 0.35);
  background: linear-gradient(170deg, rgba(17, 45, 59, 0.94), rgba(8, 24, 36, 0.97));
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.relic-tile:hover {
  transform: scale(1.03);
}

.relic-tile.hot {
  border-color: rgba(255, 191, 77, 0.9);
  box-shadow: 0 0 18px rgba(255, 191, 77, 0.48);
  animation: pulse 0.9s infinite;
}

.relic-tile.hit {
  border-color: rgba(86, 227, 159, 0.9);
  box-shadow: 0 0 18px rgba(86, 227, 159, 0.55);
}

.relic-tile.miss {
  border-color: rgba(255, 107, 107, 0.7);
}

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

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

.reel {
  border-radius: 14px;
  border: 1px solid rgba(137, 211, 217, 0.35);
  background: linear-gradient(180deg, rgba(11, 32, 45, 0.94), rgba(5, 15, 24, 0.95));
  min-height: 122px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  position: relative;
  overflow: hidden;
}

.slot-symbol {
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.reel.spinning {
  box-shadow: inset 0 0 26px rgba(255, 209, 133, 0.22);
}

.reel.win {
  border-color: rgba(255, 191, 77, 0.9);
  box-shadow: 0 0 24px rgba(255, 191, 77, 0.55);
}

.reel-track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.reel-item {
  min-height: 100%;
  display: grid;
  place-items: center;
}

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

.spin-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: 8px 0 14px;
}

.banner {
  padding: 13px 14px;
  border-radius: 12px;
  margin-top: 10px;
  border: 1px solid rgba(255, 191, 77, 0.4);
  background: rgba(255, 191, 77, 0.14);
  color: #dcfffa;
}

.banner strong {
  color: #fff4c9;
}

.chip-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.chip-btn {
  border: 1px solid rgba(255, 196, 126, 0.45);
  background: rgba(48, 14, 22, 0.9);
  color: #ffe7bc;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
}

.chip-btn.active {
  background: linear-gradient(140deg, #ffca55, #ff8d48);
  color: #2a070d;
  border-color: rgba(255, 222, 164, 0.9);
}

.wheel-wrap {
  position: relative;
  width: min(420px, 92vw);
  margin: 8px auto 14px;
  aspect-ratio: 1 / 1;
}

.fortune-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid rgba(255, 210, 137, 0.9);
  box-shadow: 0 0 0 8px rgba(63, 18, 22, 0.9), 0 0 36px rgba(255, 129, 77, 0.35);
  transition: transform 4s cubic-bezier(0.14, 0.74, 0.13, 1);
  position: relative;
  overflow: hidden;
}

.fortune-wheel::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 239, 199, 0.55);
}

.wheel-center {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffca55, #ff8d48);
  border: 4px solid rgba(41, 9, 13, 0.95);
  display: grid;
  place-items: center;
  color: #2a070d;
  font-weight: 800;
  font-size: 0.84rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid #ffe4ab;
  z-index: 3;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
}

.wheel-sector-label {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 44px;
  text-align: center;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 205, 129, 0.55);
  background: rgba(34, 8, 12, 0.88);
  color: #ffe8c2;
  font-weight: 700;
  font-size: 0.74rem;
  z-index: 5;
}

.wheel-sector-label.active {
  background: linear-gradient(140deg, #ffce64, #ff9457);
  color: #2a070d;
  border-color: rgba(255, 230, 184, 0.95);
  box-shadow: 0 0 18px rgba(255, 204, 110, 0.5);
}

.wheel-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.wheel-legend div {
  border-radius: 10px;
  border: 1px solid rgba(255, 195, 117, 0.38);
  background: rgba(38, 10, 16, 0.9);
  font-size: 0.8rem;
  text-align: center;
  padding: 6px;
}

.chicken-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.chicken-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.road-tile {
  border: 1px solid rgba(255, 195, 117, 0.4);
  background: linear-gradient(180deg, rgba(57, 15, 20, 0.95), rgba(30, 8, 12, 0.98));
  border-radius: 12px;
  min-height: 52px;
  color: #ffe8ba;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.road-tile svg {
  width: 30px;
  height: 30px;
}

.road-tile.safe {
  border-color: rgba(97, 236, 169, 0.7);
  box-shadow: inset 0 0 18px rgba(97, 236, 169, 0.2);
}

.road-tile.hazard {
  border-color: rgba(255, 97, 97, 0.7);
}

.road-tile.player {
  transform: scale(1.04);
  box-shadow: 0 0 22px rgba(255, 204, 104, 0.5);
}

.move-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(320px, 100%);
  margin-top: 10px;
}

.move-controls .btn {
  padding: 9px 0;
}

.game-launch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.game-launch-note {
  color: #ffdcb1;
  font-size: 0.9rem;
}

.win-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.win-item {
  background: rgba(50, 14, 21, 0.9);
  border: 1px solid rgba(255, 195, 121, 0.42);
  border-radius: 12px;
  padding: 10px;
}

.win-item strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  color: #ffe8c2;
}

@media (max-width: 980px) {
  .hero,
  .game-top,
  .split {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 700px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-wrap {
    width: 100%;
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 0 2px;
    background: rgba(28, 8, 12, 0.94);
    border: 1px solid rgba(255, 188, 110, 0.28);
    border-radius: 12px;
    padding: 8px;
  }

  .nav-wrap.open {
    display: grid;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-fullwidth {
    padding-top: 0;
  }

  .hero-stage {
    min-height: 360px;
    border-radius: 18px;
  }

  .hero-fullwidth .hero-stage {
    border-radius: 0;
    min-height: 390px;
  }

  .nav-link {
    display: block;
    text-align: center;
    padding: 8px 6px;
    font-size: 0.82rem;
  }

  .age-chip {
    justify-self: center;
    grid-column: 1 / -1;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

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

  .stat-grid,
  .card-grid,
  .achievement-list,
  .runeforge-cards,
  .relic-grid,
  .spin-layout {
    grid-template-columns: 1fr;
  }

  .metric {
    min-width: 0;
    flex: 1;
  }

  .relic-tile {
    aspect-ratio: 5 / 1;
    font-size: 1.1rem;
  }

  .chicken-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .road-tile {
    min-height: 46px;
    font-size: 0.9rem;
  }

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

  .win-strip {
    grid-template-columns: 1fr;
  }

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