:root {
  --bg: #081014;
  --bg-soft: #0d171d;
  --panel: rgba(16, 28, 35, 0.84);
  --panel-solid: #111e25;
  --text: #eef7f8;
  --muted: #93aab0;
  --line: rgba(145, 238, 255, 0.16);
  --cyan: #28e7ff;
  --mint: #69f3c4;
  --amber: #ffcc66;
  --graphite: #1c2b34;
  --danger: #ff7b7b;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(40, 231, 255, 0.08), transparent 28%),
    linear-gradient(220deg, rgba(105, 243, 196, 0.07), transparent 30%),
    var(--bg);
}

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

button,
input {
  font: inherit;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--text);
}

.ghost-button,
.secondary-button,
.primary-button,
.balance-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.ghost-button,
.secondary-button,
.balance-chip {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.balance-chip {
  color: var(--mint);
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  color: #031014;
  border: 0;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  font-weight: 800;
  box-shadow: 0 10px 35px rgba(40, 231, 255, 0.22);
}

.full-width {
  width: 100%;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  min-height: calc(100vh - 70px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px) clamp(70px, 8vw, 104px);
  overflow: hidden;
}

.hero-slider,
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1200ms ease, transform 7200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 20, 0.9) 0%, rgba(8, 16, 20, 0.62) 42%, rgba(8, 16, 20, 0.78) 100%),
    linear-gradient(0deg, rgba(8, 16, 20, 0.94) 0%, rgba(8, 16, 20, 0.18) 46%, rgba(8, 16, 20, 0.88) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.hero-grid span {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1.02;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.05rem, 7.5vw, 7.8rem);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin: 12px 0 10px;
  font-size: 1.22rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: #bed0d3;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

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

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 480px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(82vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(40, 231, 255, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 231, 255, 0.13), rgba(8, 16, 20, 0) 62%);
}

.hero-visual img {
  position: relative;
  width: min(86vw, 500px);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.signal-panel {
  position: absolute;
  right: 4%;
  bottom: 8%;
  min-width: 168px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 16, 20, 0.78);
  backdrop-filter: blur(16px);
}

.signal-panel span,
.ticker-band span,
.metric-card span,
.wallet-box span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--mint);
  font-size: 1.7rem;
}

.slide-dots {
  position: absolute;
  right: 4%;
  top: 8%;
  display: flex;
  gap: 8px;
}

.slide-dots span {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.slide-dots span.is-active {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(40, 231, 255, 0.72);
}

.ticker-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: rgba(13, 23, 29, 0.84);
}

.ticker-band div {
  min-height: 116px;
  padding: 24px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.ticker-band strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-heading p {
  max-width: 780px;
}

.presale-layout,
.buy-section,
.dashboard-section,
.split-section,
.allocation-board,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 24px;
}

.countdown-panel,
.stage-table-wrap,
.panel,
.purchase-form,
.wallet-box,
.allocation-board,
.contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.countdown-panel {
  padding: 24px;
}

.stage-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.stage-label span {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
}

.stage-label strong {
  color: var(--mint);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown div {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.countdown strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.countdown span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stage-table-wrap {
  overflow: auto;
}

.stage-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.stage-table th,
.stage-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.stage-table th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #031014;
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.pending {
  background: var(--amber);
}

.status-pill.done {
  color: var(--text);
  background: var(--graphite);
}

.tokenomics-grid,
.whitepaper-grid,
.exchange-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-card,
.whitepaper-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2.7rem;
}

.allocation-board {
  align-items: start;
  padding: clamp(24px, 4vw, 42px);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.timeline span {
  display: block;
  color: var(--cyan);
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin-top: 6px;
}

.whitepaper-grid article span {
  color: var(--cyan);
  font-weight: 900;
}

.exchange-grid {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.exchange-logo {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
}

.exchange-logo span {
  font-size: 1.12rem;
}

.exchange-logo strong {
  color: var(--cyan);
  font-size: 0.82rem;
}

.binance { color: #f3ba2f; }
.bitget { color: #28e7ff; }
.coingecko { color: #8dc63f; }
.mexc { color: #4d8dff; }
.bybit { color: #f7c546; }
.coinbase { color: #6da2ff; }

.dashboard-section {
  grid-template-columns: 1fr;
}

.compliance-note,
.form-note {
  margin-top: 18px;
  color: #9eb2b7;
  font-size: 0.92rem;
}

.buy-section {
  align-items: start;
}

.wallet-box {
  position: relative;
  margin-top: 24px;
  padding: 20px;
}

.wallet-box strong {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
  font-size: 1.08rem;
}

.wallet-box small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.wallet-box button {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.purchase-form,
.panel {
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #dbe8ea;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(5, 10, 13, 0.6);
  outline: none;
}

input:focus {
  border-color: rgba(40, 231, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(40, 231, 255, 0.12);
}

.quote-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.quote-box span {
  color: var(--muted);
}

.quote-box strong {
  color: var(--mint);
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.empty-state,
.request-list.locked,
.admin-gate {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.admin-gate {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-gate small {
  color: var(--muted);
}

.request-list {
  display: grid;
  gap: 12px;
}

.request-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.request-card dl {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px 12px;
  margin: 12px 0;
}

.request-card dt {
  color: var(--muted);
}

.request-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.approve-button,
.reject-button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.approve-button {
  color: #031014;
  background: var(--mint);
}

.reject-button {
  color: #250606;
  background: var(--danger);
}

.contact-section {
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
}

.contact-link {
  justify-self: end;
  color: var(--cyan);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.58);
}

.modal.is-open {
  display: grid;
}

.modal-card {
  position: relative;
  width: min(100%, 440px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 0;
  font-size: 2rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
}

.auth-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-weight: 800;
}

.auth-tabs button.is-active {
  color: #031014;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-section,
  .ticker-band,
  .presale-layout,
  .buy-section,
  .dashboard-section,
  .split-section,
  .allocation-board,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .ticker-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-link {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

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

  .tokenomics-grid,
  .whitepaper-grid,
  .exchange-grid {
    grid-template-columns: 1fr;
  }

  .request-card dl {
    grid-template-columns: 1fr;
  }
}
