@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@500;700;800&family=Outfit:wght@400;500;700;800&family=Sora:wght@400;600;700;800&family=Space+Grotesk:wght@500;700&family=Syne:wght@600;700;800&display=swap');

:root {
  --bg: #130904;
  --bg-soft: #231108;
  --surface: #2b150a;
  --surface-2: #3a1c0c;
  --text: #fff5ec;
  --orange: #ff8a00;
  --orange-2: #ffc169;
  --line: rgba(255, 190, 130, 0.26);
  --ok: #95ffae;
}
.nav-wrap.is-hidden {
  transform: translateY(calc(-100% - 2px));
}
.nav-wrap.is-peeking {
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--text);
  font-family: Manrope, "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(70rem 24rem at 10% -10%, rgba(255, 155, 59, 0.34), transparent 52%),
    radial-gradient(50rem 20rem at 90% -10%, rgba(255, 214, 164, 0.2), transparent 45%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  overflow-x: hidden;
}
.tile,
.card,
.hero-card,
.feature-row,
.community-card,
summary {
  cursor: pointer;
}
@media (pointer:fine) {
  html,
  body,
  a,
  button,
  .btn,
  .tile,
  .card,
  .hero-card,
  .feature-row,
  .community-card,
  summary {
    cursor: none;
  }
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 246, 234, 0.98) 0 18%, rgba(255, 178, 77, 0.92) 24%, rgba(255, 122, 24, 0.68) 42%, rgba(255, 122, 24, 0.18) 68%, rgba(255, 122, 24, 0) 100%);
  box-shadow: 0 0 18px rgba(255, 122, 24, 0.55), 0 0 34px rgba(255, 122, 24, 0.35), 0 0 58px rgba(255, 122, 24, 0.18);
  transition: opacity .18s ease, width .16s ease, height .16s ease, box-shadow .16s ease;
}

.cursor-glow.is-visible {
  opacity: 1;
}

.cursor-glow.is-active {
  width: 34px;
  height: 34px;
  box-shadow: 0 0 22px rgba(255, 122, 24, 0.72), 0 0 44px rgba(255, 122, 24, 0.45), 0 0 72px rgba(255, 122, 24, 0.24);
}
.container { width: min(1240px, 88%); margin: auto; }
.nav.container { width: min(1880px, 99.6%); }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 9, 4, 0.82);
  transition: transform .28s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.nav { display: flex; justify-content: space-between; align-items: center; gap: .35rem; padding: .62rem 0; }
.brand { color: var(--text); text-decoration: none; font-weight: 900; display: flex; gap: .55rem; align-items: center; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.links {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  white-space: normal;
  margin-right: 0;
}
.links-main,
.links-utility {
  display: flex;
  align-items: center;
}

.links-main {
  gap: .14rem;
  padding: .22rem;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 20, 31, .84), rgba(9, 15, 24, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.links-utility {
  gap: .55rem;
  margin-left: auto;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  padding: .42rem .62rem;
  font-size: .84rem;
  border-radius: 999px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.links a:hover, .links .active { color: var(--text); background: #3b1f10; border-color: var(--line); }
.login-btn {
  background: linear-gradient(140deg, #ff9f38, #ff6f00);
  color: #2a1306 !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.discord-logo {
  width: 14px;
  height: 14px;
  display: inline-block;
}

.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: .9rem; padding: 2.1rem 0 .8rem; align-items: start; }
.hero { position: relative; overflow: hidden; }
.hero-main {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: .1rem;
}
.hero-main-content {
  margin-top: 11.6rem;
  width: 100%;
}
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  align-self: flex-start;
  width: fit-content;
  padding: .35rem .65rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  border: 1px solid var(--line); background: #3b1f10;
}
.pill::before {
  content: "";
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: #39e87b;
  box-shadow: 0 0 0 2px rgba(57, 232, 123, .18);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: .45rem 0 .7rem; line-height: 1.08; }
.span-accent { color: var(--orange-2); }
.lead { color: var(--muted); max-width: 68ch; }
.subhead {
  margin: .15rem 0 .75rem;
  color: #ffd4ad;
  font-size: clamp(1rem, 2.2vw, 1.32rem);
  font-weight: 700;
}
.typewriter-line {
  min-height: 3.2rem;
  margin: 0 0 .85rem;
  color: var(--orange-2);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin: .3rem 0 1rem;
}
.hero-mini-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(30, 43, 64, .92), rgba(18, 26, 39, .92));
  border-radius: 12px;
  padding: .7rem .72rem;
}
.hero-mini-icon {
  display: inline-flex;
  margin-bottom: .35rem;
  font-size: 1rem;
}
.hero-mini-card strong {
  display: block;
  font-size: .85rem;
  font-family: 'Syne', 'Manrope', sans-serif;
  letter-spacing: -.02em;
}
.hero-mini-card p {
  margin: .18rem 0 0;
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.4;
}
.type-cursor {
  display: inline-block;
  width: .58rem;
  height: 1.05em;
  margin-left: .22rem;
  vertical-align: -.12em;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffe0bd, #ff8a00);
  box-shadow: 0 0 0 1px rgba(255, 191, 122, .22);
  animation: blink .9s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
.hero-tag {
  display: inline-block;
  margin-top: .45rem;
  font-size: clamp(1.2rem, 3.2vw, 2.45rem);
  font-weight: 900;
}
.hero-highlight {
  color: #2f1405;
  background: linear-gradient(90deg, #ffbf74, #ff8a00);
  padding: .08rem .35rem;
  border-radius: 8px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.btn {
  border-radius: 12px; text-decoration: none; font-weight: 800;
  padding: .75rem 1rem; display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid transparent;
  transition: background-color .2s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.btn.primary { color: white; background: linear-gradient(135deg, var(--orange), #ff5800); }
.btn.secondary { color: var(--text); background: #3b1f10; border-color: var(--line); }
.btn.ghost { color: var(--orange-2); border-color: rgba(255, 177, 79, .35); background: rgba(255, 177, 79, .08); }
.btn:hover { filter: brightness(1.04); box-shadow: 0 8px 18px rgba(0, 0, 0, .28); }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.28), transparent 60%);
  transform: translateX(-120%);
}
.btn:hover::after { animation: btnSweep .7s ease; }
@keyframes btnSweep {
  to { transform: translateX(120%); }
}
.hero-card, .card, .tile {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: 1.2rem;
  overflow-wrap: anywhere;
}
.hero-side { display: grid; gap: .8rem; }
.hero-side .uptime { font-size: 1.8rem; font-weight: 900; color: var(--ok); margin: .2rem 0; }
.hero-card--uptime {
  align-self: start;
  padding: 1rem 1.2rem;
}

.hero-card--uptime h3,
.hero-card--uptime .muted {
  margin: 0;
}

.bot-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 1.8rem 1.35rem;
  text-align: center;
}
.bot-clicker {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: filter .15s ease;
}
.bot-clicker:hover { filter: brightness(1.04); }
.bot-clicker:active { filter: brightness(.95); }
.bot-clicker img {
  width: 210px; height: 210px; border-radius: 50%; border: 2px solid var(--line);
  box-shadow: 0 0 0 12px rgba(255, 177, 79, .12), 0 0 52px rgba(255, 138, 0, .18);
  transition: box-shadow .25s ease;
}
.bot-clicker.is-clicked img {
  box-shadow: 0 0 0 16px rgba(255, 177, 79, .18), 0 0 72px rgba(255, 138, 0, .26);
}
.clicks-line {
  margin: 1.15rem 0 .3rem;
  font-weight: 800;
  color: var(--orange-2);
  font-size: 2.2rem;
}
#click-message {
  margin-top: .4rem;
  text-align: center;
  font-size: clamp(1rem, 1.9vw, 1.25rem);
  max-width: 36ch;
}

.section { padding: 2.2rem 0; }
.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}
.section > .card,
.section > .pricing-grid,
.section > .faq,
.section > .notice {
  margin-inline: auto;
}
.section h2 { margin: 0 0 .55rem; font-size: 1.55rem; }
.muted { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.section-title { margin-bottom: 1.1rem; }
.mega {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 .35rem;
}
.gen-features { margin-top: .6rem; }
.feature-row {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: 1.4rem;
}
.feature-row.media-wide {
  grid-template-columns: .9fr 1.1fr;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-text h3 { margin: 0 0 .4rem; font-size: 1.35rem; }
.feature-text p { margin: 0 0 .6rem; color: var(--muted); }
.feature-media img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
}
.feature-media img.text-figure {
  max-height: 360px;
  object-fit: contain;
  padding: .6rem;
  background: #211006;
}
.feature-media audio {
  width: 100%;
  margin-top: .35rem;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0805;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-note { margin-top: .5rem; font-size: .9rem; }
.feature-compare { grid-template-columns: 1fr; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.compare-card {
  background: #2f180b;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .8rem;
}
.compare-label {
  display: block;
  margin-bottom: .5rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 800;
}
.compare-card img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 190, 130, .25);
  display: block;
}
.compare-stack { display: grid; gap: .6rem; }
.prompt-label {
  margin-bottom: .2rem;
  font-weight: 800;
  color: var(--text);
}
.prompt {
  margin: 0 0 .6rem;
  padding: .6rem .75rem;
  border-radius: 10px;
  border: 1px dashed rgba(255, 190, 130, .5);
  background: #2a150a;
  color: var(--muted);
}

.widget { display: flex; justify-content: center; }
.topgg-widget { max-width: 560px; width: 100%; height: auto; border-radius: 12px; }

.community-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: stretch;
}

.community-wrap {
  overflow: hidden; border: 1px solid var(--line); border-radius: 14px;
  background: #2f180b; padding: .8rem 0;
}
.community-track {
  display: flex; gap: .9rem; width: max-content; padding: 0 .8rem;
  animation: marquee 68s linear infinite;
}
.community-wrap:hover .community-track { animation-play-state: paused; }
.community-note {
  display: grid;
  place-items: center;
  min-width: 180px;
  padding: 1rem 1.15rem;
  border: 1px dashed rgba(255, 191, 122, .24);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 191, 122, .08), rgba(255, 122, 24, .04));
  color: var(--orange-2);
  text-align: center;
}

.community-note span {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.community-card {
  display: flex; align-items: center; gap: .8rem;
  min-width: 340px; text-decoration: none; color: var(--text);
  background: #3b200f; border: 1px solid rgba(255, 197, 136, .35);
  border-radius: 14px; padding: .7rem .8rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.community-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 177, 79, .65);
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}
.community-card img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(255, 201, 146, .26);
}
.community-name { font-weight: 800; }
.community-row { display: flex; align-items: center; gap: .55rem; margin-top: .2rem; }
.community-members { color: var(--muted); font-size: .9rem; }
.community-join-btn {
  background: linear-gradient(140deg, #39e87b, #14ab4d);
  color: #05200f;
  border: 1px solid rgba(170, 255, 200, .4);
  border-radius: 999px;
  padding: .2rem .52rem;
  font-size: .74rem;
  font-weight: 800;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.table { width: 100%; border-collapse: collapse; margin-top: .65rem; }
.table th, .table td { border: 1px solid var(--line); text-align: left; padding: .85rem .95rem; vertical-align: top; }
.table th { background: #3c200f; }

.faq details { border: 1px solid var(--line); background: #331a0d; border-radius: 12px; padding: .85rem 1rem; margin-bottom: .7rem; }
.faq summary { cursor: pointer; font-weight: 700; }
.notice { border-left: 4px solid var(--orange); padding: .65rem .85rem; background: #211507; border-radius: 10px; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 600;
  margin-left: 8px;
}
.badge.free {
  background: #10b981;
  color: white;
}
.badge.vote {
  background: linear-gradient(135deg, #ff8a00, #ff5a1f);
  color: #fff7ef;
  box-shadow: 0 0 0 1px rgba(255, 170, 98, .18);
}
.feature-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem .75rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 .45rem;
}
.feature-head h3 {
  margin: 0;
}
.feature-head > .badge,
.feature-head > .feature-badges {
  margin-left: 0;
}
.feature-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}
.feature-item {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}
.feature-item:last-child {
  border-bottom: none;
}
.feature-item h3 {
  margin-bottom: 8px;
}
.feature-item p {
  margin: 4px 0;
}

.footer { margin-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); padding: 1.1rem 0 1.8rem; }

main.container.section {
  overflow-x: hidden;
  width: min(1300px, 90%);
}
.card p, .card li {
  overflow-wrap: anywhere;
}
.legal-main {
  width: min(1500px, 90%);
}
.legal-main > h1 {
  padding-left: .35rem;
}
.legal-main .card {
  padding: 1.45rem 1.45rem 1.45rem 2.15rem;
}

@media (max-width: 980px) {
  .hero, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .links {
    flex-wrap: wrap;
    gap: .55rem;
  }
  .community-card { min-width: 290px; }
  .hero-main-content { margin-top: 1.6rem; }
  .hero-mini-grid { grid-template-columns: 1fr; }
  .container { width: min(1240px, 91%); }
  main.container.section { width: min(1240px, 92%); }
  .legal-main { width: min(1180px, 92%); }
  .legal-main .card { padding: 1rem 1rem 1rem 1.2rem; }
  .hero-side { max-width: 480px; }
  .bot-image-wrap { min-height: auto; padding: 1.5rem 1.2rem; }
  .community-showcase { grid-template-columns: 1fr; }
  .community-note { min-width: 0; }
}

@media (max-width: 720px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .links { margin-right: 0; gap: .35rem; }
  .links a { font-size: .82rem; }
  .hero { padding: 1.4rem 0 .4rem; }
  .hero-main-content { margin-top: 1rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
  .bot-image-wrap { min-height: 360px; padding-top: 1.6rem; }
  .bot-clicker img { width: 180px; height: 180px; }
  .clicks-line { font-size: 1.8rem; }
  .feature-row { padding: .95rem; }
  .feature-media img.text-figure { max-height: 300px; }
}

@media (max-width: 520px) {
  .container { width: min(1120px, 92%); }
  main.container.section { width: min(1120px, 93%); }
  .brand img { width: 26px; height: 26px; }
  .links a { font-size: .78rem; padding: .26rem .4rem; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .subhead { font-size: 1rem; }
  .typewriter-line { font-size: 1rem; min-height: 2.4rem; }
  .bot-clicker img { width: 160px; height: 160px; }
  .clicks-line { font-size: 1.6rem; }
  .feature-text h3 { font-size: 1.2rem; }
  .feature-text p { font-size: .95rem; }
  .compare-card { padding: .6rem; }
}

.badge.premium {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
}
.badge.gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #2b1700;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
}

main,
.footer {
  position: relative;
  z-index: 2;
}

.tile {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 177, 79, .6);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

@media (prefers-reduced-motion: reduce) {
  .tile,
  .hero-mini-card,
  .feature-media img.text-figure,
  .compare-card img,
  .bot-clicker img,
  .snowflake,
  .cursor-glow {
    animation: none !important;
    transition: none !important;
  }

  .nav-wrap {
    transition: none !important;
  }
}

body {
  top: 0 !important;
}


:root {
  --bg: #080b12;
  --bg-soft: #0d121b;
  --surface: #121a27;
  --surface-2: #1a2638;
  --text: #edf3fb;
  --muted: #9eb0c4;
  --orange: #ff7a18;
  --orange-2: #ffbf7a;
  --line: rgba(120, 154, 195, 0.26);
}

body {
  font-family: 'Plus Jakarta Sans', 'Manrope', 'Segoe UI', Tahoma, sans-serif;
  background:
    radial-gradient(64rem 26rem at 12% -8%, rgba(255, 122, 24, 0.2), transparent 52%),
    radial-gradient(44rem 22rem at 88% 0%, rgba(88, 101, 242, 0.16), transparent 50%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

h1, h2, h3, .brand, .mega {
  font-family: 'Syne', 'Manrope', sans-serif;
  letter-spacing: -0.03em;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2026 refresh */
:root {
  --font-display: 'Syne', sans-serif;
  --font-body: 'Sora', 'Manrope', sans-serif;
}
body {
  font-family: var(--font-body);
}
body[data-page="commands"],
body[data-page="features"],
body[data-page="stats"] {
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Sora', 'Manrope', sans-serif;
}
body[data-page="premium"],
body[data-page="reviews"],
body[data-page="roadmap"],
body[data-page="support"],
body[data-page="changelog"] {
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', 'Sora', sans-serif;
}
body[data-page="faq"],
body[data-page="privacy"],
body[data-page="terms"] {
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 0;
}
body[data-page="privacy"] .legal-main h1,
body[data-page="terms"] .legal-main h1,
body[data-page="privacy"] .legal-main h2,
body[data-page="terms"] .legal-main h2,
body[data-page="privacy"] .legal-main h3,
body[data-page="terms"] .legal-main h3 {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
}
body[data-page="privacy"] .legal-main,
body[data-page="terms"] .legal-main,
body[data-page="privacy"] .legal-main p,
body[data-page="terms"] .legal-main p,
body[data-page="privacy"] .legal-main li,
body[data-page="terms"] .legal-main li,
body[data-page="privacy"] .legal-main td,
body[data-page="terms"] .legal-main td,
body[data-page="privacy"] .legal-main th,
body[data-page="terms"] .legal-main th {
  color: var(--text);
}
body[data-page="privacy"] .legal-main .muted,
body[data-page="terms"] .legal-main .muted {
  color: #c7d5e7;
}
h1, h2, h3, .brand, .mega, .subhead {
  font-family: var(--font-display);
  font-weight: 800;
}
.nav-wrap {
  background: rgba(8, 12, 18, 0.88);
  border-bottom: 1px solid rgba(255, 122, 24, 0.35);
}
.links a {
  font-weight: 700;
}
.hero {
  padding-top: 2.8rem;
}
.hero-main-content {
  margin-top: 8rem;
}

.hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: 6%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.26), transparent 70%);
  pointer-events: none;
  opacity: .9;
}
.hero-mini-card,
.tile,
.hero-card,
.feature-row,
.card {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}
.tile,
.feature-row,
.card,
.hero-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.tile:hover,
.feature-row:hover,
.card:hover,
.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  border-color: rgba(255, 122, 24, 0.55);
}

.music-player-ui {
  margin-top: .7rem;
  border: 1px solid rgba(255, 191, 122, 0.35);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(19, 30, 48, 0.95), rgba(15, 22, 34, 0.95));
  padding: .75rem;
}

.music-player-top {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  margin-bottom: .55rem;
  font-size: .84rem;
  color: var(--muted);
}

.music-player-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .45rem;
}

.music-player-controls button {
  border: 1px solid rgba(255, 191, 122, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 10px;
  padding: .42rem .2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.music-player-controls button:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(255, 122, 24, 0.2);
  border-color: rgba(255, 191, 122, 0.7);
}

.snow-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.snowflake {
  position: absolute;
  top: -12%;
  left: var(--left, 50%);
  font-size: var(--size, .9rem);
  line-height: 1;
  color: rgba(245, 250, 255, var(--alpha, .75));
  text-shadow: 0 0 8px rgba(255, 255, 255, .18);
  animation: snowFall var(--duration, 16s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.snowflake.ember {
  color: rgba(255, 196, 128, var(--alpha, .8));
  text-shadow: 0 0 10px rgba(255, 122, 24, .38), 0 0 22px rgba(255, 166, 84, .22);
  animation-name: emberRise;
}

.snowflake.stardust {
  color: rgba(228, 239, 255, var(--alpha, .64));
  text-shadow: 0 0 10px rgba(173, 217, 255, .28), 0 0 22px rgba(214, 234, 255, .18);
  animation-name: stardustDrift;
}

.snowflake.firefly {
  color: rgba(255, 224, 148, var(--alpha, .52));
  text-shadow: 0 0 10px rgba(255, 192, 91, .34), 0 0 24px rgba(255, 214, 122, .24);
  animation-name: fireflyFloat;
}

.snowflake.petal {
  color: rgba(255, 214, 232, var(--alpha, .44));
  text-shadow: 0 0 10px rgba(255, 205, 224, .18);
  animation-name: petalDrift;
}

.snowflake.comet {
  color: rgba(214, 236, 255, var(--alpha, .46));
  text-shadow: 0 0 12px rgba(143, 205, 255, .28), 0 0 26px rgba(143, 205, 255, .16), 14px 0 30px rgba(143, 205, 255, .1);
  animation-name: cometSweep;
}

.snowflake.orb {
  color: rgba(255, 236, 184, var(--alpha, .32));
  text-shadow: 0 0 18px rgba(255, 210, 120, .26), 0 0 36px rgba(255, 210, 120, .14);
  animation-name: orbFloat;
}

.snowflake.lantern {
  color: rgba(255, 196, 122, var(--alpha, .38));
  text-shadow: 0 0 12px rgba(255, 140, 51, .32), 0 0 26px rgba(255, 140, 51, .16);
  animation-name: lanternRise;
}

.snowflake.rain {
  color: rgba(171, 214, 255, var(--alpha, .36));
  text-shadow: none;
  animation-name: rainFall;
}

.snow-scene.is-hidden {
  display: none;
}

.ambient-control {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .28rem .42rem .28rem .7rem;
  border: 1px solid rgba(255, 215, 150, .35);
  background: rgba(255, 205, 130, .12);
  color: var(--text);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ambient-select {
  border: 1px solid rgba(255, 215, 150, .24);
  background: rgba(10, 15, 24, .75);
  color: var(--text);
  border-radius: 999px;
  padding: .24rem .65rem;
  font-size: .8rem;
  font-weight: 700;
}

.ambient-control:hover {
  background: rgba(255, 205, 130, .18);
  border-color: rgba(255, 215, 150, .5);
}

.ambient-select:focus {
  outline: 2px solid rgba(255, 191, 122, .36);
  outline-offset: 1px;
}

.snow-toggle {
  border: 1px solid rgba(255, 215, 150, .35);
  background: rgba(255, 205, 130, .12);
  color: var(--text);
  border-radius: 999px;
  padding: .35rem .7rem;
  font-size: .8rem;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease;
}

.snow-toggle:hover {
  background: rgba(255, 205, 130, .18);
  border-color: rgba(255, 215, 150, .5);
}

@keyframes snowFall {
  0% {
    transform: translate3d(0, -8vh, 0);
  }
  100% {
    transform: translate3d(var(--drift, 18px), 110vh, 0);
  }
}

@keyframes emberRise {
  0% {
    transform: translate3d(0, 104vh, 0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--drift, 12px), -12vh, 0);
    opacity: 0;
  }
}

@keyframes stardustDrift {
  0% {
    transform: translate3d(0, -6vh, 0);
    opacity: 0;
  }
  10% {
    opacity: .9;
  }
  100% {
    transform: translate3d(var(--drift, 10px), 108vh, 0);
    opacity: .2;
  }
}

@keyframes fireflyFloat {
  0% {
    transform: translate3d(0, 110vh, 0) scale(.9);
    opacity: 0;
  }
  12% {
    opacity: .95;
  }
  50% {
    transform: translate3d(calc(var(--drift, 16px) * .45), 46vh, 0) scale(1.08);
    opacity: .72;
  }
  100% {
    transform: translate3d(var(--drift, 16px), -12vh, 0) scale(.92);
    opacity: 0;
  }
}

@keyframes petalDrift {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: .82;
  }
  100% {
    transform: translate3d(var(--drift, 28px), 108vh, 0) rotate(220deg);
    opacity: .14;
  }
}

@keyframes cometSweep {
  0% {
    transform: translate3d(-8vw, -10vh, 0) scale(.92);
    opacity: 0;
  }
  12% {
    opacity: .92;
  }
  100% {
    transform: translate3d(var(--drift, 60px), 108vh, 0) scale(1.04);
    opacity: 0;
  }
}

@keyframes orbFloat {
  0% {
    transform: translate3d(0, 108vh, 0) scale(.9);
    opacity: 0;
  }
  14% {
    opacity: .82;
  }
  50% {
    transform: translate3d(calc(var(--drift, 20px) * .5), 48vh, 0) scale(1.06);
    opacity: .54;
  }
  100% {
    transform: translate3d(var(--drift, 20px), -10vh, 0) scale(.94);
    opacity: 0;
  }
}

@keyframes lanternRise {
  0% {
    transform: translate3d(0, 110vh, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: .9;
  }
  100% {
    transform: translate3d(var(--drift, 18px), -12vh, 0) rotate(12deg);
    opacity: 0;
  }
}

@keyframes rainFall {
  0% {
    transform: translate3d(0, -12vh, 0);
    opacity: 0;
  }
  8% {
    opacity: .9;
  }
  100% {
    transform: translate3d(var(--drift, 6px), 112vh, 0);
    opacity: .18;
  }
}

.badge {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
code {
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 500;
}
@media (max-width: 980px) {
  .hero-main-content { margin-top: 1.4rem; }
}

/* ─── Mobile hamburger menu ─── */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .4rem .55rem;
  cursor: pointer;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  transition: background .2s ease;
}
.hamburger:hover { background: rgba(255, 122, 24, 0.15); }

@media (max-width: 980px) {
  .hamburger { display: block; }
  .nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }
  .links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: .45rem;
    padding: .5rem 0;
    border-top: 1px solid var(--line);
    margin-top: .4rem;
    margin-right: 0;
  }
  .links.open { display: flex; }
  .links-main,
  .links-utility {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
  }
  .links-main {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .links-utility {
    margin-left: 0;
  }
  .links a {
    width: 100%;
    padding: .55rem .75rem;
    border-radius: 10px;
    font-size: .92rem;
  }
  .links .login-btn,
  .ambient-control {
    width: 100%;
    justify-content: space-between;
  }
  .hero-side {
    padding-top: 0;
  }
  .hero-main-content {
    padding: 1.45rem 1.35rem 1.6rem;
  }
  .command-center-main {
    padding-inline: 0;
  }
  body[data-page="commands"] .command-center-main > h1,
  body[data-page="commands"] .command-center-main > p {
    margin-left: 0;
  }
  body[data-page="commands"] .command-center-main > .card.section,
  .premium-vote-card {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .hero-card--clicker {
    min-height: auto;
  }
  .achievement-list {
    grid-template-columns: 1fr;
  }
  .links a:hover, .links .active {
    background: rgba(255, 122, 24, 0.12);
  }
  .ambient-control,
  .snow-toggle {
    margin-top: .35rem;
  }
}

/* ─── Smooth scroll ─── */
html { scroll-behavior: smooth; }

/* ─── Gradient text for mega headings ─── */
.mega,
h1 {
  background: linear-gradient(135deg, var(--text) 30%, var(--orange-2) 70%, var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Enhanced footer ─── */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.footer-col h4 {
  margin: 0 0 .5rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.footer-col { display: flex; flex-direction: column; gap: .3rem; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--orange-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
}

/* ─── Premium pricing cards ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.pricing-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: 1.6rem 1.4rem;
  text-align: center;
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 122, 24, 0.55);
}
.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 40px rgba(255, 122, 24, 0.18);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), #ff5800);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: .25rem .75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pricing-card .tier-name {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: .3rem;
}
.pricing-card .tier-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange-2);
  margin: .5rem 0;
  font-family: var(--font-display);
}
.pricing-card .tier-price .period {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}
.pricing-card li {
  padding: .4rem 0;
  border-bottom: 1px solid rgba(120, 154, 195, 0.1);
  color: var(--muted);
  font-size: .92rem;
}
.pricing-card li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 800;
  margin-right: .5rem;
}
.pricing-card li:last-child { border-bottom: none; }

.tier-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .4rem;
}
.tier-badge.basic { background: #10b981; color: #fff; }
.tier-badge.premium { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }
.tier-badge.gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #2b1700; }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* ─── Section glow dividers ─── */
.section-glow {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 24, 0.4), transparent);
  margin: 1.5rem 0;
}

/* ─── Feature highlight cards (for features page) ─── */
.feature-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.feature-highlight {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(13, 22, 34, .98), rgba(17, 29, 45, .92));
  padding: 1.2rem;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}
.feature-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 122, 24, 0.5);
}
.feature-highlight::before {
  content: '';
  position: absolute;
  inset: auto -15% 55% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 24, .18), transparent 68%);
  pointer-events: none;
}
.feature-highlight .fh-icon {
  font-size: 1.6rem;
  margin-bottom: .5rem;
  display: block;
}

/* ─── Shared layout cleanup ─── */
.container {
  width: min(1180px, 86%);
}

.nav.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 10px;
}

.nav-wrap {
  background: rgba(8, 12, 18, 0.94);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding: .9rem 0;
}

.brand {
  justify-self: start;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  letter-spacing: -0.05em;
  margin-left: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(255, 122, 24, .22);
}

.links {
  display: contents;
}

.links-main {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .2rem;
  z-index: 1;
}

.links-utility {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
}

.links a {
  padding: .4rem .62rem;
  font-size: .86rem;
}

body::before {
  opacity: .08;
  background-size: 4px 4px;
}

.hero {
  gap: 1.5rem;
  padding: 3.2rem 0 1.2rem;
  align-items: stretch;
}

.hero-main-content {
  margin-top: 6rem;
  max-width: 58rem;
  position: relative;
  padding: 2rem 2.15rem 2.1rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(8, 14, 26, .78), rgba(14, 24, 38, .68));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
}

.hero-main-content::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 122, 24, .08), transparent 32%, rgba(88, 101, 242, .08));
}

.hero-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: .5rem 0 1.25rem;
}

.hero-mini-card {
  padding: .95rem 1rem;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(17, 30, 48, .92), rgba(12, 20, 31, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.hero-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 24, .42);
}

.hero-mini-card p,
.lead,
.subhead,
.card p,
.card li,
.feature-text p,
.table th,
.table td,
.faq details,
.notice {
  line-height: 1.62;
}

.hero-card,
.card,
.tile {
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(16, 24, 38, .96), rgba(18, 29, 44, .9));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

.section {
  padding: 3rem 0;
}

.section h2 {
  margin: 0 0 .72rem;
}

.section-title {
  margin-bottom: 1.45rem;
}

.section-title .muted,
.gen-overview,
.model-list li span {
  color: #b8c7d8;
}

.grid-3,
.grid-2 {
  gap: 1.15rem;
}

.hero-side {
  gap: 1rem;
  padding-top: 7rem;
  align-content: start;
}

.hero-card--uptime {
  margin-top: .7rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(8, 17, 29, .96), rgba(17, 30, 45, .92));
}

.hero-card--clicker {
  border-radius: 28px;
  background: linear-gradient(175deg, rgba(10, 20, 34, .98), rgba(17, 29, 44, .94));
  min-height: 560px;
}

.clicker-achievements {
  width: 100%;
  margin-top: 1.45rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.clicker-achievements-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-bottom: .9rem;
}

.clicker-achievements h4 {
  margin: 0;
  font-size: 1rem;
}

.achievement-logo {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  color: #2d1407;
  background: linear-gradient(135deg, #fff2dc, #ffc56d 48%, #ff8b1f);
  border: 1px solid rgba(255, 232, 204, .72);
  box-shadow: 0 12px 28px rgba(255, 122, 24, .28);
  font-size: 1.05rem;
  line-height: 1;
  text-align: center;
  overflow: hidden;
}

.achievement-logo::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32);
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  max-height: 240px;
  overflow: auto;
  padding-right: .15rem;
}

.achievement-badge {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .65rem;
  min-height: 132px;
  padding: 1.05rem .95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(145deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
  text-align: center;
  opacity: .56;
  overflow: hidden;
}

.achievement-badge::before {
  content: '';
  position: absolute;
  inset: auto auto -32px -24px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 122, .12), transparent 72%);
  pointer-events: none;
}

.achievement-badge.is-unlocked {
  border-color: rgba(255, 191, 122, .28);
  background: linear-gradient(145deg, rgba(255, 191, 122, .15), rgba(255, 122, 24, .09));
  opacity: 1;
}

.achievement-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 0;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
  overflow: visible;
}

.achievement-icon-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  line-height: 1;
  transform: none;
  text-shadow: 0 6px 18px rgba(255, 122, 24, .22);
}

.achievement-badge > div {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: .18rem;
}

.achievement-badge strong,
.achievement-badge span {
  display: block;
}

.achievement-badge strong {
  font-size: .98rem;
}

.achievement-badge span {
  color: var(--muted);
  font-size: .78rem;
}

.achievement-list::-webkit-scrollbar {
  width: 8px;
}

.achievement-list::-webkit-scrollbar-thumb {
  background: rgba(255, 191, 122, .24);
  border-radius: 999px;
}

.model-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .7rem;
}

.model-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(150deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
  font-weight: 700;
}

.command-center-main {
  padding-inline: .55rem;
}

body[data-page="commands"] .command-center-main > h1,
body[data-page="commands"] .command-center-main > p {
  margin-left: .45rem;
}

body[data-page="commands"] .command-center-main > .card.section {
  padding-left: 1.8rem;
  padding-right: 1.8rem;
}

.premium-vote-card {
  padding-left: 1.8rem;
}

.premium-vote-card a {
  color: #ffd39c;
  font-weight: 800;
}

.premium-vote-card a:hover {
  color: #fff1da;
}

.premium-vote-card p {
  max-width: 64ch;
}

.feature-row {
  gap: 1.55rem;
  margin-bottom: 1.25rem;
  padding: 1.7rem;
  border-radius: 18px;
}

.compare-grid {
  gap: 1.15rem;
}

.community-wrap {
  border-radius: 18px;
  padding: 1rem 0;
}

.community-track {
  gap: 1rem;
}

.community-card {
  min-width: 320px;
  padding: .85rem .95rem;
}

main.container.section {
  width: min(1180px, 86%);
}

.legal-main {
  width: min(1080px, 84%);
}

.legal-main .card {
  padding: 1.55rem 1.6rem 1.55rem 1.9rem;
}

.footer {
  margin-top: 3rem;
  padding: 1.3rem 0 2rem;
}

.footer-inner {
  gap: 1.5rem 2.2rem;
  padding: 2.2rem 0 1.15rem;
}

.tile:hover,
.feature-row:hover,
.card:hover,
.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

@media (max-width: 1180px) {
  .container,
  main.container.section {
    width: min(1180px, 90%);
  }

  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    padding-top: 4.8rem;
  }

  .nav.container {
    width: 100%;
    padding-inline: 8px;
  }
}

@media (max-width: 720px) {
  .container,
  main.container.section,
  .legal-main {
    width: min(1120px, 92%);
  }

  .section {
    padding: 2.3rem 0;
  }

  .hero {
    padding: 1.7rem 0 .6rem;
  }

  .hero-main-content {
    margin-top: 1.15rem;
  }

  .hero-card,
  .card,
  .tile,
  .feature-row {
    padding: 1.05rem 1.05rem;
  }
}
.feature-highlight h4 {
  margin: 0 0 .3rem;
  font-size: 1rem;
  font-family: var(--font-display);
}
.feature-highlight p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

/* ─── Generation navigation and hub cleanup ─── */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: .8rem;
}

.nav-dropdown-trigger {
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  padding: .42rem .68rem;
  font-size: .84rem;
  font-weight: 700;
  border-radius: 999px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown.open .nav-dropdown-trigger,
.nav-dropdown.is-current .nav-dropdown-trigger {
  color: var(--text);
  background: #3b1f10;
  border-color: var(--line);
}

.nav-chevron {
  display: inline-block;
  margin-left: .35rem;
  font-size: .7rem;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + .18rem);
  left: 0;
  min-width: 258px;
  display: grid;
  gap: .3rem;
  padding: .5rem;
  border: 1px solid rgba(255, 190, 130, .24);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(9, 16, 26, .98), rgba(11, 20, 31, .96));
  box-shadow: 0 22px 44px rgba(0, 0, 0, .48);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 180;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-submenu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  color: var(--muted);
  text-decoration: none;
  padding: .68rem .78rem;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 600;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  color: var(--text);
  background: rgba(255, 122, 24, .12);
  border-color: rgba(255, 122, 24, .22);
}

.nav-submenu a.is-hub-link {
  justify-content: flex-start;
}

.nav-link-pill {
  display: inline-flex;
  align-items: center;
  padding: .24rem .62rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd09a, #ff9c3f 52%, #ff7a18);
  color: #2d1407;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 10px 22px rgba(255, 122, 24, .2);
}

.nav-more .nav-submenu {
  left: auto;
  right: 0;
}

.generation-grid {
  gap: 1rem;
}

.page-link-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-link-card h4 {
  color: var(--text);
}

.page-link-card:hover {
  transform: translateY(-2px);
}

.page-link-card p {
  color: var(--muted);
}

.page-link-card:visited,
.page-link-card:link {
  color: inherit;
}

body[data-page="generation"] main a {
  color: var(--orange-2);
}

body[data-page="generation"] main a:visited {
  color: var(--orange-2);
}

body[data-page="generation"] main a:hover {
  color: var(--orange);
}

body[data-page="generation"] main .page-link-card,
body[data-page="generation"] main .page-link-card:visited {
  color: inherit;
}

.gen-overview {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gen-page-hero {
  margin-bottom: 1.1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .9rem;
  color: var(--orange-2);
  text-decoration: none;
  font-weight: 700;
}

.gen-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* ─── Distinct ambient systems ─── */
.ambient-shell {
  position: absolute;
  inset: 0;
}

.ambient-aurora .ambient-band {
  position: absolute;
  left: var(--x, 20%);
  top: var(--y, 10%);
  width: 36vw;
  height: 52vh;
  border-radius: 999px;
  filter: blur(44px);
  opacity: .36;
  background: linear-gradient(180deg, rgba(78, 219, 255, .48), rgba(160, 114, 255, .24), rgba(76, 255, 184, .28));
  transform: rotate(-16deg);
  animation: auroraShift 18s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.ambient-constellation .ambient-star {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(226, 239, 255, .88);
  box-shadow: 0 0 16px rgba(170, 214, 255, .5);
  animation: starPulse 4.4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.ambient-constellation .ambient-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(150, 207, 255, 0), rgba(150, 207, 255, .26), rgba(150, 207, 255, 0));
  transform-origin: left center;
  opacity: .75;
}

.ambient-grid-mode .ambient-grid-layer,
.ambient-grid-mode .ambient-grid-glow {
  position: absolute;
  inset: 0;
}

.ambient-grid-mode .ambient-grid-layer {
  opacity: .22;
  background-image:
    linear-gradient(rgba(108, 160, 255, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 160, 255, .22) 1px, transparent 1px);
  background-size: 68px 68px;
  animation: gridSlide 20s linear infinite;
}

.ambient-grid-mode .ambient-grid-glow {
  background: radial-gradient(circle at 50% 32%, rgba(104, 160, 255, .18), transparent 36%), radial-gradient(circle at 50% 70%, rgba(255, 122, 24, .12), transparent 30%);
}

.ambient-orbit .ambient-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(180px * var(--scale, 1));
  height: calc(180px * var(--scale, 1));
  margin-left: calc(-90px * var(--scale, 1));
  margin-top: calc(-90px * var(--scale, 1));
  border-radius: 50%;
  border: 1px solid rgba(255, 198, 130, .22);
  box-shadow: inset 0 0 26px rgba(255, 122, 24, .06);
  animation: orbitSpin 18s linear infinite;
  animation-delay: var(--delay, 0s);
}

.ambient-orbit .ambient-orbiter {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--radius, 94px) * 2);
  height: calc(var(--radius, 94px) * 2);
  margin-left: calc(var(--radius, 94px) * -1);
  margin-top: calc(var(--radius, 94px) * -1);
  border-radius: 50%;
  animation: orbitSpin 12s linear infinite;
  animation-delay: var(--delay, 0s);
}

.ambient-orbit .ambient-orbiter::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -4px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 239, 192, .95), rgba(255, 160, 64, .65));
  box-shadow: 0 0 16px rgba(255, 160, 64, .4);
}

@keyframes auroraShift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-16deg) scale(1); }
  50% { transform: translate3d(4vw, 4vh, 0) rotate(-8deg) scale(1.08); }
}

@keyframes starPulse {
  0%, 100% { opacity: .38; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes gridSlide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, 68px, 0); }
}

@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .gen-overview {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown {
    width: 100%;
    display: block;
  }

  .nav-dropdown::after {
    content: none;
  }

  .nav-dropdown-trigger {
    width: 100%;
    text-align: left;
    border-radius: 10px;
    padding: .55rem .75rem;
  }

  .nav-submenu {
    position: relative;
    z-index: 10;
    min-width: 0;
    margin-top: .25rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
    box-shadow: none;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(60, 30, 10, .95), rgba(45, 20, 5, .92));
    border-color: rgba(255, 160, 60, .3);
  }

  .nav-dropdown.open .nav-submenu {
    display: grid;
  }

  .nav-submenu a {
    position: relative;
    z-index: 11;
  }

  .nav-more .nav-submenu {
    right: auto;
  }

  .gen-page-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive cleanup */
@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 2rem 0 .85rem;
  }

  .hero-main,
  .hero-side {
    width: 100%;
  }

  .hero-main-content {
    margin-top: 1.5rem;
    max-width: none;
  }

  .hero-side {
    padding-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .hero-card--clicker {
    min-height: 0;
  }

  .feature-highlight-grid,
  .gen-page-grid,
  .model-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-showcase {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .nav.container {
    padding-inline: 12px;
  }

  .nav {
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem 1rem;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hamburger {
    display: none !important;
  }

  .links {
    display: flex !important;
    flex: 1 0 100%;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
    margin-top: .2rem;
    padding-top: .7rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .links-main,
  .links-utility {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem;
  }

  .links-main {
    padding: .25rem 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .links-utility {
    margin-left: 0;
    padding-top: .2rem;
  }

  .links a,
  .nav-dropdown-trigger,
  .ambient-control {
    width: auto;
    min-width: 0;
  }

  .links a,
  .nav-dropdown-trigger {
    padding: .58rem .8rem;
    font-size: .9rem;
  }

  .nav-dropdown {
    width: auto;
    display: inline-flex;
  }

  .nav-submenu {
    position: absolute;
    min-width: 240px;
    display: grid;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    margin-top: 0;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .48);
  }

  .nav-dropdown.open .nav-submenu,
  .nav-dropdown:hover .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .ambient-control {
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .nav.container {
    padding-inline: 12px;
  }

  .nav {
    align-items: center;
    gap: .75rem;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(1.35rem, 4vw, 1.8rem);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hamburger {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .links {
    display: none;
    width: 100%;
    margin-top: .1rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .links.open {
    display: block;
  }

  .links-main,
  .links-utility {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .links-main {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .links-utility {
    margin-left: 0;
    margin-top: .55rem;
    padding-top: .55rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .links a,
  .nav-dropdown-trigger,
  .ambient-control {
    width: 100%;
    min-width: 0;
  }

  .links a,
  .nav-dropdown-trigger {
    padding: .72rem .85rem;
    border-radius: 14px;
    font-size: .95rem;
  }

  .ambient-control {
    justify-content: space-between;
  }

  .hero-main-content,
  .hero-card,
  .card,
  .tile,
  .feature-row,
  .premium-vote-card,
  body[data-page="commands"] .command-center-main > .card.section {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .hero-mini-grid,
  .grid-2,
  .grid-3,
  .compare-grid,
  .pricing-grid,
  .feature-highlight-grid,
  .gen-page-grid,
  .model-list {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row.media-wide {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-side {
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .bot-image-wrap {
    min-height: 0;
    padding: 1.2rem 1rem;
  }

  .bot-clicker img {
    width: min(220px, 48vw);
    height: min(220px, 48vw);
  }

  .community-wrap {
    padding: .75rem 0;
  }

  .community-card {
    min-width: min(320px, 78vw);
  }

  .community-note {
    padding: .85rem 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .container,
  main.container.section,
  .legal-main {
    width: min(100%, 94vw);
  }

  .section {
    padding: 2rem 0;
  }

  .hero {
    padding: 1.35rem 0 .45rem;
  }

  .hero-main-content {
    margin-top: .9rem;
    padding: 1rem;
  }

  .pill {
    font-size: .72rem;
  }

  .cta-row {
    gap: .55rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .typewriter-line {
    min-height: 2.7rem;
  }

  .community-card {
    min-width: 264px;
    padding: .75rem;
  }

  .community-card img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .achievement-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 1.2rem;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  h1,
  .mega {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }

  .subhead,
  .lead,
  .feature-text p,
  .kitty-hero p {
    font-size: .95rem;
  }

  .hero-main-content,
  .hero-card,
  .card,
  .tile,
  .feature-row {
    padding: .95rem;
    border-radius: 18px;
  }

  .bot-clicker img {
    width: min(180px, 52vw);
    height: min(180px, 52vw);
  }

  .clicks-line {
    font-size: 1.65rem;
  }

  .nav-submenu a {
    min-height: 42px;
    padding: .62rem .72rem;
  }
}
