:root {
  color-scheme: dark;
  --ink: #eefaff;
  --muted: #a8d9ef;
  --cyan: #18dcff;
  --lime: #7dff3a;
  --gold: #ffc928;
  --pink: #ff55ec;
  --violet: #7b38ff;
  --line: rgba(62, 230, 255, 0.5);
  --shadow: rgba(0, 8, 26, 0.68);
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #020a22; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
img[data-optional-image] { visibility: hidden; }
img[data-optional-image].asset-loaded { visibility: visible; }

.page-shell {
  min-height: 100vh;
  background-image: linear-gradient(180deg, rgba(2, 10, 34, 0.04), rgba(2, 10, 34, 0.48) 58%, rgba(2, 10, 34, 0.96)), url("public/hero-arena.png"), radial-gradient(circle at 22% 12%, rgba(51, 255, 234, 0.28), transparent 25rem), radial-gradient(circle at 84% 20%, rgba(147, 45, 255, 0.24), transparent 24rem), linear-gradient(180deg, #06163c 0%, #052b6d 42%, #020a22 100%);
  background-size: cover, cover, auto, auto, auto;
  background-position: center top;
  background-attachment: fixed;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(139, 241, 255, 0.5) 0 2px, transparent 3px), radial-gradient(circle, rgba(255, 255, 255, 0.32) 0 1px, transparent 2px);
  background-position: 4vw 8vh, 72vw 18vh;
  background-size: 11rem 14rem, 15rem 18rem;
  opacity: 0.36;
  z-index: 0;
}

.site-header, main, footer { position: relative; z-index: 1; }
.site-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.4rem; padding: 0.75rem clamp(1rem, 3vw, 2rem); background: linear-gradient(180deg, rgba(4, 15, 49, 0.96), rgba(4, 15, 49, 0.72)); border-bottom: 1px solid rgba(44, 205, 255, 0.25); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 0.65rem; min-width: 12rem; }
.brand-mark { width: 2.8rem; aspect-ratio: 1; border-radius: 0.6rem; object-fit: contain; filter: drop-shadow(0 0 0.8rem rgba(52, 236, 255, 0.45)); }
.brand-text { font-family: "Black Han Sans", Inter, sans-serif; font-size: clamp(0.92rem, 1.4vw, 1.18rem); line-height: 0.9; color: var(--gold); text-transform: uppercase; text-shadow: 0 0.12rem 0 #402408, 0 0 1rem rgba(255, 201, 40, 0.3); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(0.75rem, 2.2vw, 1.8rem); color: #d8f7ff; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; }
.main-nav a { position: relative; padding-block: 0.65rem; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0.25rem; height: 2px; background: var(--cyan); border-radius: 99rem; transition: left 0.2s ease, right 0.2s ease; }
.main-nav a:hover::after, .main-nav a:first-child::after { left: 24%; right: 24%; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.55rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0.88rem 1.4rem; border: 0; border-radius: 0.45rem; color: #05142e; font-weight: 1000; font-size: 0.95rem; text-transform: uppercase; box-shadow: 0 0.35rem 0 rgba(0, 0, 0, 0.24), 0 0 1rem rgba(255, 201, 40, 0.24); cursor: pointer; transition: transform 0.16s ease, filter 0.16s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); filter: saturate(1.1) brightness(1.05); }
.btn-gold { background: linear-gradient(180deg, #ffe46c, #ffb012); }
.btn-green { background: linear-gradient(180deg, #96ff4a, #41d113); }
.btn-violet { color: white; background: linear-gradient(180deg, #a56cff, #6421df); }

.hero { min-height: calc(100vh - 4.4rem); display: grid; grid-template-columns: minmax(19rem, 0.78fr) minmax(16rem, 1fr); align-items: end; gap: clamp(1rem, 3vw, 3rem); padding: clamp(1.2rem, 4vw, 3.6rem) clamp(1rem, 4vw, 3rem) 0; }
.hero-copy { align-self: center; max-width: 32rem; padding-bottom: clamp(1rem, 4vw, 4rem); }
.title-art { width: min(30rem, 100%); max-height: 23rem; object-fit: contain; object-position: left center; margin-bottom: 1rem; mix-blend-mode: screen; filter: drop-shadow(0 1rem 1.4rem rgba(0, 6, 22, 0.72)); }
.fallback-title { font-family: "Black Han Sans", Inter, sans-serif; font-size: clamp(3.2rem, 8vw, 7.3rem); line-height: 0.78; margin: 0 0 1rem; text-transform: uppercase; color: #fff2bf; text-shadow: 0 0.08em 0 #573519, 0 0.16em 0 #10122f, 0 0 1.4rem rgba(36, 222, 255, 0.55); }
.title-art.asset-loaded + .fallback-title { display: none; }
.eyebrow { margin: 0; color: var(--gold); font-weight: 1000; text-transform: uppercase; font-size: clamp(1.35rem, 3vw, 2.45rem); line-height: 0.96; text-shadow: 0 0.12rem 0 #10224d; }
.eyebrow strong { display: block; color: var(--lime); }
.hero-points { display: grid; gap: 0.45rem; padding: 0; margin: 1rem 0 1.4rem; list-style: none; color: #effaff; font-size: 0.95rem; font-weight: 800; }
.hero-points li { display: flex; align-items: center; gap: 0.55rem; }
.hero-points span { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-focus { min-height: clamp(24rem, 44vw, 39rem); display: flex; align-items: center; justify-content: center; }

.hero-contact-card {
  position: relative;
  width: min(34rem, 100%);
  animation: heroFloat 6.2s ease-in-out infinite;
  filter: drop-shadow(0 1.1rem 1.5rem rgba(4, 12, 40, 0.5));
}

.hero-contact-card img {
  width: 100%;
  border-radius: 1rem;
  object-fit: contain;
}

.hero-contact-content {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  width: min(78%, 24rem);
  text-align: center;
}

.hero-contact-label {
  margin: 0 0 0.2rem;
  color: #9cff72;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 0.9rem rgba(125, 255, 58, 0.25);
}

.hero-contact-mint {
  margin: 0 0 0.55rem;
  color: #d9ffcb;
  font-size: clamp(0.92rem, 1.45vw, 1.1rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 0 0.85rem rgba(125, 255, 58, 0.24);
}

.hero-copy-btn {
  min-height: 2.5rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.86rem;
}

@keyframes heroFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.stats-strip, .section-grid, .site-footer { width: min(92rem, calc(100% - 2rem)); margin-inline: auto; }
.stats-strip { position: relative; margin-top: -1.8rem; margin-bottom: 1rem; border: 2px solid rgba(47, 233, 255, 0.78); border-radius: 0.65rem; background-color: rgba(5, 20, 56, 0.95); background-image: url('public/banner1.png'); background-size: auto 100%; background-position: left center; background-repeat: repeat-x; box-shadow: 0 0 1.2rem rgba(31, 226, 255, 0.45), inset 0 0 1.5rem rgba(31, 226, 255, 0.12); overflow: hidden; }
.stats-strip::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 24, 66, 0.3), rgba(3, 15, 47, 0.35)); z-index: 0; }
.live-tab { display: none; }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 2rem; }
.stat { min-height: 6rem; display: grid; align-content: center; justify-items: center; gap: 0.25rem; padding: 0.9rem; border-right: 1px solid rgba(79, 190, 255, 0.22); }
.stat:last-child { border-right: 0; }
.stat span { color: var(--muted); font-size: 0.78rem; font-weight: 1000; text-transform: uppercase; }
.stat strong { font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1; color: var(--lime); text-shadow: 0 0 0.85rem rgba(125, 255, 58, 0.34); }
.stat:nth-child(2) strong { color: var(--pink); }
.stat:nth-child(4) strong { color: var(--gold); }
.stat:nth-child(5) strong { color: var(--cyan); }
.last-winner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 1.1rem; padding: 0.55rem 1rem 1rem; color: #d8f7ff; font-size: 0.9rem; font-weight: 900; text-transform: uppercase; }
.last-winner img { width: 2rem; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: #173b73; }

.section-grid { display: grid; gap: 1rem; }
.two-columns { grid-template-columns: 0.95fr 1.5fr; }
.three-columns { grid-template-columns: 0.9fr 1fr 0.9fr; margin-top: 1rem; }
.panel { background: linear-gradient(180deg, rgba(8, 35, 88, 0.9), rgba(3, 16, 52, 0.92)); border: 1px solid rgba(47, 214, 255, 0.52); border-radius: 0.55rem; box-shadow: inset 0 0 1.2rem rgba(57, 214, 255, 0.09), 0 0.85rem 2rem var(--shadow); overflow: hidden; }
.panel-header, .token-copy h2, .total-panel h2, .preview-panel h2 { margin: 0; color: #ddfaff; font-family: "Black Han Sans", Inter, sans-serif; text-transform: uppercase; text-shadow: 0 0.12rem 0 #07235c; }
.panel-header { padding: 0.8rem 1rem 0.2rem; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.steps, .rankings { display: grid; gap: 0.7rem; padding: 0.8rem; }
.steps { grid-template-columns: repeat(3, 1fr); }
.how-panel-art { width: 100%; padding: 0.75rem; object-fit: contain; border-radius: 1rem; }
.rankings { grid-template-columns: repeat(5, 1fr); align-items: stretch; }
.step-card, .warrior-card, .mini-stats > div, .feed-item { border: 1px solid rgba(55, 213, 255, 0.45); border-radius: 0.45rem; background: linear-gradient(180deg, rgba(18, 92, 154, 0.72), rgba(5, 21, 66, 0.88)); }
.step-card { padding: 0.55rem; min-height: 10rem; }
.step-card img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 0.35rem; background: linear-gradient(135deg, rgba(255, 201, 40, 0.25), rgba(24, 220, 255, 0.2)); }
.step-card h3, .token-copy h3 { margin: 0.45rem 0 0.2rem; color: var(--lime); font-size: 1rem; text-transform: uppercase; }
.step-card p, .token-copy p { margin: 0; color: #d8f7ff; font-size: 0.78rem; line-height: 1.35; }
.warrior-card { padding: 0.5rem; text-align: center; display: grid; grid-template-rows: auto auto 1fr; }
.warrior-card img { width: 100%; aspect-ratio: 1.18; object-fit: contain; object-position: center bottom; border-radius: 0.45rem; background: linear-gradient(180deg, rgba(87, 76, 177, 0.45), rgba(18, 92, 154, 0.18)); }
.warrior-card h3 { margin: 0.32rem 0 0.22rem; font-size: clamp(0.72rem, 0.9vw, 0.86rem); line-height: 1.05; }
.warrior-card dl { margin: 0; display: grid; gap: 0.05rem; color: #cceeff; font-size: clamp(0.54rem, 0.7vw, 0.64rem); text-transform: uppercase; align-self: end; }
.warrior-card div { display: flex; justify-content: space-between; gap: 0.35rem; }
.warrior-card dd { margin: 0; color: white; font-weight: 1000; }

.feed-item b { display: block; color: white; overflow: hidden; text-overflow: ellipsis; }
.token-panel { position: relative; padding: 1.5rem; min-height: 19rem; background: linear-gradient(135deg, rgba(72, 20, 146, 0.84), rgba(12, 33, 91, 0.9)); overflow: hidden; }
.token-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; z-index: 0; }
.token-copy { position: relative; z-index: 1; margin-left: auto; width: 52%; text-align: left; }
.token-copy h2 { font-size: 1.75rem; padding: 0 0 0.5rem; text-align: center; font-weight: 1000; }
.token-copy ul { list-style: none; padding: 0; margin: 0.9rem 0 1.4rem; display: grid; gap: 0.7rem; }
.token-copy li { color: #ecfbff; font-size: 1.02rem; line-height: 1.45; font-weight: 600; }
.token-copy b { display: block; color: #fff2a8; text-transform: uppercase; font-weight: 900; font-size: 1.05rem; margin-bottom: 0.15rem; }
.total-panel { position: relative; min-height: 19rem; padding: 1.1rem; text-align: center; background: linear-gradient(180deg, rgba(5, 31, 82, 0.92), rgba(3, 14, 45, 0.92)); overflow: hidden; }
.sol-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; z-index: 0; }
.total-panel h2, .total-panel .total-value, .total-panel .mini-stats { position: relative; z-index: 1; }
.total-panel h2, .preview-panel h2 { color: var(--cyan); font-size: 1.7rem; }
.total-value { margin: 0.35rem 0 0.8rem; color: var(--lime); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 1000; text-shadow: 0 0 1rem rgba(125, 255, 58, 0.42); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.mini-stats > div { padding: 0.75rem 0.45rem; }
.mini-stats span { display: block; color: var(--muted); font-size: 0.65rem; font-weight: 1000; text-transform: uppercase; }
.mini-stats strong { color: var(--lime); font-size: 1.35rem; }
.preview-panel { min-height: 19rem; padding: 1rem; }
.preview-panel h2 { margin-bottom: 0.75rem; text-align: center; }
.preview-frame { position: relative; display: block; aspect-ratio: 1.18; overflow: hidden; border-radius: 0.5rem; border: 1px solid rgba(47, 214, 255, 0.52); background: linear-gradient(135deg, rgba(13, 93, 176, 0.7), rgba(111, 48, 188, 0.45)); }
.preview-frame img { width: 100%; height: 100%; object-fit: cover; }
.play-icon { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 4.4rem; aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.78); background: rgba(3, 16, 52, 0.6); display: grid; place-items: center; box-shadow: 0 0 1.2rem rgba(24, 220, 255, 0.45); }
.play-icon::before { content: ""; border-left: 1.35rem solid white; border-top: 0.85rem solid transparent; border-bottom: 0.85rem solid transparent; margin-left: 0.25rem; }
.roadmap-faq-grid { grid-template-columns: 1fr 1fr; margin-top: 1rem; align-items: start; }
.roadmap-panel { padding: 0; overflow: hidden; min-height: 26rem; }
.roadmap-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.faq-panel { padding: 1.5rem; display: flex; flex-direction: column; }
.faq-panel .panel-header { margin-bottom: 1rem; font-size: 1.55rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.55rem; }
.faq-item { border: 1px solid rgba(47, 214, 255, 0.3); border-radius: 0.45rem; background: rgba(8, 30, 80, 0.6); overflow: hidden; }
.faq-item summary { padding: 0.75rem 1rem; cursor: pointer; color: #fff2a8; font-weight: 700; font-size: 0.92rem; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.faq-item summary::after { content: "+"; color: var(--cyan); font-size: 1.25rem; font-weight: 900; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { background: rgba(18, 220, 255, 0.08); }
.faq-item p { margin: 0; padding: 0 1rem 0.9rem; color: #d0eeff; font-size: 0.87rem; line-height: 1.55; }
.site-footer { margin-top: 1rem; padding: 1.3rem 0 1.7rem; display: flex; justify-content: center; }
.socials { display: flex; gap: 0.75rem; }
.socials a { width: 2.6rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(18, 220, 255, 0.12); border: 1px solid rgba(42, 220, 255, 0.28); color: #c8eeff; transition: background 0.15s, color 0.15s; }
.socials a:hover { background: rgba(18, 220, 255, 0.28); color: #fff; }
.socials a svg { width: 1.1rem; height: 1.1rem; }
.partner img { max-height: 2rem; max-width: 11rem; object-fit: contain; opacity: 0.9; }
.copyright { text-align: right; text-transform: none; }
.missing-asset { display: none !important; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-bottom: 2rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-focus { min-height: 10rem; }
  .stats-strip { margin-top: 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(4), .stat:nth-child(5) { border-top: 1px solid rgba(79, 190, 255, 0.22); }
  .two-columns, .three-columns { grid-template-columns: 1fr; }
  .feed { grid-template-columns: 1fr; }
  .feed-track { grid-template-columns: repeat(3, 1fr); }
  .hero-contact-card { width: min(28rem, 92%); }
}

@media (max-width: 720px) {
  .site-header { position: relative; align-items: flex-start; flex-direction: column; }
  .header-actions { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .header-actions .btn { min-width: 0; padding-inline: 0.5rem; font-size: 0.68rem; }
  .hero { min-height: auto; padding-top: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-focus { min-height: auto; padding-bottom: 0.8rem; }
  .hero-contact-card { width: min(24rem, 100%); animation-duration: 7.1s; }
  .hero-contact-content { width: 82%; bottom: 11%; }
  .hero-copy-btn { width: 100%; }
  .stats-grid, .steps, .feed-track, .mini-stats, .site-footer { grid-template-columns: 1fr; }
  .rankings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-right: 0; border-top: 1px solid rgba(79, 190, 255, 0.22); }
  .stat:first-child { border-top: 0; }
  .last-winner { flex-wrap: wrap; }
  .token-panel { grid-template-columns: 1fr; }
  .site-footer, .copyright { text-align: center; }
  .socials { justify-content: center; }
  .partner img { margin-inline: auto; }
}
