:root {
  --bg: #000000;
  --panel: #111111;
  --panel-border: rgba(58, 161, 121, 0.2);
  --ink: #0a1410;
  --text: #ffffff;
  --text-dim: #9a9a9a;
  --text-faint: #5c5c5c;
  --error: #ff5c5c;
  --title: #3aa179;
  --subtitle: #32f38d;
  --font-display: "Space Grotesk", "Inter", sans-serif;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --panel: #f2f2f2;
  --panel-border: rgba(58, 161, 121, 0.3);
  --ink: #0a1410;
  --text: #121815;
  --text-dim: #5a635f;
  --text-faint: #8a938f;
  --error: #d64545;
  --title: #2f8a67;
  --subtitle: #0f9c58;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background: var(--panel);
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  touch-action: manipulation;
  color: var(--text);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 65px;
  padding: 0 28px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--panel-border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo {
  width: 37.8px;
  height: 37.8px;
  object-fit: contain;
  display: block;
  cursor: pointer;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

[data-theme="light"] .nav-logo,
[data-theme="light"] .footer-logo {
  filter: brightness(0);
}

.nav-wordmark-wrap {
  position: relative;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.nav-eyes-bg {
  position: absolute;
  inset: -10px -6px;
  background: url("assets/banner-eyes-nav.webp") center / contain no-repeat;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

[data-theme="light"] .nav-eyes-bg {
  background-image: url("assets/banner-eyes-nav-light.webp");
}

.navbar.is-scrolling .nav-eyes-bg {
  opacity: 1;
}

.navbar.is-scrolling .nav-wordmark {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .nav-wordmark-wrap:hover .nav-eyes-bg {
    opacity: 1;
  }

  .nav-wordmark-wrap:hover .nav-wordmark {
    opacity: 0;
  }
}

.nav-wordmark {
  position: relative;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--subtitle);
  transition: opacity 0.35s ease;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-dim);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--subtitle);
}

#party-btn.is-playing {
  color: var(--subtitle);
  animation: party-glow 1.4s ease-in-out infinite;
}

@keyframes party-glow {
  0%, 100% {
    text-shadow: 0 0 6px rgba(50, 243, 141, 0.5);
  }
  50% {
    text-shadow: 0 0 14px rgba(50, 243, 141, 1);
  }
}

.buy-dropdown {
  position: relative;
}

.buy-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.buy-dropdown.open .buy-dropdown-menu {
  display: block;
}

.buy-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.buy-dropdown-menu a:hover {
  background: rgba(50, 243, 141, 0.1);
  color: var(--subtitle);
}

.btn {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.btn-primary {
  background: var(--subtitle);
  color: var(--ink);
  border: 1px solid var(--subtitle);
}

.btn-outline {
  background: transparent;
  color: var(--subtitle);
  border: 1px solid var(--subtitle);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(58, 161, 121, 0.15);
  color: var(--subtitle);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.hero {
  position: relative;
  text-align: center;
  flex-shrink: 0;
  width: 100%;
  min-height: calc(100vh - 65px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px 18px;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 22%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

/* ---------- holders section (independent of images section — do not share selectors) ---------- */

.holders-section {
  width: 100%;
  max-width: 1100px;
  min-height: 560px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 40px;
  margin-top: 90px;
  align-items: stretch;
  scroll-margin-top: 85px;
}

.holders-section-copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 0 0 40px;
}

.holders-section-copy > * {
  width: auto;
  max-width: 480px;
}

.holders-section-image {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.holders-section-image img {
  width: 80%;
  max-width: 480px;
  height: 80%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  border: 2px solid var(--panel-border);
  background: var(--panel);
  transition: border-color 0.2s ease, margin-top 0.2s ease;
}

.holders-section-image:hover img {
  border-color: var(--subtitle);
  margin-top: -2px;
}

/* ---------- images section (independent of holders section — do not share selectors) ---------- */

.images-section {
  width: 100%;
  max-width: 1100px;
  min-height: 560px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 40px;
  margin-top: 90px;
  align-items: stretch;
}

.images-section-copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.images-section-copy > * {
  width: auto;
  max-width: 480px;
}

.images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  width: 100%;
  height: 80%;
}

.images-grid-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, margin-top 0.2s ease;
}

.images-grid-card:hover {
  border-color: var(--subtitle);
  margin-top: -2px;
}

.images-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.images-grid-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  text-align: left;
}

.images-grid-text .section-headline {
  font-size: 20px;
  margin-bottom: 6px;
}

.images-grid-text .section-sub {
  font-size: 13px;
}

.images-section-image {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  border: none;
  background: none;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.images-section-image img {
  width: 80%;
  max-width: 480px;
  height: 80%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color 0.2s ease, margin-top 0.2s ease;
}

.images-section-image:hover img {
  border-color: var(--subtitle);
  margin-top: -2px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #3aa179;
}

.hero-sub {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  max-width: 420px;
}

.hero-text {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-text .hero-sub {
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-text .hero-headline {
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* ---------- shared section text ---------- */

.section-headline {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--title);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 480px;
}

.section-headline.center,
.section-sub.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.lime {
  color: var(--subtitle);
}

.holders-buy-heading {
  margin-top: 28px;
}

.buy-split-card {
  width: 220px;
  height: 120px;
  display: flex;
  margin-top: 20px;
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.buy-split-half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--subtitle);
  background: var(--panel);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.buy-split-half + .buy-split-half {
  border-left: 2px solid var(--panel-border);
}

.buy-split-half:hover {
  background: var(--subtitle);
  color: var(--ink);
}

/* ---------- live market stats ---------- */

.stats {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.stat {
  width: 220px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--panel);
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  padding: 20px 18px;
  transition: border-color 0.2s, margin-top 0.2s;
}

.stat:hover {
  border-color: var(--subtitle);
  margin-top: -2px;
}

.stat .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--subtitle);
}

.stat .l {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ---------- what is robbie ---------- */

.what-is {
  width: 100%;
  max-width: 1100px;
  padding: 0 40px;
  margin-top: 90px;
}

.what-is-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.what-is-lead {
  color: var(--subtitle);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 10px 0 16px;
}

.what-is-body {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 22px;
}

.what-is-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.dot-grid {
  position: absolute;
  inset: 10%;
  background-image: radial-gradient(rgba(58, 161, 121, 0.35) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  z-index: 0;
}

.what-is-image img {
  position: relative;
  z-index: 1;
  width: 70%;
  max-width: 310px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px solid var(--subtitle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.speech-bubble {
  position: absolute;
  z-index: 2;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.bubble-1 {
  top: 8%;
  right: 6%;
}

.bubble-2 {
  bottom: 14%;
  left: 4%;
}

/* ---------- getting started ---------- */

.getting-started {
  width: 100%;
  max-width: 1100px;
  padding: 0 40px;
  margin-top: 90px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.step-card {
  background: var(--panel);
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.2s, margin-top 0.2s;
}

.step-card:hover {
  border-color: var(--subtitle);
  margin-top: -2px;
}

.step-card .btn {
  margin-top: auto;
}

.step-badge {
  display: inline-block;
  background: rgba(50, 243, 141, 0.15);
  color: var(--subtitle);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--subtitle);
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ---------- scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal="up"] {
  transform: translateY(20px);
}

[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* Cards also need their own hover transition (border-color/margin-top),
   which the [data-reveal] transition shorthand above would otherwise
   replace entirely since both target the same element. Listed as
   separate longhands, per-property, so a stagger delay can be added to
   just opacity/transform without slowing down hover feedback. */
.stat[data-reveal],
.step-card[data-reveal],
.buy-split-card[data-reveal],
.images-grid-card[data-reveal] {
  transition-property: opacity, transform, border-color, margin-top;
  transition-duration: 0.7s, 0.7s, 0.2s, 0.2s;
  transition-timing-function: ease, ease, ease, ease;
  transition-delay: 0s, 0s, 0s, 0s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .stat[data-reveal],
  .step-card[data-reveal],
  .buy-split-card[data-reveal],
  .images-grid-card[data-reveal] {
    transition: none;
  }

  .nav-eyes-bg,
  .nav-wordmark {
    transition: none;
  }

  #party-btn.is-playing {
    animation: none;
    text-shadow: 0 0 10px rgba(50, 243, 141, 0.8);
  }

  .navbar.is-scrolling .nav-eyes-bg {
    opacity: 0;
  }

  .navbar.is-scrolling .nav-wordmark {
    opacity: 1;
  }
}

/* ---------- faq ---------- */

.faq-section {
  width: 100%;
  max-width: 700px;
  padding: 90px 24px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-list {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 4px 16px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--title);
  font-size: 18px;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
  padding-bottom: 16px;
}

/* ---------- footer ---------- */

.site-footer {
  width: 100%;
  border-top: 1px solid var(--panel-border);
  background: var(--bg);
  padding: 26px 40px 30px;
  text-align: center;
}

.footer-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--subtitle);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--subtitle);
}

.footer-disclaimer {
  color: var(--text-faint);
  font-size: 11px;
  max-width: 560px;
  margin: 0 auto 12px;
  line-height: 1.5;
}

.footer-copyright {
  color: var(--text-faint);
  font-size: 11px;
}

/* ---------- article pages ---------- */

.article {
  width: 100%;
  max-width: 720px;
  padding: 70px 24px 100px;
  margin: 0 auto;
}

.article-back {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 18px;
}

.article-back:hover {
  color: var(--subtitle);
}

.article-eyebrow {
  color: var(--title);
}

.article-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--title);
  margin-bottom: 28px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--subtitle);
  margin: 32px 0 12px;
}

.article-body p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.article-body ol,
.article-body ul {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  color: var(--subtitle);
  text-decoration: underline;
}

.article-body a:hover {
  color: var(--title);
}

.article-body code {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--subtitle);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  word-break: break-all;
}

.article-callout {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13px;
  color: var(--text-dim);
  margin: 20px 0;
}

.article-next {
  margin-top: 40px;
}

/* ---------- game ---------- */

.play-btn {
  font-size: 16px;
  padding: 14px 40px;
  margin-top: 8px;
}

.play-btn[hidden] {
  display: none;
}

.game-layout {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
}

.game-layout:has(#game-wrap:not([hidden])) {
  padding: 24px 16px;
}

#game-wrap {
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  overflow: hidden;
  width: min(640px, 90vw);
  aspect-ratio: 640 / 400;
}

#game-wrap[hidden] {
  display: none;
}

#game-wrap canvas {
  display: block;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

#score {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  pointer-events: none;
  user-select: none;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  font-size: 11px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.75);
}

.dj-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dj-widget[hidden] {
  display: none;
}

.dj-gif {
  width: 150px;
  height: 150px;
  object-fit: contain;
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: opacity 0.15s ease;
}

.dj-gif.is-paused {
  opacity: 0.45;
}

.dj-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 20px;
  padding: 4px 10px;
}

.dj-mute-btn {
  border: none;
  background: none;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.dj-volume input[type="range"] {
  width: 70px;
  accent-color: var(--subtitle);
  cursor: pointer;
}

.scoreboard {
  width: min(260px, 90vw);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 18px;
}

.scoreboard-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--title);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}

.scoreboard-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.scoreboard-tab {
  flex: 1;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
}

.scoreboard-tab.active {
  background: rgba(50, 243, 141, 0.1);
  border-color: var(--subtitle);
  color: var(--subtitle);
}

.scoreboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow-y: auto;
}

.scoreboard-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 6px;
  border-radius: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.scoreboard-row:last-child {
  border-bottom: none;
}

.scoreboard-row.is-you {
  background: rgba(50, 243, 141, 0.08);
  border-bottom-color: transparent;
}

.scoreboard-rank {
  width: 16px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-faint);
}

.scoreboard-row:nth-child(1) .scoreboard-rank {
  color: var(--subtitle);
}

.scoreboard-flag {
  font-size: 15px;
  flex-shrink: 0;
}

.scoreboard-country {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scoreboard-score {
  font-size: 13px;
  font-weight: 800;
  color: var(--subtitle);
  font-variant-numeric: tabular-nums;
}

.scoreboard-empty {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

/* ---------- media gallery ---------- */

.media-page {
  width: 100%;
  max-width: 1100px;
  padding: 70px 40px 110px;
  text-align: center;
}

.media-page .section-headline,
.media-page .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.media-page .section-headline {
  color: var(--subtitle);
}

.media-page .section-sub {
  max-width: 560px;
}

.media-tabs {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.media-tab {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
}

.media-tab:hover {
  border-color: var(--subtitle);
  color: var(--subtitle);
}

.media-tab.active {
  background: var(--subtitle);
  border-color: var(--subtitle);
  color: var(--ink);
}

.media-empty {
  margin-top: 40px;
  color: var(--text-dim);
  font-size: 14px;
}

.media-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.media-item {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.media-item:hover {
  border-color: var(--subtitle);
  transform: translateY(-2px);
}

.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  max-width: min(90vw, 900px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-img,
.lightbox-video {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-img[hidden],
.lightbox-video[hidden] {
  display: none;
}

.lightbox-caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.lightbox-counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--ink);
  background: var(--subtitle);
  padding: 4px 14px;
  border-radius: 999px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: none;
  background: none;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}

.lightbox-close:hover {
  color: var(--subtitle);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  border-color: var(--subtitle);
  color: var(--subtitle);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .navbar {
    padding: 0 14px;
  }

  .nav-wordmark {
    font-size: 24px;
  }

  .navbar-right {
    gap: 10px;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-actions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--panel-border);
    padding: 4px 28px 20px;
  }

  .navbar-actions.is-open {
    display: flex;
  }

  .navbar-actions .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 0;
    border-bottom: 1px solid var(--panel-border);
  }

  .buy-dropdown {
    display: none;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .what-is-grid {
    grid-template-columns: 1fr;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .holders-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
  }

  .holders-section-copy,
  .holders-section-image {
    grid-column: 1;
    grid-row: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .holders-section-copy > * {
    width: 100%;
  }

  .holders-section-image {
    min-height: 280px;
  }

  .holders-section-copy {
    padding: 40px 24px;
  }

  .images-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
  }

  .images-section-copy,
  .images-section-image {
    grid-column: 1;
    grid-row: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .images-section-copy > * {
    width: 100%;
  }

  .images-section-image {
    min-height: 280px;
  }

  .images-section-copy {
    padding: 40px 24px;
  }

  .images-grid {
    height: auto;
  }

  .images-grid-card {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 480px) {
  .media-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .dj-gif {
    width: 96px;
    height: 96px;
  }

  .dj-volume input[type="range"] {
    width: 46px;
  }
}
