:root {
  --bg: #000;
  --fg: #fff;
  --muted: #1a1a1a;
  --muted-fg: #999;
  --card: #0d0d0d;
  --card-border: rgba(0, 255, 70, 0.15);
  --border: rgba(0, 255, 70, 0.1);
  --primary: #00ff46;
  --primary-dim: rgba(0, 255, 70, 0.12);
  --primary-fg: #000;
  --red: #ff4d4d;
  --red-dim: rgba(255, 77, 77, 0.18);
  --glass: rgba(0, 0, 0, 0.4);
  --sans: Inter, system-ui, sans-serif;
  --mono: "Space Grotesk", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  font-family: var(--sans);
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
video { display: block; width: 100%; height: 100%; object-fit: cover; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
::selection { background: var(--primary); color: #041204; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 80;
  padding: .4rem .75rem; background: var(--primary); color: #041204;
  font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* cursor net */
#net {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
}
.orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform;
}
.orb-a { top: -8rem; left: 18%; width: 500px; height: 500px; background: rgba(0,255,70,.04); animation: float 18s ease-in-out infinite; }
.orb-b { bottom: -10rem; right: 10%; width: 420px; height: 420px; background: rgba(0,255,70,.035); animation: float-delayed 22s ease-in-out infinite; }
.orb-c { top: 40%; left: -8rem; width: 360px; height: 360px; background: rgba(0,255,70,.03); animation: float 26s ease-in-out infinite reverse; }

@keyframes float {
  0%, 100% { transform: translate(0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(.9); }
}
@keyframes float-delayed {
  0%, 100% { transform: translate(0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(.9); }
  66% { transform: translate(25px, -25px) scale(1.1); }
}

.wrap { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; }
.page-transition { animation: page-fade-in .4s var(--ease) both; }
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ticker */
.ticker {
  height: 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ticker-track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: ticker-scroll 18s linear infinite;
}
.ticker-seq {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  white-space: nowrap;
}
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 10px; white-space: nowrap;
  font: 600 11px/28px var(--mono);
  letter-spacing: .04em; text-transform: uppercase;
}
.ticker-item span { color: var(--muted-fg); }
.ticker-item b { color: var(--fg); font-weight: 700; }
.ticker-item .up { color: var(--primary); }
.ticker-item .soon { color: var(--primary); }
.diamond {
  color: rgba(0,255,70,.4);
  user-select: none;
  padding: 0 4px;
  flex-shrink: 0;
  line-height: 28px;
  font-size: 10px;
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,255,70,.2);
  box-shadow: 0 0 20px rgba(0,255,0,.12), 0 0 40px rgba(0,255,0,.04);
}
.nav-inner {
  max-width: 80rem; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem; flex-shrink: 0;
}
.brand img {
  width: 36px; height: 36px; border-radius: 50%;
  box-shadow: 0 0 16px rgba(0,255,70,.35);
}
.brand-name {
  font: 700 14px/1 var(--mono);
  letter-spacing: .08em;
  text-shadow: 0 0 10px rgba(0,255,0,.5);
}
.nav-links {
  position: relative;
  display: none;
  align-items: center;
  gap: .15rem;
}
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative; z-index: 1;
  padding: .45rem .9rem;
  font: 600 13px var(--mono);
  color: var(--muted-fg);
  border-radius: .6rem;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--primary); }
.nav-underline {
  position: absolute; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transition: left .35s var(--ease), width .35s var(--ease);
  pointer-events: none;
}
.nav-tools { display: flex; align-items: center; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .7rem;
  border: 1px solid var(--card-border);
  background: rgba(0,0,0,.5);
  border-radius: .7rem;
  font: 700 11px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.chip:hover { border-color: rgba(0,255,70,.45); box-shadow: 0 0 16px rgba(0,255,70,.18); }
.chip.ghost { color: var(--muted-fg); }
.chip.ghost:hover { color: var(--fg); }
.chip-bell { display: none; }
@media (min-width: 1100px) { .chip-bell { display: inline-flex; } }
.chip-bell small { color: var(--muted-fg); font-weight: 500; letter-spacing: .04em; }
.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 10px; border-radius: .6rem;
}
@media (min-width: 860px) { .burger { display: none; } }
.burger span {
  display: block; height: 2px; background: var(--primary);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none; padding: .5rem 1rem 1rem;
  border-top: 1px solid var(--border);
}
.nav.open .mobile-panel { display: block; animation: nav-fade-in .3s var(--ease); }
@keyframes nav-fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-panel a {
  display: block; padding: .75rem .4rem;
  font: 600 15px var(--mono);
  color: var(--muted-fg);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mobile-panel a.active, .mobile-panel a:hover { color: var(--primary); }

/* hero */
.hero {
  position: relative;
  min-height: 32vh;
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 1rem 1.5rem;
  overflow: hidden; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,255,70,.08), rgba(0,255,70,.02), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 56rem; }
.logo-wrap {
  position: relative; display: inline-block; margin-bottom: 1.1rem;
  animation: hero-in .8s var(--ease) both;
}
.logo-wrap img {
  width: 7.5rem; height: 7.5rem; border-radius: 50%;
  box-shadow: 0 0 30px rgba(0,255,0,.4), 0 0 60px rgba(0,255,0,.2), 0 0 90px rgba(0,255,0,.1);
}
@media (min-width: 640px) { .logo-wrap img { width: 9rem; height: 9rem; } }
@media (min-width: 768px) { .logo-wrap img { width: 11rem; height: 11rem; } }
@media (min-width: 1024px) { .logo-wrap img { width: 13rem; height: 13rem; } }
.hero-ring {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(0,255,70,.2), 0 0 0 6px rgba(0,255,70,.06);
  animation: ring-pulse 3s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(0,255,70,.2), 0 0 0 10px rgba(0,255,70,.05); }
  50% { box-shadow: 0 0 0 4px rgba(0,255,70,.35), 0 0 0 18px rgba(0,255,70,.08); }
}
.scan {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; z-index: 2;
}
.scan i {
  position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(to bottom, transparent, rgba(0,255,70,.7) 50%, transparent);
  animation: scan-down 1.2s ease-in-out forwards;
}
@keyframes scan-down {
  from { top: -10%; opacity: 1; }
  to { top: 110%; opacity: 0; }
}
.hero h1 {
  font: 700 clamp(1.6rem, 5vw, 4.2rem)/1.05 var(--mono);
  letter-spacing: -.03em;
  text-shadow: 0 0 10px rgba(0,255,0,.5), 0 0 20px rgba(0,255,0,.3);
  animation: hero-in .8s var(--ease) .2s both;
}
.hero p.sub {
  margin-top: .7rem;
  color: var(--muted-fg);
  font-size: clamp(.9rem, 2vw, 1.2rem);
  animation: hero-in .8s var(--ease) .35s both;
}
.live-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem;
  padding: .4rem .95rem;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0,255,70,.3);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0,255,0,.18);
  animation: hero-in .6s var(--ease) .5s both;
}
.live-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
  animation: pulse-glow 2s ease-in-out infinite;
}
.live-pill span { font: 600 12px var(--mono); color: var(--primary); letter-spacing: .12em; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(0,255,0,.5); }
  50% { opacity: .7; box-shadow: 0 0 20px rgba(0,255,0,.8); }
}

/* layout */
.main { max-width: 80rem; margin: 0 auto; padding: 1.5rem 1rem 5rem; width: 100%; }
.grid-stats { display: grid; gap: 1.25rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.glass-card {
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
@media (min-width: 640px) { .glass-card { padding: 1.75rem; } }
@media (min-width: 768px) { .glass-card { padding: 2rem; } }
.glass-card:hover { border-color: rgba(0,255,70,.4); }
.glow-green { box-shadow: 0 0 20px rgba(0,255,0,.3), 0 0 40px rgba(0,255,0,.1); }
.glow-green-lg { box-shadow: 0 0 30px rgba(0,255,0,.4), 0 0 60px rgba(0,255,0,.2), 0 0 90px rgba(0,255,0,.1); }
.text-glow { text-shadow: 0 0 10px rgba(0,255,0,.5), 0 0 20px rgba(0,255,0,.3); }
.label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-fg); font-weight: 500;
}
.mono { font-family: var(--mono); }

.price-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price-kicker { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.price-kicker svg { width: 22px; height: 22px; color: var(--primary); }
.price-val {
  font: 700 clamp(2rem, 6vw, 4.4rem)/1 var(--mono);
  letter-spacing: -.04em;
  word-break: break-word;
}
.price-native { margin-top: .4rem; color: var(--muted-fg); font: 500 1.05rem var(--mono); }
.change { text-align: right; }
.change b { display: block; font: 700 clamp(1.4rem, 3vw, 2.2rem)/1 var(--mono); color: var(--muted-fg); }
.change span { font-size: 12px; color: var(--muted-fg); }
.mini-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem;
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--card-border);
}
@media (min-width: 768px) { .mini-grid { grid-template-columns: repeat(4, 1fr); } }
.mini-grid p { font: 700 1.05rem/1.2 var(--mono); margin-top: .2rem; color: var(--primary); }

.chart-box { height: 160px; margin-top: 1.2rem; border-radius: .8rem; overflow: hidden; background: #050505; border: 1px solid var(--border); }
.chart-box canvas { width: 100%; height: 100%; display: block; }

.float-card { border-color: var(--red-dim); }
.float-card .wash {
  position: absolute; top: 0; right: 0; width: 16rem; height: 16rem;
  background: radial-gradient(circle, rgba(255,77,77,.12), transparent 70%);
  pointer-events: none;
}
.float-row { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .float-row { grid-template-columns: 1fr 1.15fr; align-items: center; } }
.float-val { font: 700 clamp(1.8rem, 4vw, 3rem)/1 var(--mono); margin: .4rem 0; }
.float-pct { color: var(--red); font-weight: 700; }
.circ { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--card-border); }
.circ b { display: block; font: 700 1.3rem var(--mono); margin-top: .25rem; }
.about-copy { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.7; }

/* aurora cards */
.aurora { position: relative; z-index: 0; }
.aurora::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, transparent 40%, rgba(0,255,70,.5), rgba(0,220,100,.5), transparent 70%);
  background-size: 300% 300%;
  opacity: 0; transition: opacity .3s;
  animation: aurora-border 4s ease infinite paused;
}
.aurora:hover::before { opacity: 1; animation-play-state: running; }
@keyframes aurora-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* feature tiles */
.tiles {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.25rem;
}
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { padding: 1.4rem; }
.tile h3 { font: 700 1.05rem var(--mono); color: var(--primary); margin-bottom: .4rem; }
.tile p { color: var(--muted-fg); font-size: .9rem; line-height: 1.6; }

/* official links */
.links {
  padding: 3rem 1rem 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.links h3 {
  text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-fg); font-weight: 500; margin-bottom: 1.2rem;
}
.link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.link-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: .45rem;
  min-width: 4.6rem;
}
.link-btn i {
  width: 42px; height: 42px; border-radius: .8rem;
  display: grid; place-items: center;
  border: 1px solid var(--card-border);
  background: rgba(0,0,0,.55);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.link-btn svg { width: 16px; height: 16px; }
.link-btn span { font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-fg); }
.link-btn:hover i { border-color: var(--primary); box-shadow: 0 0 16px rgba(0,255,70,.25); transform: translateY(-2px); }
.link-btn:hover span { color: var(--primary); }
.link-btn.disabled { cursor: default; opacity: .7; }
.link-btn.disabled:hover i { transform: none; }

.page-foot {
  text-align: center; padding: 0 1rem 5.5rem;
  font: 500 12px var(--mono); color: #555;
}
.page-foot a { color: var(--muted-fg); }
.page-foot a:hover { color: var(--primary); }

/* floating trade */
.float-trade {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
@media (min-width: 640px) { .float-trade { right: 1.5rem; bottom: 1.5rem; } }
.float-trade em {
  font: 700 clamp(1rem, 2vw, 1.6rem) var(--mono);
  font-style: normal;
  text-shadow: 0 0 10px rgba(0,255,0,.5);
  opacity: 0; visibility: hidden;
  white-space: nowrap;
  transition: opacity .3s, visibility .3s;
  pointer-events: none;
}
.float-trade:hover em { opacity: 1; visibility: visible; }
.float-trade img {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  box-shadow: 0 0 20px rgba(0,255,0,.4);
  transition: transform .3s var(--ease);
}
@media (min-width: 640px) { .float-trade img { width: 4.5rem; height: 4.5rem; } }
.float-trade:hover img { transform: scale(1.1); }

/* live status */
.live-status {
  position: fixed; left: 1rem; bottom: 1.4rem; z-index: 40;
  display: none; align-items: center; gap: .7rem;
  padding: .45rem .9rem;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0,255,70,.3);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0,255,0,.18);
  font: 500 13px var(--sans);
}
@media (min-width: 760px) { .live-status { display: flex; } }
.live-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse-glow 2s ease-in-out infinite; }
.spin { width: 14px; height: 14px; color: var(--primary); animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* page heads */
.page-head { text-align: center; margin: 1.5rem 0 2rem; }
.page-head h1 {
  font: 700 clamp(2rem, 6vw, 3.8rem)/1.05 var(--mono);
  text-shadow: 0 0 10px rgba(0,255,0,.5), 0 0 20px rgba(0,255,0,.3);
  margin-bottom: .6rem;
}
.page-head p { color: var(--muted-fg); font-size: 1.05rem; }

/* gallery */
.home-gallery {
  margin: 0 0 2.5rem;
  scroll-margin-top: calc(var(--nav-h) + 28px + 12px);
}
.home-gallery .page-head { margin-top: .25rem; }
.masonry { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) {
  .masonry { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}
@media (min-width: 1024px) {
  .masonry { grid-template-columns: 1fr 1fr 1fr; }
}
.g-card {
  position: relative; border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--card-border);
  background: #050505;
  cursor: zoom-in;
  aspect-ratio: 1;
}
.g-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.g-card:hover img { transform: scale(1.05); }
.g-card figcaption {
  position: absolute; inset: auto 0 0; padding: .7rem .9rem;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  font: 600 13px var(--mono);
}
.g-card .g-actions {
  position: absolute; top: .6rem; right: .6rem; display: flex; gap: .35rem;
  opacity: 0; transition: opacity .2s;
}
.g-card:hover .g-actions { opacity: 1; }
.g-icon {
  width: 34px; height: 34px; border-radius: .55rem;
  display: grid; place-items: center;
  background: rgba(0,0,0,.65); border: 1px solid var(--card-border);
}
.g-icon:hover { border-color: var(--primary); color: var(--primary); }
.g-icon svg { width: 15px; height: 15px; }
.load-more-wrap { text-align: center; margin: 1.75rem 0 0; }
.load-more {
  padding: .7rem 1.4rem;
  border: 1px solid rgba(0,255,70,.4);
  border-radius: .8rem;
  font: 700 13px var(--mono); letter-spacing: .08em;
  color: var(--primary);
  transition: background .2s, box-shadow .2s;
}
.load-more:hover { background: rgba(0,255,70,.1); box-shadow: 0 0 20px rgba(0,255,0,.2); }
.load-count { margin-top: .6rem; font-size: 12px; color: var(--muted-fg); }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.94); backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.lightbox.on { display: flex; }
.lightbox-inner {
  position: relative; max-width: 56rem; width: 100%;
  animation: lightbox-in .28s var(--ease);
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: none; }
}
.lightbox-inner img {
  width: 100%; max-height: 80vh; object-fit: contain; border-radius: .9rem;
  box-shadow: 0 0 30px rgba(0,255,0,.35);
}
.lightbox-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: .8rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  border-radius: 0 0 .9rem .9rem;
  font: 600 14px var(--mono);
}
.lightbox-bar div { display: flex; gap: .4rem; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,.55); border: 1px solid var(--card-border);
}
.lb-nav.prev { left: -8px; }
.lb-nav.next { right: -8px; }
.lb-close {
  position: absolute; top: -8px; right: -8px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #111; border: 1px solid var(--card-border);
}
@media (max-width: 700px) {
  .lb-nav.prev { left: 4px; }
  .lb-nav.next { right: 4px; }
}

/* studios */
.home-studios {
  position: relative;
  margin: 0 0 2.5rem;
  padding: 1.5rem 0 2rem;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 28px + 12px);
}
.studios-stage { position: relative; min-height: 100dvh; background: #000; }
#stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .7;
}
.studios-inner { position: relative; z-index: 1; }
.films {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .films { grid-template-columns: 1fr 1fr; } }
.film {
  position: relative; border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--card-border);
  background: #050505;
  aspect-ratio: 16/9;
  cursor: pointer;
}
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film-meta {
  position: absolute; inset: auto 0 0;
  padding: .8rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  display: flex; justify-content: space-between; align-items: end;
  font: 700 13px var(--mono);
}
.play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.25);
  transition: background .2s;
}
.film:hover .play { background: rgba(0,0,0,.08); }
.play span {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,255,70,.9); color: #041204;
  box-shadow: 0 0 24px rgba(0,255,70,.5);
  transform: scale(.95); transition: transform .2s;
}
.film:hover .play span { transform: scale(1); }
.play svg { width: 22px; height: 22px; margin-left: 3px; }
.studio-copy {
  display: grid; gap: 1rem; margin-top: 2rem;
}
@media (min-width: 900px) { .studio-copy { grid-template-columns: 1fr 1fr; } }
.studio-copy h2, .studio-copy h3 {
  font-family: var(--mono); margin-bottom: .7rem;
}
.studio-copy h2 { font-size: 1.5rem; text-shadow: 0 0 10px rgba(0,255,0,.4); }
.studio-copy h3 { font-size: 1.25rem; color: var(--primary); }
.studio-copy p { color: #d4d4d4; font-size: .95rem; line-height: 1.7; margin-bottom: .7rem; }

/* partners */
.partners {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .partners { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .partners { grid-template-columns: 1fr 1fr 1fr; } }
.partner {
  display: block; text-align: center; padding: 2rem 1.4rem;
  height: 100%;
}
.partner-mark {
  width: 6.5rem; height: 6.5rem; margin: 0 auto 1.2rem;
  border-radius: 1.2rem;
  display: grid; place-items: center;
  border: 1px solid var(--card-border);
  background: radial-gradient(circle at 30% 20%, rgba(0,255,70,.18), #0a0a0a 70%);
  transition: transform .3s var(--ease);
}
.partner:hover .partner-mark { transform: scale(1.08); }
.partner-mark svg { width: 42px; height: 42px; color: var(--primary); }
.partner h2 { font: 700 1.25rem var(--mono); margin-bottom: .5rem; }
.partner p { color: var(--muted-fg); font-size: .92rem; line-height: 1.65; }
.partner .go { display: inline-block; margin-top: .9rem; font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }

/* toast */
#toasts {
  position: fixed; right: 1rem; top: 5.2rem; z-index: 70;
  display: flex; flex-direction: column; gap: .5rem;
}
.toast {
  min-width: 220px; max-width: 320px;
  padding: .7rem .9rem;
  background: #0d0d0d; border: 1px solid var(--card-border);
  border-radius: .7rem;
  box-shadow: 0 10px 30px #000a, 0 0 16px rgba(0,255,70,.12);
  font-size: 13px;
  animation: toast-in .25s var(--ease);
}
@keyframes toast-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.toast b { display: block; font: 700 12px var(--mono); color: var(--primary); margin-bottom: .15rem; }

.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(0,255,0,.1), rgba(255,255,255,.05));
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}
@keyframes shimmer { from { background-position: -1000px 0; } to { background-position: 1000px 0; } }

@media (max-width: 639px) {
  .change { text-align: left; }
  .float-trade em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *:not(.ticker-track):not(.ticker-seq),
  *:not(.ticker-track)::before,
  *:not(.ticker-track)::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
