:root {
  --bg: #070b14;
  --bg-alt: #0a0f18;
  --panel: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --teal: #2dd4bf;
  --emerald: #10b981;
  --blue: #3b82f6;
  --gold: #f3c84e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(20, 184, 166, 0.12), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.09), transparent 24%),
    linear-gradient(180deg, #070b14 0%, #09111c 100%);
}

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

.account-app {
  min-height: 100vh;
}

.shell {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}

.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  width: min(1280px, calc(100vw - 40px));
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.nav-cta {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.account-hero {
  position: relative;
  padding: 142px 0 56px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(140px);
  pointer-events: none;
}

.hero-glow-a {
  width: 480px;
  height: 480px;
  left: 18%;
  top: 40px;
  background: rgba(13, 148, 136, 0.14);
}

.hero-glow-b {
  width: 560px;
  height: 560px;
  right: 8%;
  top: 40px;
  background: rgba(37, 99, 235, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 26px;
  align-items: end;
}

.eyebrow,
.card-label,
.stat-top,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.6);
}

.hero-copy h1 {
  margin: 20px 0 16px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: white;
}

.hero-copy h1 span {
  display: block;
  background: linear-gradient(90deg, var(--teal), #34d399, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p,
.hero-status,
.card-note,
.stat-foot {
  color: var(--muted);
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.hero-panel {
  padding: 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.hero-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.wallet-preview,
.wallet-full {
  margin-top: 10px;
  color: white;
  font-weight: 900;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.wallet-preview {
  font-size: 24px;
  line-height: 1.2;
}

.wallet-full {
  font-size: 26px;
  line-height: 1.28;
}

.hero-status,
.card-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.section {
  padding: 26px 0 110px;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  margin-bottom: 24px;
}

.primary-card,
.wallet-card,
.profile-card,
.stat-card {
  padding: 28px;
}

.primary-card,
.wallet-card,
.profile-card {
  min-height: 228px;
}

.wallet-card {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.primary-card {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.profile-card {
  grid-column: 1 / -1;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mini-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 10, 14, 0.4);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-value,
.stat-value {
  margin-top: 16px;
  color: white;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.card-value {
  text-shadow: 0 0 28px rgba(45, 212, 191, 0.12);
}

.profile-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 12px;
  margin: 16px 0 10px;
}

.name-input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 14, 0.48);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.name-input:focus {
  border-color: rgba(45, 212, 191, 0.34);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.08);
}

.name-input:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.gold-btn,
.ghost-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.gold-btn:hover,
.ghost-btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.gold-btn {
  color: #151008;
  background: linear-gradient(180deg, #ffe390, #e1ad24);
  border-color: rgba(255, 222, 145, 0.26);
}

.ghost-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.gold-btn:disabled,
.ghost-btn:disabled {
  opacity: 0.72;
  transform: none;
  cursor: not-allowed;
}

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

.stat-card {
  min-height: 206px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.stat-value {
  font-size: clamp(38px, 4vw, 58px);
}

.stat-foot {
  font-size: 14px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #05080f;
  padding: 34px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  color: white;
  font-size: 20px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #64748b;
  font-size: 14px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .account-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .shell,
  .nav-inner {
    width: min(100vw - 24px, 1280px);
  }

  .nav-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 16px 0;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .account-hero {
    padding-top: 132px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .profile-form,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gold-btn,
  .ghost-btn {
    width: 100%;
  }

  .primary-card,
  .wallet-card,
  .profile-card,
  .stat-card,
  .hero-panel {
    padding: 22px;
  }
}
