:root { color-scheme: dark; --bg: #090c19; --panel: #13172c; --text: #f2f2ff; --muted: #9a9fbd; --purple: #b491ff; --lime: #d5ff62; --line: #2c3050; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; min-height: 100svh; color: var(--text); font-family: Montserrat, Arial, sans-serif; background: radial-gradient(ellipse at 22% 42%, #49318035, transparent 52%), radial-gradient(ellipse at 88% 10%, #23325928, transparent 45%), var(--bg); padding: 0 40px 90px; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(#8c82c905 1px, transparent 1px), linear-gradient(90deg, #8c82c905 1px, transparent 1px); background-size: 54px 54px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; touch-action: manipulation; }
button { -webkit-tap-highlight-color: transparent; cursor: pointer; }
.topbar { max-width: 1160px; min-height: 100px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ffffff0b; position: relative; }
.brand { font-size: 27px; font-weight: 800; font-style: italic; letter-spacing: -1.5px; line-height: 1; }
.brand > span { color: var(--lime); }
.brand small { display: block; font-size: 8px; letter-spacing: 4px; font-style: normal; color: #858aa7; margin: 10px 0 0 3px; }
.age-badge { display: flex; align-items: center; gap: 10px; color: var(--purple); font-weight: 800; font-size: 14px; }
.age-badge span { color: var(--muted); font-weight: 400; font-size: 10px; }
.arena { max-width: 1120px; margin: 60px auto 45px; display: grid; grid-template-columns: 1.12fr 1fr; gap: 62px; align-items: center; position: relative; }
.hero { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; letter-spacing: 2.5px; color: var(--purple); margin: 0 0 22px; }
.eyebrow > span { height: 6px; width: 6px; background: var(--purple); box-shadow: 0 0 12px #b491ff; }
h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.23; letter-spacing: -1.7px; margin: 0 0 20px; }
h1 > span { color: var(--lime); }
.hero-copy { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0; }
.loot-stage { height: 325px; position: relative; display: grid; place-items: center; margin-top: 8px; isolation: isolate; }
.loot-chest { height: 310px; width: min(390px, 100%); overflow: visible; filter: drop-shadow(0 15px 28px #0006); animation: hover-chest 5s ease-in-out infinite; }
.orbit { position: absolute; width: 86%; max-width: 400px; height: 120px; border: 1px solid #9b77f438; border-radius: 50%; transform: rotate(-18deg); z-index: -1; }
.orbit-two { transform: rotate(28deg); height: 170px; border-style: dashed; border-color: #9b77f420; }
.spark { position: absolute; color: #d7bdff; text-shadow: 0 0 16px #a478ff; }
.spark-one { top: 42px; left: 22%; font-size: 22px; }
.spark-two { right: 18%; top: 65px; font-size: 30px; }
.spark-three { left: 15%; bottom: 70px; font-size: 12px; color: var(--lime); }
.floating-chip { position: absolute; z-index: 1; font-size: 18px; color: var(--lime); font-weight: 800; border: 1px solid #b0ce6640; background: #1a2232ed; padding: 12px 16px; border-radius: 8px; box-shadow: 0 10px 24px #0004; transform: rotate(-10deg); }
.floating-chip small { display: block; color: #a3aa97; font-size: 7px; letter-spacing: 2px; margin-top: 4px; }
.chip-one { left: 0; top: 102px; }
.chip-two { right: 0; bottom: 67px; transform: rotate(9deg); color: #c3a7ff; border-color: #9671ca50; }
.loot-label { position: absolute; bottom: 0; color: #7e7b9c; font-family: monospace; font-size: 10px; letter-spacing: 2px; }
.loot-label span { color: var(--purple); margin: 0 8px; }
.hero-note { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 10px; color: var(--muted); margin-top: 24px; }
.hero-note > span { font-family: monospace; color: var(--purple); font-size: 11px; }
.hero-note i { width: 24px; height: 1px; background: var(--line); margin: 0 4px; }
.entry-panel { min-width: 0; background: linear-gradient(145deg, #1c2039, #121629 70%); border: 1px solid #454061; border-radius: 16px; padding: 28px; box-shadow: 0 24px 64px #0004, inset 0 1px 0 #ffffff0a; position: relative; }
.entry-panel::before { content: ''; position: absolute; top: -1px; left: 28px; width: 64px; height: 3px; background: var(--lime); box-shadow: 0 0 16px #d5ff6240; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; color: var(--purple); font-size: 9px; font-weight: 700; letter-spacing: 2px; margin-bottom: 20px; }
.panel-code { color: #74758f; font-family: monospace; font-weight: 400; }
h2 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.6px; }
.panel-copy { color: var(--muted); margin: 0 0 24px; font-size: 11px; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 26px; }
.benefit { text-align: center; background: #0b0f21a6; border: 1px solid #323650; padding: 16px 5px 14px; border-radius: 8px; }
.benefit.featured { border-color: #8962ce; background: linear-gradient(160deg, #53337a45, #19162d); }
.reward-symbol { display: grid; place-items: center; margin: 0 auto 12px; width: 30px; height: 30px; background: #aa83ff15; color: var(--purple); font-size: 24px; border-radius: 8px; }
.benefit small { display: block; color: #9e99b8; font-size: 8px; letter-spacing: 1px; }
.benefit strong { display: block; color: #f0eaff; font-size: clamp(23px, 2.3vw, 29px); font-weight: 800; letter-spacing: -1px; margin: 7px 0; }
.benefit.featured strong { color: var(--lime); }
.benefit strong > span { font-size: 17px; }
.benefit > span:last-child { color: #b0afc5; font-size: 8px; }
.feed-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 8px; letter-spacing: .7px; font-weight: 700; color: #b0b4cf; }
.feed-heading small { font-size: 8px; font-weight: 400; color: #8d93ad; letter-spacing: 0; }
.feed { position: relative; height: 119px; overflow: hidden; text-align: left; padding: 0 12px; border: 1px solid #282d47; border-radius: 6px; background: #090d1b80; }
.feed ul { margin: 0; padding: 0; list-style: none; }
.feed li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #ffffff08; font-size: 10px; line-height: 18px; }
.feed li > div:first-child { display: flex; gap: 9px; flex-wrap: wrap; }
.feed .user { color: #a7acc7; }
.feed .act { color: #bfdfa0; font-weight: 700; }
.feed .time { flex: none; font-size: 9px; color: #9098b3; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 20px; color: #a9aec9; margin-top: 20px; cursor: pointer; }
.agree b { color: #e2dff1; }
.agree input { accent-color: var(--lime); flex: none; width: 18px; height: 18px; margin: 2px 0 0; cursor: pointer; }
.agree.shake { animation: shake 400ms; }
.register { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 14px 20px; margin-top: 18px; border: 1px solid #454e38; border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: .6px; color: #969f86; background: #2b3328; transition: background 180ms, box-shadow 180ms, transform 180ms; }
.register > span:last-child { font-size: 23px; line-height: 1; }
.register.on { background: var(--lime); border-color: #e0ff91; color: #18200b; box-shadow: 0 4px 24px #d5ff6218; }
.register.on:hover { background: #e0ff8b; transform: translateY(-2px); box-shadow: 0 8px 24px #d5ff6225; }
:where(button, input, a):focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.terms { margin: 12px 0 0; text-align: center; font-size: 9px; color: #9399b4; line-height: 1.7; }
.page-footer { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1160px; margin: auto; padding-top: 24px; border-top: 1px solid #ffffff0b; font-size: 9px; color: #898faa; }
.page-footer span { font-size: 8px; letter-spacing: .6px; }
.sound { position: fixed; right: 20px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid #40445f; border-radius: 6px; background: #181c30ed; color: #daddef; font-size: 11px; font-weight: 700; }
.sound svg { width: 17px; height: 17px; flex: none; }
.sound .waves, .sound[aria-pressed="true"] .mute { display: none; }
.sound[aria-pressed="true"] .waves { display: inline; }
.corner { position: fixed; right: 0; bottom: 0; width: 0; height: 0; pointer-events: none; }
[hidden] { display: none !important; }
.reward { position: relative; width: min(480px, 100%); margin: 60px auto; padding: 36px; text-align: center; border: 1px solid #6b4e9f; border-radius: 16px; background: linear-gradient(145deg,#24203c,#111628); box-shadow: 0 20px 80px #0006; }
.reward-icon { font-size: 46px; }
.reward-badge { display: inline-block; font-size: 9px; color: var(--purple); letter-spacing: 1px; border: 1px solid #b491ff44; background: #b491ff0a; padding: 9px 14px; border-radius: 4px; margin: 20px 0 16px; }
.reward h1 { font-size: 25px; letter-spacing: -.7px; margin: 0 0 14px; }
.reward-status { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0 0 22px; }
.reward-list { text-align: left; padding: 16px 18px; border: 1px solid #35334f; border-radius: 8px; list-style: none; font-size: 13px; line-height: 2.7; background: #090d1b80; }
.reward-list strong { color: var(--lime); }
.reward-countdown { font-size: 17px; font-weight: 700; color: var(--lime); margin: 24px 0 14px; }
.reward-progress { display: block; width: 100%; height: 7px; appearance: none; -webkit-appearance: none; overflow: hidden; background: #30314d; border: 0; border-radius: 4px; }
.reward-progress::-webkit-progress-bar { background: #30314d; }
.reward-progress::-webkit-progress-value { background: var(--lime); }
.reward-progress::-moz-progress-bar { background: var(--lime); }
.reward-checking { font-size: 10px; color: var(--muted); margin-top: 16px; }
@keyframes hover-chest { 50% { transform: translateY(-8px); } }
@keyframes shake { 20%,60% { transform: translateX(-4px); } 40%,80% { transform: translateX(4px); } }
@media (max-width: 900px) {
  body { padding-inline: 24px; }
  .arena { gap: 26px; margin-top: 40px; }
  h1 { font-size: 33px; }
  .entry-panel { padding: 22px; }
  .floating-chip { padding: 10px 12px; font-size: 16px; }
  .hero-note { font-size: 8px; gap: 6px; }
}
@media (max-width: 700px) {
  body { padding: 0 20px 85px; }
  .topbar { min-height: 82px; }
  .brand { font-size: 23px; }
  .brand small { font-size: 7px; letter-spacing: 3px; margin-top: 8px; }
  .age-badge span { display: none; }
  .age-badge { border: 1px solid #b491ff40; padding: 7px; font-size: 11px; border-radius: 4px; }
  .arena { display: block; max-width: 460px; margin: 32px auto; }
  .hero { text-align: center; }
  .eyebrow { justify-content: center; font-size: 9px; margin-bottom: 18px; }
  h1 { font-size: clamp(30px,8vw,42px); letter-spacing: -1.4px; margin-bottom: 14px; }
  .hero-copy { font-size: 11px; }
  .loot-stage { height: 260px; margin-top: 0; }
  .loot-chest { height: 260px; }
  .chip-one { top: 80px; left: 3%; }
  .chip-two { right: 2%; bottom: 40px; }
  .spark-one { top: 26px; }
  .spark-two { top: 45px; }
  .hero-note { margin: 20px 0 30px; font-size: 9px; }
  .entry-panel { padding: 24px; text-align: left; }
  .benefit strong { font-size: 27px; }
  .feed li > div:first-child { gap: 2px 8px; }
  .page-footer { justify-content: center; text-align: center; line-height: 1.8; gap: 8px; }
  .page-footer span { width: 100%; font-size: 7px; }
  .reward { padding: 28px 22px; margin-top: 36px; }
}
@media (max-width: 360px) { body { padding-inline: 14px; } .entry-panel { padding: 18px; } .feed li > div:first-child { display: block; } .register { font-size: 10px; } .benefit strong { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } }
.reward-active .page-footer { display: none; }
