/* ================================================================
   Monovest — Space Investment Game UI
   Dark purple / neon space theme
   ================================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --bg-primary:      #080617;
  --bg-secondary:    #0d0b1e;
  --bg-card:         rgba(255,255,255,0.04);
  --bg-card-hover:   rgba(255,255,255,0.07);
  --bg-input:        rgba(255,255,255,0.06);
  --bg-glass:        rgba(13,11,30,0.85);

  --purple-primary:  #7c3aed;
  --purple-light:    #8b5cf6;
  --purple-glow:     #a855f7;
  --purple-dark:     #5b21b6;
  --purple-muted:    rgba(139,92,246,0.15);

  --gold:            #f59e0b;
  --gold-light:      #fbbf24;
  --gold-glow:       rgba(245,158,11,0.4);
  --gold-muted:      rgba(245,158,11,0.12);

  --cyan:            #06b6d4;
  --green:           #10b981;
  --red:             #ef4444;
  --orange:          #f97316;

  --text-primary:    #ffffff;
  --text-secondary:  rgba(255,255,255,0.6);
  --text-muted:      rgba(255,255,255,0.35);
  --text-disabled:   rgba(255,255,255,0.25);

  --border:          rgba(139,92,246,0.2);
  --border-hover:    rgba(139,92,246,0.45);
  --border-gold:     rgba(245,158,11,0.3);

  --success:         #10b981;
  --danger:          #ef4444;
  --warning:         #f59e0b;
  --info:            #06b6d4;

  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-xl:       28px;
  --radius-full:     9999px;

  --shadow-purple:   0 0 20px rgba(139,92,246,0.3), 0 0 60px rgba(139,92,246,0.1);
  --shadow-gold:     0 0 20px rgba(245,158,11,0.3), 0 0 50px rgba(245,158,11,0.1);
  --shadow-card:     0 4px 24px rgba(0,0,0,0.4);
  --shadow-deep:     0 8px 40px rgba(0,0,0,0.6);

  --font:            'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:    'Exo 2', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition:      all 0.2s ease;
  --transition-slow: all 0.4s ease;

  --nav-height:      68px;
  --top-bar-height:  56px;
  --max-width:       480px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100%;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(139,92,246,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 120%, rgba(245,158,11,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at -10% 60%, rgba(6,182,212,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
}

a { color: var(--purple-light); text-decoration: none; }
a:hover { color: var(--purple-glow); }
img { max-width: 100%; }
ul, ol { list-style: none; }

/* ── Layout ─────────────────────────────────────────────────── */
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--nav-height) + 16px);
  padding-top: var(--top-bar-height);
  min-height: 100vh;
}

.page-content {
  flex: 1;
  padding: 0 16px 16px;
}

/* ── Splash / Loading Screen ────────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    max(36px, env(safe-area-inset-top))
    24px
    max(36px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 20%, rgba(124,58,237,0.14) 0%, transparent 26%),
    radial-gradient(circle at 82% 78%, rgba(245,158,11,0.08) 0%, transparent 22%),
    linear-gradient(180deg, #05030d 0%, #080617 56%, #0e0b20 100%);
  z-index: 1000;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.34s ease, visibility 0.34s ease;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#splash.is-ready .splash-brand,
#splash.is-ready .splash-loader-wrap {
  opacity: 0;
  transform: translateY(-12px) scale(0.985);
  filter: blur(8px);
}

#splash.is-ready .splash-bg {
  opacity: 0.54;
  transform: scale(1.03);
}

.splash-bg {
  position: absolute;
  inset: -6%;
  transition: transform 0.34s ease, opacity 0.34s ease;
}

.splash-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.85;
  animation: splashFloat 14s ease-in-out infinite;
}

.splash-ambient--violet {
  top: 4%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,0.34) 0%, rgba(124,58,237,0) 70%);
}

.splash-ambient--gold {
  right: -10%;
  bottom: 6%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(245,158,11,0.22) 0%, rgba(245,158,11,0) 72%);
  animation-delay: -7s;
}

.splash-rings {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(78vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(255,255,255,0) 40%, rgba(255,255,255,0.06) 40.6%, rgba(255,255,255,0) 41.4%),
    radial-gradient(circle, rgba(255,255,255,0) 55%, rgba(255,255,255,0.05) 55.8%, rgba(255,255,255,0) 56.6%),
    radial-gradient(circle, rgba(255,255,255,0) 69%, rgba(255,255,255,0.035) 69.7%, rgba(255,255,255,0) 70.5%);
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0.72) 54%, transparent 84%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0.72) 54%, transparent 84%);
}

.splash-grid {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -14%;
  height: 42vh;
  min-height: 240px;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.18;
  transform: perspective(1000px) rotateX(78deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 16%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 16%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0) 100%);
}

.splash-brand {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.splash-logo-stage {
  position: relative;
  width: min(100%, 380px);
  padding: 26px 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%),
    linear-gradient(180deg, rgba(15,12,32,0.9) 0%, rgba(9,8,22,0.82) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 28px 90px rgba(0,0,0,0.42),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 38px rgba(124,58,237,0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  isolation: isolate;
}

.splash-logo-stage::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.splash-logo-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, transparent 35%, rgba(255,255,255,0.2) 50%, transparent 65%, transparent 100%);
  transform: translateX(-140%);
  animation: splashScan 3.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}

.splash-logo-stage__glow {
  position: absolute;
  inset: -18% 20%;
  background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, rgba(124,58,237,0) 72%);
  filter: blur(26px);
  z-index: 0;
}

.splash-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 14px rgba(255,255,255,0.06))
    drop-shadow(0 0 28px rgba(124,58,237,0.14));
}

.splash-subtitle {
  max-width: 280px;
  text-align: center;
  color: rgba(255,255,255,0.56);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.splash-loader-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.splash-loader {
  position: relative;
  height: 5px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
}

.splash-loader__fill {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #7c3aed 0%, #b692ff 42%, #f59e0b 100%);
  box-shadow:
    0 0 18px rgba(139,92,246,0.24),
    0 0 30px rgba(245,158,11,0.08);
  transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.splash-loader__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.68) 48%, rgba(255,255,255,0) 100%);
  transform: translateX(-170%);
  animation: splashBarFlow 1.7s ease infinite;
}

.splash-loader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.splash-loader-step {
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.splash-loader-value {
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

@keyframes splashFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -22px, 0) scale(1.06); }
}

@keyframes splashScan {
  0% { transform: translateX(-140%); }
  100% { transform: translateX(140%); }
}

@keyframes splashBarFlow {
  0% { transform: translateX(-170%); }
  100% { transform: translateX(220%); }
}

@media (max-width: 420px) {
  #splash {
    gap: 26px;
    padding:
      max(30px, env(safe-area-inset-top))
      18px
      max(30px, env(safe-area-inset-bottom));
  }

  .splash-logo-stage {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .splash-logo-stage::before {
    border-radius: 23px;
  }

  .splash-loader-wrap {
    width: min(100%, 250px);
  }

  .splash-subtitle {
    max-width: 240px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  #splash *,
  #splash *::before,
  #splash *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Stars background particles ────────────────────────────── */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.4); }
}

/* ── Top Bar ────────────────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: var(--top-bar-height);
  background: rgba(8,6,23,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
}

.top-bar-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-bar-center {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  cursor: pointer;
  transition: var(--transition);
}

.top-bar-center:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--gold);
}

.top-bar-balance {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.top-bar-coin {
  font-size: 16px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.lang-btn {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--purple-primary);
  color: white;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.icon-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--purple-light);
  color: white;
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* ── Bottom Navigation ──────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: var(--nav-height);
  background: rgba(8,6,23,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-item {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  padding: 6px 3px;
}

.nav-item:hover {
  color: var(--text-secondary);
}

.nav-item__core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 100%;
  width: 100%;
  padding: 8px 4px 7px;
  border-radius: 18px;
}

.nav-icon-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.nav-item.active {
  color: var(--purple-light);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-glow));
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 0 12px rgba(139,92,246,0.6);
}

.nav-icon {
  width: 22px;
  height: 22px;
  transition: var(--transition);
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.nav-item.active .nav-icon {
  filter: drop-shadow(0 0 6px rgba(139,92,246,0.7));
  transform: translateY(-1px);
}

/* ── Hero Section (Rocket) ──────────────────────────────────── */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 0;
  position: relative;
}

.rocket-container {
  position: relative;
  width: 180px;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rocket-platform {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 16px;
  background: linear-gradient(180deg, rgba(139,92,246,0.6) 0%, rgba(139,92,246,0.1) 100%);
  border-radius: 50%;
  filter: blur(4px);
  animation: platformGlow 2s ease-in-out infinite alternate;
}

@keyframes platformGlow {
  0%   { opacity: 0.5; transform: translateX(-50%) scaleX(0.9); }
  100% { opacity: 1;   transform: translateX(-50%) scaleX(1.1); }
}

.rocket-svg {
  position: relative;
  z-index: 1;
  animation: floatAnim 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(139,92,246,0.6)) drop-shadow(0 0 40px rgba(139,92,246,0.3));
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(1deg); }
  66%       { transform: translateY(-6px) rotate(-1deg); }
}

.rocket-glow-ring {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.35) 0%, transparent 70%);
  animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(0.9); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

.energy-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--purple-glow);
  animation: particleAnim var(--dur, 2s) ease-in-out infinite var(--delay, 0s);
}

@keyframes particleAnim {
  0%   { opacity: 0; transform: translate(var(--x0), var(--y0)) scale(0); }
  50%  { opacity: 1; transform: translate(var(--x1), var(--y1)) scale(1.5); }
  100% { opacity: 0; transform: translate(var(--x2), var(--y2)) scale(0); }
}

/* ── Status Card (Energy & Profit) ─────────────────────────── */
.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  margin: 16px 16px 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-glow), var(--gold), transparent);
  opacity: 0.7;
}

.status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.status-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-card-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: var(--gold-muted);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.status-value.gold { color: var(--gold); }
.status-value.purple { color: var(--purple-glow); }

.status-value small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.slots-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slots-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slots-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.slots-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-glow));
  box-shadow: 0 0 10px rgba(139,92,246,0.5);
  transition: width 1s ease;
}

.slots-bar-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-light);
  min-width: 36px;
  text-align: right;
}

/* ── Action Buttons ─────────────────────────────────────────── */
.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 16px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.15s ease;
}

.btn:active::after {
  background: rgba(255,255,255,0.08);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0818;
  box-shadow: 0 4px 20px rgba(245,158,11,0.35), 0 1px 0 rgba(255,255,255,0.2) inset;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 6px 30px rgba(245,158,11,0.5), 0 1px 0 rgba(255,255,255,0.2) inset;
  transform: translateY(-1px);
}

.btn-gold:active { transform: translateY(0); }

.btn-purple {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: white;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35), 0 1px 0 rgba(255,255,255,0.15) inset;
}

.btn-purple:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 6px 30px rgba(124,58,237,0.5), 0 1px 0 rgba(255,255,255,0.15) inset;
  transform: translateY(-1px);
}

.btn-purple:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
  background: var(--purple-muted);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, var(--red), #dc2626);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--green), #059669);
  color: white;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 17px 28px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-full { width: 100%; }

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Daily Bonus Card ───────────────────────────────────────── */
.daily-bonus-card {
  margin: 14px 16px 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(245,158,11,0.08));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: var(--radius-xl);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.daily-bonus-card:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(245,158,11,0.12));
}

.daily-bonus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

.bonus-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05));
  border: 1px solid rgba(245,158,11,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.bonus-content {
  flex: 1;
  min-width: 0;
}

.bonus-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.bonus-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
}

.bonus-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.bonus-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}

.bonus-timer {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Generic Card ───────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.card-sm {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
}

.card-glow {
  box-shadow: var(--shadow-purple);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 16px;
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Plan Cards ─────────────────────────────────────────────── */
.plans-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.plan-card:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow-purple);
  transform: translateY(-2px);
}

.plan-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, var(--bg-card) 100%);
}

.plan-card.featured:hover {
  box-shadow: var(--shadow-gold);
}

.plan-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: var(--gold-muted);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

.badge-purple {
  background: var(--purple-muted);
  border: 1px solid var(--border);
  color: var(--purple-light);
}

.plan-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.plan-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--purple-muted);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.plan-info { flex: 1; }

.plan-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.plan-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.plan-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.plan-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--purple-glow);
}

.plan-stat-value.gold { color: var(--gold); }

.plan-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-align: center;
}

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

.plan-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.plan-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── Mining Screen: Reactor Upgrade ─────────────────────────── */
.mining-screen {
  position: relative;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(168,108,255,0.16) 0%, rgba(168,108,255,0) 30%),
    linear-gradient(180deg, #120b2d 0%, #1b1145 42%, #24135b 100%);
}

.mining-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(217,120,255,0.2) 0%, rgba(217,120,255,0) 28%),
    radial-gradient(circle at 88% 4%, rgba(143,123,255,0.18) 0%, rgba(143,123,255,0) 32%),
    radial-gradient(circle at 50% 100%, rgba(240,139,255,0.16) 0%, rgba(240,139,255,0) 38%);
  pointer-events: none;
}

.mining-page-content {
  padding: 10px 10px calc(var(--nav-height) + env(safe-area-inset-bottom, 0px) + 6px);
}

.mining-shell {
  --reactor-panel-top: rgba(58, 35, 117, 0.94);
  --reactor-panel-bottom: rgba(24, 11, 58, 0.98);
  --reactor-edge: rgba(196,145,255,0.22);
  --reactor-divider: rgba(210,180,255,0.12);
  --reactor-text: #f4eefe;
  --reactor-text-soft: rgba(230,220,255,0.72);
  position: relative;
  overflow: visible;
  border-radius: 0;
  padding: 14px 0 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mining-shell::before {
  content: none;
}

.mining-shell__nebula,
.mining-shell__dust {
  display: none;
}

.mining-shell__nebula--one {
  background:
    radial-gradient(circle at 18% 14%, rgba(199,110,255,0.34) 0%, rgba(199,110,255,0.08) 18%, rgba(199,110,255,0) 42%),
    radial-gradient(circle at 82% 22%, rgba(121,112,255,0.22) 0%, rgba(121,112,255,0.04) 20%, rgba(121,112,255,0) 44%);
  animation: miningNebulaDrift 13s ease-in-out infinite alternate;
}

.mining-shell__nebula--two {
  background:
    radial-gradient(circle at 50% 78%, rgba(240,139,255,0.2) 0%, rgba(240,139,255,0.04) 24%, rgba(240,139,255,0) 48%),
    radial-gradient(circle at 4% 60%, rgba(143,123,255,0.18) 0%, rgba(143,123,255,0) 40%);
  animation: miningNebulaDrift 17s ease-in-out infinite alternate-reverse;
}

.mining-shell__dust {
  background-image:
    radial-gradient(circle at 8% 10%, rgba(255,255,255,0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 24% 22%, rgba(255,255,255,0.4) 0 1px, transparent 1.8px),
    radial-gradient(circle at 69% 14%, rgba(255,255,255,0.34) 0 1px, transparent 1.8px),
    radial-gradient(circle at 87% 34%, rgba(255,255,255,0.48) 0 1px, transparent 1.7px),
    radial-gradient(circle at 58% 62%, rgba(255,255,255,0.36) 0 1px, transparent 1.8px),
    radial-gradient(circle at 94% 72%, rgba(255,255,255,0.32) 0 1px, transparent 1.8px);
  opacity: 0.55;
  animation: miningDustTwinkle 8s linear infinite;
}

.mining-hero,
.mining-tab-bar,
#mining-content {
  position: relative;
  z-index: 1;
}

.mining-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 8px 4px 10px;
}

.mining-hero__overline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(226,210,255,0.54);
}

.mining-hero__title-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mining-hero__line {
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(217,120,255,0.62), rgba(255,255,255,0));
}

.mining-hero__title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #f5edff;
  text-shadow: 0 0 24px rgba(196,145,255,0.18);
}

.mining-hero__subtitle {
  max-width: 294px;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(230,220,255,0.72);
}

.mining-hero__metrics {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.mining-hero__metric {
  padding: 10px 12px;
  border-radius: 18px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 16%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(55, 31, 109, 0.72) 0%, rgba(28, 15, 67, 0.76) 100%);
  border: 1px solid rgba(201,164,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.mining-hero__metric span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230,220,255,0.54);
  margin-bottom: 4px;
}

.mining-hero__metric strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  color: #f4eefe;
}

.mining-tab-bar {
  margin: 6px 0 12px;
  padding: 4px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 18%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(52, 29, 106, 0.9) 0%, rgba(31, 16, 69, 0.94) 100%);
  border: 1px solid rgba(200,155,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 8px 24px rgba(0,0,0,0.24);
}

.mining-tab-bar .tab-btn {
  min-height: 40px;
  border-radius: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(231,221,255,0.58);
}

.mining-tab-bar .tab-btn.active {
  color: #fbf4ff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 16%, rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, rgba(140,98,255,0.96) 0%, rgba(203,117,255,0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 6px 18px rgba(170,105,255,0.32);
}

.reactor-plans-view,
.reactor-assets-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  background: transparent;
}

.reactor-plans-stage {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
}

.reactor-plans-stage--single {
  padding-top: 8px;
}

.reactor-plans-stage--duo {
  padding-top: 8px;
}

.reactor-plans-grid {
  display: grid;
  grid-template-columns: repeat(var(--plan-cols), minmax(0, 1fr));
  align-items: end;
  gap: 6px;
}

.reactor-plans-grid--duo {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.reactor-plans-grid--scroll {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 12px) / 3);
  overflow-x: auto;
  padding: 2px 0 6px;
  scroll-snap-type: x proximity;
  scroll-padding-left: 0;
}

.reactor-plans-stage__toolbar {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.reactor-plans-stage.is-overflowing .reactor-plans-stage__toolbar {
  display: flex;
}

.reactor-plans-stage__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(232,222,255,0.78);
}

.reactor-plans-stage__hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d978ff 0%, #f3d98b 100%);
  box-shadow:
    0 0 10px rgba(217,120,255,0.42),
    0 0 18px rgba(243,217,139,0.22);
  flex-shrink: 0;
}

.reactor-plans-stage__arrow {
  width: 28px;
  height: 28px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  color: #f4eefe;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(180deg, rgba(80, 45, 150, 0.98) 0%, rgba(42, 21, 90, 0.98) 100%);
  border: 1px solid rgba(209,176,255,0.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 10px 18px rgba(16,7,40,0.24);
  z-index: 8;
}

.reactor-plans-stage__arrow:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.reactor-plans-stage__viewport {
  position: relative;
  padding: 0;
  overflow: visible;
}

.reactor-plans-stage__arrow--side {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.reactor-plans-stage.is-overflowing .reactor-plans-stage__arrow--side {
  opacity: 1;
  pointer-events: auto;
}

.reactor-plans-stage__arrow--left {
  left: 2px;
}

.reactor-plans-stage__arrow--right {
  right: 2px;
}

.reactor-plans-stage.is-at-start .reactor-plans-stage__arrow--left,
.reactor-plans-stage.is-at-end .reactor-plans-stage__arrow--right {
  opacity: 0;
  pointer-events: none;
}

.reactor-plan-card {
  --plan-art-glow: rgba(176,108,255,0.3);
  --plan-nebula-a: rgba(176,108,255,0.34);
  --plan-nebula-b: rgba(143,123,255,0.3);
  --plan-nebula-c: rgba(240,139,255,0.2);
  --plan-star-a: rgba(255,255,255,0.92);
  --plan-star-b: rgba(255,255,255,0.68);
  --plan-star-c: rgba(240,139,255,0.72);
  --plan-shell-top: rgba(55, 30, 130, 0.98);
  --plan-shell-mid: rgba(33, 18, 94, 0.98);
  --plan-shell-bottom: rgba(15, 8, 48, 1);
  --reactor-scale: 1;
  --reactor-user-scale: 1;
  --reactor-shift-x: 0px;
  --reactor-shift-y: 0px;
  --reactor-media-height: 120px;
  --reactor-image-base: 165px;
  --reactor-image-featured: 165px;
  position: relative;
  overflow: visible;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 9px 6px 9px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 18%, var(--plan-nebula-a) 0%, rgba(0,0,0,0) 38%),
    radial-gradient(circle at 84% 20%, var(--plan-nebula-b) 0%, rgba(0,0,0,0) 34%),
    radial-gradient(circle at 50% 72%, var(--plan-nebula-c) 0%, rgba(0,0,0,0) 44%),
    radial-gradient(circle at 50% -6%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, var(--plan-shell-top) 0%, var(--plan-shell-mid) 52%, var(--plan-shell-bottom) 100%);
  border: 1px solid rgba(196,145,255,0.18);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 0 1px rgba(196,145,255,0.12),
    0 0 36px rgba(180,110,255,0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  scroll-snap-align: start;
}

.reactor-plan-card--start {
  --plan-art-glow: rgba(160,107,255,0.34);
  --plan-nebula-a: rgba(160,107,255,0.34);
  --plan-nebula-b: rgba(112,132,255,0.26);
  --plan-nebula-c: rgba(214,142,255,0.2);
  --plan-shell-top: rgba(52, 28, 118, 0.98);
  --plan-shell-mid: rgba(28, 18, 88, 0.98);
  --plan-shell-bottom: rgba(12, 8, 45, 1);
  --reactor-scale: 1.03;
}

.reactor-plan-card--standard {
  --plan-art-glow: rgba(207,116,255,0.38);
  --plan-nebula-a: rgba(207,116,255,0.38);
  --plan-nebula-b: rgba(138,102,255,0.28);
  --plan-nebula-c: rgba(245,138,255,0.24);
  --plan-shell-top: rgba(66, 36, 142, 0.98);
  --plan-shell-mid: rgba(37, 20, 102, 0.98);
  --plan-shell-bottom: rgba(15, 8, 50, 1);
  --reactor-scale: 1.01;
}

.reactor-plan-card--premium {
  --plan-art-glow: rgba(241,201,116,0.3);
  --plan-nebula-a: rgba(240,195,120,0.24);
  --plan-nebula-b: rgba(221,124,255,0.26);
  --plan-nebula-c: rgba(243,217,139,0.18);
  --plan-star-c: rgba(243,217,139,0.8);
  --plan-shell-top: rgba(72, 41, 132, 0.98);
  --plan-shell-mid: rgba(42, 24, 100, 0.98);
  --plan-shell-bottom: rgba(19, 10, 52, 1);
  --reactor-scale: 0.99;
}

.reactor-plan-card--nova {
  --plan-art-glow: rgba(130,196,255,0.3);
  --plan-nebula-a: rgba(130,196,255,0.3);
  --plan-nebula-b: rgba(127,146,255,0.26);
  --plan-nebula-c: rgba(150,243,255,0.16);
  --plan-star-c: rgba(150,243,255,0.78);
  --plan-shell-top: rgba(33, 72, 146, 0.98);
  --plan-shell-mid: rgba(24, 40, 104, 0.98);
  --plan-shell-bottom: rgba(10, 18, 56, 1);
  --reactor-scale: 1;
}

.reactor-plan-card--quantum {
  --plan-art-glow: rgba(118,255,207,0.26);
  --plan-nebula-a: rgba(118,255,207,0.24);
  --plan-nebula-b: rgba(118,180,255,0.22);
  --plan-nebula-c: rgba(180,255,231,0.14);
  --plan-star-c: rgba(180,255,231,0.76);
  --plan-shell-top: rgba(29, 96, 118, 0.98);
  --plan-shell-mid: rgba(18, 58, 82, 0.98);
  --plan-shell-bottom: rgba(8, 28, 48, 1);
  --reactor-scale: 1;
}

.reactor-plan-card--aurora {
  --plan-art-glow: rgba(255,148,208,0.3);
  --plan-nebula-a: rgba(255,148,208,0.28);
  --plan-nebula-b: rgba(186,126,255,0.24);
  --plan-nebula-c: rgba(255,203,156,0.16);
  --plan-star-c: rgba(255,203,156,0.82);
  --plan-shell-top: rgba(110, 34, 126, 0.98);
  --plan-shell-mid: rgba(78, 24, 94, 0.98);
  --plan-shell-bottom: rgba(40, 11, 55, 1);
  --reactor-scale: 1.01;
}

.reactor-plan-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 26%, var(--plan-star-a) 0, var(--plan-star-a) 1px, rgba(255,255,255,0) 1.7px),
    radial-gradient(circle at 74% 16%, var(--plan-star-b) 0, var(--plan-star-b) 1px, rgba(255,255,255,0) 1.6px),
    radial-gradient(circle at 86% 40%, var(--plan-star-c) 0, var(--plan-star-c) 1.2px, rgba(255,255,255,0) 2px),
    radial-gradient(circle at 28% 62%, rgba(143,123,255,0.56) 0, rgba(143,123,255,0.56) 1px, rgba(143,123,255,0) 1.8px),
    radial-gradient(74% 48% at 50% 12%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 74%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 26%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.reactor-plan-card::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 16px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,120,255,0.24) 0%, rgba(217,120,255,0) 72%);
  filter: blur(14px);
  pointer-events: none;
}

.reactor-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(219,170,255,0.34);
}

.reactor-plan-card.is-featured:hover {
  transform: translateY(-5px);
}

.reactor-plan-card.is-featured {
  z-index: 3;
  transform: translateY(-3px);
  border-color: rgba(248,196,255,0.62);
  box-shadow:
    0 18px 46px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 0 1px rgba(244,186,255,0.34),
    0 0 0 2px rgba(226,128,255,0.12),
    0 0 28px rgba(223,124,255,0.3),
    0 0 52px rgba(223,124,255,0.2),
    0 0 84px rgba(186,97,255,0.16);
  animation: miningCardPulse 5s ease-in-out infinite;
}

.reactor-plan-card.is-owned {
  border-color: rgba(243,217,139,0.34);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(225,184,90,0.18),
    0 0 30px rgba(225,184,90,0.1);
}

.reactor-plan-card--skeleton {
  cursor: default;
  transform: none !important;
}

.reactor-plan-card--skeleton .skeleton {
  position: relative;
  z-index: 1;
}

.reactor-plan-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -56%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 20px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #ffeefc;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, rgba(165,92,255,0.98) 0%, rgba(240,139,255,0.94) 55%, rgba(255,214,247,0.84) 100%);
  border: 1px solid rgba(255,220,255,0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 8px 18px rgba(176,108,255,0.28),
    0 0 14px rgba(220,128,255,0.34),
    0 0 26px rgba(220,128,255,0.22);
  text-shadow: 0 0 10px rgba(255,233,255,0.34);
}

.reactor-plan-card__badge--owned {
  top: 8px;
  left: auto;
  right: 8px;
  transform: none;
  color: #fff6df;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(225,184,90,0.96) 0%, rgba(243,217,139,0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 8px 18px rgba(225,184,90,0.2);
}

.reactor-plan-card__badge--limited {
  color: #5b2b12;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, rgba(255, 214, 146, 0.98) 0%, rgba(255, 170, 120, 0.94) 100%);
  border-color: rgba(255, 231, 189, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.26),
    0 8px 18px rgba(255, 157, 103, 0.24),
    0 0 16px rgba(255, 157, 103, 0.22);
  text-shadow: none;
}

.reactor-plan-card__tier {
  position: relative;
  z-index: 1;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  color: #f3eaff;
}

.reactor-plan-card__badge ~ .reactor-plan-card__tier {
  margin-top: 7px;
}

.reactor-plan-card__subtitle {
  position: relative;
  z-index: 1;
  min-height: 20px;
  margin-top: 3px;
  font-size: 7.5px;
  line-height: 1.3;
  text-align: center;
  color: rgba(230,220,255,0.66);
  overflow-wrap: anywhere;
}

.reactor-plan-card__media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--reactor-media-height);
  margin: 2px 0 -22px;
  flex: 0 0 auto;
  overflow: visible;
}

.reactor-plan-card__reactor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  max-width: 108%;
  height: calc(var(--reactor-image-base) * var(--reactor-user-scale));
  object-fit: contain;
  object-position: center center;
  transform: translate(calc(-50% + var(--reactor-shift-x)), calc(-50% + var(--reactor-shift-y) - 8px)) scale(var(--reactor-scale));
  transform-origin: 50% 50%;
  filter:
    drop-shadow(0 14px 18px rgba(0,0,0,0.3))
    drop-shadow(0 0 18px var(--plan-art-glow));
  user-select: none;
  -webkit-user-drag: none;
  animation: miningPlanArtFloat 5.4s ease-in-out infinite;
}

.reactor-plan-card.is-featured .reactor-plan-card__reactor {
  height: calc(var(--reactor-image-featured) * var(--reactor-user-scale));
}

.reactor-plan-card__image-skeleton {
  width: 100%;
  height: var(--reactor-media-height);
  margin: 2px 0 3px;
  border-radius: 18px;
}

.reactor-plan-card__yield {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 224, 255, 0.72);
}

.reactor-plan-card__price {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  color: #ead8ff;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 20px rgba(20,8,50,0.36);
}

.reactor-plan-card.is-featured .reactor-plan-card__price {
  color: #f0dcff;
}

.reactor-plan-card__term {
  position: relative;
  z-index: 1;
  margin-top: 3px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 9px;
  line-height: 1.3;
  color: rgba(230,220,255,0.66);
}

.reactor-plan-card__launch-note {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 190, 132, 0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255, 169, 120, 0.07);
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
  color: #fff2e4;
}

.reactor-plan-card__meta-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(232, 223, 252, 0.76);
}

.reactor-plan-card--limited {
  --plan-art-glow: rgba(255, 177, 118, 0.32);
  --plan-nebula-a: rgba(255, 177, 118, 0.26);
  --plan-nebula-b: rgba(255, 119, 119, 0.22);
  --plan-nebula-c: rgba(255, 226, 173, 0.14);
  --plan-star-c: rgba(255, 226, 173, 0.82);
  --plan-shell-top: rgba(118, 42, 38, 0.98);
  --plan-shell-mid: rgba(82, 24, 36, 0.98);
  --plan-shell-bottom: rgba(42, 12, 30, 1);
  --reactor-scale: 1.04;
}

.reactor-plan-card__cta {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 32px;
  margin-top: auto;
  padding: 8px 6px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
  color: #f4eefe;
  white-space: normal;
  line-height: 1.05;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 20%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(119, 76, 202, 0.98) 0%, rgba(82, 47, 164, 0.98) 100%);
  border: 1px solid rgba(204,165,255,0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 10px 18px rgba(20,7,48,0.28);
}

.reactor-plan-card__cta::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  width: 42%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.28), rgba(255,255,255,0));
  transform: skewX(-18deg);
  animation: miningCtaSheen 4.8s ease-in-out infinite;
}

.reactor-plan-card__cta--featured::before {
  display: none;
}

.reactor-plan-card__cta--featured {
  color: #fff8ff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255,224,255,0.38),
    0 1px 0 rgba(21,8,48,0.9);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.04) 18%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(72, 30, 128, 0.98) 0%, rgba(124, 48, 210, 0.98) 38%, rgba(226, 106, 255, 0.98) 72%, rgba(255, 220, 169, 0.96) 100%);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -10px 18px rgba(28,9,62,0.28),
    0 12px 22px rgba(38,13,68,0.34);
}

.mining-featured-plan {
  margin-top: 0;
}

.mining-featured-plan.is-owned {
  border-color: rgba(243, 217, 139, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(8, 4, 20, 0.22),
    0 0 30px rgba(225,184,90,0.12);
}

.mining-featured-plan .starter-mission-card__body {
  gap: 14px;
}

.mining-featured-plan__art {
  max-width: 208px;
}

.mining-featured-plan__eyebrow {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 229, 194, 0.62);
}

.mining-featured-plan__cta {
  min-height: 44px;
  margin-top: 2px;
  border-radius: 16px;
}

.mining-duo-plan {
  margin-top: 0;
}

.mining-duo-plan .starter-mission-card__body {
  gap: 14px;
}

.mining-duo-plan__art {
  max-width: 208px;
}

.mining-duo-plan__cta {
  min-height: 44px;
  margin-top: 2px;
  border-radius: 16px;
}

.mining-duo-plan.is-owned {
  border-color: rgba(243, 217, 139, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(8, 4, 20, 0.22),
    0 0 30px rgba(225,184,90,0.12);
}

.reactor-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236,226,255,0.72);
}

.reactor-section-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(230,220,255,0.18), rgba(230,220,255,0));
}

.reactor-compare-panel,
.reactor-empty-panel,
.reactor-owned-card,
.reactor-assets-summary__card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 14%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(46, 27, 102, 0.94) 0%, rgba(26, 14, 66, 0.98) 100%);
  border: 1px solid rgba(196,145,255,0.18);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 20px rgba(180,110,255,0.08);
}

.reactor-compare-panel,
.reactor-empty-panel {
  padding: 14px;
}

.reactor-compare-panel {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
  margin: 0;
}

.reactor-compare-panel--compact .reactor-section-head {
  margin-bottom: 10px;
}

.reactor-compare-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0;
  background: transparent;
}

.reactor-compare-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, calc(100% - 34px));
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 2px;
}

.reactor-compare-strip--single {
  display: block;
  overflow: visible;
}

.reactor-compare-compact-card {
  position: relative;
  min-width: 0;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 14%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(46, 27, 102, 0.94) 0%, rgba(26, 14, 66, 0.98) 100%);
  border: 1px solid rgba(196,145,255,0.18);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 20px rgba(180,110,255,0.08);
  scroll-snap-align: start;
}

.reactor-compare-compact-card.is-featured {
  border-color: rgba(248,196,255,0.46);
  box-shadow:
    0 16px 38px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(244,186,255,0.16),
    0 0 28px rgba(223,124,255,0.16);
}

.reactor-compare-compact__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.reactor-compare-compact__copy {
  min-width: 0;
}

.reactor-compare-compact__tier {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 226, 255, 0.62);
}

.reactor-compare-compact__name {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
  color: #fbf3ff;
  overflow-wrap: anywhere;
}

.reactor-compare-compact__price {
  font-size: 24px;
  line-height: 0.95;
  font-weight: 900;
  color: #fff7ea;
  letter-spacing: -0.03em;
  text-shadow: 0 0 16px rgba(243, 217, 139, 0.12);
}

.reactor-compare-compact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.reactor-compare-compact__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(220, 190, 255, 0.08);
}

.reactor-compare-compact__item span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(233, 221, 255, 0.62);
}

.reactor-compare-compact__item strong {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  color: #fef8ff;
}

.reactor-compare-grid {
  display: grid;
  width: max(100%, calc(114px + (var(--compare-cols) * 88px)));
  min-width: 100%;
  grid-template-columns: 114px repeat(var(--compare-cols), 88px);
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.reactor-compare-cell {
  min-height: 42px;
  padding: 10px 10px;
  border-right: 1px solid rgba(210,180,255,0.08);
  border-bottom: 1px solid rgba(210,180,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  color: rgba(244,238,254,0.84);
}

.reactor-compare-cell--head {
  min-height: 46px;
  background: rgba(255,255,255,0.03);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reactor-compare-cell--corner,
.reactor-compare-cell--label {
  justify-content: flex-start;
  text-align: left;
}

.reactor-compare-cell--label {
  color: rgba(230,220,255,0.72);
}

.reactor-compare-cell--plan {
  flex-direction: column;
  gap: 2px;
}

.reactor-compare-cell--plan.is-featured,
.reactor-compare-cell--value.is-featured {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 100%),
    rgba(198,107,255,0.08);
}

.reactor-compare-cell__tier {
  font-size: 10px;
  font-weight: 800;
  color: #f4eefe;
}

.reactor-compare-cell__name {
  font-size: 9px;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(230,220,255,0.62);
  overflow-wrap: anywhere;
}

.reactor-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  background: transparent;
}

.reactor-insight-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  min-height: 48px;
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.reactor-insight-card__icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 56%),
    linear-gradient(180deg, rgba(93, 58, 164, 0.98) 0%, rgba(43, 22, 86, 1) 100%);
  border: 1px solid rgba(216,182,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 16px rgba(176,108,255,0.12);
}

.reactor-insight-card__svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 19px;
  height: 19px;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(217,120,255,0.18));
}

.reactor-insight-card__stroke {
  fill: none;
  stroke: rgba(244,238,254,0.9);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reactor-insight-card__stroke--accent {
  stroke: #df95ff;
}

.reactor-insight-card__icon--shield .reactor-insight-card__stroke--accent {
  stroke: #f3d98b;
}

.reactor-insight-card__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding-top: 1px;
}

.reactor-insight-card__title {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  color: #f4eefe;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reactor-insight-card__text {
  font-size: 8px;
  line-height: 1.22;
  color: rgba(230,220,255,0.66);
}

.reactor-empty-panel {
  text-align: center;
}

.reactor-empty-panel__title {
  font-size: 18px;
  font-weight: 800;
  color: #f4eefe;
}

.reactor-empty-panel__text {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(230,220,255,0.72);
}

.reactor-empty-panel .reactor-plan-card__cta {
  margin-top: 14px;
}

.reactor-assets-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reactor-assets-summary__card {
  padding: 14px 14px 12px;
}

.reactor-assets-summary__card span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230,220,255,0.58);
  margin-bottom: 6px;
}

.reactor-assets-summary__card strong {
  display: block;
  font-size: 21px;
  line-height: 1.05;
  color: #f4eefe;
}

.reactor-assets-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reactor-owned-card {
  padding: 14px;
}

.reactor-owned-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.reactor-owned-card__name {
  font-size: 16px;
  font-weight: 800;
  color: #f4eefe;
}

.reactor-owned-card__meta {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(230,220,255,0.7);
}

.reactor-owned-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(210,180,255,0.12);
}

.reactor-owned-card__status--active {
  color: #f3d98b;
  border-color: rgba(243,217,139,0.24);
  background: rgba(243,217,139,0.08);
}

.reactor-owned-card__status--completed {
  color: #d9c6ff;
}

.reactor-owned-card__progress {
  margin-top: 14px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.reactor-owned-card__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8f62ff 0%, #d978ff 52%, #f3d98b 100%);
  box-shadow: 0 0 12px rgba(217,120,255,0.26);
}

.reactor-owned-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.reactor-owned-card__stat {
  text-align: center;
}

.reactor-owned-card__stat span {
  display: block;
  font-size: 10px;
  color: rgba(230,220,255,0.58);
  margin-bottom: 4px;
}

.reactor-owned-card__stat strong {
  display: block;
  font-size: 14px;
  line-height: 1.15;
  color: #f4eefe;
}

.reactor-owned-card__expires {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(230,220,255,0.64);
  text-align: center;
}

.reactor-plans-grid--scroll::-webkit-scrollbar,
.reactor-compare-scroll::-webkit-scrollbar {
  height: 4px;
}

.reactor-plans-grid--scroll::-webkit-scrollbar-thumb,
.reactor-compare-scroll::-webkit-scrollbar-thumb {
  background: rgba(216,180,255,0.18);
  border-radius: 999px;
}

@keyframes miningNebulaDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, 12px, 0) scale(1.04);
  }
}

@keyframes miningDustTwinkle {
  0%, 100% {
    opacity: 0.38;
  }
  50% {
    opacity: 0.62;
  }
}

@keyframes miningCardPulse {
  0%, 100% {
    box-shadow:
      0 18px 46px rgba(0,0,0,0.42),
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 0 0 1px rgba(244,186,255,0.34),
      0 0 0 2px rgba(226,128,255,0.12),
      0 0 28px rgba(223,124,255,0.3),
      0 0 52px rgba(223,124,255,0.2),
      0 0 84px rgba(186,97,255,0.16);
  }
  50% {
    box-shadow:
      0 20px 52px rgba(0,0,0,0.44),
      inset 0 1px 0 rgba(255,255,255,0.14),
      0 0 0 1px rgba(248,198,255,0.42),
      0 0 0 2px rgba(232,138,255,0.18),
      0 0 38px rgba(230,144,255,0.36),
      0 0 66px rgba(223,124,255,0.26),
      0 0 96px rgba(186,97,255,0.2);
  }
}

@keyframes miningPlanArtFloat {
  0%, 100% {
    transform: translate(calc(-50% + var(--reactor-shift-x)), calc(-50% + var(--reactor-shift-y) - 8px)) scale(var(--reactor-scale));
  }
  50% {
    transform: translate(calc(-50% + var(--reactor-shift-x)), calc(-50% + var(--reactor-shift-y) - 12px)) scale(var(--reactor-scale));
  }
}

@keyframes miningPlatformPulse {
  0%, 100% {
    opacity: 0.46;
    transform: translateX(-50%) scaleX(0.9);
  }
  50% {
    opacity: 0.82;
    transform: translateX(-50%) scaleX(1.08);
  }
}

@keyframes miningCtaSheen {
  0%, 70%, 100% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  12%,
  22% {
    transform: translateX(290%) skewX(-18deg);
    opacity: 0.8;
  }
}

@media (max-width: 380px) {
  .mining-page-content {
    padding-left: 8px;
    padding-right: 8px;
  }

  .mining-shell {
    padding-top: 12px;
  }

  .reactor-plans-stage {
    padding-top: 18px;
  }

  .mining-hero__title {
    font-size: 24px;
  }

  .mining-hero__metric strong {
    font-size: 14px;
  }

  .reactor-plans-grid {
    gap: 5px;
  }

  .reactor-plans-stage__toolbar {
    gap: 8px;
  }

  .reactor-plans-stage__hint {
    font-size: 9px;
  }

  .reactor-plan-card {
    min-height: 226px;
    padding: 8px 5px 8px;
    border-radius: 18px;
    --reactor-media-height: 112px;
    --reactor-image-base: 122px;
    --reactor-image-featured: 132px;
  }

  .reactor-plan-card__tier {
    font-size: 11px;
  }

  .reactor-plan-card__subtitle {
    font-size: 7px;
    min-height: 18px;
  }

  .reactor-plan-card__price {
    font-size: 24px;
  }

  .reactor-plan-card__cta {
    font-size: 9px;
    min-height: 30px;
  }

  .reactor-plan-card__badge {
    top: 0;
    padding: 3px 8px;
    font-size: 5.8px;
    letter-spacing: 0.12em;
  }

  .mining-featured-plan__eyebrow {
    font-size: 7px;
  }

  .reactor-compare-strip {
    grid-auto-columns: minmax(230px, calc(100% - 24px));
    gap: 8px;
  }

  .reactor-compare-compact__price {
    font-size: 21px;
  }

  .reactor-compare-compact__name {
    font-size: 14px;
  }

  .reactor-compare-compact__grid {
    gap: 6px;
  }

  .reactor-compare-grid {
    width: max(100%, calc(102px + (var(--compare-cols) * 74px)));
    grid-template-columns: 102px repeat(var(--compare-cols), 74px);
  }

  .reactor-insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .reactor-plans-stage__viewport {
    padding: 0;
  }

  .reactor-plans-stage__arrow--side {
    display: none;
  }

  .reactor-plans-grid--duo {
    gap: 12px;
  }

  .starter-mission-card__metrics--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .reactor-plans-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mining-shell__nebula,
  .mining-shell__dust,
  .reactor-plan-card.is-featured,
  .reactor-plan-card__reactor,
  .reactor-plan-card__cta::before,
  .rocket-ship,
  .rocket-launcher.is-launching,
  .rocket-launcher.is-launching::before,
  .rocket-container.is-launching .rocket-launcher__halo,
  .rocket-launcher.is-launching .rocket-launcher__trail,
  .rocket-container.is-launching .platform-image {
    animation: none !important;
  }

  .rocket-launcher.is-launching .rocket-image--static {
    transition: none !important;
  }
}

/* ── Wallet Page ────────────────────────────────────────────── */
.wallet-hero {
  padding: 24px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.wallet-balance-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wallet-balance-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
}

.wallet-balance-amount span {
  font-size: 22px;
  color: var(--text-secondary);
  font-weight: 600;
}

.wallet-balance-sub {
  font-size: 13px;
  color: var(--green);
}

.wallet-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
  margin-top: 20px;
}

.wallet-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wallet-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.wallet-stat-value.green { color: var(--green); }
.wallet-stat-value.gold  { color: var(--gold); }
.wallet-stat-value.cyan  { color: var(--cyan); }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
  width: 100%;
}

.form-input:focus {
  border-color: var(--purple-light);
  background: rgba(139,92,246,0.08);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
}

.form-input::placeholder { color: var(--text-muted); }

.form-input-icon {
  position: relative;
}

.form-input-icon .form-input {
  padding-left: 44px;
}

.form-input-icon .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  pointer-events: none;
}

.form-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text-primary);
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-select:focus {
  border-color: var(--purple-light);
  outline: none;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-error::before { content: '⚠'; font-size: 11px; }

/* ── Network Chips ──────────────────────────────────────────── */
.network-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,0.04);
}

.chip:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
}

.chip.selected {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: white;
  box-shadow: 0 0 14px rgba(124,58,237,0.4);
}

/* ── Deposit address box ────────────────────────────────────── */
.deposit-address-box {
  background: rgba(139,92,246,0.07);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 14px;
}

.deposit-address-box--primary {
  margin-top: 0;
  margin-bottom: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%),
    linear-gradient(180deg, rgba(70, 34, 133, 0.96) 0%, rgba(30, 15, 73, 0.98) 100%);
  border-color: rgba(219, 185, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 18px 36px rgba(7, 3, 20, 0.24);
}

.deposit-address-box__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.deposit-address-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.deposit-address-value {
  font-size: 13px;
  font-family: 'Courier New', monospace;
  color: var(--purple-light);
  word-break: break-all;
  margin-bottom: 10px;
  line-height: 1.6;
}

.deposit-address-value--full {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #fff5ff;
  letter-spacing: 0.02em;
}

.deposit-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #efe6ff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(214, 180, 255, 0.16);
  border-radius: 14px;
  padding: 9px 13px;
  cursor: pointer;
  transition: var(--transition);
}

.deposit-copy-btn--primary {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 14px;
}

.deposit-copy-btn:hover {
  background: rgba(181, 120, 255, 0.14);
  border-color: rgba(214, 180, 255, 0.3);
}

.deposit-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(214, 180, 255, 0.12);
  font-size: 13px;
  color: var(--warning);
}

.deposit-timer__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(243, 216, 141, 0.9);
}

.deposit-plan-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 18%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(77, 38, 146, 0.94) 0%, rgba(36, 18, 82, 0.98) 100%);
  border-color: rgba(211, 170, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 30px rgba(10, 4, 28, 0.24);
}

.deposit-plan-card__eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 221, 255, 0.62);
}

.deposit-plan-card__title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fbf4ff;
}

.deposit-plan-card__amount {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  color: #f4d88d;
  text-shadow: 0 0 20px rgba(243, 217, 139, 0.22);
}

.deposit-plan-card__note {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(232, 221, 255, 0.68);
}

.deposit-plan-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(232, 221, 255, 0.58);
}

.deposit-plan-card__reset {
  margin-top: 14px;
}

.deposit-plan-card__pay-top {
  margin-top: 14px;
}

.deposit-plan-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.12);
}

.deposit-plan-status__title {
  font-size: 13px;
  font-weight: 800;
  color: #f6efff;
}

.deposit-plan-status__text {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(232, 221, 255, 0.66);
}

.wallet-page {
  position: relative;
}

.wallet-page__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wallet-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(139, 92, 246, 0.22), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(34, 211, 238, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 24%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(29, 16, 60, 0.98) 0%, rgba(16, 10, 36, 0.98) 100%);
  border: 1px solid rgba(178, 137, 255, 0.18);
  box-shadow:
    0 18px 42px rgba(7, 3, 20, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(103, 72, 167, 0.16);
}

.payment-method-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.page-header-title .payment-method-icon,
.page-header-title .ref-icon,
.page-header-title .deposit-ui-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.payment-method-icon__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.payment-method-icon--hero {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.wallet-method-pill__icon .payment-method-icon,
.wallet-action-tile__icon .payment-method-icon,
.wallet-hub__asset-badge .payment-method-icon,
.funding-method-card__icon .payment-method-icon,
.deposit-result-card__icon .payment-method-icon,
.deposit-stage__method-icon .payment-method-icon {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: none;
  box-shadow: none;
}

.deposit-ui-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex: 0 0 auto;
}

.deposit-ui-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.deposit-stage {
  padding: 22px 18px 18px;
}

.deposit-stage--compact {
  padding: 18px 16px 16px;
}

.deposit-stage__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.66);
}

.deposit-stage__title {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fbf6ff;
  text-shadow: 0 0 24px rgba(255,255,255,0.06);
}

.deposit-stage__subtitle {
  margin-top: 10px;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(234, 224, 255, 0.72);
}

.deposit-stage--compact .deposit-stage__title {
  margin-top: 10px;
  font-size: 24px;
}

.deposit-stage--compact .deposit-stage__subtitle {
  margin-top: 8px;
  max-width: none;
  font-size: 12px;
  line-height: 1.48;
}

.deposit-stage__method {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(214, 180, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.deposit-stage--compact .deposit-stage__method {
  margin-top: 12px;
  padding: 12px;
  gap: 12px;
  border-radius: 20px;
}

.deposit-stage--compact .deposit-stage__method-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.deposit-stage--compact .deposit-stage__method-body strong {
  font-size: 14px;
}

.deposit-stage--compact .deposit-stage__method-body span {
  font-size: 11px;
  line-height: 1.38;
}

.deposit-stage--compact .deposit-stage__method-badge {
  padding: 6px 10px;
}

.deposit-stage__method-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(9, 7, 25, 0.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.deposit-stage__method-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.deposit-stage__method-body strong {
  font-size: 15px;
  font-weight: 800;
  color: #fbf6ff;
}

.deposit-stage__method-body span {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(234, 224, 255, 0.68);
}

.deposit-stage__method-badge {
  align-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214, 180, 255, 0.16);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #efe5ff;
}

.wallet-hub {
  position: relative;
  padding: 24px 18px 18px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(244, 216, 141, 0.22), transparent 32%),
    radial-gradient(circle at 16% 18%, rgba(217, 120, 255, 0.2), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(99, 102, 241, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(45, 25, 90, 0.98) 0%, rgba(20, 12, 48, 0.98) 100%);
  border: 1px solid rgba(214, 180, 255, 0.18);
  box-shadow:
    0 20px 54px rgba(8, 4, 22, 0.38),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 32px rgba(180,110,255,0.16);
}

.wallet-hub__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.9;
  pointer-events: none;
}

.wallet-hub__glow--one {
  inset: -34px auto auto -20px;
  width: 138px;
  height: 138px;
  background: rgba(214, 122, 255, 0.18);
}

.wallet-hub__glow--two {
  inset: auto -26px -50px auto;
  width: 150px;
  height: 150px;
  background: rgba(63, 191, 255, 0.14);
}

.wallet-hub__topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallet-hub__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.64);
}

.wallet-hub__asset-stack {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.wallet-hub__asset-badge,
.wallet-hub__asset-more {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(25, 14, 54, 0.92);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 100%),
    rgba(15, 9, 35, 0.86);
  box-shadow:
    0 8px 20px rgba(7, 3, 20, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}

.wallet-hub__asset-badge:first-child,
.wallet-hub__asset-more:first-child {
  margin-left: 0;
}

.wallet-hub__asset-more {
  font-size: 11px;
  font-weight: 800;
  color: #f7efff;
}

.wallet-hub__amount {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  color: #fbf6ff;
  letter-spacing: -0.04em;
  text-shadow: 0 0 28px rgba(255,255,255,0.06);
}

.wallet-hub__amount span {
  font-size: 22px;
  color: rgba(234, 224, 255, 0.72);
  margin-right: 4px;
}

.wallet-hub__subtitle {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(234, 224, 255, 0.72);
}

.wallet-hub__meta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.wallet-hub__meta-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 14px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(222, 197, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.wallet-hub__meta-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.56);
}

.wallet-hub__meta-value {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  color: #fbf6ff;
}

.wallet-hub__actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.wallet-action-tile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 12px 12px;
  border-radius: 21px;
  border: 1px solid rgba(222, 197, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 100%),
    rgba(255,255,255,0.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 28px rgba(7, 3, 20, 0.18);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.wallet-action-tile:active {
  transform: translateY(1px) scale(0.995);
}

.wallet-action-tile--deposit {
  background:
    linear-gradient(180deg, rgba(230, 183, 255, 0.16), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.03);
  border-color: rgba(216, 162, 255, 0.2);
}

.wallet-action-tile--withdraw {
  background:
    linear-gradient(180deg, rgba(243, 216, 141, 0.16), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.03);
  border-color: rgba(243, 216, 141, 0.18);
}

.wallet-action-tile__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 100%),
    rgba(10, 7, 28, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 18px rgba(7, 3, 20, 0.2);
  color: #fff;
  flex: 0 0 auto;
  overflow: hidden;
}

.wallet-action-tile__icon .payment-method-icon,
.wallet-action-tile__icon .ref-icon,
.wallet-action-tile__icon .deposit-ui-icon {
  width: 20px;
  height: 20px;
}

.wallet-action-tile__icon .deposit-ui-icon {
  color: #f6efff;
}

.wallet-action-tile__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.wallet-action-tile__body strong {
  display: block;
  max-width: 100%;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #fbf6ff;
  white-space: nowrap;
}

.wallet-action-tile__body span {
  display: block;
  max-width: 100%;
  font-size: 10px;
  line-height: 1.28;
  color: rgba(234, 224, 255, 0.64);
  overflow-wrap: anywhere;
}

.wallet-stats-grid--premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  margin-top: 0;
}

.wallet-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  padding: 15px 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(180deg, rgba(31, 18, 61, 0.96) 0%, rgba(15, 10, 34, 0.96) 100%);
  border: 1px solid rgba(214, 180, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(7, 3, 20, 0.18);
}

.wallet-stat-card__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 14px;
  color: rgba(255,255,255,0.9);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%),
    rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.wallet-stat-card__icon .ref-icon {
  width: 16px;
  height: 16px;
}

.wallet-methods {
  padding: 18px 16px;
}

.wallet-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-section-head__title {
  font-size: 14px;
  font-weight: 800;
  color: #f7f1ff;
}

.wallet-section-head__text {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(234, 224, 255, 0.66);
}

.wallet-section-head__action {
  flex: 0 0 auto;
  align-self: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 180, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%),
    rgba(255,255,255,0.03);
  color: #f7efff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.wallet-section-head__action:active {
  transform: translateY(1px);
}

.wallet-methods__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.wallet-method-pill {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(221, 197, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.wallet-method-pill__icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%),
    rgba(7, 5, 22, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 18px rgba(7, 3, 20, 0.16);
  flex: 0 0 auto;
  overflow: hidden;
}

.wallet-method-pill__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-method-pill__body strong {
  font-size: 15px;
  font-weight: 800;
  color: #f7f1ff;
}

.wallet-method-pill__name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(246, 238, 255, 0.86);
}

.wallet-method-pill__hint {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(234, 224, 255, 0.66);
}

.wallet-method-pill__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.wallet-method-pill__badge,
.wallet-method-pill__network {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wallet-method-pill__badge {
  color: #d8ffd8;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.wallet-method-pill__network {
  color: rgba(246, 238, 255, 0.86);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214, 180, 255, 0.14);
}

.wallet-footer-actions {
  padding-bottom: 4px;
}

.wallet-history-btn {
  min-height: 52px;
  border-radius: 20px;
}

.deposit-composer {
  padding: 18px 16px;
}

.deposit-composer--checkout {
  padding: 16px 14px;
}

.deposit-composer--checkout .wallet-section-head {
  margin-bottom: 12px;
}

.deposit-composer--checkout .wallet-section-head__text {
  font-size: 11px;
  line-height: 1.4;
}

.funding-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.funding-method-card {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(214, 181, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  text-align: left;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.funding-method-card:active {
  transform: translateY(1px) scale(0.995);
}

.funding-method-card.is-selected {
  border-color: rgba(233, 194, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(190, 130, 255, 0.18) 0%, rgba(255,255,255,0.04) 100%),
    rgba(255,255,255,0.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 18px rgba(184, 111, 255, 0.18);
}

.funding-method-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 4, 20, 0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.funding-method-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.funding-method-card__body strong {
  font-size: 15px;
  font-weight: 800;
  color: #f7f1ff;
}

.funding-method-card__label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(246, 238, 255, 0.86);
}

.funding-method-card__hint {
  font-size: 11px;
  line-height: 1.42;
  color: rgba(234, 224, 255, 0.62);
}

.funding-method-card__rail {
  align-self: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214, 180, 255, 0.14);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 238, 255, 0.86);
  flex: 0 0 auto;
}

.deposit-method-note {
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(234, 224, 255, 0.66);
}

.deposit-result-card {
  padding: 18px 16px;
}

.deposit-result-card__hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.deposit-result-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.deposit-result-card__icon .payment-method-icon {
  width: 34px;
  height: 34px;
}

.deposit-result-card__headline {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deposit-result-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.56);
}

.deposit-result-card__send-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  color: #f5db8e;
  text-shadow: 0 0 16px rgba(245, 219, 142, 0.18);
}

.deposit-result-card__credit {
  font-size: 12px;
  font-weight: 700;
  color: rgba(210, 248, 212, 0.86);
}

.deposit-result-card__meta {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(234, 224, 255, 0.62);
}

.deposit-result-card__qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.deposit-result-card__qr {
  width: 164px;
  height: 164px;
  object-fit: cover;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow:
    0 16px 34px rgba(7, 3, 20, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.82);
}

.deposit-result-card__quote-note {
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(214, 180, 255, 0.12);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(234, 224, 255, 0.72);
}

.deposit-result-card__waiting {
  margin-top: 14px;
  text-align: center;
}

.deposit-result-card__waiting-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 180, 255, 0.12);
}

.deposit-info-card {
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 216, 141, 0.14), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(217, 120, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(34, 20, 64, 0.98) 0%, rgba(18, 11, 40, 0.98) 100%);
  border-color: rgba(224, 191, 255, 0.14);
}

.deposit-trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deposit-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 180, 255, 0.08);
  color: rgba(239, 231, 255, 0.82);
  font-size: 12px;
  line-height: 1.52;
}

.deposit-trust-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4d88d;
  background: rgba(8, 6, 23, 0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.withdraw-page__content {
  gap: 14px;
}

.withdraw-hero {
  padding: 22px 18px 18px;
  text-align: center;
}

.withdraw-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 224, 255, 0.68);
}

.withdraw-hero__amount {
  margin-top: 12px;
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
  color: #fff3d7;
  letter-spacing: -0.04em;
}

.withdraw-hero__sub {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(234, 224, 255, 0.72);
}

.withdraw-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.withdraw-hero__chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(214, 180, 255, 0.16);
  color: rgba(246, 238, 255, 0.84);
  font-size: 11px;
  font-weight: 800;
}

.withdraw-card,
.withdraw-history-card {
  padding: 18px 16px;
}

.withdraw-method-note {
  margin-bottom: 12px;
}

.withdraw-quote-card {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(214, 180, 255, 0.12);
}

.withdraw-quote-card__placeholder {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(234, 224, 255, 0.68);
}

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

.withdraw-quote-card__item {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 180, 255, 0.08);
}

.withdraw-quote-card__item span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 218, 255, 0.54);
}

.withdraw-quote-card__item strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  color: #fff3df;
  overflow-wrap: anywhere;
}

@media (max-width: 380px) {
  .wallet-hub__actions {
    grid-template-columns: 1fr;
  }

  .wallet-hub__amount {
    font-size: 38px;
  }

  .wallet-hub__topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .wallet-hub__asset-stack {
    justify-content: flex-start;
  }

  .wallet-hub__meta-grid,
  .wallet-stats-grid--premium {
    grid-template-columns: 1fr;
  }

  .wallet-method-pill {
    grid-template-columns: auto 1fr;
  }

  .wallet-method-pill__meta {
    grid-column: 2;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
  }

  .deposit-stage__method {
    grid-template-columns: auto 1fr;
  }

  .deposit-stage__method-badge {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }

  .funding-method-card {
    padding: 13px;
    gap: 12px;
  }

  .funding-method-card__rail {
    padding-inline: 8px;
    font-size: 9px;
  }

  .deposit-address-box__top {
    flex-direction: column;
    align-items: stretch;
  }

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

  .withdraw-quote-card__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Transaction History ────────────────────────────────────── */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.tx-item:hover { background: var(--bg-card-hover); }

.tx-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.tx-icon.deposit    { background: rgba(16,185,129,0.12); }
.tx-icon.withdrawal { background: rgba(239,68,68,0.12); }
.tx-icon.accrual    { background: rgba(139,92,246,0.12); }
.tx-icon.bonus      { background: rgba(245,158,11,0.12); }
.tx-icon.referral   { background: rgba(6,182,212,0.12); }
.tx-icon.reinvest   { background: rgba(139,92,246,0.12); }
.tx-icon.manual     { background: rgba(255,255,255,0.06); }

.tx-info { flex: 1; min-width: 0; }

.tx-type {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.tx-amount {
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.tx-amount.positive { color: var(--green); }
.tx-amount.negative { color: var(--red); }
.tx-amount.neutral { color: var(--text-primary); }

.tx-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.status-completed { background: rgba(16,185,129,0.15); color: var(--green); }
.status-pending   { background: rgba(245,158,11,0.15); color: var(--warning); }
.status-failed    { background: rgba(239,68,68,0.15);  color: var(--red); }
.status-canceled  { background: rgba(255,255,255,0.06); color: var(--text-muted); }

/* ── Referrals Page ─────────────────────────────────────────── */
.referrals-page__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 16px 18px;
}

.referrals-hero {
  padding: 2px 2px 0;
}

.referrals-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(235, 224, 255, 0.82);
  background: rgba(122, 84, 255, 0.12);
  border: 1px solid rgba(191, 163, 255, 0.18);
  box-shadow: 0 10px 28px rgba(12, 8, 28, 0.22);
}

.referrals-hero__title {
  margin: 12px 0 6px;
  font-size: 27px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f8f4ff;
}

.referrals-hero__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(228, 220, 248, 0.78);
}

.referrals-panel,
.referrals-note,
.referrals-stat-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(198, 166, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(36, 24, 82, 0.92), rgba(21, 15, 49, 0.94)),
    radial-gradient(circle at top left, rgba(180, 111, 255, 0.18), transparent 54%);
  box-shadow:
    0 16px 40px rgba(6, 4, 22, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(198, 166, 255, 0.08);
  overflow: hidden;
}

.referrals-panel::before,
.referrals-note::before,
.referrals-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(249, 156, 255, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(107, 201, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.referrals-panel {
  padding: 16px;
}

.referrals-panel--accent {
  border-color: rgba(219, 174, 255, 0.22);
  box-shadow:
    0 20px 44px rgba(8, 5, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(219, 174, 255, 0.12),
    0 0 36px rgba(180, 110, 255, 0.16);
}

.referrals-panel--balance {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.referrals-panel--stats {
  padding-top: 14px;
  padding-bottom: 14px;
}

.referrals-panel__topline,
.referrals-section-head {
  position: relative;
  z-index: 1;
}

.referrals-panel__topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.referrals-panel__tag,
.referrals-panel__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.referrals-panel__tag {
  max-width: 100%;
  padding: 0 11px;
  font-size: 10px;
  white-space: nowrap;
  color: rgba(238, 230, 255, 0.84);
  background: rgba(114, 91, 210, 0.18);
  border: 1px solid rgba(190, 168, 255, 0.16);
}

.referrals-panel__pill {
  color: #ffe8ff;
  background: linear-gradient(135deg, rgba(211, 98, 255, 0.32), rgba(124, 96, 255, 0.2));
  border: 1px solid rgba(241, 170, 255, 0.24);
}

.referrals-link-card,
.referrals-note,
.referrals-level-card {
  position: relative;
  z-index: 1;
}

.referrals-balance-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.referrals-balance-hero__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #f7e9ff;
  background: linear-gradient(135deg, rgba(208, 125, 255, 0.3), rgba(100, 172, 255, 0.2));
  border: 1px solid rgba(233, 205, 255, 0.18);
  box-shadow: 0 12px 28px rgba(33, 19, 74, 0.24);
}

.referrals-balance-hero__body {
  min-width: 0;
  flex: 1;
}

.referrals-balance-hero__eyebrow {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229, 220, 248, 0.72);
}

.referrals-balance-hero__value {
  margin-top: 6px;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff7ff;
}

.referrals-balance-hero__text {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(225, 217, 246, 0.8);
}

.referrals-metric-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.referrals-metric-card {
  min-width: 0;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(189, 162, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.referrals-metric-card__meta {
  font-size: 9px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(225, 217, 246, 0.68);
}

.referrals-metric-card__value {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff8ff;
}

.referrals-metric-card__value--code {
  font-size: 16px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color: #ead7ff;
  word-break: break-word;
}

.referrals-balance-callout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.referrals-balance-callout__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #f7e9ff;
  background: linear-gradient(135deg, rgba(208, 125, 255, 0.3), rgba(100, 172, 255, 0.2));
  border: 1px solid rgba(233, 205, 255, 0.18);
  box-shadow: 0 12px 28px rgba(33, 19, 74, 0.24);
}

.referrals-balance-callout__body {
  min-width: 0;
  flex: 1;
}

.referrals-balance-callout__eyebrow {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229, 220, 248, 0.72);
}

.referrals-balance-callout__text {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(225, 217, 246, 0.8);
}

.referrals-stat-card__action {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  min-height: 44px;
  line-height: 1.25;
  white-space: normal;
}

.referrals-link-card__value {
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(189, 162, 255, 0.14);
  color: #f4ecff;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.referrals-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.referrals-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
}

.referrals-action-btn--wide {
  grid-column: 1 / -1;
}

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

.referrals-stat-card {
  padding: 14px 14px 15px;
}

.referrals-stat-card--balance {
  grid-column: 1 / -1;
}

.referrals-stat-card__icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #f7e3ff;
  background: linear-gradient(135deg, rgba(197, 122, 255, 0.3), rgba(104, 151, 255, 0.18));
  border: 1px solid rgba(234, 203, 255, 0.18);
  box-shadow: 0 10px 24px rgba(50, 28, 98, 0.24);
}

.referrals-stat-card__meta,
.referrals-section-head__text,
.referrals-level-card__stats,
.referrals-note__text {
  position: relative;
  z-index: 1;
  color: rgba(225, 217, 246, 0.72);
}

.referrals-stat-card__meta {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.referrals-stat-card__value {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff8ff;
}

.referrals-stat-card__value--code {
  font-size: 18px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color: #ead7ff;
}

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

.referrals-section-head__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #f8f2ff;
}

.referrals-section-head__text {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
}

.referrals-level-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.referrals-level-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(190, 162, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.referrals-level-card__badge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff8ef;
  background: linear-gradient(135deg, rgba(243, 192, 104, 0.22), rgba(255, 120, 207, 0.18));
  border: 1px solid rgba(246, 203, 131, 0.16);
}

.tone-2 .referrals-level-card__badge {
  color: #f0e5ff;
  background: linear-gradient(135deg, rgba(171, 113, 255, 0.28), rgba(110, 129, 255, 0.18));
  border-color: rgba(196, 164, 255, 0.16);
}

.tone-3 .referrals-level-card__badge {
  color: #e7fdff;
  background: linear-gradient(135deg, rgba(85, 219, 255, 0.26), rgba(103, 140, 255, 0.18));
  border-color: rgba(120, 221, 255, 0.16);
}

.tone-4 .referrals-level-card__badge {
  color: #ecf6ff;
  background: linear-gradient(135deg, rgba(118, 147, 255, 0.26), rgba(177, 115, 255, 0.18));
  border-color: rgba(154, 183, 255, 0.16);
}

.tone-5 .referrals-level-card__badge {
  color: #fff3ff;
  background: linear-gradient(135deg, rgba(255, 122, 213, 0.24), rgba(182, 110, 255, 0.2));
  border-color: rgba(255, 162, 226, 0.16);
}

.referrals-level-card__body {
  flex: 1;
  min-width: 0;
}

.referrals-level-card__title {
  font-size: 14px;
  font-weight: 800;
  color: #f8f2ff;
}

.referrals-level-card__stats {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
}

.referrals-level-card__rate {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffe5f8;
}

.referrals-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
}

.referrals-note__icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #efe3ff;
  background: rgba(184, 120, 255, 0.16);
  border: 1px solid rgba(216, 186, 255, 0.16);
}

.referrals-note__text {
  font-size: 12px;
  line-height: 1.6;
}

.referrals-section-head--actions {
  align-items: center;
}

.referrals-export-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  flex-shrink: 0;
}

.referrals-filter-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.referrals-filter-row::-webkit-scrollbar {
  display: none;
}

.referrals-filter-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(239, 231, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
}

.referrals-filter-chip span {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff6ff;
  font-size: 10px;
}

.referrals-filter-chip.is-active {
  color: #fff7ff;
  border-color: rgba(245, 183, 255, 0.2);
  background: linear-gradient(135deg, rgba(197, 111, 255, 0.24), rgba(101, 129, 255, 0.16));
  box-shadow: 0 0 24px rgba(182, 107, 255, 0.12);
}

.referrals-directory-loading,
.referrals-empty {
  position: relative;
  z-index: 1;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(232, 224, 249, 0.72);
  padding: 18px;
}

.referrals-empty__icon {
  margin-bottom: 10px;
  color: #f4e3ff;
}

.referrals-empty__title {
  font-size: 13px;
  font-weight: 700;
  color: #f4edff;
}

.referrals-directory-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  color: rgba(229, 221, 247, 0.68);
}

.referrals-member-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.referrals-member-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.referrals-member-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.referrals-member-card__identity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.referrals-member-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 900;
  color: #fff8ff;
  background: linear-gradient(135deg, rgba(183, 104, 255, 0.32), rgba(101, 140, 255, 0.22));
  border: 1px solid rgba(210, 182, 255, 0.16);
}

.referrals-member-card__main {
  min-width: 0;
}

.referrals-member-card__name {
  font-size: 14px;
  font-weight: 800;
  color: #f8f3ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.referrals-member-card__meta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(229, 221, 247, 0.66);
}

.referrals-member-card__level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 199, 119, 0.12);
  color: #ffd99a;
  border: 1px solid rgba(246, 203, 131, 0.14);
  font-weight: 800;
}

.referrals-member-card__profit {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffe4fb;
  text-align: right;
}

.referrals-member-card__stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.referrals-member-card__stat {
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(188, 162, 255, 0.1);
}

.referrals-member-card__stat span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(225, 217, 246, 0.58);
}

.referrals-member-card__stat strong {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.45;
  color: #f7f1ff;
}

.referrals-pagination {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.referrals-pagination__btn {
  min-width: 92px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f3ebff;
  font-size: 12px;
  font-weight: 800;
}

.referrals-pagination__btn:disabled {
  opacity: 0.45;
}

.referrals-pagination__label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(232, 224, 249, 0.74);
  text-align: center;
}

.referrals-balance-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.ref-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ref-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 370px) {
  .referrals-hero__title {
    font-size: 24px;
  }

  .referrals-stat-card__value {
    font-size: 19px;
  }

  .referrals-balance-hero {
    gap: 12px;
  }

  .referrals-balance-hero__value {
    font-size: 25px;
  }

  .referrals-metric-strip {
    grid-template-columns: 1fr;
  }

  .referrals-level-card__rate {
    font-size: 18px;
  }

  .referrals-member-card__stats {
    grid-template-columns: 1fr;
  }

  .referrals-section-head--actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Tasks Page ─────────────────────────────────────────────── */
.tasks-page__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 16px 22px;
}

.tasks-hero {
  padding: 2px 2px 0;
}

.tasks-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(235, 224, 255, 0.82);
  background: rgba(122, 84, 255, 0.12);
  border: 1px solid rgba(191, 163, 255, 0.18);
  box-shadow: 0 10px 28px rgba(12, 8, 28, 0.22);
}

.tasks-hero__title {
  margin: 12px 0 6px;
  font-size: 27px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f8f4ff;
}

.tasks-hero__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(228, 220, 248, 0.78);
}

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

.tasks-summary-card,
.tasks-panel,
.task-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(198, 166, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(36, 24, 82, 0.92), rgba(21, 15, 49, 0.94)),
    radial-gradient(circle at top left, rgba(180, 111, 255, 0.18), transparent 54%);
  box-shadow:
    0 16px 40px rgba(6, 4, 22, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(198, 166, 255, 0.08);
  overflow: hidden;
}

.tasks-summary-card::before,
.tasks-panel::before,
.task-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(249, 156, 255, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(107, 201, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.tasks-summary-card {
  padding: 14px 13px 15px;
}

.tasks-summary-card__icon,
.task-card__badge {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #f7e3ff;
  background: linear-gradient(135deg, rgba(197, 122, 255, 0.3), rgba(104, 151, 255, 0.18));
  border: 1px solid rgba(234, 203, 255, 0.18);
  box-shadow: 0 10px 24px rgba(50, 28, 98, 0.24);
}

.tasks-summary-card__icon .deposit-ui-icon,
.tasks-summary-card__icon .ref-icon,
.task-card__badge .deposit-ui-icon,
.task-card__badge .ref-icon {
  width: 18px;
  height: 18px;
}

.tasks-summary-card__meta,
.tasks-section-head__text {
  position: relative;
  z-index: 1;
  color: rgba(225, 217, 246, 0.72);
}

.tasks-summary-card__meta {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tasks-summary-card__value {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  font-size: clamp(16px, 4.8vw, 22px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff8ff;
  overflow-wrap: anywhere;
}

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

.tasks-panel {
  padding: 18px;
}

.tasks-section-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tasks-section-head__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #f8f2ff;
}

.tasks-section-head__text {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
}

.tasks-section-head__pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffe8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(211, 98, 255, 0.32), rgba(124, 96, 255, 0.2));
  border: 1px solid rgba(241, 170, 255, 0.24);
}

.task-card {
  --task-accent: #c67cff;
  --task-accent-soft: rgba(198, 124, 255, 0.2);
  --task-accent-edge: rgba(215, 151, 255, 0.18);
  padding: 16px;
}

.task-card--daily_bonus {
  --task-accent: #ffd774;
  --task-accent-soft: rgba(255, 215, 116, 0.18);
  --task-accent-edge: rgba(255, 233, 175, 0.18);
}

.task-card--subscribe {
  --task-accent: #f58cff;
  --task-accent-soft: rgba(245, 140, 255, 0.2);
  --task-accent-edge: rgba(255, 190, 247, 0.18);
}

.task-card--invite {
  --task-accent: #ffbf76;
  --task-accent-soft: rgba(255, 191, 118, 0.18);
  --task-accent-edge: rgba(255, 217, 167, 0.18);
}

.task-card--deposit {
  --task-accent: #77d4ff;
  --task-accent-soft: rgba(119, 212, 255, 0.18);
  --task-accent-edge: rgba(165, 225, 255, 0.18);
}

.task-card--plan {
  --task-accent: #91b7ff;
  --task-accent-soft: rgba(145, 183, 255, 0.18);
  --task-accent-edge: rgba(189, 213, 255, 0.18);
}

.task-card--activity {
  --task-accent: #8cffc7;
  --task-accent-soft: rgba(140, 255, 199, 0.16);
  --task-accent-edge: rgba(181, 255, 223, 0.18);
}

.task-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)) border-box,
    linear-gradient(135deg, var(--task-accent-edge), transparent 55%) padding-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.task-card.is-claimable {
  box-shadow:
    0 18px 44px rgba(8, 5, 26, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(219, 174, 255, 0.12),
    0 0 30px rgba(180, 110, 255, 0.14);
}

.task-card.is-claimed {
  opacity: 0.88;
}

.task-card__top,
.task-card__progress-block,
.task-card__actions,
.task-card__claimed {
  position: relative;
  z-index: 1;
}

.task-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.task-card__identity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.task-card__main {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 6px;
  align-content: start;
}

.task-card__copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.task-card__copy.is-collapsible {
  position: relative;
}

.task-card:not(.is-expanded) .task-card__copy.is-collapsible::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(20, 11, 46, 0) 0%, rgba(20, 11, 46, 0.92) 100%);
  pointer-events: none;
}

.task-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.task-card__type,
.task-card__state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-card__type {
  color: rgba(241, 233, 255, 0.84);
  background: var(--task-accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.task-card__state {
  color: rgba(227, 219, 245, 0.76);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(188, 162, 255, 0.1);
}

.task-card.is-claimable .task-card__state {
  color: #fff4de;
  background: rgba(255, 199, 119, 0.12);
  border-color: rgba(246, 203, 131, 0.16);
}

.task-card__title {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  color: #f8f3ff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.task-card__desc {
  font-size: 12px;
  line-height: 1.48;
  color: rgba(229, 221, 247, 0.72);
  min-height: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.task-card.is-expanded .task-card__title,
.task-card.is-expanded .task-card__desc {
  display: block;
  -webkit-line-clamp: initial;
  overflow: visible;
}

.task-card__reward {
  flex-shrink: 0;
  min-width: 98px;
  padding: 10px 12px;
  border-radius: 18px;
  text-align: right;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(188, 162, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.task-card__reward span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(227, 219, 245, 0.54);
}

.task-card__reward strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffe4fb;
  overflow-wrap: anywhere;
}

.task-card__toggle {
  justify-self: flex-start;
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin-top: 2px;
  color: rgba(245, 217, 139, 0.92);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.task-card__toggle:active {
  transform: translateY(1px);
}

.task-card__progress-block {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(188, 162, 255, 0.12);
}

.task-card__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.task-card__progress-meta span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(225, 217, 246, 0.56);
}

.task-card__progress-meta strong {
  font-size: 12px;
  font-weight: 800;
  color: #f8f3ff;
}

.task-card__progress-bar {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.task-card__progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--task-accent), #f7a9ff);
  box-shadow: 0 0 18px rgba(245, 156, 255, 0.2);
  transition: width 0.6s ease;
}

.task-card__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.task-card__action,
.task-card__claim {
  border: 0;
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  min-width: 0;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.task-card__action:disabled,
.task-card__claim:disabled {
  opacity: 0.65;
  cursor: default;
}

.task-card__action:not(:disabled):active,
.task-card__claim:not(:disabled):active {
  transform: translateY(1px);
}

.task-card__action--soft {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(188, 162, 255, 0.14);
  color: #f3ecff;
}

.task-card__action--primary {
  color: #fff7ff;
  background: linear-gradient(135deg, rgba(210, 104, 255, 0.94), rgba(136, 118, 255, 0.9));
  box-shadow:
    0 12px 24px rgba(108, 54, 173, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.task-card__claim {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 12px;
  color: #271127;
  background: linear-gradient(135deg, #f3d98b, #e1b85a);
  box-shadow:
    0 16px 28px rgba(120, 75, 16, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.task-card__claim .deposit-ui-icon,
.task-card__claimed .deposit-ui-icon {
  width: 15px;
  height: 15px;
}

.task-card__claimed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #aef2c6;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 560px) {
  .withdraw-quote-card__grid {
    grid-template-columns: 1fr;
  }

  .task-card__top {
    grid-template-columns: 1fr;
  }

  .task-card__reward {
    min-width: 0;
    width: 100%;
    text-align: left;
  }
}

.tasks-empty {
  position: relative;
  z-index: 1;
  min-height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 20px 18px;
  border-radius: 20px;
  border: 1px dashed rgba(188, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.tasks-empty__icon {
  color: #f3e7ff;
}

.tasks-empty__title {
  font-size: 14px;
  font-weight: 800;
  color: #f8f2ff;
}

.tasks-empty__text {
  max-width: 250px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(228, 220, 248, 0.72);
}

@media (max-width: 370px) {
  .tasks-summary-grid {
    gap: 8px;
  }

  .tasks-summary-card {
    padding: 13px 11px 14px;
  }

  .tasks-summary-card__value {
    font-size: 18px;
  }

  .tasks-section-head {
    flex-direction: column;
  }

  .task-card__top {
    grid-template-columns: 1fr;
  }

  .task-card__reward {
    width: 100%;
    min-width: 0;
    text-align: left;
  }
}

/* ── Notifications ──────────────────────────────────────────── */
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.notif-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  transition: var(--transition);
  position: relative;
}

.notif-item.unread {
  background: rgba(139,92,246,0.06);
  border-color: rgba(139,92,246,0.25);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--purple-light);
  border-radius: 0 2px 2px 0;
}

.notif-icon-wrap {
  font-size: 22px;
  flex-shrink: 0;
}

.notif-body { flex: 1; min-width: 0; }

.notif-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.notif-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.notif-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Support ────────────────────────────────────────────────── */
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
}

.ticket-item {
  width: 100%;
  appearance: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  color: var(--text-primary);
}

.ticket-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.ticket-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ticket-status-dot.open     { background: var(--warning); }
.ticket-status-dot.answered { background: var(--green); }
.ticket-status-dot.closed   { background: var(--text-muted); }

.ticket-subject {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-main {
  flex: 1;
  min-width: 0;
}

.ticket-meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.ticket-date {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.support-ticket-modal {
  background:
    radial-gradient(circle at 50% -18%, rgba(186, 110, 255, 0.24) 0%, rgba(186, 110, 255, 0) 34%),
    linear-gradient(180deg, rgba(36, 18, 78, 0.98) 0%, rgba(18, 10, 48, 0.99) 100%);
}

.support-ticket-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.support-ticket-modal__subject {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.support-ticket-modal__status {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.84);
}

.support-ticket-modal__status.is-open {
  background: rgba(255, 196, 76, 0.14);
  color: #ffd77a;
}

.support-ticket-modal__status.is-answered {
  background: rgba(87, 214, 146, 0.14);
  color: #7ef0aa;
}

.support-ticket-modal__status.is-closed {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
}

.support-ticket-modal__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.support-ticket-modal__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 48dvh;
  overflow-y: auto;
  margin-bottom: 14px;
  padding-right: 4px;
}

.support-ticket-modal__message {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
}

.support-ticket-modal__message.is-admin {
  background: rgba(118, 92, 255, 0.12);
  border-color: rgba(170, 144, 255, 0.18);
}

.support-ticket-modal__message-role {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.support-ticket-modal__message-body {
  font-size: 14px;
  line-height: 1.55;
  color: #f9f4ff;
}

.support-ticket-modal__message-time,
.support-ticket-modal__empty {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

.support-ticket-modal__composer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.035) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.support-ticket-modal__textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8, 11, 28, 0.72);
  padding: 14px 16px;
  line-height: 1.55;
  color: #f9f4ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.support-ticket-modal__textarea::placeholder {
  color: rgba(255,255,255,0.42);
}

.support-ticket-modal__textarea:focus {
  border-color: rgba(170, 144, 255, 0.46);
  background: rgba(10, 14, 34, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 3px rgba(128, 90, 213, 0.18);
}

.support-ticket-modal__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.support-ticket-modal__actions .btn {
  min-height: 46px;
}

.support-ticket-modal__closed-note {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
}

@media (max-width: 560px) {
  .support-ticket-modal__actions {
    grid-template-columns: 1fr;
  }
}

/* ── Profile Page ───────────────────────────────────────────── */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px 16px;
  text-align: center;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: white;
  box-shadow: var(--shadow-purple);
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 20px;
  font-weight: 800;
}

.profile-username {
  font-size: 13px;
  color: var(--text-secondary);
}

.profile-id {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
}

.profile-menu-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.profile-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--purple-muted);
  flex-shrink: 0;
}

.profile-menu-text { flex: 1; }

.profile-menu-label {
  font-size: 14px;
  font-weight: 600;
}

.profile-menu-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.profile-menu-arrow {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── News ───────────────────────────────────────────────────── */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.news-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.news-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.news-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.news-preview {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Onboarding ─────────────────────────────────────────────── */
.onboarding {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding:
    calc(env(safe-area-inset-top, 0px) + 18px)
    18px
    calc(env(safe-area-inset-bottom, 0px) + 20px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -8%, rgba(237, 181, 255, 0.16) 0%, rgba(237, 181, 255, 0) 34%),
    radial-gradient(circle at 12% 24%, rgba(146, 114, 255, 0.18) 0%, rgba(146, 114, 255, 0) 28%),
    radial-gradient(circle at 88% 72%, rgba(122, 172, 255, 0.14) 0%, rgba(122, 172, 255, 0) 26%),
    linear-gradient(180deg, rgba(19, 10, 44, 0.94) 0%, rgba(10, 6, 26, 0.98) 100%);
}

.onboarding-flow {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.onboarding-space {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.onboarding-space__glow,
.onboarding-space__beam {
  position: absolute;
  display: block;
}

.onboarding-space__glow {
  border-radius: 50%;
  filter: blur(26px);
}

.onboarding-space__glow--one {
  top: 3%;
  left: -16%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(221, 110, 255, 0.18) 0%, rgba(221, 110, 255, 0) 72%);
}

.onboarding-space__glow--two {
  right: -18%;
  bottom: 10%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(122, 123, 255, 0.18) 0%, rgba(122, 123, 255, 0) 72%);
}

.onboarding-space__beam {
  left: 50%;
  top: 11%;
  width: 88%;
  height: 360px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at top, rgba(255, 196, 126, 0.18) 0%, rgba(255, 196, 126, 0.06) 18%, rgba(255, 196, 126, 0) 72%),
    linear-gradient(180deg, rgba(210, 145, 255, 0.1) 0%, rgba(210, 145, 255, 0) 100%);
  filter: blur(14px);
  opacity: 0.82;
}

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

.onboarding-progress {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.onboarding-progress__count {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(233, 218, 255, 0.62);
}

.onboarding-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.onboarding-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform .22s ease, width .22s ease, background .22s ease;
}

.onboarding-dot.active {
  width: 28px;
  background: linear-gradient(90deg, rgba(240, 182, 86, 0.92) 0%, rgba(243, 217, 139, 0.98) 100%);
  box-shadow:
    0 0 12px rgba(241, 191, 101, 0.24),
    0 0 22px rgba(191, 132, 255, 0.16);
}

.onboarding-skip {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(226, 194, 255, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: rgba(245, 236, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.onboarding-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.onboarding-hero-card,
.onboarding-copy-card {
  position: relative;
  border: 1px solid rgba(220, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 36%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.94) 0%, rgba(14, 8, 34, 0.98) 100%);
  box-shadow:
    0 18px 38px rgba(4, 2, 15, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 24px rgba(176, 108, 255, 0.1);
  overflow: hidden;
}

.onboarding-hero-card::before,
.onboarding-copy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0));
  pointer-events: none;
}

.onboarding-hero-card {
  min-height: 314px;
  border-radius: 32px;
  background:
    radial-gradient(220px 120px at 50% 10%, rgba(254, 202, 127, 0.12) 0%, rgba(254, 202, 127, 0.03) 24%, rgba(254, 202, 127, 0) 72%),
    radial-gradient(280px 220px at 0% 100%, rgba(214, 118, 255, 0.12) 0%, rgba(214, 118, 255, 0) 68%),
    radial-gradient(280px 200px at 100% 0%, rgba(104, 116, 255, 0.16) 0%, rgba(104, 116, 255, 0) 72%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.016) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 1) 100%);
}

.onboarding-hero-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  min-height: 31px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(232, 177, 91, 0.92) 0%, rgba(243, 217, 139, 0.94) 100%);
  color: #482a11;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 12px 24px rgba(31, 12, 36, 0.24);
}

.onboarding-hero-card__visual {
  position: relative;
  min-height: 314px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 18px 22px;
}

.onboarding-hero-card__glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(16px);
}

.onboarding-hero-card__glow--one {
  width: 170px;
  height: 170px;
  top: 14%;
  left: -6%;
  background: radial-gradient(circle, rgba(206, 119, 255, 0.18) 0%, rgba(206, 119, 255, 0) 72%);
}

.onboarding-hero-card__glow--two {
  width: 180px;
  height: 180px;
  right: -8%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(122, 123, 255, 0.18) 0%, rgba(122, 123, 255, 0) 72%);
}

.onboarding-core {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-core__halo,
.onboarding-core__ring,
.onboarding-core__grid,
.onboarding-core__icon {
  position: absolute;
}

.onboarding-core__halo {
  inset: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242, 187, 96, 0.16) 0%, rgba(242, 187, 96, 0.04) 42%, rgba(242, 187, 96, 0) 74%),
    radial-gradient(circle, rgba(182, 120, 255, 0.24) 0%, rgba(182, 120, 255, 0) 72%);
  filter: blur(12px);
}

.onboarding-core__ring {
  border-radius: 50%;
  border: 1px solid rgba(226, 194, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 20px rgba(176, 108, 255, 0.08);
}

.onboarding-core__ring--one {
  inset: 12px;
}

.onboarding-core__ring--two {
  inset: 34px;
  border-style: dashed;
  border-color: rgba(255, 230, 189, 0.14);
  animation: onboardingSpin 14s linear infinite;
}

.onboarding-core__ring--three {
  inset: 62px;
  border-color: rgba(176, 108, 255, 0.22);
}

.onboarding-core__grid {
  inset: 24px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.04) 50%, transparent 52%),
    linear-gradient(180deg, transparent 48%, rgba(255,255,255,0.04) 50%, transparent 52%);
  opacity: 0.8;
}

.onboarding-core__icon {
  width: 84px;
  height: 84px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  color: #fff8ff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(108, 68, 191, 0.72) 0%, rgba(49, 27, 101, 0.84) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 18px 34px rgba(10, 4, 24, 0.26),
    0 0 28px rgba(193, 135, 255, 0.18);
}

.onboarding-core__icon .deposit-ui-icon {
  width: 36px;
  height: 36px;
}

.onboarding-core__icon .deposit-ui-icon svg {
  width: 100%;
  height: 100%;
}

.onboarding-core--launch .onboarding-core__icon {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(115, 74, 216, 0.8) 0%, rgba(54, 30, 112, 0.9) 100%);
}

.onboarding-core--plan .onboarding-core__icon {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(205, 153, 83, 0.82) 0%, rgba(112, 74, 28, 0.92) 100%);
  color: #fffdf6;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 18px 34px rgba(18, 6, 18, 0.26),
    0 0 28px rgba(243, 196, 104, 0.2);
}

.onboarding-core--control .onboarding-core__icon {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(72, 128, 226, 0.78) 0%, rgba(34, 69, 148, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 18px 34px rgba(10, 4, 24, 0.26),
    0 0 28px rgba(116, 173, 255, 0.18);
}

.onboarding-visual-tags {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.onboarding-visual-tag {
  position: absolute;
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(224, 191, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 28%, rgba(255,255,255,0) 100%),
    rgba(38, 21, 81, 0.82);
  color: rgba(248, 239, 255, 0.84);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 20px rgba(9, 4, 24, 0.2);
  white-space: nowrap;
}

.onboarding-visual-tag--1 {
  top: 56px;
  left: 16px;
}

.onboarding-visual-tag--2 {
  top: 92px;
  right: 18px;
}

.onboarding-visual-tag--3 {
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.onboarding-copy-card {
  padding: 18px 16px 16px;
  border-radius: 28px;
}

.onboarding-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.58);
}

.onboarding-title {
  margin: 8px 0 0;
  white-space: pre-line;
  font-size: 32px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #f9f2ff;
  background: linear-gradient(180deg, #fffafc 0%, rgba(248, 240, 255, 0.76) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.onboarding-text {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(232, 221, 255, 0.74);
  line-height: 1.56;
}

.onboarding-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.onboarding-chip {
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(224, 191, 255, 0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(242, 232, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.onboarding-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.onboarding-feature {
  min-width: 0;
  min-height: 76px;
  padding: 12px 12px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 22px;
  border: 1px solid rgba(224, 191, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 24%, rgba(255,255,255,0) 100%),
    rgba(255,255,255,0.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 20px rgba(8, 4, 20, 0.14);
}

.onboarding-feature__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #f8ecff;
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 34%, rgba(255,255,255,0) 74%),
    linear-gradient(180deg, rgba(126, 79, 212, 0.46) 0%, rgba(63, 36, 128, 0.28) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 14px rgba(178, 117, 255, 0.12);
}

.onboarding-feature__icon .deposit-ui-icon {
  width: 19px;
  height: 19px;
}

.onboarding-feature__icon .deposit-ui-icon svg {
  width: 100%;
  height: 100%;
}

.onboarding-feature__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.onboarding-feature__label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.5);
}

.onboarding-feature__value {
  font-size: 12px;
  line-height: 1.24;
  font-weight: 800;
  color: #fff6ff;
  word-break: break-word;
}

.onboarding-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.onboarding-metric {
  min-width: 0;
  min-height: 70px;
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(224, 191, 255, 0.08);
}

.onboarding-metric__label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.52);
}

.onboarding-metric__value {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
  color: #fff6ff;
  word-break: break-word;
}

.onboarding-summary {
  margin-top: 16px;
  padding: 15px 15px 14px;
  border-radius: 24px;
  border: 1px solid rgba(224, 191, 255, 0.1);
  background:
    radial-gradient(120px 80px at 100% 0%, rgba(245, 197, 112, 0.12) 0%, rgba(245, 197, 112, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    rgba(255,255,255,0.03);
}

.onboarding-summary__label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.56);
}

.onboarding-summary__title {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff6ff;
}

.onboarding-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.onboarding-summary__meta span {
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: rgba(236, 226, 255, 0.74);
  font-size: 10px;
  font-weight: 700;
}

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

.onboarding-primary {
  min-height: 60px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 22%, rgba(255,255,255,0) 52%),
    linear-gradient(135deg, rgba(214, 168, 88, 0.96) 0%, rgba(243, 217, 139, 0.98) 100%);
  color: #482a11;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 16px 32px rgba(24, 10, 37, 0.26),
    0 0 24px rgba(243, 196, 104, 0.12);
}

.onboarding-primary span:first-child {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.onboarding-primary__arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(72, 42, 17, 0.12);
}

.onboarding-primary__arrow .ui-icon {
  width: 16px;
  height: 16px;
  transform: translateX(1px);
}

.onboarding-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: rgba(232, 221, 255, 0.54);
}

.onboarding-flow,
.onboarding-hero-card,
.onboarding-copy-card,
.onboarding-skip,
.onboarding-primary {
  transform: translateZ(0);
}

.onboarding--simple {
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(180px 180px at 20% 18%, rgba(195, 115, 255, 0.14) 0%, rgba(195, 115, 255, 0) 72%),
    radial-gradient(240px 220px at 84% 82%, rgba(94, 125, 255, 0.16) 0%, rgba(94, 125, 255, 0) 72%),
    linear-gradient(180deg, rgba(18, 9, 43, 0.52) 0%, rgba(8, 5, 22, 0.82) 100%),
    url('/assets/img/bg.webp') center/cover no-repeat;
}

.onboarding-minimal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 382px;
  min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 26px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
}

.onboarding-minimal .onboarding-skip {
  align-self: flex-end;
}

.onboarding-tabs {
  display: flex;
  gap: 8px;
}

.onboarding-tab {
  flex: 1 1 0;
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(226, 194, 255, 0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(239, 229, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  appearance: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.onboarding-tab.active {
  border-color: rgba(241, 199, 110, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(232, 177, 91, 0.18) 0%, rgba(243, 217, 139, 0.12) 100%);
  color: #fff7ea;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 18px rgba(243, 196, 104, 0.08);
}

.onboarding-minimal__hero {
  position: relative;
  padding: 26px 20px 22px;
  border-radius: 32px;
  border: 1px solid rgba(220, 184, 255, 0.14);
  background:
    radial-gradient(180px 110px at 50% 10%, rgba(254, 202, 127, 0.1) 0%, rgba(254, 202, 127, 0) 72%),
    radial-gradient(220px 170px at 0% 100%, rgba(214, 118, 255, 0.12) 0%, rgba(214, 118, 255, 0) 68%),
    radial-gradient(220px 170px at 100% 0%, rgba(104, 116, 255, 0.12) 0%, rgba(104, 116, 255, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
  box-shadow:
    0 18px 36px rgba(4, 2, 15, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 24px rgba(176, 108, 255, 0.1);
  overflow: hidden;
}

.onboarding-minimal__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0));
  pointer-events: none;
}

.onboarding-minimal__copy {
  text-align: center;
}

.onboarding-minimal__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f9f2ff;
  background: linear-gradient(180deg, #fffafc 0%, rgba(248, 240, 255, 0.76) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.onboarding-minimal__text {
  margin: 10px auto 0;
  max-width: 278px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(232, 221, 255, 0.74);
}

.onboarding-figure {
  position: relative;
  margin-top: 18px;
  min-height: 236px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-figure__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.onboarding-figure__glow--one {
  width: 150px;
  height: 150px;
  left: 7%;
  top: 12%;
  background: radial-gradient(circle, rgba(210, 112, 255, 0.16) 0%, rgba(210, 112, 255, 0) 72%);
}

.onboarding-figure__glow--two {
  width: 176px;
  height: 176px;
  right: 2%;
  bottom: 2%;
  background: radial-gradient(circle, rgba(114, 138, 255, 0.16) 0%, rgba(114, 138, 255, 0) 72%);
}

.onboarding-figure__panel {
  position: relative;
  width: min(100%, 270px);
  aspect-ratio: 1 / 0.82;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 1px solid rgba(224, 191, 255, 0.1);
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 26%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(48, 28, 102, 0.76) 0%, rgba(21, 12, 49, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 40px rgba(8, 3, 20, 0.26);
  overflow: hidden;
}

.onboarding-figure__panel::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}

.onboarding-figure__orb {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(241, 191, 101, 0.2) 0%, rgba(241, 191, 101, 0.06) 40%, rgba(241, 191, 101, 0) 72%),
    radial-gradient(circle, rgba(176, 108, 255, 0.24) 0%, rgba(176, 108, 255, 0) 72%);
  filter: blur(10px);
}

.onboarding-figure__icon-wrap {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  color: #fff8ff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(115, 74, 216, 0.8) 0%, rgba(54, 30, 112, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 20px 36px rgba(10, 4, 24, 0.28),
    0 0 28px rgba(193, 135, 255, 0.18);
  text-align: center;
}

.onboarding-figure__icon-wrap .deposit-ui-icon {
  width: 42px;
  height: 42px;
}

.onboarding-figure__icon-wrap .deposit-ui-icon svg {
  width: 100%;
  height: 100%;
}

.onboarding-primary--simple {
  min-height: 62px;
  margin-top: auto;
}

body.onboarding-shell .top-bar,
body.onboarding-shell .bottom-nav,
#app.onboarding-shell .top-bar,
#app.onboarding-shell .bottom-nav {
  display: none;
}

body.onboarding-shell #main-content,
#app.onboarding-shell #main-content {
  padding-top: 0;
}

@media (max-height: 760px) {
  .onboarding {
    padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  }

  .onboarding-flow {
    gap: 14px;
  }

  .onboarding-minimal {
    min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 22px);
    gap: 14px;
  }

  .onboarding-tabs {
    gap: 7px;
  }

  .onboarding-minimal__hero {
    padding: 22px 18px 20px;
  }

  .onboarding-primary {
    min-height: 58px;
  }

  .onboarding-minimal__title {
    font-size: 28px;
  }

  .onboarding-minimal__text {
    font-size: 13px;
  }

  .onboarding-figure {
    min-height: 208px;
  }

  .onboarding-figure__panel {
    width: min(100%, 240px);
  }

  .onboarding-figure__orb {
    width: 148px;
    height: 148px;
  }
}

@media (max-width: 380px) {
  .onboarding {
    padding-left: 15px;
    padding-right: 15px;
  }

  .onboarding-tabs {
    gap: 6px;
  }

  .onboarding-tab {
    min-height: 36px;
    padding: 0 8px;
    font-size: 10px;
  }

  .onboarding-minimal__hero {
    padding: 20px 16px 18px;
    border-radius: 28px;
  }

  .onboarding-minimal__title {
    font-size: 26px;
  }

  .onboarding-minimal__text {
    max-width: 250px;
    font-size: 13px;
  }

  .onboarding-figure {
    min-height: 188px;
  }

  .onboarding-figure__panel {
    width: min(100%, 224px);
    border-radius: 28px;
  }

  .onboarding-figure__icon-wrap {
    width: 74px;
    height: 74px;
    border-radius: 28px;
  }
}

.onboarding--premium {
  background:
    radial-gradient(circle at 50% -6%, rgba(237, 181, 255, 0.18) 0%, rgba(237, 181, 255, 0) 32%),
    radial-gradient(circle at 10% 22%, rgba(157, 121, 255, 0.18) 0%, rgba(157, 121, 255, 0) 26%),
    radial-gradient(circle at 88% 74%, rgba(102, 170, 255, 0.16) 0%, rgba(102, 170, 255, 0) 26%),
    linear-gradient(180deg, rgba(20, 10, 46, 0.94) 0%, rgba(9, 5, 24, 0.98) 100%);
}

.onboarding-flow--premium {
  max-width: 394px;
  gap: 14px;
  justify-content: flex-start;
}

.onboarding-flow--premium .onboarding-topline {
  align-items: flex-start;
}

.onboarding-tabs--premium {
  padding: 4px;
  border-radius: 24px;
  border: 1px solid rgba(220, 184, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    rgba(20, 11, 49, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 26px rgba(7, 3, 19, 0.16);
}

.onboarding-tabs--premium .onboarding-tab {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: rgba(239, 229, 255, 0.56);
  box-shadow: none;
}

.onboarding-tabs--premium .onboarding-tab.active {
  border: 1px solid rgba(243, 196, 104, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(232, 177, 91, 0.18) 0%, rgba(243, 217, 139, 0.12) 100%);
  color: #fff7ea;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 18px rgba(243, 196, 104, 0.08);
}

.onboarding-stage--premium {
  gap: 12px;
}

.onboarding-hero-card--premium {
  min-height: 300px;
}

.onboarding-hero-card--premium .onboarding-hero-card__visual {
  min-height: 300px;
  padding-top: 62px;
}

.onboarding-copy-card--premium {
  border-radius: 30px;
  padding: 18px 16px 16px;
}

.onboarding-copy-card--premium .onboarding-title {
  margin-top: 10px;
  font-size: 34px;
}

.onboarding-copy-card--premium .onboarding-text {
  margin-top: 12px;
  font-size: 13px;
}

.onboarding-copy-card--premium .onboarding-chip-row {
  margin-top: 16px;
}

.onboarding-actions--premium {
  margin-top: 16px;
}

.onboarding-actions--premium .onboarding-primary {
  min-height: 62px;
  border-radius: 22px;
}

.onboarding--premium .onboarding-note {
  margin-top: 12px;
}

@media (max-height: 760px) {
  .onboarding-flow--premium {
    gap: 12px;
  }

  .onboarding-hero-card--premium {
    min-height: 276px;
  }

  .onboarding-hero-card--premium .onboarding-hero-card__visual {
    min-height: 276px;
    padding-top: 58px;
  }

  .onboarding-copy-card--premium .onboarding-title {
    font-size: 30px;
  }
}

@media (max-width: 380px) {
  .onboarding-tabs--premium {
    padding: 3px;
  }

  .onboarding-tabs--premium .onboarding-tab {
    min-height: 38px;
  }

  .onboarding-hero-card--premium {
    min-height: 252px;
  }

  .onboarding-hero-card--premium .onboarding-hero-card__visual {
    min-height: 252px;
    padding-top: 52px;
  }

  .onboarding-copy-card--premium {
    padding: 16px 14px 14px;
  }

  .onboarding-copy-card--premium .onboarding-title {
    font-size: 29px;
  }
}

.onboarding--clean {
  background:
    linear-gradient(180deg, rgba(18, 9, 43, 0.46) 0%, rgba(8, 5, 22, 0.82) 100%),
    url('/assets/img/bg.webp') center/cover no-repeat;
}

.onboarding-simple {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 388px;
  min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 22px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onboarding-simple__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.onboarding-progress--simple {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.onboarding-tabs--clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border-radius: 24px;
  border: 1px solid rgba(220, 184, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 24%, rgba(255,255,255,0) 100%),
    rgba(18, 10, 43, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 26px rgba(7, 3, 19, 0.14);
}

.onboarding-tabs--clean .onboarding-tab {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: rgba(239, 229, 255, 0.56);
  box-shadow: none;
}

.onboarding-tabs--clean .onboarding-tab.active {
  border: 1px solid rgba(243, 196, 104, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, rgba(232, 177, 91, 0.18) 0%, rgba(243, 217, 139, 0.12) 100%);
  color: #fff7ea;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 18px rgba(243, 196, 104, 0.08);
}

.onboarding-simple__card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 18px 18px;
  border-radius: 32px;
  border: 1px solid rgba(220, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
  box-shadow:
    0 20px 40px rgba(4, 2, 15, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 24px rgba(176, 108, 255, 0.08);
  overflow: hidden;
}

.onboarding-simple__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.onboarding-simple__card--launch {
  background:
    radial-gradient(220px 140px at 50% 0%, rgba(244, 198, 116, 0.12) 0%, rgba(244, 198, 116, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
}

.onboarding-simple__card--plan {
  background:
    radial-gradient(220px 160px at 88% 18%, rgba(244, 198, 116, 0.12) 0%, rgba(244, 198, 116, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
}

.onboarding-simple__card--income {
  background:
    radial-gradient(220px 160px at 12% 18%, rgba(102, 170, 255, 0.12) 0%, rgba(102, 170, 255, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(35, 18, 79, 0.96) 0%, rgba(14, 8, 34, 0.98) 100%);
}

.onboarding-simple__copy {
  text-align: center;
}

.onboarding-simple__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #f9f2ff;
  background: linear-gradient(180deg, #fffafc 0%, rgba(248, 240, 255, 0.76) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.onboarding-simple__text {
  margin: 12px auto 0;
  max-width: 288px;
  font-size: 14px;
  line-height: 1.58;
  color: rgba(232, 221, 255, 0.76);
}

.onboarding-simple__figure {
  position: relative;
  flex: 1;
  min-height: 252px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 0 0;
}

.onboarding-simple__figure::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 72%;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 121, 255, 0.26) 0%, rgba(188, 121, 255, 0) 72%);
  filter: blur(12px);
}

.onboarding-simple__image {
  position: relative;
  z-index: 1;
  width: min(100%, 250px);
  max-height: 248px;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(10, 4, 24, 0.26));
}

.onboarding-simple__actions {
  margin-top: auto;
}

.onboarding-primary--clean {
  min-height: 62px;
  border-radius: 22px;
}

@media (max-height: 760px) {
  .onboarding-simple {
    min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 18px);
    gap: 14px;
  }

  .onboarding-simple__card {
    gap: 18px;
    padding: 22px 16px 16px;
  }

  .onboarding-simple__title {
    font-size: 30px;
  }

  .onboarding-simple__figure {
    min-height: 214px;
  }

  .onboarding-simple__image {
    width: min(100%, 220px);
    max-height: 214px;
  }
}

@media (max-width: 380px) {
  .onboarding-simple {
    max-width: 100%;
    gap: 14px;
  }

  .onboarding-tabs--clean {
    gap: 6px;
    padding: 3px;
  }

  .onboarding-tabs--clean .onboarding-tab {
    min-height: 38px;
    padding: 0 8px;
    font-size: 10px;
  }

  .onboarding-simple__card {
    padding: 20px 15px 15px;
    border-radius: 28px;
  }

  .onboarding-simple__title {
    font-size: 30px;
  }

  .onboarding-simple__text {
    max-width: 260px;
    font-size: 13px;
  }

  .onboarding-simple__figure {
    min-height: 196px;
  }

  .onboarding-simple__image {
    width: min(100%, 204px);
    max-height: 196px;
  }
}

@keyframes onboardingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── New Onboarding (ob2) — story-style full-screen ─────────── */
.ob2 {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #05030e;
  overflow: hidden;
  z-index: 1;
}

.ob2-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ob2-scene__image,
.ob2-scene__veil,
.ob2-scene__grid,
.ob2-scene__glow {
  position: absolute;
  inset: 0;
}

.ob2-scene__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) brightness(0.98) contrast(1.03);
  transform: scale(1.05);
  animation: ob2SceneDrift 18s ease-in-out infinite;
}

.ob2-scene__veil {
  background:
    radial-gradient(circle at 52% 24%, rgba(124,58,237,0.18) 0%, rgba(124,58,237,0) 26%),
    radial-gradient(circle at 16% 72%, rgba(124,58,237,0.08) 0%, rgba(124,58,237,0) 22%),
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.02) 100%);
}

.ob2-scene__grid {
  left: -18%;
  right: -18%;
  top: auto;
  bottom: -8%;
  height: 42vh;
  min-height: 260px;
  background:
    linear-gradient(rgba(191,168,255,0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,168,255,0.11) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.16;
  transform: perspective(920px) rotateX(78deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.14) 16%, rgba(0,0,0,0.9) 52%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.14) 16%, rgba(0,0,0,0.9) 52%, rgba(0,0,0,0) 100%);
}

.ob2-scene__glow {
  filter: blur(56px);
  opacity: 0.9;
}

.ob2-scene__glow--violet {
  inset: 8% auto auto 50%;
  width: 260px;
  height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124,58,237,0.34) 0%, rgba(124,58,237,0) 72%);
}

.ob2-scene__glow--gold {
  inset: auto auto 14% 10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(245,158,11,0.16) 0%, rgba(245,158,11,0) 70%);
}

.ob2-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  padding:
    calc(env(safe-area-inset-top, 0px) + 12px)
    18px
    0;
}

.ob2-skip {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(11,9,27,0.24);
  color: rgba(255,255,255,0.86);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-display);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 6px 20px rgba(0,0,0,0.12);
  cursor: pointer;
}

.ob2-body {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  align-self: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding:
    calc(env(safe-area-inset-top, 0px) + 78px)
    24px
    calc(env(safe-area-inset-bottom, 0px) + 24px);
}

.ob2-copy,
.ob2-footer {
  animation: ob2FadeRise 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ob2-footer {
  animation-delay: 0.06s;
}

.ob2-copy {
  width: min(100%, 340px);
  margin-top: clamp(48px, 13vh, 136px);
}

.ob2-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 0 13px 0 11px;
  margin: 0 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(178,141,255,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0)),
    rgba(24,14,54,0.26);
  color: rgba(182,145,255,0.98);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-display);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(124,58,237,0.08);
}

.ob2-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #9b6cff;
}

.ob2-title {
  margin: 0;
  font-size: clamp(42px, 11vw, 58px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.038em;
  font-family: var(--font-display);
  text-wrap: balance;
}

.ob2-title__line {
  display: block;
  background: linear-gradient(125deg, #462072 0%, #ffffff 38%, #d2b6ff 68%, #f2bf64 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ob2-title__line--accent {
  background: linear-gradient(125deg, #5b21b6 0%, #f8f2ff 34%, #b68cff 68%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(124,58,237,0.14));
}

.ob2-sub {
  position: relative;
  margin: 20px 0 0;
  max-width: 32ch;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.66;
  color: rgba(240,233,255,0.74);
  text-wrap: pretty;
}

.ob2-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(124,58,237,0.12) 0%, rgba(180,141,255,0.95) 48%, rgba(245,158,11,0.42) 100%);
  box-shadow:
    0 0 10px rgba(124,58,237,0.18),
    0 0 18px rgba(124,58,237,0.08);
}

.ob2-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.ob2-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  align-self: flex-start;
}

.ob2-dot {
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: rgba(180,141,255,0.18);
  transition: all 0.26s ease;
}

.ob2-dot--active {
  width: 28px;
  background: linear-gradient(90deg, rgba(124,58,237,0.92), rgba(180,141,255,0.98));
  box-shadow: 0 0 12px rgba(124,58,237,0.24);
}

.ob2-dot--done {
  background: rgba(180,141,255,0.42);
}

.ob2-cta {
  width: 100%;
  min-height: 58px;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(135deg, #6e39eb 0%, #8550f6 46%, #a469ff 100%);
  color: white;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 14px 32px rgba(124,58,237,0.28),
    0 0 28px rgba(124,58,237,0.22),
    inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.ob2-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 58%);
  pointer-events: none;
}

.ob2-cta:active {
  transform: scale(0.97);
  box-shadow:
    0 8px 18px rgba(124,58,237,0.2),
    0 0 18px rgba(124,58,237,0.16);
}

.ob2-cta__text {
  position: relative;
  z-index: 1;
  letter-spacing: 0.03em;
}

.ob2-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ob2-cta--final {
  background: linear-gradient(135deg, #6c35ea 0%, #8d55ff 52%, #bb88ff 100%);
  box-shadow:
    0 16px 36px rgba(124,58,237,0.34),
    0 0 34px rgba(124,58,237,0.24),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.ob2-cta--final:active {
  box-shadow:
    0 8px 18px rgba(124,58,237,0.24),
    0 0 18px rgba(124,58,237,0.18);
}

@keyframes ob2SceneDrift {
  0%, 100% { transform: scale(1.05) translate3d(0, 0, 0); }
  50% { transform: scale(1.09) translate3d(0, -10px, 0); }
}

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

@media (max-height: 760px) {
  .ob2-body {
    padding-top: calc(env(safe-area-inset-top, 0px) + 72px);
  }

  .ob2-copy {
    margin-top: clamp(30px, 8vh, 88px);
  }

  .ob2-title {
    font-size: clamp(36px, 10vw, 48px);
  }

  .ob2-sub {
    font-size: 14px;
    line-height: 1.58;
  }
}

@media (max-width: 380px) {
  .ob2-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ob2-copy {
    width: min(100%, 300px);
  }

  .ob2-title {
    font-size: 38px;
  }

  .ob2-sub {
    font-size: 14px;
  }

  .ob2-cta {
    min-height: 56px;
    padding-left: 18px;
  }
}

/* ── Toast Notifications ────────────────────────────────────── */
#toast-container {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: calc(var(--max-width) - 32px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: rgba(13,11,30,0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  pointer-events: all;
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(20px);
  animation: toastIn 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.toast-out {
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.toast-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.toast-body { flex: 1; }

.toast-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 1px;
}

.toast-message {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.toast.success { border-color: rgba(16,185,129,0.4); }
.toast.success .toast-icon { color: var(--green); }

.toast.error { border-color: rgba(239,68,68,0.4); }
.toast.error .toast-icon { color: var(--red); }

.toast.warning { border-color: rgba(245,158,11,0.4); }
.toast.warning .toast-icon { color: var(--warning); }

.toast.info { border-color: rgba(139,92,246,0.4); }
.toast.info .toast-icon { color: var(--purple-light); }

/* ── Modals ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  margin: 0 auto 18px;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
  border: 1px solid var(--border);
}

.lang-picker {
  background:
    radial-gradient(circle at 50% -20%, rgba(185, 118, 255, 0.24) 0%, rgba(185, 118, 255, 0) 38%),
    linear-gradient(180deg, rgba(37, 18, 79, 0.98) 0%, rgba(18, 10, 48, 0.99) 100%);
  border-top-color: rgba(214, 172, 255, 0.26);
  box-shadow: 0 -18px 48px rgba(0,0,0,0.38);
}

.lang-picker__intro {
  margin: -4px 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(232, 224, 246, 0.74);
}

.lang-picker__list {
  display: grid;
  gap: 10px;
}

.lang-picker > .btn.btn-ghost.btn-full {
  margin-top: 14px;
}

.lang-picker__option {
  width: 100%;
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(203, 168, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: #fff8ff;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-picker__option:active {
  transform: translateY(1px);
}

.lang-picker__option.is-active {
  border-color: rgba(231, 198, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(107, 60, 190, 0.72) 0%, rgba(58, 28, 118, 0.62) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 14px 28px rgba(10, 4, 28, 0.22);
}

.lang-picker__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lang-picker__native {
  font-size: 15px;
  font-weight: 800;
  color: #fff8ff;
}

.lang-picker__label {
  font-size: 12px;
  color: rgba(225, 216, 243, 0.68);
}

.lang-picker__meta {
  flex-shrink: 0;
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 240, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-picker__option.is-active .lang-picker__meta {
  background: rgba(255, 243, 202, 0.92);
  color: #25142b;
}

.plan-purchase-modal {
  background:
    radial-gradient(circle at 50% -18%, rgba(186, 110, 255, 0.28) 0%, rgba(186, 110, 255, 0) 36%),
    linear-gradient(180deg, rgba(40, 18, 86, 0.98) 0%, rgba(19, 10, 48, 0.99) 100%);
  border-top-color: rgba(214, 172, 255, 0.28);
  box-shadow: 0 -18px 48px rgba(0,0,0,0.38);
}

.plan-purchase-modal__hero {
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.03) 18%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(88, 44, 164, 0.92) 0%, rgba(44, 20, 96, 0.96) 100%);
  border: 1px solid rgba(214, 176, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 32px rgba(10, 4, 28, 0.26);
  text-align: center;
}

.plan-purchase-modal__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234, 220, 255, 0.68);
}

.plan-purchase-modal__plan {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #fff6ff;
}

.plan-purchase-modal__price {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: #f4d88d;
  text-shadow: 0 0 24px rgba(243, 217, 139, 0.24);
}

.plan-purchase-modal__note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(231, 220, 255, 0.74);
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.plan-purchase-modal__launch-limit {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 132, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255, 169, 120, 0.08);
  color: #fff2e4;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.plan-purchase-modal__quantity {
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.1);
}

.plan-purchase-modal__quantity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-purchase-modal__quantity-head span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 218, 255, 0.54);
}

.plan-purchase-modal__quantity-head strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  color: #fff3d7;
}

.plan-purchase-modal__preset-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.plan-purchase-modal__preset {
  min-height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(214, 176, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.02);
  color: rgba(244, 236, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.plan-purchase-modal__preset.is-active {
  border-color: rgba(243, 217, 139, 0.32);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.04) 100%),
    linear-gradient(135deg, rgba(214, 168, 88, 0.92) 0%, rgba(243, 217, 139, 0.94) 100%);
  color: #482a11;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 10px 20px rgba(23, 9, 40, 0.18);
}

.plan-purchase-modal__preset:disabled {
  opacity: 0.35;
  cursor: default;
}

.plan-purchase-modal__adjust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.plan-purchase-modal__adjust-btn {
  min-height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(214, 176, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.02);
  color: rgba(244, 236, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.plan-purchase-modal__adjust-btn--step {
  font-size: 18px;
  line-height: 1;
}

.plan-purchase-modal__adjust-btn.is-active {
  border-color: rgba(243, 217, 139, 0.32);
  color: #fff3d7;
}

.plan-purchase-modal__adjust-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.plan-purchase-modal__range {
  width: 100%;
  margin-top: 14px;
  accent-color: #f3d98b;
}

.plan-purchase-modal__quantity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(231, 220, 255, 0.62);
}

.plan-purchase-modal__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.plan-purchase-modal__stat {
  padding: 12px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.1);
  text-align: center;
}

.plan-purchase-modal__stat span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 218, 255, 0.54);
}

.plan-purchase-modal__stat strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #f6efff;
}

.plan-purchase-modal__balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.12);
}

.plan-purchase-modal__balance.is-positive {
  border-color: rgba(92, 216, 154, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(92, 216, 154, 0.08);
}

.plan-purchase-modal__balance.is-warning {
  border-color: rgba(245, 194, 93, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(245, 194, 93, 0.08);
}

.plan-purchase-modal__balance-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(231, 220, 255, 0.58);
}

.plan-purchase-modal__balance-value {
  margin-top: 5px;
  font-size: 20px;
  font-weight: 800;
  color: #fff1cf;
}

.plan-purchase-modal__balance-side {
  text-align: right;
  font-size: 12px;
}

.plan-purchase-modal__balance-side strong {
  display: block;
}

.plan-purchase-modal__actions {
  display: grid;
  gap: 10px;
}

.plan-purchase-modal__trust {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.plan-purchase-modal__trust-item {
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 176, 255, 0.1);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(236, 228, 255, 0.78);
}

.plan-purchase-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(228, 218, 255, 0.56);
}

/* ── Empty States ───────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  gap: 12px;
}

.empty-icon {
  font-size: 52px;
  opacity: 0.4;
}

.empty-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-secondary);
}

.empty-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 260px;
}

/* ── Loading Skeleton ───────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-line {
  height: 14px;
  margin-bottom: 8px;
}

.skeleton-text  { height: 12px; }
.skeleton-title { height: 20px; }

/* ── Info Row ───────────────────────────────────────────────── */
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.info-row:last-child { border-bottom: none; }

.info-row-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.info-row-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* ── Tab bar ────────────────────────────────────────────────── */
.tab-bar {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4px;
  gap: 2px;
  margin: 0 16px 16px;
}

.tab-btn {
  flex: 1;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  background: none;
}

.tab-btn.active {
  background: var(--purple-primary);
  color: white;
  box-shadow: 0 2px 12px rgba(124,58,237,0.4);
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* ── Glow Text ──────────────────────────────────────────────── */
.glow-text-purple {
  text-shadow: 0 0 20px rgba(139,92,246,0.7), 0 0 40px rgba(139,92,246,0.3);
}

.glow-text-gold {
  text-shadow: 0 0 20px rgba(245,158,11,0.7), 0 0 40px rgba(245,158,11,0.3);
}

/* ── Gradient text ──────────────────────────────────────────── */
.grad-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Utility ────────────────────────────────────────────────── */
.mt-auto { margin-top: auto; }
.hidden  { display: none !important; }
.text-center { text-align: center; }
.text-gold { color: var(--gold) !important; }
.text-green { color: var(--green) !important; }
.text-red { color: var(--red) !important; }
.text-purple { color: var(--purple-light) !important; }
.text-muted { color: var(--text-muted) !important; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.p-4  { padding: 16px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mt-4 { margin-top: 16px; }

/* ── Legal page ─────────────────────────────────────────────── */
.legal-content {
  padding: 0 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.legal-content p {
  margin-bottom: 12px;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,0.5); }

/* ── Page header with back btn ──────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 8px;
}

.back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.back-btn:hover { background: rgba(255,255,255,0.12); }

.page-header-title {
  font-size: 18px;
  font-weight: 800;
  flex: 1;
}

/* ── Safe area bottom ───────────────────────────────────────── */
@supports (padding: max(0px)) {
  .bottom-nav {
    padding-bottom: max(env(safe-area-inset-bottom), 0px);
    height: calc(var(--nav-height) + max(env(safe-area-inset-bottom), 0px));
  }
}

/* ── Premium Home Redesign ─────────────────────────────────── */
:root {
  --shell-outer-pad: 0px;
  --top-bar-height: 88px;
  --nav-height: 94px;
  --max-width: 368px;
}

body {
  background:
    radial-gradient(circle at 50% 18%, rgba(164, 95, 255, 0.3) 0%, rgba(51, 19, 100, 0) 42%),
    radial-gradient(circle at 50% 100%, rgba(39, 16, 83, 0.96) 0%, rgba(9, 4, 24, 1) 62%),
    linear-gradient(180deg, #17072e 0%, #080413 100%);
  padding: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,.92) 0 1px, transparent 1.6px),
    radial-gradient(circle at 82% 12%, rgba(255,255,255,.75) 0 1px, transparent 1.6px),
    radial-gradient(circle at 71% 68%, rgba(255,255,255,.84) 0 1.2px, transparent 2px),
    radial-gradient(circle at 10% 86%, rgba(255,255,255,.68) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 92% 92%, rgba(255,255,255,.96) 0 1.5px, transparent 2.4px);
  pointer-events: none;
  opacity: .92;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(132, 77, 219, 0.24) 0%, rgba(132, 77, 219, 0) 62%),
    linear-gradient(180deg, rgba(121, 74, 196, 0.08) 0%, rgba(15, 6, 34, 0) 40%);
  pointer-events: none;
  z-index: 0;
}

.stars {
  opacity: 0.34;
  mix-blend-mode: screen;
}

#app {
  width: 100vw;
  max-width: none;
  min-height: 100dvh;
  border-radius: 0;
  border: none;
  overflow: hidden;
  background: #170b33 url('/assets/img/bg.webp') center top / cover no-repeat;
  box-shadow: none;
}

#app::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
  pointer-events: none;
  z-index: 2;
}

#app::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(171, 107, 255, 0.16) 0%, rgba(171, 107, 255, 0) 30%),
    linear-gradient(180deg, rgba(32, 12, 64, 0) 0%, rgba(24, 11, 52, 0.06) 18%, rgba(20, 9, 45, 0.26) 44%, rgba(18, 8, 42, 0.68) 100%);
  pointer-events: none;
  z-index: 0;
}

#main-content {
  position: relative;
  z-index: 3;
}

#app-space-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.app-stars-layer,
.shooting-stars-layer {
  position: absolute;
  inset: 0;
}

.app-star {
  position: absolute;
  width: var(--size, 2px);
  height: var(--size, 2px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(229, 197, 255, 0.72) 58%, rgba(229, 197, 255, 0) 100%);
  box-shadow:
    0 0 10px rgba(255,255,255,0.18),
    0 0 20px rgba(207, 140, 255, var(--glow, 0.36));
  animation: twinkle var(--dur, 3.2s) ease-in-out infinite var(--delay, 0s);
}

.shooting-star {
  position: absolute;
  width: var(--shoot-width, 2px);
  height: var(--shoot-tail, 96px);
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(216, 177, 255, 0.12) 24%, rgba(216, 177, 255, 0.52) 66%, rgba(255,255,255,0.98) 100%);
  box-shadow:
    0 0 10px rgba(255,255,255,0.24),
    0 0 18px rgba(205, 150, 255, 0.22);
  transform-origin: center top;
  animation: shootingStarFall var(--shoot-dur, 1.4s) cubic-bezier(0.18, 0.62, 0.28, 1) forwards;
}

.shooting-star::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  transform: translateX(-50%);
  box-shadow:
    0 0 10px rgba(255,255,255,0.34),
    0 0 18px rgba(214, 177, 255, 0.28);
}

@keyframes shootingStarFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0) rotate(var(--shoot-angle, 0deg)) scaleY(0.2);
  }
  12% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--shoot-drift, 0px), var(--shoot-drop, 240px), 0) rotate(var(--shoot-angle, 0deg)) scaleY(1);
  }
}

.page.home-screen {
  padding-top: 0;
  min-height: 100dvh;
}

.home-page-content {
  padding: 0 16px calc(var(--nav-height) + 18px);
}

.page.home-screen.home-screen--starter {
  overflow-x: clip;
}

.home-screen--starter .home-page-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.top-bar {
  width: 100vw;
  max-width: none;
  top: 0;
  height: var(--top-bar-height);
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  isolation: isolate;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  column-gap: 8px;
  align-items: center;
}

.top-bar::before,
.top-bar::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.top-bar::before {
  left: 50%;
  top: -18px;
  width: 88%;
  height: 118px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center top, rgba(170, 108, 255, 0.26) 0%, rgba(110, 61, 184, 0.14) 34%, transparent 74%);
  filter: blur(10px);
}

.top-bar::after {
  display: none;
}

.top-bar-center,
.icon-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(226, 194, 255, 0.16);
  outline: none;
  margin: 0;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(88, 49, 145, 0.52) 0%, rgba(47, 24, 92, 0.38) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.16),
    0 10px 24px rgba(11, 4, 28, 0.24);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.top-bar-center::before,
.icon-btn::before,
.premium-bonus-card::before,
.btn::before,
.bottom-nav::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
  pointer-events: none;
}

.top-bar-center {
  position: relative;
  left: auto;
  transform: none;
  width: min(100%, 150px);
  max-width: 100%;
  justify-self: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 15px;
  text-align: left;
  cursor: pointer;
}

.top-bar-center:hover {
  border-color: rgba(238, 209, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.06) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(94, 52, 164, 0.56) 0%, rgba(45, 22, 90, 0.44) 100%);
}

.top-bar-coin {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9px;
  color: #f8ecff;
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 34%, rgba(255,255,255,0) 74%),
    linear-gradient(180deg, rgba(126, 79, 212, 0.46) 0%, rgba(63, 36, 128, 0.28) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 14px rgba(178, 117, 255, 0.14);
}

.top-bar-coin svg {
  display: none;
}

.top-bar-coin::before {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M17 8v-3a1 1 0 0 0 -1 -1h-10a2 2 0 0 0 0 4h12a1 1 0 0 1 1 1v3m0 4v3a1 1 0 0 1 -1 1h-12a2 2 0 0 1 -2 -2v-12' /%3E%3Cpath d='M20 12v4h-4a2 2 0 0 1 0 -4h4' /%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M17 8v-3a1 1 0 0 0 -1 -1h-10a2 2 0 0 0 0 4h12a1 1 0 0 1 1 1v3m0 4v3a1 1 0 0 1 -1 1h-12a2 2 0 0 1 -2 -2v-12' /%3E%3Cpath d='M20 12v4h-4a2 2 0 0 1 0 -4h4' /%3E%3C/svg%3E") center / contain no-repeat;
}

.top-bar-balance-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.top-bar-balance-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.58);
}

.top-bar-balance-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.top-bar-balance {
  color: #fbf3ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(219, 171, 255, 0.16);
  white-space: nowrap;
}

.top-bar-balance-arrow {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 225, 255, 0.66);
  flex-shrink: 0;
}

.top-bar-balance-arrow svg {
  width: 100%;
  height: 100%;
}

.top-bar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  justify-self: end;
}

.top-bar-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 1;
  justify-self: start;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  min-height: 44px;
  padding: 3px 3px 3px 7px;
  border-radius: 15px;
  border: 1px solid rgba(226, 194, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.04) 26%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(83, 47, 145, 0.5) 0%, rgba(41, 21, 81, 0.36) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 10px 24px rgba(11, 4, 28, 0.2);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.lang-toggle__icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(237, 226, 255, 0.66);
  flex-shrink: 0;
}

.lang-toggle__icon svg {
  width: 100%;
  height: 100%;
}

.lang-btn {
  min-width: 29px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(234, 221, 255, 0.58);
  transition: background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.lang-btn--current {
  min-width: 42px;
  padding: 0 12px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #e7d9ff;
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

.lang-btn.active {
  color: #fff8ff;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.03) 40%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(121, 77, 214, 0.42) 0%, rgba(67, 38, 128, 0.28) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 18px rgba(183, 120, 255, 0.16);
}

body.lang-rtl,
body.lang-rtl #app {
  direction: rtl;
}

body.lang-rtl .page,
body.lang-rtl .card,
body.lang-rtl .modal,
body.lang-rtl .faq-item__answer,
body.lang-rtl .form-input,
body.lang-rtl textarea,
body.lang-rtl .lang-picker__option,
body.lang-rtl .profile-menu-item {
  text-align: right;
}

body.lang-rtl .top-bar-left {
  justify-self: end;
}

body.lang-rtl .top-bar-right {
  justify-self: start;
}

body.lang-rtl .top-bar-center,
body.lang-rtl .lang-toggle,
body.lang-rtl .profile-menu-item,
body.lang-rtl .faq-item__summary,
body.lang-rtl .lang-picker__option {
  direction: rtl;
}

body.lang-rtl .top-bar-balance-arrow,
body.lang-rtl .profile-menu-arrow {
  transform: scaleX(-1);
}

.notif-badge {
  top: 4px;
  right: 4px;
  border-color: #2f1656;
}

.hero-section {
  position: relative;
  min-height: 328px;
  padding: 10px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.page.home-screen .hero-section {
  min-height: calc(328px + var(--top-bar-height));
  padding-top: calc(var(--top-bar-height) + 10px);
}

.home-screen--starter .hero-section {
  min-height: calc(308px + var(--top-bar-height));
  padding-top: calc(var(--top-bar-height) + 6px);
  margin-bottom: -4px;
}

.hero-aura {
  position: absolute;
  inset: 4px 0 38px;
  background: radial-gradient(circle at 50% 34%, rgba(229, 150, 255, 0.28) 0%, rgba(144, 74, 219, 0.18) 26%, transparent 62%);
  filter: blur(12px);
}

.hero-stars {
  position: absolute;
  width: 80px;
  height: 160px;
  top: 16px;
  opacity: 0.45;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.9) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 46%, rgba(255,255,255,.8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 54% 72%, rgba(255,255,255,.7) 0 1.2px, transparent 1.8px);
}

.hero-stars-left {
  left: 0;
}

.hero-stars-right {
  right: 0;
}

.rocket-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rocket-profit-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}

.rocket-profit-pulse {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.04) 100%),
    linear-gradient(135deg, rgba(106, 244, 166, 0.94) 0%, rgba(170, 255, 214, 0.88) 100%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 10px 22px rgba(22, 76, 49, 0.24),
    0 0 22px rgba(126, 255, 196, 0.18);
  color: #123d26;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--profit-tilt, 0deg));
  transform-origin: 50% 50%;
  opacity: 0;
  animation: rocketProfitPulse var(--profit-dur, 2.2s) ease-out forwards;
}

.rocket-profit-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(158, 255, 208, 0.22) 0%, transparent 72%);
  filter: blur(8px);
  z-index: -1;
}

.rocket-container::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 248px;
  height: 52px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(241, 187, 255, 0.48) 0%, rgba(163, 103, 255, 0.2) 46%, transparent 76%);
  filter: blur(10px);
  opacity: 0.92;
  z-index: 1;
}

.rocket-ship {
  position: relative;
  z-index: 3;
  width: 176px;
  height: 236px;
  margin-bottom: 82px;
  overflow: visible;
  animation: floatAnim 3.4s ease-in-out infinite;
}

.rocket-image {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 195px;
  display: block;
  object-fit: contain;
  transform: translate3d(0, -20px, 0);
  filter:
    drop-shadow(0 16px 30px rgba(22, 8, 46, 0.58))
    drop-shadow(0 0 24px rgba(207, 140, 255, 0.18));
}

.rocket-launcher {
  cursor: default;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.rocket-launcher__halo {
  position: absolute;
  left: 50%;
  bottom: 62px;
  width: 144px;
  height: 144px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 226, 255, 0.22) 0%, rgba(238, 151, 255, 0.12) 36%, rgba(150, 88, 255, 0.02) 68%, transparent 82%);
  opacity: 0.45;
  filter: blur(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 0;
  pointer-events: none;
}

.rocket-launcher__trail {
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: 36px;
  height: 232px;
  transform: translateX(-50%) scaleY(0.1);
  transform-origin: 50% 100%;
  background:
    linear-gradient(180deg,
      rgba(255, 251, 236, 0.98) 0%,
      rgba(255, 208, 124, 0.92) 12%,
      rgba(255, 146, 73, 0.84) 26%,
      rgba(235, 120, 255, 0.54) 52%,
      rgba(161, 84, 255, 0.18) 76%,
      transparent 100%);
  opacity: 0;
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
}

.rocket-launcher__embers {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 104px;
  height: 140px;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 245, 226, 0.98) 0 7%, transparent 8%),
    radial-gradient(circle at 22% 32%, rgba(255, 196, 116, 0.82) 0 6%, transparent 7%),
    radial-gradient(circle at 78% 36%, rgba(255, 176, 99, 0.78) 0 5%, transparent 6%),
    radial-gradient(circle at 34% 58%, rgba(255, 128, 79, 0.58) 0 5%, transparent 6%),
    radial-gradient(circle at 66% 64%, rgba(224, 116, 255, 0.48) 0 4%, transparent 5%),
    radial-gradient(circle at 52% 88%, rgba(173, 88, 255, 0.24) 0 6%, transparent 7%);
  filter: blur(2px);
}

.rocket-launcher::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 68px;
  height: 170px;
  transform: translateX(-50%) scaleY(0.16);
  transform-origin: 50% 100%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 249, 227, 0.98) 0%, rgba(255, 203, 111, 0.88) 18%, rgba(255, 148, 66, 0.74) 34%, rgba(214, 111, 255, 0.34) 58%, transparent 82%);
  filter: blur(18px);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.rocket-launcher:hover .rocket-launcher__halo {
  opacity: 0.7;
  transform: translateX(-50%) scale(1.04);
}

.rocket-image--static {
  z-index: 2;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
  will-change: opacity, transform, filter;
}

.rocket-container.is-launching::after {
  width: 286px;
  height: 68px;
  opacity: 1;
  background: radial-gradient(ellipse, rgba(255, 206, 162, 0.48) 0%, rgba(232, 144, 255, 0.26) 42%, transparent 78%);
  filter: blur(14px);
}

.rocket-container.is-launching .platform-image {
  animation: rocketPlatformPulse 2.5s ease-out forwards;
}

.rocket-container.is-launching .rocket-launcher__halo {
  animation: rocketHaloBurst 2.4s ease-out forwards;
}

.rocket-launcher.is-launching {
  animation: rocketLaunchSequence 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.rocket-launcher.is-launching::before {
  animation: rocketThrusterGlow 2.1s ease-out forwards;
}

.rocket-launcher.is-launching .rocket-launcher__trail {
  animation: rocketTrail 2.2s ease-out forwards;
}

.rocket-launcher.is-launching .rocket-launcher__embers {
  animation: rocketEmbers 2.2s ease-out forwards;
}

.rocket-launcher.is-launching .rocket-image--static {
  animation: rocketLaunchImage 2.8s ease-out forwards;
}

.platform-image {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  width: 312px;
  max-width: none;
  transform: translateX(-50%);
  filter:
    drop-shadow(0 18px 30px rgba(11, 4, 28, 0.52))
    drop-shadow(0 0 18px rgba(207, 140, 255, 0.12));
}

@keyframes rocketProfitPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--profit-tilt, 0deg)) scale(0.72);
    filter: blur(3px);
  }
  18% {
    opacity: 1;
    transform: translate(calc(-50% + (var(--profit-drift-x, 0px) * 0.16)), calc(-50% + (var(--profit-drift-y, -32px) * 0.18))) rotate(var(--profit-tilt, 0deg)) scale(1);
    filter: blur(0);
  }
  76% {
    opacity: 0.98;
    transform: translate(calc(-50% + (var(--profit-drift-x, 0px) * 0.82)), calc(-50% + (var(--profit-drift-y, -32px) * 0.82))) rotate(calc(var(--profit-tilt, 0deg) * 0.55)) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--profit-drift-x, 0px)), calc(-50% + var(--profit-drift-y, -32px))) rotate(calc(var(--profit-tilt, 0deg) * 0.25)) scale(0.94);
    filter: blur(2px);
  }
}

@keyframes rocketThrusterGlow {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.14) scaleX(0.88);
  }
  8% {
    opacity: 0.74;
    transform: translateX(-50%) scaleY(0.54) scaleX(0.96);
  }
  20% {
    opacity: 0.88;
    transform: translateX(-50%) scaleY(1.04) scaleX(1);
  }
  36% {
    opacity: 0.98;
    transform: translateX(-50%) scaleY(1.66) scaleX(1.05);
  }
  58% {
    opacity: 0.86;
    transform: translateX(-50%) scaleY(1.92) scaleX(1.08);
  }
  82% {
    opacity: 0.7;
    transform: translateX(-50%) scaleY(1.5) scaleX(1.02);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.2) scaleX(0.9);
  }
}

@keyframes rocketHaloBurst {
  0% {
    opacity: 0.45;
    transform: translateX(-50%) scale(1);
  }
  16% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
  42% {
    opacity: 0.94;
    transform: translateX(-50%) scale(1.42);
  }
  78% {
    opacity: 0.54;
    transform: translateX(-50%) scale(1.7);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.92);
  }
}

@keyframes rocketTrail {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.08) scaleX(0.88);
  }
  12% {
    opacity: 0.86;
    transform: translateX(-50%) scaleY(0.72) scaleX(0.96);
  }
  34% {
    opacity: 0.9;
    transform: translateX(-50%) scaleY(1.42) scaleX(1.02);
  }
  58% {
    opacity: 0.84;
    transform: translateX(-50%) scaleY(1.86) scaleX(1.06);
  }
  82% {
    opacity: 0.44;
    transform: translateX(-50%) scaleY(1.18) scaleX(0.98);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.18) scaleX(0.82);
  }
}

@keyframes rocketEmbers {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(0.72);
  }
  14% {
    opacity: 0.94;
    transform: translateX(-50%) translateY(2px) scale(1);
  }
  38% {
    opacity: 0.92;
    transform: translateX(-50%) translateY(10px) scale(1.08);
  }
  62% {
    opacity: 0.72;
    transform: translateX(-50%) translateY(18px) scale(1.14);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(28px) scale(0.82);
  }
}

@keyframes rocketLaunchSequence {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  6% {
    transform: translate3d(0, -3px, 0) scale(1.006) rotate(-0.2deg);
  }
  12% {
    transform: translate3d(0, -8px, 0) scale(1.01) rotate(0.18deg);
  }
  24% {
    transform: translate3d(0, -28px, 0) scale(1.016) rotate(-0.08deg);
  }
  40% {
    transform: translate3d(0, -92px, 0) scale(1.014) rotate(0.04deg);
  }
  58% {
    transform: translate3d(0, -208px, 0) scale(0.984) rotate(0deg);
  }
  78% {
    transform: translate3d(0, -376px, 0) scale(0.91) rotate(0deg);
  }
  100% {
    transform: translate3d(0, -590px, 0) scale(0.78) rotate(0deg);
    opacity: 0;
  }
}

@keyframes rocketLaunchImage {
  0%,
  18% {
    opacity: 1;
    transform: translate3d(0, -20px, 0) scale(1);
    filter:
      drop-shadow(0 16px 30px rgba(22, 8, 46, 0.58))
      drop-shadow(0 0 24px rgba(207, 140, 255, 0.18));
  }
  36% {
    opacity: 1;
    transform: translate3d(0, -24px, 0) scale(1.02);
    filter:
      brightness(1.08)
      saturate(1.1)
      drop-shadow(0 30px 42px rgba(22, 8, 46, 0.44))
      drop-shadow(0 0 30px rgba(255, 190, 124, 0.26));
  }
  62% {
    opacity: 0.96;
    transform: translate3d(0, -12px, 0) scale(0.98);
    filter:
      brightness(1.1)
      saturate(1.1)
      drop-shadow(0 28px 42px rgba(22, 8, 46, 0.38))
      drop-shadow(0 0 26px rgba(255, 181, 121, 0.22));
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.88);
    filter:
      brightness(1.18)
      saturate(1.14)
      drop-shadow(0 24px 34px rgba(22, 8, 46, 0.16))
      drop-shadow(0 0 20px rgba(255, 181, 121, 0.12));
  }
}

@keyframes rocketPlatformPulse {
  0% {
    transform: translateX(-50%) scale(1);
    filter:
      drop-shadow(0 18px 30px rgba(11, 4, 28, 0.52))
      drop-shadow(0 0 18px rgba(207, 140, 255, 0.12));
  }
  34% {
    transform: translateX(-50%) scale(1.04);
    filter:
      drop-shadow(0 24px 42px rgba(11, 4, 28, 0.62))
      drop-shadow(0 0 34px rgba(255, 184, 131, 0.24));
  }
  62% {
    transform: translateX(-50%) scale(1.02);
    filter:
      drop-shadow(0 22px 36px rgba(11, 4, 28, 0.56))
      drop-shadow(0 0 28px rgba(245, 153, 255, 0.2));
  }
  100% {
    transform: translateX(-50%) scale(1);
    filter:
      drop-shadow(0 18px 30px rgba(11, 4, 28, 0.52))
      drop-shadow(0 0 18px rgba(207, 140, 255, 0.12));
  }
}

.home-launch-card,
.home-steps-card {
  margin-top: 0;
}

.home-starter-flow {
  position: relative;
  display: grid;
  gap: 14px;
}

.home-starter-flow::before {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  bottom: 10px;
  border-radius: 32px;
  border: 1px solid rgba(178, 126, 255, 0.05);
  pointer-events: none;
  opacity: 0.9;
}

.home-starter-support {
  display: grid;
  gap: 12px;
}

.home-launch-card {
  position: relative;
  overflow: hidden;
  padding: 20px 18px 18px;
  border-radius: 28px;
  border: 1px solid rgba(220, 186, 255, 0.16);
  background:
    radial-gradient(188px 108px at 8% -6%, rgba(240, 139, 255, 0.16) 0%, rgba(240, 139, 255, 0) 72%),
    radial-gradient(216px 138px at 100% 100%, rgba(143, 123, 255, 0.18) 0%, rgba(143, 123, 255, 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 15%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(48, 27, 108, 0.97) 0%, rgba(22, 11, 57, 0.99) 100%);
  box-shadow:
    0 18px 34px rgba(6, 4, 18, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 28px rgba(176,108,255,0.08);
}

.home-launch-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(180px 66px at 50% -4%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 46%, transparent 74%),
    linear-gradient(120deg, rgba(255,255,255,0) 38%, rgba(255,255,255,0.04) 49%, rgba(255,255,255,0) 58%);
  pointer-events: none;
}

.home-launch-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -12px 24px rgba(9, 5, 23, 0.16);
  pointer-events: none;
}

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

.home-launch-card__hero {
  display: grid;
  gap: 10px;
}

.home-launch-card__eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 224, 255, 0.68);
}

.home-launch-card__title {
  margin: 0;
  font-size: 25px;
  line-height: 0.96;
  font-weight: 900;
  color: #fff6ff;
  max-width: 280px;
  text-shadow: 0 10px 28px rgba(20, 8, 44, 0.32);
}

.home-launch-card__text {
  font-size: 12.5px;
  line-height: 1.52;
  color: rgba(236, 226, 255, 0.78);
  max-width: 300px;
  margin: 0;
}

.home-launch-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.home-launch-card__fact {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 10px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(214, 178, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.home-launch-card__fact span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 225, 255, 0.62);
}

.home-launch-card__fact strong {
  font-size: 15px;
  line-height: 1.05;
  font-weight: 800;
  color: #fff8ff;
}

.home-launch-card__market {
  margin-top: 14px;
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.018) 18%, rgba(255,255,255,0) 44%),
    linear-gradient(180deg, rgba(58, 32, 123, 0.76) 0%, rgba(29, 16, 77, 0.82) 100%);
  border: 1px solid rgba(214, 178, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 20px rgba(10, 5, 24, 0.16);
}

.home-launch-card__market-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(235, 224, 255, 0.62);
}

.home-launch-card__market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.home-launch-card__market-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 9px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 178, 255, 0.08);
}

.home-launch-card__market-item strong {
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  color: #fff8ff;
  letter-spacing: -0.03em;
}

.home-launch-card__market-item span {
  font-size: 9px;
  line-height: 1.25;
  color: rgba(234, 223, 255, 0.68);
}

.home-launch-plan {
  position: relative;
  margin-top: 16px;
  padding: 17px 16px 16px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 16%, rgba(255,255,255,0) 44%),
    linear-gradient(180deg, rgba(62, 34, 129, 0.97) 0%, rgba(30, 16, 80, 0.99) 100%);
  border: 1px solid rgba(229, 198, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 28px rgba(9, 5, 24, 0.22),
    0 0 22px rgba(210, 124, 255, 0.08);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.home-launch-plan:active {
  transform: translateY(1px);
}

.home-launch-plan:hover {
  filter: brightness(1.02) saturate(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 16px 30px rgba(9, 5, 24, 0.24),
    0 0 24px rgba(210, 124, 255, 0.1);
}

.home-launch-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.home-launch-plan__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.03) 100%),
    linear-gradient(135deg, rgba(224, 171, 92, 0.88) 0%, rgba(243, 217, 139, 0.84) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 0 14px rgba(235, 196, 106, 0.14);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #4e2d09;
  text-transform: uppercase;
}

.home-launch-plan__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(237, 226, 255, 0.68);
  text-align: right;
}

.home-launch-plan__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.home-launch-plan__copy {
  min-width: 0;
}

.home-launch-plan__name {
  font-size: 19px;
  line-height: 1.04;
  font-weight: 800;
  color: #fff6ff;
}

.home-launch-plan__subline {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(236, 226, 255, 0.66);
}

.home-launch-plan__price-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.home-launch-plan__price {
  font-size: 27px;
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff3d6;
  text-shadow: 0 0 20px rgba(233, 193, 102, 0.14);
}

.home-launch-plan__price-note {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 225, 182, 0.72);
}

.home-launch-plan__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.home-launch-plan__metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 10px 11px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(223, 191, 255, 0.1);
}

.home-launch-plan__metric span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 225, 255, 0.64);
}

.home-launch-plan__metric strong {
  font-size: 13px;
  line-height: 1.1;
  font-weight: 800;
  color: #fff7ff;
}

.home-launch-plan__footer {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(236, 227, 255, 0.78);
}

.home-launch-plan__footer span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(223, 191, 255, 0.08);
}

.home-launch-card__actions {
  margin-top: 16px;
  padding-top: 0;
  grid-template-columns: 1fr;
  gap: 0;
}

.home-launch-card__actions .home-action-btn {
  min-height: 68px;
}

.home-launch-card__cta-note {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.45;
  color: rgba(236, 225, 255, 0.72);
}

.home-launch-card__confidence {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.home-launch-card__confidence-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 0 11px 0 12px;
  border-radius: 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(214, 178, 255, 0.1);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(242, 234, 255, 0.78);
}

.home-launch-card__confidence-item::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.96) 0%, rgba(228, 180, 255, 0.92) 34%, rgba(165, 111, 255, 0.86) 68%, rgba(165, 111, 255, 0) 100%);
  box-shadow: 0 0 12px rgba(206, 145, 255, 0.28);
}

.home-launch-card__link-btn {
  min-height: 0;
  margin-top: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(239, 228, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  justify-content: flex-start;
  box-shadow: none;
}

.home-launch-card__link-btn:hover {
  color: #fff6ff;
  text-shadow: 0 0 10px rgba(204, 156, 255, 0.14);
}

.home-launch-card__link-btn:active {
  transform: none;
  opacity: 0.9;
}

.home-launch-card__trustline {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(235, 224, 255, 0.74);
}

.home-launch-card__footnote {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(226, 215, 247, 0.56);
}

.home-steps-card {
  position: relative;
  overflow: hidden;
  padding: 15px 14px 14px;
  border-radius: 24px;
  border: 1px solid rgba(208, 172, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 16%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(42, 24, 95, 0.94) 0%, rgba(19, 10, 49, 0.98) 100%);
  box-shadow:
    0 14px 28px rgba(6, 4, 18, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.home-steps-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 12px;
}

.home-steps-card__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7f0ff;
}

.home-steps-card__text {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(229, 219, 250, 0.72);
  max-width: 260px;
}

.home-steps-card__grid {
  display: grid;
  gap: 10px;
  position: relative;
}

.home-steps-card__grid::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(226, 195, 255, 0) 0%, rgba(226, 195, 255, 0.26) 14%, rgba(170, 118, 255, 0.24) 50%, rgba(226, 195, 255, 0.18) 84%, rgba(226, 195, 255, 0) 100%);
  pointer-events: none;
}

.home-step-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(214, 176, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.home-step-card + .home-step-card {
  margin-top: 2px;
}

.home-step-card__num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(207,116,255,0.32) 0%, rgba(110,74,214,0.2) 100%);
  border: 1px solid rgba(241, 218, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
  color: #fff8ff;
}

.home-step-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-step-card__title {
  font-size: 13px;
  font-weight: 800;
  color: #f7f0ff;
}

.home-step-card__text {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(231, 222, 249, 0.7);
}

.energy-profit-card {
  position: relative;
  margin: -4px 0 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 86px 1px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 12px;
  overflow: hidden;
  isolation: isolate;
  min-height: 108px;
  padding: 10px 13px 9px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.048) 0%, rgba(255,255,255,0.016) 18%, rgba(255,255,255,0) 42%),
    radial-gradient(118px 56px at 49% 34%, rgba(201, 179, 229, 0.072) 0%, rgba(201, 179, 229, 0.028) 48%, transparent 78%),
    linear-gradient(92deg,
      rgba(102, 79, 135, 0.42) 0%,
      rgba(90, 67, 125, 0.34) 14%,
      rgba(74, 53, 104, 0.28) 29%,
      rgba(143, 121, 181, 0.16) 48.8%,
      rgba(61, 56, 112, 0.21) 58%,
      rgba(56, 46, 96, 0.28) 75%,
      rgba(77, 62, 117, 0.31) 100%),
    linear-gradient(90deg,
      rgba(102, 79, 135, 0.74) 0%,
      rgba(90, 67, 125, 0.76) 12%,
      rgba(74, 53, 104, 0.78) 30%,
      rgba(66, 48, 93, 0.76) 43%,
      rgba(74, 58, 109, 0.74) 50%,
      rgba(60, 47, 93, 0.76) 58%,
      rgba(56, 46, 96, 0.78) 72%,
      rgba(61, 56, 112, 0.8) 86%,
      rgba(77, 62, 117, 0.78) 100%),
    linear-gradient(180deg, rgba(90, 67, 125, 0.14) 0%, rgba(66, 48, 93, 0.11) 40%, rgba(47, 33, 70, 0.28) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.095),
    inset 0 -10px 15px rgba(17, 10, 31, 0.22),
    0 11px 18px rgba(8, 5, 18, 0.24),
    0 0 14px rgba(113, 90, 196, 0.038);
  backdrop-filter: blur(20px) saturate(128%);
  -webkit-backdrop-filter: blur(20px) saturate(128%);
}

.energy-profit-card:active {
  transform: translateY(1px);
}

.energy-profit-card--starter {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -10px 15px rgba(17, 10, 31, 0.2),
    0 14px 22px rgba(8, 5, 18, 0.26),
    0 0 22px rgba(176, 108, 255, 0.1);
}

.energy-profit-card--starter .energy-profit-card__amount,
.energy-profit-card--starter .energy-profit-card__amount-note {
  color: #efe2ff;
}

.energy-profit-card__status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, rgba(156, 93, 255, 0.82) 0%, rgba(240, 139, 255, 0.78) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff7ff;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 18px rgba(220, 128, 255, 0.2);
}

.energy-profit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(242, 201, 255, 0.13) 0%, rgba(217, 176, 255, 0.058) 2.5%, rgba(255,255,255,0) 11%),
    radial-gradient(168px 28px at 50% -1%, rgba(255,255,255,0.084) 0%, rgba(255,255,255,0.03) 44%, transparent 84%),
    linear-gradient(120deg,
      rgba(255,255,255,0) 43.6%,
      rgba(201, 179, 229, 0.048) 48.5%,
      rgba(255,255,255,0.014) 49.4%,
      rgba(255,255,255,0.03) 50.1%,
      rgba(255,255,255,0) 55.8%),
    radial-gradient(148px 104px at -2% 51%, rgba(199, 121, 255, 0.13) 0%, rgba(199, 121, 255, 0.048) 42%, transparent 78%),
    radial-gradient(126px 90px at 22% 44%, rgba(242, 182, 255, 0.052) 0%, transparent 74%),
    radial-gradient(134px 96px at 50% 47%, rgba(201, 179, 229, 0.11) 0%, rgba(169, 141, 203, 0.046) 44%, transparent 74%),
    radial-gradient(136px 104px at 103% 8%, rgba(255,255,255,0.078) 0%, rgba(244, 235, 255, 0.03) 34%, transparent 74%),
    radial-gradient(148px 114px at 102% 100%, rgba(255,255,255,0.095) 0%, rgba(244, 235, 255, 0.036) 32%, transparent 74%),
    radial-gradient(128px 64px at 83% 100%, rgba(255,255,255,0.068) 0%, rgba(255,255,255,0.018) 36%, transparent 74%),
    radial-gradient(78px 70px at 100% 0%, rgba(154, 177, 255, 0.046) 0%, transparent 76%);
  opacity: 0.96;
  pointer-events: none;
}

.energy-profit-card::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(244, 235, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -12px 15px rgba(255,255,255,0.014),
    inset 0 -10px 14px rgba(245, 184, 255, 0.022),
    inset 1px 0 0 rgba(199, 121, 255, 0.075),
    inset -1px 0 0 rgba(244, 235, 255, 0.072),
    0 0 14px rgba(140, 110, 236, 0.038);
  pointer-events: none;
}

.energy-profit-card > * {
  position: relative;
  z-index: 2;
}

.energy-profit-card__header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  padding-left: 1px;
}

.energy-profit-card__value-side {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  padding: 3px 0 8px 1px;
}

.energy-profit-card__divider {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  align-self: center;
  justify-self: center;
  width: 1px;
  height: 64px;
  transform: translateX(-14px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.12) 36%, rgba(255,255,255,0.045) 72%, rgba(255,255,255,0) 100%);
  box-shadow: 0 0 7px rgba(226, 218, 255, 0.06);
  opacity: 0.62;
}

.energy-profit-card__divider::after {
  content: '';
  position: absolute;
  inset: -3px -4px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04) 0%, transparent 70%);
  filter: blur(2.5px);
}

.energy-profit-card__info-side {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  padding: 5px 0 0 0;
}

.energy-profit-card__amount-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 8px;
}

.energy-profit-card__amount {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: "SF Pro Display", "SF Pro Text", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  color: #b4a3c5;
  text-shadow:
    0 0 8px rgba(203, 183, 232, 0.06),
    0 1px 0 rgba(255,255,255,0.04);
}

.energy-profit-card__amount-currency {
  font-size: 27px;
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.energy-profit-card__amount-number {
  font-size: 27px;
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.energy-profit-card__amount-note {
  margin-top: 3px;
  font-size: 10.2px;
  font-family: "SF Pro Display", "SF Pro Text", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #b4a3c5;
}

.energy-profit-card__title {
  color: #ccaadc;
  font-size: 14.2px;
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-shadow: 0 0 5px rgba(222, 204, 255, 0.06);
}

.energy-profit-card__arrow {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(236, 228, 255, 0.8);
}

.energy-profit-card__arrow .ui-icon {
  width: 17px;
  height: 17px;
}

.energy-profit-card__meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.energy-profit-card__subtitle {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(205, 184, 229, 0.66);
}

.energy-profit-card__slots {
  width: 100%;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: rgba(248, 243, 255, 0.9);
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.energy-profit-card__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(205, 184, 229, 0.64);
}

.energy-profit-card__progress-meta strong {
  color: rgba(248, 243, 255, 0.9);
  font-variant-numeric: tabular-nums;
}

.energy-profit-card__progress {
  position: relative;
  height: 9px;
  width: 100%;
  margin-top: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(47, 35, 76, 0.84) 0%, rgba(28, 20, 47, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -2px 4px rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.025),
    0 0 8px rgba(110, 90, 201, 0.06);
}

.energy-profit-card__progress::before {
  content: '';
  position: absolute;
  left: 7px;
  right: 7px;
  top: 1px;
  height: 34%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.energy-profit-card__progress-fill {
  position: absolute;
  left: 1px;
  top: 1px;
  bottom: 1px;
  width: max(0px, calc((var(--energy-fill) * 1%) - 2px));
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(142, 107, 255, 0.92) 0%, rgba(181, 155, 255, 0.92) 60%, rgba(235, 229, 255, 0.96) 100%);
  box-shadow:
    0 0 8px rgba(153, 126, 255, 0.18),
    0 0 14px rgba(212, 198, 255, 0.1);
}

.energy-profit-card__progress-fill::before {
  content: '';
  position: absolute;
  left: 7px;
  right: 12px;
  top: 1px;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 100%);
}

.energy-profit-card__progress-fill::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -1px;
  width: 14px;
  bottom: -3px;
  background: radial-gradient(circle at 34% 50%, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.38) 24%, rgba(243,238,255,0.12) 46%, transparent 74%);
  filter: blur(1.3px);
}

.energy-profit-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 7px;
  margin-top: 7px;
  padding-right: 0;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(232, 220, 244, 0.7);
}

.energy-profit-card__footer-text {
  color: rgba(231, 219, 243, 0.72);
}

.energy-profit-card__footer-text--strong {
  color: rgba(245, 238, 255, 0.84);
  text-shadow: 0 0 6px rgba(246, 198, 255, 0.08);
}

.action-buttons-premium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 0 0;
}

.action-buttons-premium .home-action-btn {
  --btn-image: none;
  --btn-glow: rgba(223, 173, 67, 0.18);
  --btn-text: #4a2b13;
  --btn-text-highlight: rgba(255, 250, 232, 0.22);
  --btn-text-shadow: rgba(90, 56, 12, 0.18);
  --icon-color: #3b240b;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70px;
  padding: 11px 18px 11px 19px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  white-space: normal;
  text-align: left;
  border: 0;
  background: transparent;
  box-shadow:
    0 10px 18px rgba(16, 5, 33, 0.2),
    0 0 12px var(--btn-glow);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.action-buttons-premium .home-action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--btn-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.action-buttons-premium .home-action-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 16%, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 82% 50%, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 28%);
  pointer-events: none;
  z-index: 0;
}

.action-buttons-premium .home-action-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.02) brightness(1.02);
  box-shadow:
    0 12px 20px rgba(16, 5, 33, 0.22),
    0 0 14px var(--btn-glow);
}

.action-buttons-premium .home-action-btn:active {
  transform: translateY(0);
  filter: brightness(0.99);
}

.action-buttons-premium .home-action-btn:disabled {
  opacity: 0.78;
  transform: none;
  filter: saturate(0.92);
}

.action-buttons-premium .home-action-btn .btn-copy,
.action-buttons-premium .home-action-btn .btn-icon-badge {
  position: relative;
  z-index: 1;
}

.action-buttons-premium .home-action-btn .btn-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  color: var(--btn-text);
  font-family: "SF Pro Display", "SF Pro Text", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  line-height: 0.98;
  letter-spacing: -0.012em;
  text-shadow:
    0 1px 0 var(--btn-text-highlight),
    0 -1px 0 var(--btn-text-shadow),
    0 1px 4px rgba(255,255,255,0.04);
}

.action-buttons-premium .home-action-btn .btn-copy span {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.action-buttons-premium .home-action-btn .btn-copy span:last-child {
  opacity: 0.97;
}

.action-buttons-premium .home-action-btn .btn-icon-badge {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
}

.action-buttons-premium .home-action-btn .btn-icon-badge::before {
  content: none;
}

.action-buttons-premium .home-action-btn .btn-icon,
.action-buttons-premium .home-action-btn .bonus-clock-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.action-buttons-premium .home-action-btn .btn-icon {
  color: var(--icon-color);
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.18))
    drop-shadow(0 1px 3px rgba(0,0,0,0.12));
}

.action-buttons-premium .home-action-btn .btn-loading {
  font-size: 38px;
  line-height: 1;
  color: var(--icon-color);
}

.action-buttons-premium .home-action-btn--gold {
  --btn-image: url('/assets/img/gold.webp');
  --btn-glow: rgba(223, 173, 67, 0.16);
  --btn-text: #4a2b13;
  --btn-text-highlight: rgba(255, 248, 228, 0.18);
  --btn-text-shadow: rgba(92, 56, 12, 0.18);
  --icon-color: #6b4011;
}

.action-buttons-premium .home-action-btn--silver {
  --btn-image: url('/assets/img/silver.webp');
  --btn-glow: rgba(199, 183, 222, 0.16);
  --btn-text: #493952;
  --btn-text-highlight: rgba(255,255,255,0.2);
  --btn-text-shadow: rgba(84, 66, 96, 0.18);
  --icon-color: #68556f;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
}

.daily-bonus-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 14px 0 0;
  min-height: 70px;
  aspect-ratio: 3.35 / 1;
  padding: 0;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  background: url('/assets/img/bountybg.webp') center / cover no-repeat;
  box-shadow: 0 16px 34px rgba(11, 4, 28, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.daily-bonus-banner--starter {
  margin: 0;
  min-height: 76px;
  border-radius: 24px;
  box-shadow:
    0 14px 28px rgba(11, 4, 28, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.daily-bonus-banner--starter::before {
  background: linear-gradient(90deg, rgba(22,8,49,0.08) 0%, rgba(22,8,49,0.18) 32%, rgba(22,8,49,0.72) 72%, rgba(22,8,49,0.88) 100%);
}

.daily-bonus-banner--starter .daily-bonus-banner__content {
  right: 16px;
}

.daily-bonus-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(11, 4, 28, 0.34);
}

.daily-bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,8,49,0.04) 0%, rgba(22,8,49,0.12) 34%, rgba(22,8,49,0.68) 72%, rgba(22,8,49,0.88) 100%);
}

.daily-bonus-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  pointer-events: none;
}

.daily-bonus-banner__content {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 215px;
  margin: 0;
}

.daily-bonus-banner__title {
  font-size: clamp(14px, 3.8vw, 15px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff7f0;
  text-shadow: 0 4px 18px rgba(15, 6, 35, 0.38);
}

.daily-bonus-banner__status {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 0;
}

.daily-bonus-banner__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 239, 208, 0.78);
}

.daily-bonus-banner__value {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff7e4;
  white-space: nowrap;
}

.daily-bonus-banner__value:empty {
  display: none;
}

@media (max-width: 380px) {
  .daily-bonus-banner {
    min-height: 118px;
  }

  .daily-bonus-banner__content {
    right: 14px;
    width: 132px;
  }
}

.bottom-nav {
  width: 100vw;
  max-width: none;
  left: 0;
  right: 0;
  transform: none;
  bottom: 0;
  height: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
  padding: 8px 12px calc(env(safe-area-inset-bottom, 0px) + 10px);
  background:
    radial-gradient(110% 180% at 50% -70%, rgba(238, 194, 255, 0.24) 0%, rgba(238, 194, 255, 0) 34%),
    radial-gradient(84% 132% at 50% 0%, rgba(119, 92, 255, 0.18) 0%, rgba(119, 92, 255, 0) 52%),
    linear-gradient(180deg, rgba(43, 22, 87, 0.92) 0%, rgba(19, 9, 42, 0.975) 56%, rgba(9, 4, 23, 0.995) 100%);
  border-top: 1px solid rgba(236, 204, 255, 0.18);
  box-shadow:
    0 -24px 44px rgba(5, 2, 16, 0.42),
    0 -1px 0 rgba(255,255,255,0.07),
    inset 0 1px 0 rgba(255,255,255,0.07);
  overflow: visible;
}

.bottom-nav::before {
  inset: 1px 0 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0) 18%, rgba(255,255,255,0.015) 100%);
  opacity: 0.82;
}

.bottom-nav::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 1px;
  width: min(58vw, 240px);
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(246, 201, 255, 0), rgba(246, 201, 255, 0.96), rgba(196, 157, 255, 0.94), rgba(246, 201, 255, 0));
  box-shadow:
    0 0 16px rgba(228, 156, 255, 0.58),
    0 0 34px rgba(135, 93, 255, 0.28);
}

.nav-item {
  color: rgba(238, 228, 255, 0.46);
  position: relative;
  min-width: 0;
  padding: 4px 2px 2px;
}

.nav-item__core {
  position: relative;
  isolation: isolate;
  gap: 5px;
  border-radius: 26px;
  padding: 8px 2px 6px;
  overflow: visible;
  transition: transform 0.28s ease;
}

.nav-item__core::before,
.nav-item__core::after {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.nav-item__core::before {
  left: 4%;
  right: 4%;
  top: -10px;
  bottom: 4px;
  border-radius: 24px;
  transform: translateY(10px) scaleY(0.72);
  background:
    radial-gradient(46% 20% at 50% 100%, rgba(255,255,255,0.28) 0%, rgba(235, 194, 255, 0.24) 18%, rgba(159, 116, 255, 0.16) 46%, rgba(159, 116, 255, 0.04) 66%, rgba(159, 116, 255, 0) 100%),
    linear-gradient(180deg, rgba(104, 68, 201, 0) 0%, rgba(104, 68, 201, 0.02) 18%, rgba(138, 97, 245, 0.08) 42%, rgba(215, 168, 255, 0.22) 78%, rgba(255,255,255,0.26) 100%);
  clip-path: polygon(16% 0, 84% 0, 58% 100%, 42% 100%);
  filter: blur(10px);
}

.nav-item__core::after {
  left: 14%;
  right: 14%;
  bottom: -6px;
  height: 28px;
  border-radius: 999px;
  filter: blur(16px);
  transform: scaleX(0.7);
  background: radial-gradient(ellipse at center, rgba(255, 246, 255, 0.76) 0%, rgba(234, 177, 255, 0.72) 18%, rgba(152, 102, 255, 0.4) 46%, rgba(152, 102, 255, 0) 76%);
}

.nav-item.active {
  color: #fbf3ff;
}

.nav-item.active::after {
  display: none;
}

.nav-item.active .nav-item__core {
  transform: translateY(-1px);
}

.nav-item.active .nav-item__core::before,
.nav-item.active .nav-item__core::after {
  opacity: 1;
  transform: none;
}

.nav-icon-shell {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.nav-icon-shell::before {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  top: 3px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.16), rgba(255,255,255,0) 72%);
  opacity: 0.36;
}

.nav-icon-shell::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 10px;
  bottom: 2px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0) 34%, rgba(129, 88, 234, 0.08) 72%, rgba(229, 180, 255, 0.2) 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.nav-icon {
  width: 23px;
  height: 23px;
  font-size: 0;
  position: relative;
  z-index: 1;
  transition: filter 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.nav-label {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.8;
  transition: color 0.24s ease, opacity 0.24s ease, transform 0.24s ease, text-shadow 0.24s ease;
}

.nav-item.active .nav-icon-shell {
  transform: translateY(-1px) scale(1.05);
  border-color: rgba(236, 204, 255, 0.08);
  background:
    radial-gradient(ellipse at 50% 86%, rgba(255,255,255,0.24) 0%, rgba(225, 179, 255, 0.22) 24%, rgba(114, 72, 214, 0.16) 56%, rgba(114, 72, 214, 0) 80%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 12px 20px rgba(47, 25, 104, 0.16),
    0 0 22px rgba(195, 128, 255, 0.16);
}

.nav-item.active .nav-icon-shell::after {
  opacity: 1;
  transform: none;
}

.nav-item.active .nav-icon {
  filter:
    drop-shadow(0 0 8px rgba(240, 180, 255, 0.54))
    drop-shadow(0 0 18px rgba(180, 120, 255, 0.28));
  transform: translateY(-1px) scale(1.06);
}

.nav-item.active .nav-label {
  color: #fff8ff;
  opacity: 1;
  transform: translateY(1px);
  text-shadow: 0 0 12px rgba(234, 173, 255, 0.3);
}

.nav-item:not(.active):hover .nav-icon-shell {
  background:
    radial-gradient(circle at 50% 34%, rgba(252, 219, 255, 0.11) 0%, rgba(252, 219, 255, 0.02) 38%, rgba(255,255,255,0) 72%);
}

.nav-item:not(.active):hover .nav-icon {
  filter: drop-shadow(0 0 6px rgba(200,160,255,0.3));
  transform: translateY(-1px) scale(1.02);
}

.nav-item:not(.active):hover .nav-label {
  color: rgba(244, 237, 255, 0.74);
  opacity: 1;
}

@media (min-width: 520px) {
  :root {
    --shell-outer-pad: 24px;
  }

  body {
    padding: var(--shell-outer-pad) 0 calc(var(--shell-outer-pad) + 2px);
  }

  #app {
    width: min(calc(100vw - (var(--shell-outer-pad) * 2)), var(--max-width));
    max-width: var(--max-width);
    min-height: calc(100dvh - (var(--shell-outer-pad) * 2));
    border-radius: 38px;
    border: 1px solid rgba(214, 176, 255, 0.18);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.14),
      0 32px 70px rgba(4, 1, 14, 0.68),
      0 0 0 6px rgba(118, 74, 196, 0.08);
  }

  #app::before {
    inset: 10px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.05);
  }

  .top-bar,
  .bottom-nav {
    width: min(calc(100vw - (var(--shell-outer-pad) * 2)), var(--max-width));
    max-width: calc(var(--max-width) - 2px);
  }

  .top-bar {
    top: var(--shell-outer-pad);
    padding-top: 18px;
  }

  .bottom-nav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: calc(var(--shell-outer-pad) + 2px);
  }
}

@media (max-width: 380px) {
  .top-bar {
    column-gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .top-bar-center {
    width: min(100%, 138px);
    min-height: 42px;
    padding: 6px 8px;
  }

  .lang-toggle {
    min-height: 42px;
    padding-left: 4px;
  }

  .lang-toggle__icon {
    display: none;
  }

  .lang-btn {
    min-width: 28px;
    height: 34px;
    padding: 0 7px;
    font-size: 9px;
  }

  .lang-btn--current {
    min-width: 36px;
    padding: 0 10px;
  }

  .top-bar-coin {
    width: 26px;
    height: 26px;
  }

  .top-bar-balance {
    font-size: 13px;
  }

  .top-bar-balance-arrow {
    display: none;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .rocket-ship {
    width: 160px;
    height: 214px;
    margin-bottom: 56px;
  }

  .home-screen--starter .hero-section {
    min-height: 290px;
    margin-bottom: -2px;
  }

  .home-launch-card {
    padding: 18px 15px 15px;
    border-radius: 26px;
  }

  .home-launch-card__title {
    font-size: 23px;
    max-width: 246px;
  }

  .home-launch-card__text {
    max-width: none;
  }

  .home-launch-card__facts {
    gap: 7px;
  }

  .home-launch-card__fact {
    padding: 10px 8px;
  }

  .home-launch-card__fact strong {
    font-size: 13px;
  }

  .home-launch-card__market {
    padding: 11px;
  }

  .home-launch-card__market-grid {
    gap: 7px;
  }

  .home-launch-card__market-item {
    padding: 9px 8px;
  }

  .home-launch-card__market-item strong {
    font-size: 14px;
  }

  .home-launch-plan {
    padding: 15px 14px 14px;
  }

  .home-launch-plan__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .home-launch-plan__label {
    text-align: left;
  }

  .home-launch-plan__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-launch-plan__price-block {
    align-items: flex-start;
  }

  .home-launch-plan__price {
    font-size: 25px;
  }

  .home-launch-plan__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-launch-plan__metric {
    padding: 10px 9px;
  }

  .home-launch-plan__metric strong {
    font-size: 12px;
  }

  .home-launch-plan__footer {
    gap: 7px;
  }

  .home-launch-plan__footer span {
    min-height: 26px;
    padding: 0 9px;
    font-size: 10px;
  }

  .home-launch-card__actions .home-action-btn {
    min-height: 62px;
  }

  .home-launch-card__cta-note {
    font-size: 10px;
  }

  .home-launch-card__confidence {
    gap: 6px;
  }

  .home-launch-card__confidence-item {
    min-height: 30px;
    font-size: 9.5px;
    padding: 0 10px 0 11px;
  }

  .home-launch-card__link-btn {
    margin-top: 9px;
    font-size: 10.5px;
  }

  .home-launch-card__trustline {
    font-size: 9.5px;
  }

  .home-launch-card__footnote {
    font-size: 10px;
  }

  .home-steps-card {
    padding: 14px 13px 13px;
  }

  .home-step-card {
    padding: 11px;
  }

  .home-steps-card__head {
    display: grid;
    gap: 8px;
  }

  .home-steps-card__text {
    max-width: none;
  }

  .daily-bonus-banner--starter {
    min-height: 74px;
  }

  .energy-profit-card {
    min-height: 108px;
    grid-template-columns: 78px 1px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 9px;
    padding: 9px 11px 10px;
    border-radius: 22px;
  }

  .energy-profit-card__header {
    margin-bottom: 1px;
  }

  .energy-profit-card__slots {
    font-size: 11px;
  }

  .energy-profit-card__subtitle {
    font-size: 9.5px;
  }

  .energy-profit-card__amount-currency {
    font-size: 24px;
  }

  .energy-profit-card__amount-number {
    font-size: 24px;
  }

  .energy-profit-card__divider {
    height: 58px;
  }

  .energy-profit-card__info-side {
    padding-top: 12px;
  }

  .energy-profit-card__footer {
    font-size: 8px;
    gap: 6px;
  }

  .btn {
    min-height: 68px;
    font-size: 13px;
    padding: 10px 12px 10px 14px;
  }

  .reactor-plan-card {
    min-height: 256px;
  }

  .reactor-plan-card__yield {
    font-size: 7.5px;
  }

  .reactor-plan-card__meta-row {
    font-size: 8px;
  }

  .nav-label {
    font-size: 7.5px;
    letter-spacing: 0.09em;
  }

  .platform-image {
    width: 286px;
  }
}

body.starter-home-shell {
  background:
    radial-gradient(circle at 50% -8%, rgba(185, 115, 255, 0.22) 0%, rgba(185, 115, 255, 0) 28%),
    linear-gradient(180deg, #120b2d 0%, #160d37 36%, #0d071f 100%);
}

#app.starter-home-shell {
  background:
    url('/assets/img/bg.webp') center top / cover no-repeat,
    radial-gradient(circle at 50% -8%, rgba(196, 118, 255, 0.2) 0%, rgba(196, 118, 255, 0) 28%),
    radial-gradient(circle at 12% 18%, rgba(240, 139, 255, 0.14) 0%, rgba(240, 139, 255, 0) 28%),
    radial-gradient(circle at 88% 26%, rgba(143, 123, 255, 0.16) 0%, rgba(143, 123, 255, 0) 34%),
    linear-gradient(180deg, #140b31 0%, #1a0d40 34%, #120824 100%);
}

#app.starter-home-shell::after {
  background:
    radial-gradient(circle at 50% 10%, rgba(188, 119, 255, 0.18) 0%, rgba(188, 119, 255, 0) 22%),
    radial-gradient(circle at 20% 30%, rgba(240, 139, 255, 0.1) 0%, rgba(240, 139, 255, 0) 18%),
    radial-gradient(circle at 84% 38%, rgba(152, 120, 255, 0.1) 0%, rgba(152, 120, 255, 0) 20%),
    linear-gradient(180deg, rgba(23, 12, 48, 0) 0%, rgba(18, 10, 40, 0.06) 18%, rgba(16, 8, 36, 0.24) 44%, rgba(15, 7, 33, 0.68) 100%);
}

.starter-home-shell .top-bar {
  column-gap: 10px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
}

.starter-home-shell .top-bar::before {
  width: 78%;
  height: 106px;
  top: -10px;
  background: radial-gradient(ellipse at center top, rgba(189, 121, 255, 0.34) 0%, rgba(123, 69, 211, 0.16) 34%, transparent 76%);
  filter: blur(12px);
}

.starter-home-shell .top-bar::after {
  display: none;
}

.starter-home-shell .lang-toggle,
.starter-home-shell .top-bar-center,
.starter-home-shell .icon-btn {
  border-color: rgba(226, 194, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 24%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(50, 27, 111, 0.86) 0%, rgba(28, 14, 63, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 14px 28px rgba(8, 4, 20, 0.26),
    0 0 24px rgba(176, 108, 255, 0.08);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.starter-home-shell .lang-toggle {
  min-height: 42px;
  padding: 3px 4px 3px 8px;
  border-radius: 17px;
}

.starter-home-shell .lang-toggle__icon {
  display: none;
}

.starter-home-shell .lang-btn {
  min-width: 32px;
  height: 34px;
  border-radius: 13px;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.starter-home-shell .lang-btn--current {
  min-width: 38px;
  padding: 0 10px;
}

.starter-home-shell .lang-btn.active {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 18px rgba(183, 120, 255, 0.14);
}

.starter-home-shell .top-bar-center {
  width: min(100%, 164px);
  min-height: 42px;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 18px;
}

.starter-home-shell .top-bar-coin {
  width: 26px;
  height: 26px;
  border-radius: 10px;
}

.starter-home-shell .top-bar-balance-copy {
  align-items: center;
  text-align: center;
  gap: 2px;
}

.starter-home-shell .top-bar-balance-label {
  font-size: 7px;
  letter-spacing: 0.16em;
}

.starter-home-shell .top-bar-balance {
  font-size: 13px;
}

.starter-home-shell .top-bar-balance-arrow {
  display: none;
}

.starter-home-shell .icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 17px;
}

.page.home-screen.home-screen--starter {
  position: relative;
  padding-top: calc(var(--top-bar-height) + 6px);
  overflow-x: clip;
}

.page.home-screen.home-screen--starter::before,
.page.home-screen.home-screen--starter::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.page.home-screen.home-screen--starter::before {
  top: 64px;
  height: 460px;
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 112, 255, 0.18) 0%, rgba(180, 112, 255, 0) 48%),
    radial-gradient(circle at 16% 22%, rgba(240, 139, 255, 0.1) 0%, rgba(240, 139, 255, 0) 28%),
    radial-gradient(circle at 84% 26%, rgba(143, 123, 255, 0.1) 0%, rgba(143, 123, 255, 0) 30%);
  filter: blur(10px);
  z-index: 0;
}

.page.home-screen.home-screen--starter::after {
  top: 152px;
  height: 340px;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.055) 44%, rgba(255,255,255,0) 58%);
  opacity: 0.55;
  z-index: 0;
}

.home-screen--starter .home-page-content {
  position: relative;
  z-index: 1;
  gap: 16px;
  padding: 0 16px calc(var(--nav-height) + 28px);
}

.hero-section--starter-ui {
  min-height: 278px;
  padding: 0;
  margin-bottom: -2px;
}

.starter-hero-scene {
  position: relative;
  width: 100%;
  height: 278px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.starter-hero-scene__backdrop {
  position: absolute;
  inset: 18px 14px 32px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 24%, rgba(226, 152, 255, 0.18) 0%, rgba(226, 152, 255, 0) 28%),
    radial-gradient(circle at 50% 52%, rgba(130, 90, 255, 0.18) 0%, rgba(130, 90, 255, 0) 48%),
    linear-gradient(180deg, rgba(44, 23, 96, 0.42) 0%, rgba(24, 11, 55, 0.16) 100%);
  border: 1px solid rgba(214, 178, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 28px rgba(8, 4, 20, 0.18);
}

.starter-hero-scene__orbital {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 262px;
  height: 224px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(214, 178, 255, 0.16);
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.015) 24%, rgba(255,255,255,0) 60%),
    radial-gradient(circle at 50% 54%, rgba(169, 114, 255, 0.28) 0%, rgba(169, 114, 255, 0.08) 32%, rgba(169, 114, 255, 0) 62%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 0 38px rgba(171, 107, 255, 0.18);
}

.starter-hero-scene__orbital::before,
.starter-hero-scene__orbital::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(214, 178, 255, 0.12);
}

.starter-hero-scene__orbital::before {
  inset: 18px;
}

.starter-hero-scene__orbital::after {
  inset: 44px;
  opacity: 0.6;
}

.starter-hero-placeholder {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(224, 191, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 20%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(56, 31, 121, 0.9) 0%, rgba(29, 14, 64, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 32px rgba(8, 4, 20, 0.22),
    0 0 22px rgba(176, 108, 255, 0.12);
}

.starter-hero-placeholder::before,
.starter-hero-placeholder::after,
.starter-placeholder::before,
.starter-placeholder::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.starter-hero-placeholder::before,
.starter-placeholder::before {
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 42%);
}

.starter-hero-placeholder::after,
.starter-placeholder::after {
  left: 14%;
  right: 14%;
  top: 10%;
  bottom: 18%;
  border-radius: inherit;
  border: 1px dashed rgba(240, 226, 255, 0.18);
  opacity: 0.72;
}

.starter-hero-placeholder--rocket {
  left: 50%;
  bottom: 66px;
  width: 138px;
  height: 176px;
  transform: translateX(-50%);
  border-radius: 42px 42px 30px 30px;
}

.starter-hero-placeholder--badge {
  right: 20px;
  bottom: 54px;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  transform: rotate(-8deg);
}

.starter-hero-scene__rocket-visual {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}

.starter-hero-scene__rocket-visual .rocket-ship {
  width: 158px;
  height: 214px;
  margin-bottom: 70px;
  animation: floatAnim 3.8s ease-in-out infinite;
}

.starter-hero-scene__rocket-visual .rocket-launcher__halo {
  bottom: 56px;
  width: 136px;
  height: 136px;
  opacity: 0.54;
}

.starter-hero-scene__rocket-visual .rocket-image {
  height: 186px;
  transform: translate3d(0, -12px, 0);
  filter:
    drop-shadow(0 20px 36px rgba(14, 6, 34, 0.52))
    drop-shadow(0 0 26px rgba(212, 154, 255, 0.24));
}

.starter-hero-scene .platform-image {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 248px;
  height: 58px;
  transform: translateX(-50%);
  border-radius: 999px;
  width: 254px;
  height: auto;
  max-width: none;
  z-index: 2;
  filter:
    drop-shadow(0 18px 30px rgba(11, 4, 28, 0.46))
    drop-shadow(0 0 22px rgba(207, 140, 255, 0.16));
}

.starter-copy-block {
  display: grid;
  gap: 10px;
  padding: 0 6px;
  text-align: center;
}

.starter-copy-block__eyebrow,
.starter-panel__eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.62);
}

.starter-copy-block__title {
  margin: 0;
  font-size: 31px;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #faf2ff;
  text-shadow: 0 12px 26px rgba(10, 5, 24, 0.28);
}

.starter-copy-block__title br {
  display: block;
}

.starter-copy-block__text {
  margin: 0 auto;
  max-width: 318px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(235, 224, 255, 0.74);
}

.home-starter-flow {
  display: grid;
  gap: 16px;
}

.home-starter-flow::before {
  content: none;
}

.starter-panel {
  position: relative;
  overflow: visible;
  padding: 18px 16px 16px;
  border-radius: 30px;
  border: 1px solid rgba(215, 182, 255, 0.14);
  background:
    radial-gradient(220px 110px at 0% 0%, rgba(240, 139, 255, 0.1) 0%, rgba(240, 139, 255, 0) 72%),
    radial-gradient(220px 140px at 100% 100%, rgba(143, 123, 255, 0.14) 0%, rgba(143, 123, 255, 0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 16%, rgba(255,255,255,0) 40%),
    linear-gradient(180deg, rgba(44, 23, 98, 0.94) 0%, rgba(18, 9, 45, 0.98) 100%);
  box-shadow:
    0 18px 36px rgba(6, 4, 18, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 24px rgba(176, 108, 255, 0.08);
}

.starter-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  pointer-events: none;
}

.starter-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.starter-panel__head--solo {
  margin-bottom: 16px;
}

.starter-panel__title {
  margin: 5px 0 0;
  font-size: 19px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8efff;
}

.starter-panel__link {
  appearance: none;
  -webkit-appearance: none;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(215, 182, 255, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: rgba(240, 227, 255, 0.84);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  cursor: pointer;
}

.starter-mission-list,
.starter-benefits,
.starter-step-list {
  display: grid;
  gap: 12px;
}

.starter-mission-card {
  position: relative;
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 26px;
  border: 1px solid rgba(216, 182, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(50, 28, 108, 0.94) 0%, rgba(24, 12, 58, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 28px rgba(8, 4, 20, 0.18);
  cursor: pointer;
}

.starter-mission-card--featured {
  border-color: rgba(241, 205, 132, 0.38);
  background:
    radial-gradient(160px 96px at 92% 8%, rgba(245, 210, 135, 0.14) 0%, rgba(245, 210, 135, 0) 70%),
    radial-gradient(180px 120px at 8% 100%, rgba(210, 126, 255, 0.14) 0%, rgba(210, 126, 255, 0) 74%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.018) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(66, 36, 124, 0.94) 0%, rgba(31, 16, 73, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(8, 4, 20, 0.22),
    0 0 26px rgba(228, 186, 99, 0.14);
}

.starter-mission-card--ion {
  border-color: rgba(132, 239, 255, 0.34);
  background:
    radial-gradient(176px 108px at 92% 8%, rgba(118, 232, 255, 0.18) 0%, rgba(118, 232, 255, 0) 72%),
    radial-gradient(180px 120px at 8% 100%, rgba(119, 170, 255, 0.16) 0%, rgba(119, 170, 255, 0) 74%),
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(19, 72, 112, 0.96) 0%, rgba(11, 31, 72, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 34px rgba(4, 19, 38, 0.28),
    0 0 30px rgba(115, 224, 255, 0.16);
}

.starter-mission-card--ion .starter-mission-card__flag {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 100%),
    linear-gradient(135deg, rgba(139, 242, 255, 0.96) 0%, rgba(193, 255, 234, 0.92) 100%);
  color: #0b4254;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 18px rgba(132, 239, 255, 0.22);
}

.starter-mission-card--ion .starter-mission-card__price strong {
  color: #eefcff;
  text-shadow: 0 0 18px rgba(132, 239, 255, 0.18);
}

.starter-mission-card--ion .starter-mission-card__price-label,
.starter-mission-card--ion .mining-featured-plan__eyebrow {
  color: rgba(214, 248, 255, 0.7);
}

.starter-mission-card--ion .starter-mission-card__metric {
  background: rgba(255,255,255,0.05);
  border-color: rgba(152, 231, 255, 0.14);
}

.starter-mission-card--ion .starter-mission-card__art {
  width: 125%;
  filter:
    drop-shadow(0 12px 22px rgba(4, 22, 38, 0.26))
    drop-shadow(0 0 18px rgba(132, 239, 255, 0.14));
}

.starter-mission-card--flare {
  border-color: rgba(255, 179, 120, 0.38);
  background:
    radial-gradient(176px 108px at 92% 8%, rgba(255, 180, 118, 0.2) 0%, rgba(255, 180, 118, 0) 72%),
    radial-gradient(180px 120px at 8% 100%, rgba(255, 120, 120, 0.18) 0%, rgba(255, 120, 120, 0) 74%),
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 22%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(122, 42, 30, 0.96) 0%, rgba(74, 21, 29, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 34px rgba(38, 10, 14, 0.3),
    0 0 30px rgba(255, 157, 103, 0.18);
}

.starter-mission-card--flare .starter-mission-card__flag {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 100%),
    linear-gradient(135deg, rgba(255, 214, 146, 0.96) 0%, rgba(255, 170, 120, 0.92) 100%);
  color: #5b2b12;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 0 18px rgba(255, 179, 120, 0.2);
}

.starter-mission-card--flare .starter-mission-card__price strong {
  color: #fff4ea;
  text-shadow: 0 0 18px rgba(255, 179, 120, 0.18);
}

.starter-mission-card--flare .starter-mission-card__price-label,
.starter-mission-card--flare .mining-featured-plan__eyebrow {
  color: rgba(255, 227, 205, 0.72);
}

.starter-mission-card--flare .starter-mission-card__metric {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255, 198, 158, 0.14);
}

.starter-mission-card--flare .starter-mission-card__art {
  width: 132%;
  filter:
    drop-shadow(0 12px 22px rgba(38, 10, 14, 0.28))
    drop-shadow(0 0 18px rgba(255, 179, 120, 0.16));
}

.starter-mission-card__flag {
  position: absolute;
  top: -10px;
  left: 16px;
  min-height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 100%),
    linear-gradient(135deg, rgba(225, 183, 92, 0.92) 0%, rgba(243, 217, 139, 0.88) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  color: #54340c;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 0 16px rgba(238, 198, 109, 0.18);
}

.starter-mission-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  border-radius: 22px;
  background: transparent;
  border: 0;
}

.starter-mission-card__art {
  width: 180%;
  max-width: 200px;
  height: 138px;
  display: block;
  object-fit: contain;
  transform: translateY(-6px);
  filter:
    drop-shadow(0 12px 22px rgba(9, 4, 24, 0.2))
    drop-shadow(0 0 16px rgba(214, 152, 255, 0.1));
}

.starter-mission-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.starter-mission-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.starter-mission-card__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.starter-mission-card__name {
  font-size: 18px;
  line-height: 1.04;
  font-weight: 800;
  color: #fbf3ff;
}

.starter-mission-card__subtitle {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(234, 223, 255, 0.68);
}

.starter-mission-card__price {
  flex-shrink: 0;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 2px;
  min-width: max-content;
  margin-top: 1px;
}

.starter-mission-card__price strong {
  font-size: 23px;
  line-height: 0.92;
  font-weight: 900;
  color: #fff7ea;
  letter-spacing: -0.03em;
  text-shadow: 0 0 16px rgba(243, 217, 139, 0.12);
}

.starter-mission-card__price-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 229, 194, 0.56);
}

.starter-mission-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.starter-mission-card__metrics--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.starter-mission-card__metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(220, 190, 255, 0.08);
}

.starter-mission-card__metric span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(233, 221, 255, 0.62);
  overflow-wrap: anywhere;
}

.starter-mission-card__metric strong {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
  color: #fef8ff;
}

.starter-mission-card__notice {
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 10px;
  line-height: 1.45;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.045);
  color: rgba(244, 235, 255, 0.78);
}

.starter-mission-card__notice--urgent {
  border-color: rgba(255, 190, 132, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255, 169, 120, 0.08);
  color: #fff2e4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.home-featured-mission {
  margin-top: -4px;
}

.home-starter-actions {
  padding-top: 16px;
}

.starter-main-cta {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 88px;
  padding: 18px 18px 18px 92px;
  border: 0;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 18%, rgba(255,255,255,0) 52%),
    linear-gradient(135deg, rgba(211, 164, 84, 0.96) 0%, rgba(233, 189, 111, 0.98) 50%, rgba(243, 217, 139, 0.94) 100%);
  color: #4b2f10;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 16px 34px rgba(25, 9, 44, 0.28),
    0 0 28px rgba(235, 191, 103, 0.18);
  cursor: pointer;
}

.starter-main-cta__medallion {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0) 72%),
    linear-gradient(180deg, rgba(133, 77, 22, 0.22) 0%, rgba(133, 77, 22, 0.1) 100%);
  border: 1px solid rgba(116, 69, 22, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 20px rgba(94, 56, 12, 0.18);
}

.starter-main-cta__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.starter-main-cta__copy strong {
  font-size: 15px;
  line-height: 1.05;
  font-weight: 900;
  color: #4a2b13;
  text-align: left;
}

.starter-main-cta__copy span {
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  color: rgba(84, 49, 14, 0.82);
  text-align: left;
}

.starter-main-cta__badge {
  position: absolute;
  top: -10px;
  right: 16px;
  min-height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(90, 53, 12, 0.18) 0%, rgba(90, 53, 12, 0.04) 100%),
    linear-gradient(135deg, rgba(255, 244, 222, 0.96) 0%, rgba(246, 221, 171, 0.92) 100%);
  border: 1px solid rgba(114, 69, 22, 0.2);
  color: #6a4012;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.starter-benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216, 182, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(50, 28, 108, 0.72) 0%, rgba(26, 13, 61, 0.84) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.starter-benefit-card__num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(108, 63, 194, 0.86) 0%, rgba(64, 34, 124, 0.92) 100%);
  border: 1px solid rgba(224, 191, 255, 0.14);
  color: #fff7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.starter-benefit-card__text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.42;
  font-weight: 600;
  color: rgba(242, 234, 255, 0.82);
}

.starter-benefit-card__visual {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.starter-funding-card {
  appearance: none;
  -webkit-appearance: none;
  min-height: 92px;
  padding: 12px 8px 10px;
  border: 1px solid rgba(216, 182, 255, 0.1);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(52, 29, 112, 0.84) 0%, rgba(27, 14, 63, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 12px 22px rgba(8, 4, 20, 0.16);
  cursor: pointer;
}

.starter-funding-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.starter-funding-card__label {
  font-size: 10px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(241, 233, 255, 0.86);
}

.starter-funding-button {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  margin-top: 14px;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 18%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, rgba(214, 168, 88, 0.94) 0%, rgba(243, 217, 139, 0.96) 100%);
  color: #482a11;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 14px 26px rgba(23, 9, 40, 0.24),
    0 0 22px rgba(235, 191, 103, 0.14);
  cursor: pointer;
}

.starter-funding-button__medallion {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(97, 58, 15, 0.12);
}

.starter-funding-button__copy {
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.starter-funding-note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(232, 221, 255, 0.68);
  text-align: center;
}

.starter-step-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(216, 182, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(50, 28, 108, 0.82) 0%, rgba(25, 12, 59, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 28px rgba(8, 4, 20, 0.16);
}

.starter-step-card__side {
  width: 78px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.starter-step-card__num {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(118, 74, 214, 0.9) 0%, rgba(64, 34, 124, 0.94) 100%);
  border: 1px solid rgba(224, 191, 255, 0.14);
  color: #fff8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.starter-step-card__visual {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.starter-step-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.starter-step-card__title {
  font-size: 15px;
  line-height: 1.06;
  font-weight: 800;
  color: #f8efff;
}

.starter-step-card__text {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(234, 223, 255, 0.72);
}

.starter-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(224, 191, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 20%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(58, 32, 123, 0.94) 0%, rgba(27, 13, 62, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 20px rgba(8, 4, 20, 0.18),
    0 0 18px rgba(176, 108, 255, 0.1);
}

.starter-placeholder--mission {
  width: 76px;
  height: 76px;
  border-radius: 26px;
}

.starter-placeholder--medallion {
  width: 34px;
  height: 34px;
}

.starter-placeholder--medallion-sm {
  width: 22px;
  height: 22px;
}

.starter-placeholder--benefit,
.starter-placeholder--token,
.starter-placeholder--step,
.starter-placeholder--gift {
  width: 44px;
  height: 44px;
}

.starter-placeholder--gift {
  width: 78px;
  height: 78px;
  border-radius: 24px;
}

.daily-bonus-banner--starter {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 126px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(216, 182, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(180px 90px at 12% 20%, rgba(240, 139, 255, 0.12) 0%, rgba(240, 139, 255, 0) 70%),
    radial-gradient(160px 90px at 100% 100%, rgba(143, 123, 255, 0.14) 0%, rgba(143, 123, 255, 0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 20%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(40, 21, 88, 0.94) 0%, rgba(19, 9, 45, 0.98) 100%);
  box-shadow:
    0 18px 36px rgba(8, 4, 20, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.daily-bonus-banner--starter::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 14, 64, 0.04) 0%, rgba(30, 14, 64, 0.18) 44%, rgba(30, 14, 64, 0.34) 100%);
}

.daily-bonus-banner--starter::after {
  border-color: rgba(255,255,255,0.08);
}

.daily-bonus-banner__media {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(62, 34, 129, 0.82) 0%, rgba(30, 16, 80, 0.92) 100%);
  border: 1px solid rgba(220, 190, 255, 0.08);
}

.daily-bonus-banner__gift-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f6edff;
  filter:
    drop-shadow(0 0 16px rgba(238, 169, 255, 0.24))
    drop-shadow(0 8px 18px rgba(11, 4, 28, 0.22));
}

.daily-bonus-banner__gift-icon .ui-icon {
  width: 100%;
  height: 100%;
}

.daily-bonus-banner--starter .daily-bonus-banner__content {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  transform: none;
  width: auto;
  margin: 0;
  flex: 1;
  gap: 8px;
}

.daily-bonus-banner--starter .daily-bonus-banner__title {
  font-size: 18px;
  line-height: 1.08;
}

.daily-bonus-banner--starter .daily-bonus-banner__status {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.daily-bonus-banner--starter .daily-bonus-banner__label {
  font-size: 10px;
  letter-spacing: 0.1em;
}

.daily-bonus-banner--starter .daily-bonus-banner__value {
  font-size: 14px;
}

.starter-home-shell .bottom-nav {
  background:
    radial-gradient(108% 160% at 50% -54%, rgba(238, 194, 255, 0.2) 0%, rgba(238, 194, 255, 0) 34%),
    linear-gradient(180deg, rgba(42, 22, 86, 0.94) 0%, rgba(15, 7, 34, 0.985) 62%, rgba(9, 4, 23, 0.995) 100%);
  border-top-color: rgba(236, 204, 255, 0.16);
  box-shadow:
    0 -24px 44px rgba(5, 2, 16, 0.38),
    0 -1px 0 rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.starter-home-shell .bottom-nav::after {
  width: min(52vw, 210px);
  background: linear-gradient(90deg, rgba(246, 201, 255, 0), rgba(246, 201, 255, 0.72), rgba(196, 157, 255, 0.78), rgba(246, 201, 255, 0));
  box-shadow:
    0 0 14px rgba(228, 156, 255, 0.38),
    0 0 26px rgba(135, 93, 255, 0.18);
}

.starter-home-shell .nav-item__core {
  gap: 6px;
  padding: 7px 2px 6px;
}

.starter-home-shell .nav-item__core::before {
  left: 16%;
  right: 16%;
  top: auto;
  bottom: -8px;
  height: 54px;
  border-radius: 999px 999px 28px 28px;
  transform: scaleY(0.72);
  background:
    radial-gradient(ellipse at center bottom, rgba(255,255,255,0.2) 0%, rgba(230, 180, 255, 0.22) 18%, rgba(162, 110, 255, 0.16) 42%, rgba(162, 110, 255, 0.02) 76%, rgba(162, 110, 255, 0) 100%);
  clip-path: none;
  filter: blur(12px);
}

.starter-home-shell .nav-item__core::after {
  left: 28%;
  right: 28%;
  bottom: -10px;
  height: 66px;
  transform: scaleX(0.84);
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(227, 176, 255, 0.16) 42%, rgba(227, 176, 255, 0.38) 100%);
  clip-path: polygon(50% 0, 90% 100%, 10% 100%);
  filter: blur(14px);
}

.starter-home-shell .nav-icon-shell {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
}

.starter-home-shell .nav-item.active .nav-icon-shell {
  border-color: rgba(236, 204, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 18px rgba(47, 25, 104, 0.14),
    0 0 18px rgba(195, 128, 255, 0.12);
}

.starter-home-shell .nav-item.active .nav-icon {
  filter:
    drop-shadow(0 0 7px rgba(240, 180, 255, 0.42))
    drop-shadow(0 0 14px rgba(180, 120, 255, 0.22));
}

@media (max-width: 380px) {
  .starter-home-shell .top-bar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .starter-home-shell .top-bar-center {
    width: min(100%, 150px);
  }

  .hero-section--starter-ui {
    min-height: 256px;
  }

  .starter-hero-scene {
    height: 256px;
  }

  .starter-hero-scene__backdrop {
    inset: 16px 8px 34px;
  }

  .starter-hero-scene__orbital {
    width: 236px;
    height: 206px;
  }

  .starter-hero-placeholder--badge {
    width: 74px;
    height: 74px;
    right: 10px;
    bottom: 52px;
  }

  .starter-hero-scene__rocket-visual .rocket-ship {
    width: 146px;
    height: 198px;
    margin-bottom: 66px;
  }

  .starter-hero-scene__rocket-visual .rocket-image {
    height: 172px;
  }

  .starter-hero-scene .platform-image {
    width: 224px;
  }

  .starter-copy-block__title {
    font-size: 28px;
  }

  .starter-panel {
    padding: 16px 14px 14px;
    border-radius: 28px;
  }

  .starter-panel__title {
    font-size: 17px;
  }

  .starter-mission-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .starter-mission-card__media {
    min-height: 100px;
  }

  .starter-placeholder--mission {
    width: 66px;
    height: 66px;
  }

  .starter-mission-card__price strong {
    font-size: 21px;
  }

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

  .starter-mission-card__metrics--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .starter-main-cta {
    min-height: 82px;
    padding: 16px 16px 16px 82px;
  }

  .starter-main-cta__medallion {
    left: 14px;
    width: 52px;
    height: 52px;
  }

  .starter-main-cta__copy strong {
    font-size: 14px;
  }

  .starter-benefit-card {
    min-height: 68px;
    padding: 9px 10px;
  }

  .starter-benefit-card__num {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .starter-benefit-card__text {
    font-size: 11px;
  }

  .starter-funding-grid {
    gap: 8px;
  }

  .starter-funding-card {
    min-height: 84px;
    padding: 10px 6px 9px;
  }

  .starter-funding-card__label {
    font-size: 9px;
  }

  .starter-step-card {
    min-height: 110px;
    padding: 13px;
  }

  .starter-step-card__side {
    width: 70px;
  }

  .starter-step-card__visual {
    width: 52px;
    height: 52px;
  }

  .starter-step-card__title {
    font-size: 14px;
  }

  .starter-step-card__text {
    font-size: 11px;
  }

  .daily-bonus-banner--starter {
    min-height: 116px;
    padding: 14px;
  }

  .daily-bonus-banner__media {
    width: 82px;
    height: 82px;
  }

  .starter-placeholder--gift {
    width: 70px;
    height: 70px;
  }

  .daily-bonus-banner__gift-icon {
    width: 56px;
    height: 56px;
  }

  .daily-bonus-banner--starter .daily-bonus-banner__title {
    font-size: 16px;
  }
}

.faq-page__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: calc(var(--nav-height) + 28px);
}

.faq-hero,
.faq-section,
.faq-contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(214, 178, 255, 0.14);
  background:
    radial-gradient(220px 110px at 0% 0%, rgba(240, 139, 255, 0.08) 0%, rgba(240, 139, 255, 0) 72%),
    radial-gradient(240px 140px at 100% 100%, rgba(143, 123, 255, 0.12) 0%, rgba(143, 123, 255, 0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 16%, rgba(255,255,255,0) 40%),
    linear-gradient(180deg, rgba(40, 21, 88, 0.94) 0%, rgba(19, 9, 45, 0.98) 100%);
  box-shadow:
    0 18px 34px rgba(7, 4, 19, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 24px rgba(176, 108, 255, 0.08);
}

.faq-hero::before,
.faq-section::before,
.faq-contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  pointer-events: none;
}

.faq-hero {
  padding: 20px 18px 18px;
}

.faq-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
}

.faq-hero__glow--one {
  left: -22px;
  top: -18px;
  width: 138px;
  height: 138px;
  background: radial-gradient(circle, rgba(240, 139, 255, 0.18) 0%, rgba(240, 139, 255, 0) 72%);
}

.faq-hero__glow--two {
  right: -26px;
  bottom: -20px;
  width: 154px;
  height: 154px;
  background: radial-gradient(circle, rgba(143, 123, 255, 0.18) 0%, rgba(143, 123, 255, 0) 72%);
}

.faq-hero__eyebrow,
.faq-section__eyebrow,
.faq-contact-card__eyebrow {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233, 218, 255, 0.62);
}

.faq-hero__headline {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #faf2ff;
  text-shadow: 0 12px 28px rgba(14, 7, 32, 0.26);
}

.faq-hero__text {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(236, 226, 255, 0.76);
}

.faq-hero__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.faq-chip {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(220, 190, 255, 0.1);
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  color: rgba(244, 235, 255, 0.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.faq-section {
  padding: 16px;
}

.faq-section__head {
  margin-bottom: 14px;
}

.faq-section__title {
  margin: 6px 0 0;
  font-size: 19px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8efff;
}

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

.faq-item {
  border-radius: 22px;
  border: 1px solid rgba(218, 184, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(52, 29, 112, 0.82) 0%, rgba(25, 12, 59, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 20px rgba(8, 4, 20, 0.14);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(224, 191, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 24px rgba(8, 4, 20, 0.16),
    0 0 22px rgba(176, 108, 255, 0.08);
}

.faq-item__summary {
  list-style: none;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 14px 12px;
  cursor: pointer;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__index {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(116, 73, 210, 0.88) 0%, rgba(64, 34, 124, 0.92) 100%);
  border: 1px solid rgba(224, 191, 255, 0.14);
  color: #fff8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.faq-item__question {
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  color: #f7f0ff;
}

.faq-item__chevron {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(241, 228, 255, 0.7);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item__chevron .ui-icon {
  width: 18px;
  height: 18px;
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(90deg);
  color: #fff7ff;
}

.faq-item__answer {
  padding: 0 16px 16px 56px;
}

.faq-item__answer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.62;
  color: rgba(232, 221, 255, 0.72);
}

.faq-contact-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 16px;
}

.faq-contact-card__visual {
  position: relative;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-contact-card__orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 36%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(214, 168, 88, 0.92) 0%, rgba(243, 217, 139, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 14px 24px rgba(23, 9, 40, 0.2),
    0 0 20px rgba(235, 191, 103, 0.14);
}

.faq-contact-card__icon {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 247, 255, 0.96);
  filter:
    drop-shadow(0 6px 14px rgba(32, 14, 52, 0.18))
    drop-shadow(0 0 12px rgba(255, 241, 197, 0.18));
}

.faq-contact-card__icon .ui-icon {
  width: 28px;
  height: 28px;
}

.faq-contact-card__body {
  min-width: 0;
}

.faq-contact-card__title {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.08;
  font-weight: 800;
  color: #f8efff;
}

.faq-contact-card__text {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.58;
  color: rgba(232, 221, 255, 0.72);
}

.faq-contact-card__action {
  grid-column: 1 / -1;
  min-height: 58px;
  margin-top: 2px;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 18%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, rgba(214, 168, 88, 0.94) 0%, rgba(243, 217, 139, 0.96) 100%);
  color: #482a11;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 14px 24px rgba(23, 9, 40, 0.22),
    0 0 20px rgba(235, 191, 103, 0.12);
}

@media (max-width: 380px) {
  .faq-hero {
    padding: 18px 15px 16px;
  }

  .faq-hero__headline {
    font-size: 25px;
  }

  .faq-hero__text {
    font-size: 12px;
  }

  .faq-section {
    padding: 14px;
  }

  .faq-section__title {
    font-size: 17px;
  }

  .faq-item__summary {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    padding: 13px 12px 13px 11px;
  }

  .faq-item__index {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }

  .faq-item__question {
    font-size: 12px;
  }

  .faq-item__answer {
    padding: 0 13px 14px 52px;
  }

  .faq-contact-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 14px;
  }

  .faq-contact-card__visual,
  .faq-contact-card__orb {
    width: 48px;
    height: 48px;
  }

  .faq-contact-card__icon .ui-icon {
    width: 24px;
    height: 24px;
  }

  .faq-contact-card__title {
    font-size: 16px;
  }
}
