:root {
  /* Crypto + legacy gold — aligned with Maharaja Coin app */
  --bg-deep: #06080f;
  --bg: #0b0f18;
  --bg-soft: #121826;
  --chain: #1e293b;
  --gold: #d4a44a;
  --gold-soft: #f0c96a;
  --gold-dim: #9a7b32;
  --solana: #9945ff;
  --solana-teal: #14f195;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --card: rgba(15, 23, 42, 0.72);
  --border: rgba(212, 164, 74, 0.22);
  --max: 760px;
  --radius: 16px;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.75rem;
  --space-8: 3.5rem;
  --section-gap: clamp(1.35rem, 3.5vw, 2rem);
  --touch-min: 44px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text);
  background:
    linear-gradient(rgba(6, 8, 15, 0.92), rgba(6, 8, 15, 0.92)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 24px,
      rgba(30, 41, 59, 0.35) 24px,
      rgba(30, 41, 59, 0.35) 25px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 24px,
      rgba(30, 41, 59, 0.35) 24px,
      rgba(30, 41, 59, 0.35) 25px
    ),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(153, 69, 255, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(20, 241, 149, 0.08), transparent),
    radial-gradient(ellipse 50% 35% at 0% 100%, rgba(212, 164, 74, 0.1), transparent),
    linear-gradient(180deg, #0f1420 0%, var(--bg-deep) 50%, #040508 100%);
  line-height: 1.65;
}

a {
  color: var(--gold-soft);
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(212, 164, 74, 0.15);
}

button {
  -webkit-tap-highlight-color: rgba(212, 164, 74, 0.15);
}

a:hover {
  color: var(--solana-teal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(6, 8, 15, 0.9);
  border-bottom: 1px solid var(--border);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.header-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem max(1rem, env(safe-area-inset-right, 1rem)) 0.75rem max(1rem, env(safe-area-inset-left, 1rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 0 12px var(--accent-glow);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 44px;
}

.site-nav {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(212, 164, 74, 0.12);
  text-decoration: none;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding:
    clamp(1rem, 3vw, 2rem)
    max(clamp(0.85rem, 3vw, 1.35rem), env(safe-area-inset-right, 0.85rem))
    clamp(2.5rem, 7vw, 4.5rem)
    max(clamp(0.85rem, 3vw, 1.35rem), env(safe-area-inset-left, 0.85rem));
}

.page-stack {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.page-stack > * {
  margin-top: 0;
  margin-bottom: 0;
}

.section-divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 164, 74, 0.35) 20%,
    rgba(212, 164, 74, 0.35) 80%,
    transparent
  );
}

.hero {
  text-align: center;
  padding: clamp(0.35rem, 2vw, 0.85rem) 0 var(--space-6);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.hero-logo {
  width: clamp(140px, 42vw, 190px);
  height: clamp(148px, 44vw, 200px);
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 164, 74, 0.45);
  box-shadow:
    0 0 0 4px rgba(153, 69, 255, 0.12),
    0 0 40px rgba(59, 130, 246, 0.15),
    0 16px 40px rgba(0, 0, 0, 0.45);
}

.hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--solana-teal);
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 7vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold-soft) 55%, var(--solana-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 3.8vw, 1rem);
  line-height: 1.6;
  padding: 0 0.15rem;
}

.home-stats {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  margin-top: var(--space-5);
  width: 100%;
  text-align: left;
}

.app-download-section {
  width: 100%;
  margin-top: var(--space-5);
  margin-bottom: 0;
  padding: var(--space-5) 0 0;
  border-top: 1px solid rgba(212, 164, 74, 0.14);
}

.app-download-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.app-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-size: clamp(0.82rem, 3.6vw, 0.95rem);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.app-download-btn:hover {
  transform: translateY(-1px);
}

.app-download-btn.ios {
  color: #fff;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(15, 23, 42, 0.8));
  border-color: rgba(59, 130, 246, 0.4);
}

.app-download-btn.android {
  color: #fff;
  background: linear-gradient(135deg, rgba(20, 241, 149, 0.2), rgba(15, 23, 42, 0.8));
  border-color: rgba(20, 241, 149, 0.35);
}

.app-download-btn.wallet-cta {
  grid-column: 1 / -1;
  color: var(--gold-soft);
  background: linear-gradient(135deg, rgba(212, 164, 74, 0.22), rgba(153, 69, 255, 0.16));
  border-color: rgba(212, 164, 74, 0.55);
}

.app-download-btn.coming-soon {
  cursor: default;
  opacity: 0.72;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.25);
  pointer-events: none;
}

.stat-pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.stat-label {
  flex: 0 0 auto;
  order: 2;
  max-width: 46%;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.35;
}

.stat-value {
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
}

.stat-value .metric-value,
.stat-value .metric-unit {
  display: inline;
}

.stat-value .metric-unit {
  margin-left: 0.12rem;
  font-size: 0.82em;
  font-weight: 600;
  color: var(--muted);
}

.stat-value.growth-up { color: var(--solana-teal); }

.metric-shimmer {
  display: inline-block;
  width: 6.5rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.metric-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(212, 164, 74, 0.15), transparent);
  animation: metric-shimmer 1.15s ease-in-out infinite;
}

.metric-shimmer.wide { width: 8.5rem; }
.metric-shimmer.countdown { width: 7.5rem; }

@keyframes metric-shimmer {
  100% { transform: translateX(100%); }
}

.story {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.story-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.45rem) clamp(1.1rem, 3vw, 1.3rem);
  backdrop-filter: blur(8px);
}

.story-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--gold-soft);
  font-weight: 700;
}

.story-block p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.75;
}

.story-block p:last-child { margin-bottom: 0; }

.story-quote {
  border-left: 3px solid var(--solana);
  padding-left: 1rem;
  font-style: italic;
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin: var(--space-4) 0 0;
}

@media (min-width: 520px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

.feature-card {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: var(--gold-soft);
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-family: var(--font);
}

.disclaimer {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.6;
  padding: var(--space-4) var(--space-4);
  border-radius: 12px;
  border: 1px solid rgba(212, 164, 74, 0.15);
  background: rgba(0, 0, 0, 0.2);
}

.prose .disclaimer {
  margin-top: var(--space-4);
}

.disclaimer strong { color: var(--gold-soft); }

.site-socials {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.socials-empty {
  margin: var(--space-3) 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.socials-heading {
  margin: 0 0 var(--space-4);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.socials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .socials-grid { grid-template-columns: 1fr 1fr; }
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
  min-height: 56px;
}

.social-card:hover {
  text-decoration: none;
  border-color: var(--social-tint, var(--gold));
  transform: translateY(-1px);
}

.social-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold-soft);
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.social-icon img[src*="tiktok"] {
  object-position: center 54%;
}

.social-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.social-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.social-handle {
  font-size: 0.78rem;
  color: var(--muted);
}

.page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  color: var(--gold-soft);
  line-height: 1.15;
}

.page-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

main > .page-title {
  text-align: center;
}

main > .page-meta {
  text-align: center;
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

main > .page-meta + .prose {
  margin-top: 0;
}

.prose {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 3vw, 1.4rem) clamp(1.05rem, 3vw, 1.25rem);
}

.prose h2 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin: 1.15rem 0 0.45rem;
  font-size: 0.98rem;
  color: var(--gold-soft);
}

.legal-summary {
  margin: 0 0 1.25rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: var(--text);
  font-size: 0.92rem;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.prose a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prose p {
  margin: 0 0 var(--space-4);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.2rem;
}

.prose ul:last-child,
.prose ol:last-child {
  margin-bottom: 0;
}

.about-hero,
.books-hero,
.movies-hero {
  text-align: center;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

.about-hero-eyebrow, .books-hero-eyebrow, .movies-hero-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--solana-teal);
}

.about-prose { font-family: var(--font-serif); }

.about-lead {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--text) !important;
}

.about-next {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-family: var(--font);
}

.book-card-body,
.movie-card > div {
  min-width: 0;
}

.books-grid,
.movies-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.book-card,
.movie-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.1rem, 3vw, 1.4rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.book-card {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: clamp(1rem, 3vw, 1.35rem);
  align-items: start;
}

.book-cover,
.book-cover-placeholder,
.movie-poster,
.movie-poster-placeholder {
  aspect-ratio: 2/3;
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--gold-soft);
  background: linear-gradient(145deg, rgba(153, 69, 255, 0.2), rgba(212, 164, 74, 0.15));
  border: 1px solid var(--border);
}

.book-cover,
.movie-poster {
  width: 100%;
  height: auto;
  padding: 0;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.movie-card {
  display: grid;
  grid-template-columns: minmax(120px, 150px) 1fr;
  gap: clamp(1rem, 3vw, 1.35rem);
  align-items: start;
}

.movie-poster {
  aspect-ratio: 3/4;
}

.movie-poster-placeholder {
  aspect-ratio: 3/4;
  font-size: 0.75rem;
}

.book-eyebrow, .movie-type {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--solana-teal);
}

.book-card h2, .movie-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  color: var(--gold-soft);
  line-height: 1.3;
}

.book-desc, .movie-desc {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.65;
}

.book-highlights {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.book-links,
.movie-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.book-buy-btn, .movie-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border: 1px solid rgba(212, 164, 74, 0.45);
}

.book-buy-btn.secondary, .movie-link-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.site-footer {
  margin-top: var(--space-2);
  border-top: 1px solid var(--border);
  padding:
    var(--space-6)
    max(var(--space-4), env(safe-area-inset-right, 1rem))
    max(var(--space-8), env(safe-area-inset-bottom, 2rem))
    max(var(--space-4), env(safe-area-inset-left, 1rem));
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.12);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem max(0.85rem, env(safe-area-inset-right, 0.85rem)) 0.85rem max(0.85rem, env(safe-area-inset-left, 0.85rem));
    background: rgba(6, 8, 15, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    width: 100%;
    min-height: var(--touch-min);
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
  }

  .hero {
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-5);
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero-logo {
    width: clamp(118px, 34vw, 150px);
    height: clamp(124px, 36vw, 158px);
    margin-bottom: 1rem;
  }

  .stat-pill {
    padding: 0.9rem 1rem;
    border-radius: 16px;
  }

  .stat-label {
    max-width: 42%;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .stat-value {
    font-size: clamp(0.95rem, 4.5vw, 1.1rem);
  }

  .metric-shimmer,
  .metric-shimmer.wide,
  .metric-shimmer.countdown {
    width: 6.5rem;
    max-width: 100%;
  }

  .app-download-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .app-download-btn {
    min-height: var(--touch-min);
    width: 100%;
  }

  .platform-section,
  .how-section,
  .compliance-section,
  .partners-section {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
  }

  .section-head {
    margin-bottom: var(--space-4);
  }

  .section-title {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .section-lead,
  .offer-card p,
  .steps-list li span,
  .compliance-list {
    font-size: 0.86rem;
  }

  .book-card,
  .movie-card {
    grid-template-columns: 96px 1fr;
    gap: 0.85rem;
    padding: 1rem;
    align-items: start;
  }

  .book-cover,
  .movie-poster {
    max-width: none;
    margin: 0;
    border-radius: 10px;
  }

  .book-card h2,
  .movie-card h2 {
    font-size: 1rem;
  }

  .book-desc,
  .movie-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .book-highlights {
    font-size: 0.84rem;
    padding-left: 1rem;
  }

  .book-links,
  .movie-links {
    flex-direction: column;
    gap: 0.55rem;
  }

  .book-buy-btn,
  .movie-link-btn {
    width: 100%;
    min-height: var(--touch-min);
  }

  .social-card {
    min-height: var(--touch-min);
    padding: 0.85rem 1rem;
  }

  .prose {
    padding: 1rem 0.95rem;
  }

  .prose p,
  .prose li {
    font-size: 0.9rem;
  }

  .legal-summary {
    font-size: 0.88rem;
    padding: 0.9rem;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .footer-legal a {
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
  }

  .footer-disclaimer {
    font-size: 0.72rem;
    padding: 0 0.25rem;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 0.88rem;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

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

@media (hover: none) and (pointer: coarse) {
  .social-card:hover,
  .app-download-btn:hover,
  .book-buy-btn:hover,
  .movie-link-btn:hover {
    transform: none;
  }
}

/* Partner-friendly home sections */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.trust-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 0.5rem;
  border-radius: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(212, 164, 74, 0.08);
  border: 1px solid rgba(212, 164, 74, 0.22);
}

@media (min-width: 480px) {
  .trust-pill {
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.68rem;
    border-radius: 999px;
  }
}

@media (min-width: 720px) {
  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-pill {
    min-height: auto;
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }
}

.section-head {
  text-align: center;
  margin-bottom: var(--space-5);
}

.section-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--solana-teal);
}

.section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 4.5vw, 1.65rem);
  color: var(--gold-soft);
  line-height: 1.2;
}

.section-lead {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.platform-section,
.how-section,
.compliance-section,
.partners-section {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 560px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
}

.offer-card {
  padding: var(--space-4);
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
}

.offer-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.offer-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  padding: var(--space-4);
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
}

.steps-list li strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 0.95rem;
}

.steps-list li strong::before {
  content: counter(step) ". ";
  color: var(--solana-teal);
}

.steps-list li span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.compliance-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.compliance-list li + li {
  margin-top: var(--space-3);
}

.partners-note {
  font-size: 0.85rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (min-width: 560px) {
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-4) var(--space-3);
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.partner-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.partner-role {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.risk-banner {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.06);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.footer-tagline {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.footer-legal a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.footer-disclaimer {
  margin: 0;
  max-width: 34rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.85);
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ——— Wallet (mirrors iOS EmbeddedWalletView) ——— */

.wallet-body {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.wallet-main {
  max-width: 520px;
  margin: 0 auto;
  padding: var(--space-5) max(var(--space-4), env(safe-area-inset-left, 0px)) var(--space-8)
    max(var(--space-4), env(safe-area-inset-right, 0px));
}

.wallet-app {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 4vw, 1.85rem);
}

.wallet-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.wallet-loading-card,
.wallet-surface {
  padding: var(--space-5);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.88) 0%, rgba(12, 18, 32, 0.94) 100%);
  border: 1px solid rgba(40, 66, 130, 0.42);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
}

.wallet-spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--space-3);
  border: 3px solid rgba(59, 130, 246, 0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: wallet-spin 0.9s linear infinite;
}

@keyframes wallet-spin {
  to { transform: rotate(360deg); }
}

.wallet-offline-banner {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.82rem;
  text-align: center;
}

.wallet-auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-4);
}

.wallet-auth-lead {
  margin: 0;
  max-width: 22rem;
  font-size: 0.92rem;
  color: var(--text);
  text-align: center;
  line-height: 1.5;
}

.wallet-auth-note {
  margin: 0;
  max-width: 22rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

.wallet-auth-status {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.wallet-auth-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.wallet-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}

.wallet-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--touch-min);
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(40, 66, 130, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.wallet-auth-btn:hover:not(:disabled) {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(59, 130, 246, 0.45);
}

.wallet-auth-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wallet-email-panel {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-email-panel input {
  width: 100%;
  min-height: var(--touch-min);
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(40, 66, 130, 0.35);
  background: rgba(10, 14, 22, 0.9);
  color: var(--text);
  font-size: 1rem;
}

.wallet-email-panel input:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 1px;
}

.wallet-hero {
  padding: 18px 16px 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgb(58, 92, 168) 0%, rgb(34, 48, 96) 48%, rgb(22, 32, 68) 100%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wallet-hero-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.wallet-hero-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.wallet-hero-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.wallet-sol-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}

.wallet-hero-actions-top {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-currency-btn,
.wallet-refresh-btn {
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
}

.wallet-currency-btn {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
}

.wallet-refresh-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}

.wallet-refresh-btn.is-spinning svg {
  animation: wallet-spin 0.9s linear infinite;
}

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

.wallet-hero-amount {
  margin: 0;
  font-size: clamp(1.5rem, 6vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.wallet-hero-sub {
  margin: 2px 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.wallet-hero-fiat {
  text-align: right;
}

.wallet-hero-fiat-value {
  margin: 0;
  font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.wallet-hero-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.wallet-hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border: none;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.wallet-hero-btn-primary {
  background: #fff;
  color: rgb(46, 107, 250);
}

.wallet-hero-btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.wallet-hero-buttons-single {
  grid-template-columns: 1fr;
}

.wallet-safety-banner {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.32);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(15, 23, 42, 0.72) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-safety-title {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #93c5fd;
}

.wallet-safety-text {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.92);
}

.wallet-app-promo-card {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(212, 164, 74, 0.32);
  background: linear-gradient(160deg, rgba(212, 164, 74, 0.08) 0%, rgba(15, 23, 42, 0.82) 55%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-app-promo-text {
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.92);
}

.wallet-app-promo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wallet-app-promo-actions li {
  min-width: 0;
}

.wallet-app-chip {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: rgba(203, 213, 225, 0.95);
  white-space: nowrap;
}

.wallet-asset-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.wallet-asset-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-payment-row-muted {
  opacity: 0.85;
}

.wallet-asset-list {
  gap: var(--space-3);
}

.wallet-list-card {
  border-radius: 18px;
  border: 1px solid rgba(40, 66, 130, 0.42);
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.9) 0%, rgba(12, 18, 32, 0.96) 100%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.wallet-list-card .wallet-asset-row,
.wallet-list-card .wallet-payment-row,
.wallet-list-card .wallet-activity-row {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wallet-list-card .wallet-asset-row:not(:last-child),
.wallet-list-card .wallet-payment-row:not(:last-child),
.wallet-list-card .wallet-activity-row:not(:last-child) {
  border-bottom: 1px solid rgba(40, 66, 130, 0.28);
}

.wallet-list-card .wallet-asset-row:hover,
.wallet-list-card .wallet-payment-row:hover,
.wallet-list-card .wallet-activity-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.wallet-section-label {
  margin: 0 0 2px 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.88);
}

.wallet-asset-row,
.wallet-payment-row,
.wallet-activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: var(--touch-min);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(40, 66, 130, 0.38);
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.88) 0%, rgba(12, 18, 32, 0.94) 100%);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}

.wallet-asset-row:active,
.wallet-payment-row:active,
.wallet-activity-row:active {
  transform: scale(0.995);
}

.wallet-asset-row:hover,
.wallet-payment-row:hover,
.wallet-activity-row:hover {
  background: rgba(22, 32, 52, 0.9);
}

.wallet-asset-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.wallet-asset-icon.usdc { background: #2775ca; color: #fff; }
.wallet-asset-icon.usdt { background: #26a17b; color: #fff; }
.wallet-asset-icon.sol { background: linear-gradient(135deg, #9945ff, #14f195); color: #fff; }

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

.wallet-asset-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.wallet-asset-network {
  margin: 2px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.wallet-asset-values {
  text-align: right;
}

.wallet-asset-amount {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.wallet-asset-fiat {
  margin: 2px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.wallet-payment-row {
  padding: 16px 18px;
}

.wallet-payment-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 600;
  font-size: 0.94rem;
}

.wallet-badge-soon {
  border-color: rgba(212, 164, 74, 0.55);
  color: var(--gold-soft);
}

.wallet-section-note {
  margin: 0 2px var(--space-2);
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.95);
}

.wallet-badge {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(20, 241, 149, 0.6);
  color: #14f195;
  font-size: 0.65rem;
  font-weight: 700;
}

.wallet-payment-arrow {
  margin-left: auto;
  color: var(--muted);
}

.wallet-create-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, rgb(46, 107, 250), rgb(30, 64, 175));
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.wallet-create-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wallet-error-card {
  padding: var(--space-5);
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  text-align: center;
}

.wallet-error-card button {
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.wallet-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: env(safe-area-inset-bottom, 0) 0 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

@media (min-width: 540px) {
  .wallet-modal-backdrop {
    align-items: center;
    padding: var(--space-4);
  }
}

.wallet-modal {
  width: 100%;
  max-width: 480px;
  max-height: min(92vh, 720px);
  overflow: auto;
  border-radius: 20px 20px 0 0;
  background: var(--bg-soft);
  border: 1px solid rgba(40, 66, 130, 0.45);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
}

@media (min-width: 540px) {
  .wallet-modal {
    border-radius: 20px;
  }
}

.wallet-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(40, 66, 130, 0.35);
}

.wallet-modal-header h2 {
  margin: 0;
  font-size: 1.05rem;
}

.wallet-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
}

.wallet-modal-body {
  padding: 16px 18px 24px;
}

.wallet-deposit-amount {
  text-align: center;
  margin-bottom: 18px;
}

.wallet-deposit-amount-value {
  margin: 0;
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
}

.wallet-deposit-amount-label {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.wallet-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.wallet-preset-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(40, 66, 130, 0.45);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.wallet-keypad {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.wallet-keypad-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wallet-key {
  min-height: 52px;
  border: none;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

.wallet-continue-btn {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 14px;
  background: #14f195;
  color: #0a0f18;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.wallet-continue-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.wallet-disclaimer {
  margin: 12px 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.wallet-receive-qr {
  display: block;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.wallet-address-box {
  word-break: break-all;
  padding: 12px;
  border-radius: 12px;
  background: rgba(10, 14, 22, 0.9);
  border: 1px solid rgba(40, 66, 130, 0.35);
  font-size: 0.78rem;
  font-family: ui-monospace, monospace;
  margin-bottom: 12px;
}

.wallet-copy-btn {
  width: 100%;
  min-height: var(--touch-min);
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

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

.wallet-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(40, 66, 130, 0.35);
}

.wallet-settings-row select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(40, 66, 130, 0.45);
  background: rgba(10, 14, 22, 0.9);
  color: var(--text);
}

.wallet-logout-btn {
  width: 100%;
  min-height: var(--touch-min);
  margin-top: 8px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  font-weight: 600;
  cursor: pointer;
}

.wallet-notice-text {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.wallet-notice-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
}

.wallet-toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0));
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgb(46, 107, 250);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.privy-embed-host {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.wallet-shimmer {
  display: inline-block;
  width: 80px;
  height: 1.1em;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.28), rgba(255,255,255,0.12));
  background-size: 200% 100%;
  animation: wallet-shimmer 1.2s ease-in-out infinite;
}

@keyframes wallet-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (max-width: 420px) {
  .wallet-main {
    padding-top: var(--space-4);
    padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom, 0px));
  }

  .wallet-app {
    gap: 1.25rem;
  }

  .wallet-hero {
    padding: 16px 14px 14px;
  }

  .wallet-hero-balances {
    gap: 12px;
  }

  .wallet-hero-amount {
    font-size: clamp(1.35rem, 7vw, 1.65rem);
  }

  .wallet-app-promo-actions {
    grid-template-columns: 1fr;
  }

  .wallet-app-chip {
    white-space: normal;
  }

  .wallet-list-card .wallet-asset-row,
  .wallet-list-card .wallet-payment-row,
  .wallet-list-card .wallet-activity-row {
    padding: 14px;
  }

  .wallet-modal-body {
    padding: 16px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 360px) {
  .wallet-asset-name,
  .wallet-asset-amount {
    font-size: 0.86rem;
  }

  .wallet-asset-fiat,
  .wallet-asset-network {
    font-size: 0.68rem;
  }
}
