:root {
  color-scheme: dark;
  --bg: #0F1220;
  --surface: rgba(23, 27, 48, .86);
  --surface-2: rgba(31, 36, 63, .84);
  --primary: #6D5DFC;
  --primary-2: #8B7FFF;
  --gold: #FFD166;
  --success: #2ECC71;
  --danger: #FF5A5F;
  --text: #F7F8FF;
  --muted: #AAB0D6;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 18px 48px rgba(0, 0, 0, .34);
  --radius: 18px;
  --radius-sm: 12px;
  --gap: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; user-select: none; }
html, body, #app-shell, #game { width: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--bg); touch-action: none; }
body { position: fixed; inset: 0; color: var(--text); overscroll-behavior: none; }
canvas { display: block; width: 100%; height: 100%; }
button, input, select { font: inherit; }
button { border: 0; cursor: pointer; color: var(--text); }

#ui-root { position: fixed; inset: 0; pointer-events: none; }
#boot-splash { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); background: radial-gradient(circle at 50% 20%, rgba(109,93,252,.34), transparent 38%), linear-gradient(180deg, #111427, #070914); transition: opacity .32s ease, transform .32s ease; pointer-events: auto; }
#boot-splash.is-hidden { opacity: 0; transform: scale(1.02); pointer-events: none; }
.boot-card { width: min(360px, 100%); display: grid; justify-items: center; gap: 16px; padding: 28px; border-radius: 28px; background: linear-gradient(180deg, rgba(31,36,63,.72), rgba(15,18,32,.82)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 28px 80px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.08); animation: modal-pop .42s ease both; }
.boot-logo { font-size: 38px; line-height: .9; font-weight: 950; text-shadow: 0 0 28px rgba(109,93,252,.5); }
.boot-rune { width: 92px; aspect-ratio: 1; border-radius: 28px; background: conic-gradient(from 45deg, var(--gold), var(--primary-2), var(--primary), var(--success), var(--gold)); box-shadow: 0 0 54px rgba(109,93,252,.42); animation: crest-spin 3.6s linear infinite; }
.boot-rune::after { content: ""; display: block; width: 40%; height: 40%; margin: 30%; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 18px rgba(255,255,255,.08); }
.boot-copy { color: var(--muted); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.boot-bar { width: 100%; height: 10px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 4px rgba(0,0,0,.45); }
.boot-bar span { display: block; width: 45%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--gold)); box-shadow: 0 0 22px rgba(109,93,252,.5); animation: boot-load 1.1s ease-in-out infinite; }
.screen { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; pointer-events: auto; background: radial-gradient(circle at 18% 8%, rgba(109,93,252,.30), transparent 32%), radial-gradient(circle at 92% 18%, rgba(255,209,102,.15), transparent 28%), radial-gradient(circle at 48% 106%, rgba(46,204,113,.10), transparent 36%), linear-gradient(180deg, #111427 0%, var(--bg) 55%, #090B14 100%); }
.screen::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px), radial-gradient(circle at 20% 25%, rgba(116,214,128,.12) 0 1px, transparent 2px), radial-gradient(circle at 78% 64%, rgba(255,209,102,.14) 0 1px, transparent 2px); background-size: 38px 38px, 38px 38px, 120px 120px, 150px 150px; mask-image: linear-gradient(to bottom, black 0 54%, transparent 92%); animation: bg-drift 20s linear infinite; }
.topbar { position: relative; z-index: 1; min-height: calc(82px + env(safe-area-inset-top)); display: flex; align-items: center; gap: 12px; padding: calc(16px + env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 14px max(18px, env(safe-area-inset-left)); background: rgba(15,18,32,.78); border-bottom: 1px solid var(--line); backdrop-filter: blur(22px); box-shadow: 0 16px 40px rgba(0,0,0,.24); }
.brand-wrap { display: grid; gap: 5px; min-width: 0; }
.brand { font-weight: 950; font-size: clamp(30px, 7vw, 58px); line-height: .88; letter-spacing: 0; color: var(--text); text-shadow: 0 0 26px rgba(109,93,252,.35); }
.brand, .pill, .nav button, .tag, .hud-chip, .special, .choice button, .close, .primary { display: inline-flex; align-items: center; gap: 8px; }
.panel, .card, .modal-card, .level-reward, .hero-preview, .nav button, .special { will-change: transform, opacity; }
.logo-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; color: var(--gold); filter: drop-shadow(0 0 16px rgba(255,209,102,.45)); }
.icon { width: 1.12em; height: 1.12em; flex: 0 0 auto; fill: currentColor; }
.sub { color: var(--muted); font-size: 13px; line-height: 1.35; }
.spacer { flex: 1; }
.wallet { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); box-shadow: inset 0 1px rgba(255,255,255,.08); font-weight: 850; font-size: 13px; white-space: nowrap; }
.pill.gold { color: var(--gold); border-color: rgba(255,209,102,.25); }
.pill.primary { color: #DCD8FF; border-color: rgba(109,93,252,.34); }
.pill.success { color: var(--success); border-color: rgba(46,204,113,.28); }
.content { position: relative; z-index: 1; min-height: 0; overflow: auto; padding: 16px max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.menu-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.menu-particles span { position: absolute; width: 5px; height: 5px; left: calc((var(--i) * 53px) % 100%); top: calc((var(--i) * 79px) % 100%); border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 18px rgba(139,127,255,.7); opacity: .28; animation: particle-float calc(5s + var(--i) * .27s) ease-in-out infinite; }
.menu-grid { display: grid; grid-template-columns: minmax(230px, 330px) minmax(0, 1fr); gap: 14px; min-height: 100%; }
.nav { display: grid; align-content: start; gap: 10px; }
.btn, .nav button, .primary, .choice button, .close { min-height: 48px; border-radius: 14px; padding: 0 15px; background: linear-gradient(180deg, rgba(139,127,255,.98), rgba(109,93,252,.96)); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 12px 28px rgba(109,93,252,.22), inset 0 1px rgba(255,255,255,.20); color: var(--text); font-weight: 900; text-align: left; transition: transform .14s ease, filter .14s ease, box-shadow .14s ease; }
.nav button:first-child, .primary { min-height: 58px; background: linear-gradient(180deg, #FFE39B, var(--gold)); color: #211A32; box-shadow: 0 16px 34px rgba(255,209,102,.22), inset 0 1px rgba(255,255,255,.42); text-align: center; }
.nav button:first-child, .special { animation: important-pulse 1.9s ease-in-out infinite; }
.nav button.secondary, .close { background: rgba(255,255,255,.065); box-shadow: inset 0 1px rgba(255,255,255,.07); color: #E7E8FF; }
.nav button.active { background: linear-gradient(180deg, rgba(109,93,252,.34), rgba(109,93,252,.16)); border-color: rgba(139,127,255,.48); }
.btn:active, .nav button:active, .primary:active, .choice button:active, .close:active { transform: translateY(1px) scale(.99); box-shadow: 0 6px 16px rgba(109,93,252,.18), inset 0 1px rgba(255,255,255,.16); }
.panel, .modal-card, .modal .panel { position: relative; background: linear-gradient(180deg, rgba(31,36,63,.94), rgba(18,22,41,.92)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 24px 64px rgba(0,0,0,.38), 0 0 0 1px rgba(109,93,252,.05), inset 0 1px rgba(255,255,255,.08); overflow: hidden; }
.panel::before, .modal-card::before, .modal .panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(109,93,252,.16), transparent 34%, rgba(255,209,102,.06)); }
.panel > *, .modal-card > *, .modal .panel > * { position: relative; z-index: 1; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel h2, .modal-card h2, .modal .panel h2 { margin: 0 0 8px; font-size: clamp(22px, 4vw, 32px); line-height: 1; letter-spacing: 0; }
.eyebrow { margin: 0 0 6px; color: var(--primary-2); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 10px; }
.card { position: relative; display: grid; gap: 8px; align-content: start; min-height: 104px; padding: 13px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.11); box-shadow: inset 0 1px rgba(255,255,255,.07); animation: rise-in .28s ease both; }
.card.rare { box-shadow: 0 0 26px rgba(255,209,102,.08), inset 0 1px rgba(255,255,255,.07); }
.halo { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at 75% 20%, rgba(255,209,102,.22), transparent 34%); opacity: .9; }
.upgrade-card { min-height: 210px; transform-origin: center; animation: reward-card .44s ease both; }
.rarity-0 { border-color: rgba(255,209,102,.45); }
.rarity-1 { border-color: rgba(139,127,255,.42); }
.rarity-2 { border-color: rgba(46,204,113,.32); }
.card b { display: block; font-size: 14px; line-height: 1.2; }
.card .value { color: var(--gold); font-size: 24px; font-weight: 950; line-height: 1; }
.card.success { border-color: rgba(46,204,113,.32); background: linear-gradient(180deg, rgba(46,204,113,.13), rgba(255,255,255,.035)); }
.card.locked { opacity: .62; filter: saturate(.75); }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.audio-card { gap: 12px; }
.range { width: 100%; accent-color: var(--primary-2); }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.11); box-shadow: inset 0 1px 4px rgba(0,0,0,.42); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: linear-gradient(180deg, #fff, var(--primary-2)); border: 2px solid rgba(255,255,255,.55); box-shadow: 0 8px 18px rgba(0,0,0,.32), 0 0 18px rgba(109,93,252,.38); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.11); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-2); border: 2px solid rgba(255,255,255,.55); }
.progress { display: grid; gap: 6px; }
.progress-line { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 800; }
.bar { height: 10px; background: rgba(255,255,255,.075); border-radius: 999px; overflow: hidden; box-shadow: inset 0 1px 4px rgba(0,0,0,.45); }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); box-shadow: 0 0 18px rgba(109,93,252,.38); }
.hp span { background: linear-gradient(90deg, var(--danger), var(--gold)); }
.xp span { background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.showcase { display: grid; grid-template-columns: 1fr 96px; gap: 14px; align-items: center; margin-bottom: 14px; }
.hero-preview { position: relative; width: 112px; height: 132px; display: grid; place-items: center; }
.hero-stage { position: absolute; bottom: 4px; width: 106px; height: 24px; border-radius: 50%; background: radial-gradient(circle, rgba(255,209,102,.18), rgba(109,93,252,.10) 42%, transparent 72%); box-shadow: 0 16px 28px rgba(0,0,0,.34); }
.hero-aura { position: absolute; width: 104px; height: 104px; border-radius: 50%; background: radial-gradient(circle, rgba(139,127,255,.44), rgba(46,204,113,.12) 44%, transparent 70%); animation: hero-pulse 2.2s ease-in-out infinite; }
.hero-body { position: relative; width: 58px; height: 78px; border-radius: 24px 24px 18px 18px; background: linear-gradient(145deg, #FFD166 0 26%, #6D5DFC 54%, #263154 100%); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 18px 36px rgba(0,0,0,.38), 0 0 32px rgba(109,93,252,.45); animation: hero-idle 1.6s ease-in-out infinite; }
.hero-head { position: absolute; left: 13px; top: -19px; width: 32px; height: 32px; border-radius: 50%; background: #F7D7B1; box-shadow: inset 0 -5px rgba(15,18,32,.18), 0 -8px 0 -2px #251f2c; }
.hero-head::after { content: ""; position: absolute; left: 8px; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: #10131f; box-shadow: 12px 0 #10131f; }
.hero-sword { position: absolute; right: -19px; top: 18px; width: 44px; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #F7F8FF, #8EEAFF); transform: rotate(-36deg); box-shadow: 0 0 18px rgba(142,234,255,.55); }
.hero-sword::after { content: ""; position: absolute; right: -8px; top: -5px; border-left: 12px solid #FFD166; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.hero-shield { position: absolute; left: -13px; top: 28px; width: 22px; height: 28px; border-radius: 11px 11px 14px 14px; background: linear-gradient(180deg, #2ECC71, #1a7152); border: 2px solid rgba(255,255,255,.46); box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.hero-runes { position: absolute; inset: 0; animation: orbit-runes 5s linear infinite; }
.hero-runes i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px rgba(255,209,102,.75); }
.hero-runes i:nth-child(1) { left: 13px; top: 30px; }
.hero-runes i:nth-child(2) { right: 7px; top: 54px; background: var(--primary-2); }
.hero-runes i:nth-child(3) { left: 46px; bottom: 12px; background: var(--success); }
.roadmap, .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.roadmap span, .tag { min-height: 30px; display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: rgba(109,93,252,.13); border: 1px solid rgba(139,127,255,.22); color: #E7E5FF; font-size: 12px; font-weight: 850; }
.tag.gold { color: var(--gold); border-color: rgba(255,209,102,.25); background: rgba(255,209,102,.08); }

.hud { position: absolute; inset: 0; pointer-events: none; }
.hud-top { position: absolute; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); top: calc(env(safe-area-inset-top) + 10px); display: grid; gap: 7px; }
.hud-row { display: flex; gap: 7px; align-items: center; }
.hud-chip { min-height: 34px; padding: 7px 10px; border-radius: 14px; background: rgba(15,18,32,.72); border: 1px solid rgba(255,255,255,.14); font-weight: 900; text-shadow: 0 1px 0 #000; backdrop-filter: blur(12px); box-shadow: 0 10px 24px rgba(0,0,0,.26); }
.hud-chip.compact { flex: 0 0 auto; min-width: 58px; text-align: center; }
.hud .hp, .hud .xp { flex: 1; }
.pause-btn { width: 36px; min-width: 36px; padding: 0; text-align: center; pointer-events: auto; }
.joystick { position: absolute; left: max(18px, env(safe-area-inset-left)); bottom: max(22px, env(safe-area-inset-bottom)); width: 124px; height: 124px; border-radius: 50%; background: radial-gradient(circle, rgba(139,127,255,.18), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); pointer-events: auto; box-shadow: inset 0 0 28px rgba(109,93,252,.16), 0 18px 38px rgba(0,0,0,.28); }
.stick { position: absolute; left: 39px; top: 39px; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(180deg, #FFFFFF, #C9C6FF); box-shadow: 0 8px 18px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.55); }
.special { position: absolute; right: max(22px, env(safe-area-inset-right)); bottom: max(34px, env(safe-area-inset-bottom)); width: 90px; height: 90px; border-radius: 50%; pointer-events: auto; background: radial-gradient(circle at 38% 30%, #FFFFFF, var(--gold) 34%, var(--primary) 78%); border: 2px solid rgba(255,255,255,.35); color: #171029; font-size: 28px; font-weight: 950; box-shadow: 0 16px 34px rgba(0,0,0,.38), 0 0 28px rgba(109,93,252,.34); animation: special-ready 1.7s ease-in-out infinite; }
.special:disabled { filter: grayscale(.8); opacity: .55; animation: none; }
.modal { position: absolute; inset: 0; display: grid; place-items: center; padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); pointer-events: auto; background: rgba(5,7,14,.68); backdrop-filter: blur(12px); animation: modal-fade .2s ease both; }
.modal-card, .modal .panel { width: min(560px, 100%); display: grid; gap: 14px; }
.daily-reward { text-align: center; }
.reward-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.reward-stack .card { min-height: 88px; justify-items: center; }
.modal-card, .modal .panel, .level-reward { animation: modal-pop .26s ease both; }
.level-reward { position: relative; width: min(980px, 100%); }
.reward-light { position: absolute; left: 50%; top: 6%; width: 280px; height: 280px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,209,102,.28), rgba(109,93,252,.16), transparent 68%); filter: blur(2px); animation: reward-light 1.8s ease-in-out infinite; pointer-events: none; }
.choice { width: min(980px, 100%); display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.choice .card { min-height: 190px; }
.choice-title { margin-bottom: 12px; text-align: center; }
.toast { position: absolute; left: 50%; top: calc(env(safe-area-inset-top) + 76px); transform: translateX(-50%); padding: 10px 14px; background: rgba(31,36,63,.94); border: 1px solid rgba(139,127,255,.26); border-radius: 999px; font-weight: 900; pointer-events: none; box-shadow: var(--shadow); }
#rotate-hint { display: none; position: fixed; inset: auto 12px max(12px, env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 12px; pointer-events: none; }

@media (max-width: 720px) {
  .topbar { min-height: calc(72px + env(safe-area-inset-top)); padding-top: calc(14px + env(safe-area-inset-top)); padding-bottom: 10px; align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .brand { font-size: 30px; }
  .topbar .sub { display: none; }
  .wallet { width: 100%; justify-content: flex-start; }
  .pill { min-height: 30px; padding: 5px 9px; font-size: 12px; }
  .content { padding-top: 10px; }
  .menu-grid { grid-template-columns: 1fr; gap: 10px; }
  .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .nav button, .primary, .choice button, .close { min-height: 46px; padding: 0 12px; font-size: 13px; border-radius: 13px; }
  .nav button:first-child { grid-column: 1 / -1; min-height: 54px; }
  .panel, .modal-card { border-radius: 16px; padding: 14px; }
  .panel-head { margin-bottom: 12px; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); gap: 8px; }
  .card { min-height: 86px; padding: 10px; border-radius: 14px; }
  .card .value { font-size: 21px; }
  .showcase { grid-template-columns: 1fr 86px; }
  .hero-preview { width: 86px; height: 112px; transform: scale(.86); transform-origin: right center; }
  .crest { width: 58px; border-radius: 18px; }
  .choice { grid-template-columns: 1fr; }
  .choice .card { min-height: 142px; }
  .menu-particles span:nth-child(n+11) { display: none; }
  .reward-light { width: 210px; height: 210px; }
  .hud-top { top: calc(env(safe-area-inset-top) + 8px); left: max(8px, env(safe-area-inset-left)); right: max(8px, env(safe-area-inset-right)); gap: 5px; }
  .hud-row { gap: 5px; }
  .hud-chip { min-height: 28px; padding: 5px 7px; font-size: 12px; border-radius: 11px; }
  .hud-chip.compact { min-width: 52px; }
  .pause-btn { width: 30px; min-width: 30px; }
  .bar { height: 8px; }
  .joystick { width: 112px; height: 112px; left: max(14px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); }
  .stick { left: 35px; top: 35px; width: 42px; height: 42px; }
  .special { width: 78px; height: 78px; right: max(18px, env(safe-area-inset-right)); bottom: max(28px, env(safe-area-inset-bottom)); }
}

@media (max-height: 430px) and (orientation: landscape) {
  #rotate-hint { display: block; }
  .joystick { width: 96px; height: 96px; }
  .stick { left: 31px; top: 31px; width: 34px; height: 34px; }
  .special { width: 68px; height: 68px; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bg-drift {
  to { background-position: 38px 38px, 38px 38px; }
}

@keyframes crest-spin {
  to { transform: rotate(360deg); }
}

@keyframes special-ready {
  0%, 100% { box-shadow: 0 16px 34px rgba(0,0,0,.38), 0 0 22px rgba(109,93,252,.28); }
  50% { box-shadow: 0 16px 34px rgba(0,0,0,.38), 0 0 42px rgba(139,127,255,.58); }
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes reward-card {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes reward-light {
  0%, 100% { opacity: .65; transform: translateX(-50%) scale(.94); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes particle-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.8); opacity: .14; }
  50% { transform: translate3d(22px, -34px, 0) scale(1.25); opacity: .42; }
}

@keyframes important-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

@keyframes hero-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes hero-pulse {
  0%, 100% { opacity: .55; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes orbit-runes {
  to { transform: rotate(360deg); }
}

@keyframes boot-load {
  0% { transform: translateX(-85%); }
  50% { transform: translateX(75%); }
  100% { transform: translateX(210%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
