:root {
  color-scheme: dark;
  --bg: #05090b;
  --panel: rgba(12, 20, 23, 0.76);
  --panel-solid: rgba(14, 22, 25, 0.92);
  --line: rgba(255, 255, 255, 0.11);
  --text: #eef5f3;
  --muted: #9eaba8;
  --gold: #f2b94b;
  --teal: #39d6bd;
  --green: #64e59a;
  --red: #ff6b6b;
  --amber: #f28f3b;
  --ice: #9ee7ff;
  --shadow: rgba(0, 0, 0, 0.38);
  --header-control-height: 42px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(57, 214, 189, 0.18), transparent 42%),
    linear-gradient(180deg, #05090b 0%, #081014 46%, #05090b 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(158, 231, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 231, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
  z-index: -1;
  animation: gridDrift 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(57, 214, 189, 0.08) 48%, transparent 54%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  opacity: 0.36;
  z-index: -1;
  animation: scanSweep 9s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(8, 11, 13, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.wallet-cluster,
.nav-links,
.status-row,
.hero-actions,
.toolbar,
.project-top,
.card-stats,
.market-head,
.tabs,
.leverage-row,
.staking-strip {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(57, 214, 189, 0.38);
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 18%, rgba(242, 185, 75, 0.28), transparent 34%),
    radial-gradient(circle at 72% 76%, rgba(57, 214, 189, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    #071114;
  box-shadow:
    0 0 24px rgba(57, 214, 189, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.24), transparent 58%);
  transform: translateX(-55%) rotate(12deg);
  animation: logo-shine 4.2s ease-in-out infinite;
}

.brand-logo svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(57, 214, 189, 0.34));
}

.logo-frame,
.logo-link,
.logo-candle {
  fill: none;
  stroke: url("#exbeerLogoGlow");
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-frame {
  stroke-width: 4;
}

.logo-link {
  stroke-width: 4.5;
}

.logo-candle {
  stroke-width: 3;
  opacity: 0.88;
}

.logo-node {
  fill: #071114;
  stroke: url("#exbeerLogoGlow");
  stroke-width: 3;
}

.nav-links {
  gap: 4px;
  padding: 5px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
}

.nav-links a[aria-current="page"] {
  color: var(--gold);
  background: rgba(242, 185, 75, 0.11);
  box-shadow: inset 0 0 0 1px rgba(242, 185, 75, 0.24), 0 0 18px rgba(242, 185, 75, 0.08);
}

.wallet-cluster {
  align-items: center;
  gap: 10px;
}

.network-pill,
.language-toggle,
.wallet-button,
.primary-action,
.secondary-action,
.filter-button,
.card-button,
.wide-button,
.tag,
.tab {
  border-radius: 8px;
}

.network-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  min-height: var(--header-control-height);
  padding: 0 12px;
  color: var(--teal);
  background: rgba(57, 214, 189, 0.11);
  border: 1px solid rgba(57, 214, 189, 0.22);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
}

.language-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 30;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 7px;
  min-width: 104px;
  min-height: var(--header-control-height);
  height: var(--header-control-height);
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  word-break: keep-all;
}

.language-flag {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.28);
}

.flag-cn {
  background: #de2910;
}

.flag-cn::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 6px;
  height: 6px;
  background: #ffde00;
  border-radius: 999px;
  box-shadow:
    8px -1px 0 -2px #ffde00,
    10px 4px 0 -2px #ffde00,
    7px 9px 0 -2px #ffde00;
}

.flag-us {
  background:
    linear-gradient(180deg, #b22234 0 7.69%, #fff 7.69% 15.38%, #b22234 15.38% 23.07%, #fff 23.07% 30.76%, #b22234 30.76% 38.45%, #fff 38.45% 46.14%, #b22234 46.14% 53.83%, #fff 53.83% 61.52%, #b22234 61.52% 69.21%, #fff 69.21% 76.9%, #b22234 76.9% 84.59%, #fff 84.59% 92.28%, #b22234 92.28% 100%);
}

.flag-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 12px;
  background: #3c3b6e;
}

.language-caret {
  color: var(--muted);
  transform: translateY(-1px);
  transition: transform 160ms ease;
}

.language-menu.open .language-caret {
  transform: rotate(180deg);
}

.language-toggle:hover {
  border-color: rgba(242, 185, 75, 0.62);
  color: var(--gold);
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 168px;
  padding: 7px;
  background: rgba(8, 13, 15, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-menu.open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.language-option:hover {
  background: rgba(57, 214, 189, 0.1);
}

.language-option strong {
  font-size: 14px;
}

.wallet-button,
.primary-action,
.wide-button {
  border: 0;
  color: #07100d;
  background: linear-gradient(135deg, var(--gold), #ffe6a0);
  font-weight: 800;
  cursor: pointer;
}

.wallet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 116px;
  min-height: var(--header-control-height);
  height: var(--header-control-height);
  padding: 0 16px;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 26px;
  min-height: 680px;
  padding: 86px clamp(18px, 4vw, 56px) 56px;
  overflow: hidden;
}

.airdrop-hero {
  position: relative;
  min-height: 500px;
  padding: 104px clamp(18px, 4vw, 56px) 84px;
  overflow: hidden;
}

.airdrop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(57, 214, 189, 0.24), transparent 30%),
    radial-gradient(circle at 18% 68%, rgba(242, 185, 75, 0.14), transparent 32%),
    linear-gradient(115deg, transparent 0 42%, rgba(158, 231, 255, 0.1) 48%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(158, 231, 255, 0.05) 0 1px, transparent 1px 78px);
  animation: scanSweep 8s ease-in-out infinite;
}

.airdrop-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.airdrop-hero h1 {
  max-width: 780px;
  margin: 18px 0;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #dff9f4 36%, #39d6bd 62%, #f2b94b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 900;
  line-height: 0.92;
  text-shadow:
    0 0 34px rgba(57, 214, 189, 0.28),
    0 26px 90px rgba(0, 0, 0, 0.62);
}

.airdrop-hero h1::after {
  content: "ON-CHAIN ALLOCATION TERMINAL";
  display: block;
  margin-top: 16px;
  color: rgba(238, 245, 243, 0.72);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-shadow: none;
}

.airdrop-hero p {
  max-width: 620px;
  color: #c7d4d0;
  font-size: 18px;
  line-height: 1.7;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.52;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 13, 0.96) 0%, rgba(8, 11, 13, 0.68) 50%, rgba(8, 11, 13, 0.9) 100%);
}

.hero-content,
.hero-terminal {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  align-self: center;
}

.status-row {
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(57, 214, 189, 0.22);
  background: rgba(57, 214, 189, 0.09);
  color: #bdfaf0;
  border-radius: 999px;
  font-size: 13px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 18px var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 620px;
  color: #c7d4d0;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.secondary-action {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.hero-terminal,
.allocation-panel,
.market-board,
.swap-card,
.perp-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(20px);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero-terminal {
  align-self: end;
  padding: 18px;
}

.terminal-head,
.section-title,
.toolbar-band,
.orderbook div,
.tier-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.terminal-head {
  margin-bottom: 14px;
  color: var(--muted);
}

.terminal-head strong {
  color: var(--green);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid article {
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid span,
.section-title span,
.project-card p,
.card-stats span,
.orderbook span,
.tier-list span,
.risk-grid span,
.staking-strip span,
label span,
.perp-stats span {
  color: var(--muted);
}

.metric-grid strong {
  display: block;
  margin: 7px 0;
  font-size: 26px;
}

.metric-grid em,
.market-head em,
.tag.live {
  color: var(--green);
  font-style: normal;
}

.toolbar-band,
.section-grid,
.airdrop-layout,
.trade-layout,
.governance-band,
.staking-strip {
  padding-inline: clamp(18px, 4vw, 56px);
}

.toolbar-band {
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 24, 28, 0.58);
}

.toolbar {
  gap: 8px;
  flex-wrap: wrap;
}

.filter-button,
.tab,
.card-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.filter-button {
  padding: 9px 13px;
}

.filter-button.active,
.tab.active {
  border-color: rgba(242, 185, 75, 0.72);
  color: var(--gold);
  background: rgba(242, 185, 75, 0.1);
}

.risk-note {
  color: var(--muted);
  font-size: 14px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  padding-top: 48px;
}

.section-title {
  align-items: end;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 3px 0 0;
  font-size: 30px;
}

.section-title.compact {
  display: block;
}

.hidden {
  display: none !important;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  min-height: 292px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  border-radius: 8px;
}

.project-top {
  justify-content: space-between;
}

.token-badge {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #07100d;
  font-weight: 900;
}

.token-badge.gold {
  background: var(--gold);
}

.token-badge.cyan {
  background: var(--teal);
}

.token-badge.green {
  background: var(--green);
}

.token-badge.amber {
  background: linear-gradient(135deg, var(--amber), var(--gold));
}

.tag {
  padding: 6px 9px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.tag.upcoming {
  color: var(--teal);
}

.tag.ended {
  color: var(--muted);
}

.project-card h3 {
  margin: 22px 0 10px;
}

.project-card p {
  min-height: 56px;
  line-height: 1.55;
}

.progress-line {
  height: 9px;
  margin: 22px 0 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.progress-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.progress-line.muted span {
  background: linear-gradient(90deg, var(--teal), #6aa4ff);
}

.card-stats {
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-button,
.wide-button {
  width: 100%;
  min-height: 44px;
}

.card-button.ghost,
.wide-button.dark {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.allocation-panel {
  height: fit-content;
  padding: 18px;
}

.tier-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.tier-list div,
.orderbook div {
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.tier-list em {
  color: var(--gold);
  font-style: normal;
}

.home-main {
  overflow: hidden;
}

.intro-hero {
  position: relative;
  min-height: 720px;
  padding: 92px clamp(18px, 4vw, 56px) 58px;
  overflow: hidden;
}

.intro-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(57, 214, 189, 0.28), transparent 28%),
    radial-gradient(circle at 22% 68%, rgba(242, 185, 75, 0.18), transparent 30%),
    linear-gradient(115deg, transparent 0 45%, rgba(158, 231, 255, 0.12) 48%, transparent 54%),
    repeating-linear-gradient(90deg, rgba(158, 231, 255, 0.055) 0 1px, transparent 1px 90px);
  opacity: 0.9;
  pointer-events: none;
  animation: scanSweep 8s ease-in-out infinite;
}

.intro-hero .hero-media {
  opacity: 0.42;
}

.intro-hero .hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 9, 11, 0.98), rgba(5, 9, 11, 0.7) 48%, rgba(5, 9, 11, 0.94)),
    linear-gradient(180deg, rgba(5, 9, 11, 0.14), rgba(5, 9, 11, 0.92));
}

.intro-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  align-items: center;
  gap: 36px;
  min-height: 560px;
}

.intro-copy {
  max-width: 790px;
}

.intro-copy h1 {
  max-width: 850px;
  margin: 18px 0;
  color: transparent;
  background:
    linear-gradient(180deg, #ffffff 0%, #dff9f4 34%, #39d6bd 58%, #f2b94b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 116px;
  line-height: 0.82;
  font-weight: 900;
  text-shadow:
    0 0 34px rgba(57, 214, 189, 0.32),
    0 28px 90px rgba(0, 0, 0, 0.58);
  filter: drop-shadow(0 0 26px rgba(242, 185, 75, 0.12));
}

.intro-copy h1::after {
  content: "ON-CHAIN LAUNCH AND DERIVATIVES";
  display: block;
  margin-top: 16px;
  color: rgba(238, 245, 243, 0.72);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-shadow: none;
}

.intro-copy p {
  max-width: 680px;
  color: #c7d4d0;
  font-size: 18px;
  line-height: 1.75;
}

.home-countdown {
  position: relative;
  min-width: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(120, 255, 235, 0.36);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 50% 0, rgba(57, 214, 189, 0.28), transparent 52%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 13px),
    rgba(2, 8, 10, 0.84);
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.48),
    0 0 94px rgba(57, 214, 189, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px) saturate(1.18);
  animation: floatPanel 6s ease-in-out infinite;
}

.home-countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(180deg, transparent 0 46%, rgba(57, 214, 189, 0.2) 49%, transparent 52%);
  transform: translateX(-110%);
  animation: countdown-shine 4.6s ease-in-out infinite;
}

.home-countdown::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(242, 185, 75, 0.22);
  pointer-events: none;
  clip-path: polygon(0 0, 26px 0, 26px 2px, 2px 2px, 2px 26px, 0 26px, 0 0, 100% 0, 100% 26px, calc(100% - 2px) 26px, calc(100% - 2px) 2px, calc(100% - 26px) 2px, calc(100% - 26px) 0, 100% 0, 100% 100%, calc(100% - 26px) 100%, calc(100% - 26px) calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) calc(100% - 26px), 100% calc(100% - 26px), 100% 100%, 0 100%, 0 calc(100% - 26px), 2px calc(100% - 26px), 2px calc(100% - 2px), 26px calc(100% - 2px), 26px 100%, 0 100%);
}

.home-countdown > * {
  position: relative;
  z-index: 1;
}

.home-countdown strong {
  display: block;
  margin: 15px 0 20px;
  color: #eef5f3;
  font-size: 30px;
  line-height: 1.1;
  text-shadow: 0 0 26px rgba(57, 214, 189, 0.32);
}

.home-countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.home-countdown-grid div {
  position: relative;
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 14px 8px;
  overflow: hidden;
  border: 1px solid rgba(120, 255, 235, 0.2);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(57, 214, 189, 0.1), rgba(255, 255, 255, 0.025)),
    #071114;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -18px 42px rgba(57, 214, 189, 0.06);
}

.home-countdown-grid div::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 214, 189, 0.55), transparent);
}

.home-countdown-grid b {
  color: #f6fffb;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 56px;
  line-height: 1;
  text-shadow:
    0 0 18px rgba(57, 214, 189, 0.5),
    0 0 46px rgba(57, 214, 189, 0.2);
}

.home-countdown-grid b.tick {
  animation: countdown-number-tick 0.45s cubic-bezier(0.2, 0.9, 0.22, 1.3);
}

.home-countdown-grid small {
  color: rgba(235, 246, 244, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.home-countdown em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.hero-orbit {
  position: absolute;
  right: 8%;
  top: 116px;
  width: 360px;
  height: 360px;
  pointer-events: none;
  opacity: 0.72;
}

.hero-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(57, 214, 189, 0.22);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(0deg);
  animation: home-orbit 12s linear infinite;
}

.hero-orbit span:nth-child(2) {
  inset: 46px;
  border-color: rgba(242, 185, 75, 0.24);
  animation-duration: 8s;
  animation-direction: reverse;
}

.hero-orbit span:nth-child(3) {
  inset: 96px;
  border-color: rgba(158, 231, 255, 0.22);
  animation-duration: 5.5s;
}

.ecosystem-strip,
.intro-section,
.home-flow {
  padding-inline: clamp(18px, 4vw, 56px);
}

.ecosystem-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.ecosystem-strip div {
  min-width: 0;
  padding: 22px 18px;
  background: rgba(5, 11, 13, 0.74);
}

.ecosystem-strip span,
.feature-index,
.home-flow span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.ecosystem-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.intro-section {
  padding-top: 64px;
  padding-bottom: 34px;
}

.intro-title {
  max-width: 920px;
}

.intro-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.intro-feature-card {
  position: relative;
  min-height: 290px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    rgba(10, 18, 21, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.intro-feature-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 130px;
  background: radial-gradient(circle, rgba(57, 214, 189, 0.22), transparent 62%);
}

.feature-index {
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.intro-feature-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.intro-feature-card p,
.home-flow p {
  color: #c7d4d0;
  line-height: 1.68;
}

.home-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 28px;
  padding-top: 42px;
  padding-bottom: 70px;
}

.home-flow h2 {
  max-width: 720px;
  margin: 8px 0 14px;
  font-size: 40px;
}

.home-flow p {
  max-width: 660px;
}

.flow-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.flow-steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--gold);
  border: 1px solid rgba(242, 185, 75, 0.28);
  border-radius: 8px;
}

.trade-layout,
.airdrop-layout,
.governance-band {
  padding-top: 56px;
}

.airdrop-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 16px;
}

.airdrop-layout.standalone {
  padding-top: 44px;
}

.airdrop-card,
.airdrop-query {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(20px);
  border-radius: 8px;
}

.airdrop-token,
.query-head,
.airdrop-result,
.airdrop-rules div {
  display: flex;
  align-items: center;
}

.airdrop-token {
  gap: 12px;
}

.airdrop-token span,
.query-head span,
.airdrop-result span,
.airdrop-rules span,
.database-note {
  color: var(--muted);
}

.airdrop-token strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
}

.airdrop-copy {
  max-width: 760px;
  margin: 20px 0;
  color: #c7d4d0;
  line-height: 1.7;
}

.airdrop-rules,
.airdrop-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.airdrop-rules div,
.airdrop-result div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.airdrop-rules div,
.airdrop-result div {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.query-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.query-head strong {
  display: block;
  margin-top: 5px;
  word-break: break-all;
}

.airdrop-result {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.airdrop-result strong {
  margin-top: 8px;
  font-size: 28px;
}

.database-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.airdrop-vesting {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(57, 214, 189, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(57, 214, 189, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(5, 12, 15, 0.52);
}

.vesting-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vesting-head span,
.vesting-item span {
  color: var(--muted);
  font-size: 13px;
}

.vesting-list {
  display: grid;
  gap: 10px;
}

.vesting-item {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(57, 214, 189, 0.07), rgba(242, 185, 75, 0.04)),
    rgba(255, 255, 255, 0.045);
}

.vesting-item strong {
  display: block;
  margin-top: 5px;
}

.vesting-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #07100d;
  background: linear-gradient(135deg, var(--gold), #ffe6a0);
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.app-toast {
  position: fixed;
  right: 24px;
  top: 92px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 16px;
  color: #ecfffb;
  border: 1px solid rgba(57, 214, 189, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(57, 214, 189, 0.16), rgba(242, 185, 75, 0.08)),
    rgba(5, 12, 15, 0.92);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42), 0 0 28px rgba(57, 214, 189, 0.12);
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px) saturate(1.16);
}

.app-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.trade-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr) minmax(280px, 0.72fr);
  gap: 16px;
}

.spot-page-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.market-board,
.swap-card,
.perp-card {
  padding: 18px;
}

.market-head {
  justify-content: space-between;
}

.market-head span {
  color: var(--muted);
}

.market-head strong {
  display: block;
  margin-top: 4px;
  font-size: 34px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 230px;
  margin: 26px 0 20px;
  padding: 18px;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 38px);
  border-radius: 8px;
}

.chart-bars span {
  flex: 1;
  min-width: 10px;
  background: linear-gradient(180deg, var(--green), rgba(57, 214, 189, 0.2));
  border-radius: 7px 7px 0 0;
}

.orderbook {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.orderbook div {
  display: grid;
  gap: 5px;
}

.orderbook em {
  color: var(--muted);
  font-style: normal;
}

.tabs {
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  flex: 1;
  min-height: 38px;
}

.tab.danger {
  color: var(--red);
}

label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label input {
  grid-column: 1;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
}

label strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
}

.leverage-row {
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.leverage-row input {
  flex: 1;
  accent-color: var(--gold);
}

.perp-stats {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.perp-stats div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.governance-band {
  padding-bottom: 34px;
}

.governance-band > div:first-child span {
  color: var(--gold);
}

.governance-band h2 {
  margin: 6px 0 20px;
  font-size: 30px;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.risk-grid article {
  min-height: 128px;
  padding: 17px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.risk-grid strong {
  display: block;
  margin-bottom: 10px;
}

.risk-grid span {
  line-height: 1.6;
}

.staking-strip {
  justify-content: space-between;
  gap: 18px;
  margin: 14px clamp(18px, 4vw, 56px) 46px;
  padding: 20px;
  border: 1px solid rgba(242, 185, 75, 0.28);
  background: rgba(242, 185, 75, 0.08);
  border-radius: 8px;
}

.staking-strip strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
}

.admin-shell {
  padding: 56px clamp(18px, 4vw, 56px);
}

.admin-hero {
  display: grid;
  min-height: 260px;
  align-items: end;
  padding-bottom: 28px;
}

.admin-hero h1 {
  max-width: 760px;
  margin: 18px 0;
}

.admin-hero p {
  max-width: 700px;
  color: #c7d4d0;
  font-size: 18px;
  line-height: 1.7;
}

.admin-login {
  max-width: 520px;
}

.admin-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: 0 24px 70px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.16);
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form label {
  margin-bottom: 0;
}

.admin-dashboard {
  display: grid;
  gap: 18px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-summary article {
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
  border-radius: 8px;
}

.admin-summary span {
  color: var(--muted);
}

.admin-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-table-card {
  overflow: hidden;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-weight: 700;
}

.admin-table code {
  color: var(--ice);
  font-family: Consolas, "Liberation Mono", monospace;
  word-break: break-all;
}

.locked-page main {
  position: relative;
}

.locked-page main > section {
  opacity: 0.52;
  filter: blur(1.4px) saturate(0.85);
  user-select: none;
}

.locked-page main::before {
  content: "";
  position: fixed;
  inset: 80px 0 0;
  z-index: 12;
  background:
    radial-gradient(circle at 20% 18%, rgba(57, 214, 189, 0.22), transparent 32%),
    radial-gradient(circle at 78% 28%, rgba(242, 185, 75, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(5, 9, 11, 0.58), rgba(8, 19, 24, 0.7)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 86px),
    rgba(5, 9, 11, 0.54);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(1.2);
  pointer-events: auto;
  animation: locked-grid-drift 14s linear infinite;
}

.locked-page main::after {
  content: "";
  position: fixed;
  inset: 80px 0 0;
  z-index: 12;
  background: linear-gradient(180deg, transparent, rgba(57, 214, 189, 0.14), transparent);
  background-size: 100% 220px;
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
  animation: locked-scan 5.6s linear infinite;
}

.launch-countdown-card {
  position: fixed;
  left: 50%;
  top: 53%;
  z-index: 13;
  display: grid;
  width: min(920px, calc(100vw - 32px));
  min-height: 310px;
  place-items: center;
  padding: clamp(26px, 4.5vw, 50px);
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.045) 36%, rgba(57, 214, 189, 0.1)),
    radial-gradient(circle at 50% 0, rgba(57, 214, 189, 0.2), transparent 48%),
    rgba(4, 10, 13, 0.78);
  border: 1px solid rgba(120, 255, 235, 0.34);
  border-radius: 22px;
  box-shadow:
    0 38px 120px rgba(0, 0, 0, 0.62),
    0 0 90px rgba(57, 214, 189, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 900;
  text-align: center;
  overflow: hidden;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  isolation: isolate;
  animation: countdown-rise 0.7s ease both, countdown-glow 3s ease-in-out infinite;
}

.launch-countdown-card::before,
.launch-countdown-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.launch-countdown-card::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px);
  transform: translateX(-110%);
  animation: countdown-shine 4.8s ease-in-out infinite;
}

.launch-countdown-card::after {
  inset: 12px;
  border: 1px solid rgba(242, 185, 75, 0.22);
  border-radius: 16px;
  box-shadow: inset 0 0 42px rgba(57, 214, 189, 0.12);
}

.countdown-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(57, 214, 189, 0.36);
  border-radius: 999px;
  background: rgba(57, 214, 189, 0.08);
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 26px rgba(57, 214, 189, 0.16);
}

.launch-countdown-card strong {
  display: block;
  margin: 16px 0 22px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  text-shadow: 0 0 30px rgba(57, 214, 189, 0.35);
}

.countdown-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 18px);
  margin-bottom: 20px;
}

.countdown-grid div {
  position: relative;
  display: grid;
  min-height: clamp(112px, 15vw, 150px);
  place-items: center;
  padding: 18px 10px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(10, 20, 24, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 20px 44px rgba(0, 0, 0, 0.3);
}

.countdown-grid div::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 214, 189, 0.55), transparent);
  opacity: 0.7;
}

.countdown-grid b {
  display: block;
  width: 100%;
  color: #f8fffb;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: clamp(36px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow:
    0 0 16px rgba(57, 214, 189, 0.45),
    0 0 44px rgba(57, 214, 189, 0.18);
}

.countdown-grid b.tick {
  animation: countdown-number-tick 0.45s cubic-bezier(0.2, 0.9, 0.22, 1.3);
}

.countdown-grid small {
  color: rgba(235, 246, 244, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.launch-countdown-card em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0;
}

@keyframes logo-shine {
  0%, 46% {
    transform: translateX(-55%) rotate(12deg);
  }
  72%, 100% {
    transform: translateX(55%) rotate(12deg);
  }
}

@keyframes home-orbit {
  from {
    transform: rotateX(64deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(64deg) rotateZ(360deg);
  }
}

@keyframes locked-grid-drift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 0 0, 0 0, 86px 0, 0 86px, 0 0;
  }
}

@keyframes locked-scan {
  0% {
    background-position: 0 -220px;
  }
  100% {
    background-position: 0 calc(100vh + 220px);
  }
}

@keyframes countdown-rise {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes countdown-glow {
  0%, 100% {
    box-shadow:
      0 38px 120px rgba(0, 0, 0, 0.62),
      0 0 70px rgba(57, 214, 189, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 38px 120px rgba(0, 0, 0, 0.62),
      0 0 110px rgba(57, 214, 189, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

@keyframes countdown-shine {
  0%, 44% {
    transform: translateX(-110%);
  }
  76%, 100% {
    transform: translateX(110%);
  }
}

@keyframes countdown-number-tick {
  0% {
    transform: translateY(-12px) scale(1.08);
    filter: brightness(1.8);
  }
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

@media (max-width: 720px) {
  .launch-countdown-card {
    top: 55%;
    min-height: 0;
  }

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

.table-action {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
}

.table-action + .table-action {
  margin-left: 6px;
}

.table-action.danger {
  color: var(--red);
}

.error-text {
  color: var(--red) !important;
}

/* Visual upgrade layer */
.topbar {
  background: rgba(5, 9, 11, 0.74);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px) saturate(1.18);
}

.brand-logo {
  box-shadow:
    0 0 28px rgba(57, 214, 189, 0.18),
    0 0 18px rgba(242, 185, 75, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-links a:hover {
  text-shadow: 0 0 18px rgba(57, 214, 189, 0.55);
}

.network-pill {
  background: linear-gradient(135deg, rgba(57, 214, 189, 0.14), rgba(158, 231, 255, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.language-toggle {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(6, 12, 14, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.wallet-button,
.primary-action,
.wide-button {
  box-shadow: 0 12px 30px rgba(242, 185, 75, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.secondary-action,
.language-toggle,
.filter-button,
.tab,
.card-button {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.filter-button:hover,
.tab:hover,
.card-button:hover,
.secondary-action:hover,
.language-toggle:hover,
.wallet-button:hover,
.primary-action:hover,
.wide-button:hover {
  transform: translateY(-1px);
}

.wallet-button:hover,
.primary-action:hover,
.wide-button:hover {
  box-shadow: 0 16px 42px rgba(242, 185, 75, 0.24);
  filter: brightness(1.04);
}

.hero-shell::before,
.airdrop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(57, 214, 189, 0.09) 50%, transparent 82%),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(158, 231, 255, 0.06) 89px, transparent 90px);
  opacity: 0.45;
  transform: skewY(-6deg);
  animation: heroCircuit 12s ease-in-out infinite alternate;
  z-index: 1;
}

.hero-media {
  opacity: 0.58;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 9, 11, 0.98) 0%, rgba(5, 9, 11, 0.7) 48%, rgba(5, 9, 11, 0.92) 100%),
    linear-gradient(180deg, transparent 0%, rgba(5, 9, 11, 0.88) 100%);
}

.hero-content,
.section-grid,
.trade-layout,
.governance-band,
.staking-strip,
.airdrop-hero-content,
.airdrop-layout {
  animation: riseIn 720ms ease-out both;
}

.section-grid {
  animation-delay: 80ms;
}

.trade-layout,
.airdrop-layout {
  animation-delay: 140ms;
}

.governance-band,
.staking-strip {
  animation-delay: 220ms;
}

.status-row {
  background: linear-gradient(135deg, rgba(57, 214, 189, 0.13), rgba(158, 231, 255, 0.06));
  box-shadow: 0 0 34px rgba(57, 214, 189, 0.12);
}

.live-dot {
  animation: pulseDot 1.8s ease-in-out infinite;
}

h1 {
  text-wrap: balance;
  text-shadow: 0 18px 70px rgba(57, 214, 189, 0.18);
}

.hero-terminal,
.allocation-panel,
.market-board,
.swap-card,
.perp-card,
.airdrop-card,
.airdrop-query {
  box-shadow: 0 24px 70px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.16);
  position: relative;
  overflow: hidden;
}

.hero-terminal {
  animation: floatPanel 6s ease-in-out infinite;
}

.metric-grid article,
.airdrop-rules div,
.airdrop-result div,
.tier-list div,
.orderbook div,
label,
.risk-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
}

.metric-grid article,
.project-card,
.airdrop-card,
.airdrop-query,
.market-board,
.swap-card,
.perp-card,
.allocation-panel,
.risk-grid article {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.metric-grid article::after,
.project-card::after,
.airdrop-card::after,
.airdrop-query::after,
.market-board::after,
.swap-card::after,
.perp-card::after,
.allocation-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 200ms ease, transform 600ms ease;
}

.metric-grid article:hover::after,
.project-card:hover::after,
.airdrop-card:hover::after,
.airdrop-query:hover::after,
.market-board:hover::after,
.swap-card:hover::after,
.perp-card:hover::after,
.allocation-panel:hover::after {
  opacity: 1;
  transform: translateX(70%);
}

.project-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--panel-solid);
}

.project-card:hover,
.airdrop-card:hover,
.airdrop-query:hover,
.market-board:hover,
.swap-card:hover,
.perp-card:hover,
.allocation-panel:hover,
.risk-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 214, 189, 0.34);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), 0 0 38px rgba(57, 214, 189, 0.08);
}

.token-badge {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.progress-line span {
  animation: progressGlow 2.8s ease-in-out infinite;
}

.toolbar-band {
  background: linear-gradient(90deg, rgba(17, 24, 28, 0.72), rgba(8, 17, 20, 0.55));
  backdrop-filter: blur(16px);
}

.chart-bars {
  background:
    linear-gradient(90deg, rgba(57, 214, 189, 0.08), transparent 42%, rgba(242, 185, 75, 0.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 38px);
  position: relative;
  overflow: hidden;
}

.chart-bars::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(158, 231, 255, 0.14), transparent);
  transform: translateX(-100%);
  animation: chartSweep 4.2s ease-in-out infinite;
}

.chart-bars span {
  animation: barPulse 2.7s ease-in-out infinite;
}

.chart-bars span:nth-child(2n) {
  animation-delay: 160ms;
}

.chart-bars span:nth-child(3n) {
  animation-delay: 320ms;
}

.staking-strip {
  background:
    linear-gradient(90deg, rgba(242, 185, 75, 0.13), rgba(57, 214, 189, 0.07)),
    rgba(242, 185, 75, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 46px 46px;
  }
}

@keyframes scanSweep {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(-6%);
  }
  50% {
    opacity: 0.48;
    transform: translateX(6%);
  }
}

@keyframes heroCircuit {
  from {
    transform: translateX(-3%) skewY(-6deg);
  }
  to {
    transform: translateX(3%) skewY(-6deg);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 12px var(--green);
  }
  50% {
    box-shadow: 0 0 26px var(--green);
  }
}

@keyframes progressGlow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.45) brightness(1.12);
  }
}

@keyframes chartSweep {
  0% {
    transform: translateX(-100%);
  }
  48%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes barPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1080px) {
  .topbar {
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .wallet-cluster {
    margin-left: auto;
  }

  .hero-shell,
  .intro-hero-grid,
  .section-grid,
  .airdrop-grid,
  .trade-grid,
  .home-flow,
  .admin-grid,
  .admin-summary {
    grid-template-columns: 1fr;
  }

  .hero-terminal {
    align-self: auto;
  }

  .launch-grid,
  .risk-grid,
  .intro-feature-grid,
  .ecosystem-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-hero {
    min-height: auto;
    padding-top: 64px;
  }

  .intro-hero-grid {
    min-height: 0;
  }

  .intro-copy h1 {
    font-size: 82px;
  }

  .hero-orbit {
    right: -80px;
    top: 140px;
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 680px) {
  .topbar,
  .toolbar-band,
  .staking-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .wallet-cluster {
    width: 100%;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .network-pill,
  .language-menu,
  .language-toggle,
  .wallet-button {
    flex: 1;
    min-width: 0;
    text-align: center;
  }

  .language-toggle {
    width: 100%;
  }

  .network-pill,
  .language-toggle,
  .wallet-button {
    padding-inline: 8px;
    font-size: clamp(11px, 3.25vw, 13px);
  }

  .language-toggle {
    gap: 5px;
  }

  .language-flag {
    width: clamp(18px, 5vw, 22px);
    height: clamp(18px, 5vw, 22px);
  }

  .hero-shell {
    min-height: auto;
    padding-top: 48px;
  }

  .intro-hero {
    padding: 42px 16px 34px;
  }

  .intro-copy h1 {
    font-size: 58px;
    line-height: 1.08;
  }

  .intro-copy h1::after {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .intro-copy p,
  .hero-content p {
    font-size: 16px;
  }

  .home-countdown {
    padding: 18px;
  }

  .home-countdown strong {
    font-size: 28px;
  }

  .home-countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-countdown-grid div {
    min-height: 92px;
  }

  .home-countdown-grid b {
    font-size: 40px;
  }

  .airdrop-hero {
    min-height: auto;
    padding: 54px 16px 44px;
  }

  .airdrop-hero h1 {
    font-size: 54px;
  }

  .airdrop-hero h1::after {
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .vesting-head,
  .vesting-item {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .vesting-head {
    display: grid;
  }

  .vesting-claim {
    width: 100%;
  }

  .app-toast {
    top: auto;
    right: 16px;
    bottom: 18px;
    left: 16px;
    max-width: none;
    text-align: center;
    transform: translateY(10px);
  }

  .app-toast.show {
    transform: translateY(0);
  }

  .hero-orbit {
    display: none;
  }

  .metric-grid,
  .launch-grid,
  .risk-grid,
  .intro-feature-grid,
  .ecosystem-strip,
  .home-flow,
  .airdrop-rules,
  .airdrop-result,
  .orderbook {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .ecosystem-strip div,
  .intro-feature-card,
  .flow-steps li {
    padding: 16px;
  }

  .intro-feature-card {
    min-height: 0;
  }

  .home-flow h2 {
    font-size: 30px;
  }

  .section-title {
    display: block;
  }
}

@media (max-width: 360px) {
  .wallet-cluster {
    gap: 6px;
  }

  .network-pill,
  .language-toggle,
  .wallet-button {
    padding-inline: 6px;
    font-size: 10.5px;
  }

  .language-toggle {
    gap: 4px;
  }

  .language-caret {
    display: none;
  }
}
