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

:root {
  --bg:                #0a0b0f;
  --block-bg:          rgba(0,0,0,0.28);
  --block-bg-hover:    rgba(0,0,0,0.38);
  --block-border:      rgba(255,255,255,0.07);
  --block-border-hover:rgba(139,92,246,0.3);
  --block-radius:      14px;
  --accent:            rgba(139,92,246,0.55);
  --accent-dim:        rgba(139,92,246,0.12);
  --text:              #e8eaef;
  --muted:             #6b7280;
  --subtle:            #374151;
  --warn:              #ffb02e;
  --shadow:            0 8px 28px rgba(0,0,0,0.5);
}

html, body { height: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Noise ── */
.bg-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Orbs ── */
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
  animation: orb-float 20s ease-in-out infinite;
}
.orb-1 {
  width: min(70vmax, 380px); height: min(70vmax, 380px);
  background: rgba(99,102,241,0.32);
  top: -18%; left: -12%;
  animation-delay: 0s;
}
.orb-2 {
  width: min(50vmax, 280px); height: min(50vmax, 280px);
  background: rgba(139,92,246,0.28);
  bottom: -12%; right: -8%;
  animation-delay: -7s;
}
.orb-3 {
  width: min(35vmax, 200px); height: min(35vmax, 200px);
  background: rgba(236,72,153,0.18);
  top: 48%; left: 52%;
  animation-delay: -14s;
  animation-duration: 26s;
  animation-name: orb-float-c;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(3%,-4%) scale(1.05); }
  66%       { transform: translate(-2%,3%) scale(0.97); }
}
@keyframes orb-float-c {
  0%, 100% { transform: translate(-50%,-50%) scale(1); }
  33%       { transform: translate(-50%,-50%) translate(4%,-3%) scale(1.06); }
  66%       { transform: translate(-50%,-50%) translate(-3%,2%) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* ── Page layout ── */
.page {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 52px 20px 64px;
}

/* ── Header ── */
.header {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-bottom: 40px;
  animation: fade-up .55s ease both;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  animation: logo-pulse 3s ease-in-out infinite;
}

.brand-icon {
  display: block;
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #60a5fa);
  box-shadow: 0 6px 18px rgba(96,165,250,0.3), 0 0 0 1px rgba(255,255,255,0.1);
  flex-shrink: 0;
}

@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(139,92,246,0)); }
  50%       { filter: drop-shadow(0 0 5px rgba(139,92,246,0.18)); }
}

.brand-text {
  font-size: 18px; font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .1px;
}

.logo-tagline {
  font-size: 13px; color: var(--muted);
  text-align: center; max-width: 300px; line-height: 1.55;
}

/* ── Sections ── */
.sections {
  width: 100%; max-width: 440px;
  display: flex; flex-direction: column; gap: 28px;
}

.section { display: flex; flex-direction: column; gap: 10px; }

.section-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--muted);
  padding: 0 4px;
  animation: fade-up .45s ease both;
}

/* ── Links list ── */
.links {
  display: flex; flex-direction: column; gap: 10px;
}

.link-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--block-bg);
  border: 1px solid var(--block-border);
  border-radius: var(--block-radius);
  box-shadow: var(--shadow);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
  text-decoration: none; color: inherit;
  animation: fade-up .5s ease both;
}

.link-item:not(.disabled):hover {
  background: var(--block-bg-hover);
  border-color: var(--block-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,.55), 0 0 0 1px rgba(139,92,246,.15);
}
.link-item:not(.disabled):hover .arrow {
  opacity: .7;
  transform: translateX(2px);
}
.link-item.disabled { cursor: default; opacity: .55; }

.icon-wrap {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.18);
  display: flex; align-items: center; justify-content: center;
}
.icon-wrap i {
  font-size: 18px;
  color: #a78bfa;
  width: 20px;
  text-align: center;
}

.item-body { flex: 1; min-width: 0; }
.item-title {
  font-size: 15px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.item-sub {
  font-size: 12.5px; color: var(--muted); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.item-soon {
  font-size: 12px; color: var(--warn); margin-top: 2px; opacity: .9;
}

.badge {
  display: inline-flex; padding: 1px 7px;
  border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .2px;
  border: 1px solid; line-height: 1.6;
}

.arrow {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--muted);
  opacity: .3;
  transition: opacity .2s, transform .2s;
}

/* ── Footer ── */
.footer {
  margin-top: 44px;
  font-size: 12px; color: var(--subtle);
  text-align: center; line-height: 1.8;
  animation: fade-up .55s .5s ease both;
}
.footer a { color: var(--muted); text-underline-offset: 3px; }
.footer a:hover { color: var(--text); }

/* ── Animations ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .page { padding: 40px 14px 52px; }
  .brand-icon { width: 32px; height: 32px; border-radius: 10px; }
  .brand-text { font-size: 16px; }
  .link-item { padding: 14px 15px; gap: 12px; }
  .icon-wrap { width: 38px; height: 38px; border-radius: 10px; }
  .icon-wrap i { font-size: 16px; }
  .item-title { font-size: 14px; }
}
