/* ============================================================
   BitBet.tn — Design System
   ============================================================ */

/* CSS Custom Properties (design tokens) */
:root {
  /* Colors — Ink (dark backgrounds) */
  --ink-950: #07070A;
  --ink-900: #0A0A0C;
  --ink-800: #111114;
  --ink-700: #17171B;
  --ink-600: #1F1F25;
  --ink-500: #2A2A32;
  --ink-400: #3A3A44;

  /* Colors — Gold (primary accent) */
  --gold-50: #FBF4DC;
  --gold-100: #F5E5AE;
  --gold-200: #EFD382;
  --gold-300: #E9C258;
  --gold-400: #E3B42F;
  --gold-500: #C99822;
  --gold-600: #A57D1B;
  --gold-700: #7D5F15;
  --gold-800: #55410F;

  /* Colors — Bone (off-white text) */
  --bone-50: #FAF8F2;
  --bone-100: #F0EDE3;
  --bone-200: #D9D5C8;
  --bone-300: #B4AFA0;
  --bone-400: #847F72;

  /* Colors — Functional */
  --emerald-500: #10B981;
  --emerald-600: #059669;
  --ruby-500: #EF4444;
  --ruby-600: #DC2626;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Spacing */
  --container: 1280px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 0.2s;
  --t-base: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============================================================
   RESET
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  background: var(--ink-950);
  color: var(--bone-100);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  padding-bottom: 72px; /* Space for mobile bottom bar */
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.91 0 0 0 0 0.73 0 0 0 0 0.18 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  z-index: 1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-500); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

.font-display { font-family: var(--font-display); font-optical-sizing: auto; }
.font-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.gold-text {
  background: linear-gradient(180deg, #FBF4DC 0%, #E9C258 55%, #A57D1B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.04em; }
.tracking-wider { letter-spacing: 0.08em; }
.tracking-widest { letter-spacing: 0.15em; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }

@media (min-width: 768px) {
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-7xl { font-size: 4.5rem; }
  .md\:text-8xl { font-size: 6rem; }
}

/* Colors */
.text-bone-50  { color: var(--bone-50); }
.text-bone-100 { color: var(--bone-100); }
.text-bone-300 { color: var(--bone-300); }
.text-bone-400 { color: var(--bone-400); }
.text-gold-200 { color: var(--gold-200); }
.text-gold-300 { color: var(--gold-300); }
.text-gold-400 { color: var(--gold-400); }
.text-emerald-500 { color: var(--emerald-500); }
.text-ruby-500 { color: var(--ruby-500); }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

.section { padding-block: 5rem; position: relative; }
@media (min-width: 768px) {
  .section { padding-block: 7rem; }
}

/* Flex / Grid utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

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

@media (max-width: 767px) {
  .grid-md-1 { grid-template-columns: 1fr; }
  .grid-md-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:grid-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* Spacing */
.mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; } .mt-16 { margin-top: 4rem; }

.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; }

.p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; } .p-10 { padding: 2.5rem; } .p-12 { padding: 3rem; }

.max-w-sm { max-width: 24rem; } .max-w-md { max-width: 28rem; } .max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; } .max-w-2xl { max-width: 42rem; } .max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  transition: background var(--t-slow), border-color var(--t-slow);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(31, 31, 37, 0.4);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .header-inner { padding: 1rem 2rem; height: 80px; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
}

.logo-text .bit { /* gold-text applied inline */ }
.logo-text .bet { color: var(--bone-50); }

.logo-dot {
  position: absolute;
  top: -4px;
  right: -8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  animation: pulseDot 2s ease-in-out infinite;
}

.nav-desktop {
  display: none;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--bone-100);
  position: relative;
  transition: color var(--t-fast);
}
.nav-link:hover { color: var(--gold-200); }
.nav-link.active { color: var(--gold-300); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width var(--t-base);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .header-right { gap: 0.75rem; }
}

.lang-switch {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone-300);
  transition: color var(--t-fast);
}
.lang-switch:hover { color: var(--gold-300); }
.lang-switch .caret { font-size: 0.625rem; color: var(--ink-400); }
@media (min-width: 768px) {
  .lang-switch { display: inline-flex; }
}

.btn-login-header {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bone-100);
  transition: color var(--t-fast);
}
.btn-login-header:hover { color: var(--gold-300); }
@media (min-width: 768px) {
  .btn-login-header { display: inline-flex; }
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--bone-100);
}
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(7, 7, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 80px;
  display: none;
}
.mobile-drawer.open { display: block; }
@media (min-width: 1024px) {
  .mobile-drawer { display: none !important; }
}

.mobile-drawer-inner { padding: 2rem 1.5rem; }

.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--bone-100);
  border-bottom: 1px solid var(--ink-600);
  transition: color var(--t-fast);
}
.mobile-nav-link.active { color: var(--gold-300); }

.mobile-drawer-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.mobile-drawer-langs {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone-400);
}

/* ============================================================
   MOBILE BOTTOM BAR
   ============================================================ */

.bottom-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 40;
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(31, 31, 37, 0.6);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1024px) {
  .bottom-bar { display: none; }
}

.bottom-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 64px;
}

.bottom-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bone-300);
  transition: color var(--t-fast);
}
.bottom-link:hover { color: var(--gold-200); }
.bottom-link.active { color: var(--gold-300); }

.bottom-link-icon {
  width: 20px;
  height: 20px;
}

.bottom-link.featured .bottom-link-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--ink-600);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.bottom-link.featured.active .bottom-link-icon-wrap {
  background: linear-gradient(180deg, #F5E5AE 0%, #E3B42F 50%, #A57D1B 100%);
  color: var(--ink-900);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  transition: all var(--t-base);
  white-space: nowrap;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(180deg, #F5E5AE 0%, #E3B42F 50%, #A57D1B 100%);
  color: var(--ink-900);
  font-weight: 700;
  position: relative;
}
.btn-gold:hover {
  background: linear-gradient(180deg, #FBF4DC 0%, #EFD382 50%, #C99822 100%);
  box-shadow: 0 8px 24px -8px rgba(227, 180, 47, 0.6);
  transform: translateY(-1px);
}
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--bone-100);
  border: 1px solid rgba(227, 180, 47, 0.4);
}
.btn-ghost:hover {
  border-color: rgba(227, 180, 47, 0.9);
  background: rgba(227, 180, 47, 0.06);
}

.btn-emerald {
  background: var(--emerald-500);
  color: var(--ink-900);
  font-weight: 700;
}
.btn-emerald:hover { background: var(--emerald-600); }

.btn-ruby {
  background: var(--ruby-500);
  color: var(--ink-900);
  font-weight: 700;
}
.btn-ruby:hover { background: var(--ruby-600); }

.btn-lg { padding: 1rem 1.75rem; font-size: 0.875rem; }
.btn-xl { padding: 1.125rem 2rem; font-size: 0.9375rem; }
.btn-sm { padding: 0.5rem 0.875rem; font-size: 0.75rem; }

.btn-full { width: 100%; }

/* ============================================================
   HAIRLINES & CARDS
   ============================================================ */

.hairline { border: 1px solid rgba(240, 237, 227, 0.08); }
.hairline-gold { border: 1px solid rgba(227, 180, 47, 0.25); }

.card {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
}
.card-interactive:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 180, 47, 0.4);
  box-shadow: 0 20px 60px -20px rgba(227, 180, 47, 0.2);
}

.card-lg { padding: 2rem; }
@media (min-width: 768px) {
  .card-lg { padding: 2.5rem; }
}

/* ============================================================
   PILLS & BADGES
   ============================================================ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.pill-gold {
  border: 1px solid rgba(227, 180, 47, 0.25);
  color: var(--gold-300);
}

.pill-emerald {
  background: rgba(5, 150, 105, 0.15);
  color: var(--emerald-500);
}

.pill-ruby {
  background: rgba(220, 38, 38, 0.15);
  color: var(--ruby-500);
}

.pill-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-500);
  animation: pulseDot 2s ease-in-out infinite;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-400);
  font-weight: 500;
}

.eyebrow-emerald { color: var(--emerald-500); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { padding-top: 10rem; padding-bottom: 8rem; }
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(227, 180, 47, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(227, 180, 47, 0.08), transparent 60%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(227, 180, 47, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
}

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 72rem;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 6rem; }
}

.hero-underline {
  position: relative;
  display: inline-block;
}

.hero-underline-svg {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 12px;
}

.hero-sub {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: var(--bone-300);
  max-width: 42rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-sub { font-size: 1.25rem; }
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}

/* Stats row */
.hero-stats {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(31, 31, 37, 0.4);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hero-stats {
    margin-top: 6rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .stat-value { font-size: 3rem; }
}

.stat-label {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone-400);
}

/* ============================================================
   TICKER
   ============================================================ */

.ticker {
  border-block: 1px solid rgba(31, 31, 37, 0.4);
  background: rgba(10, 10, 12, 0.5);
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  padding: 1rem 0;
  animation: marquee 40s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 2rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.ticker-icon {
  font-size: 1.125rem;
  font-weight: 700;
}

.ticker-sep {
  color: var(--ink-400);
  margin-inline: 0.5rem;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.section-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-heading { font-size: 3.75rem; }
}

.section-heading-sm {
  font-size: 1.875rem;
}
@media (min-width: 768px) {
  .section-heading-sm { font-size: 3rem; }
}

/* ============================================================
   DUAL VERTICAL CARDS
   ============================================================ */

.dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .dual-grid { grid-template-columns: repeat(2, 1fr); }
}

.vertical-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(240, 237, 227, 0.08);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  padding: 2rem;
  transition: all var(--t-base);
  display: block;
}
@media (min-width: 768px) {
  .vertical-card { padding: 2.5rem; }
}

.vertical-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 180, 47, 0.4);
  box-shadow: 0 20px 60px -20px rgba(227, 180, 47, 0.15);
}

.vertical-card-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  pointer-events: none;
}

.vertical-card-blob.gold { background: var(--gold-500); }
.vertical-card-blob.emerald { background: var(--emerald-500); opacity: 0.15; }

.vertical-card-inner { position: relative; z-index: 2; }

.vertical-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.25rem;
  margin-block: 1rem 1rem;
}
@media (min-width: 768px) {
  .vertical-card h3 { font-size: 3rem; }
}

.vertical-card p {
  color: var(--bone-300);
  line-height: 1.6;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.chip {
  display: inline-flex;
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(240, 237, 227, 0.08);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone-300);
}

.coin-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.coin-chip {
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-md);
  padding: 0.5rem;
  text-align: center;
}

.coin-chip-icon { font-size: 1.125rem; font-weight: 700; line-height: 1; }
.coin-chip-label { font-family: var(--font-mono); font-size: 0.625rem; color: var(--bone-400); margin-top: 0.25rem; }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: gap var(--t-base);
}
.vertical-card:hover .card-cta { gap: 1rem; }

/* ============================================================
   PLATFORM / COIN CARDS
   ============================================================ */

.platform-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(240, 237, 227, 0.08);
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(17,17,20,0.9), var(--ink-900));
  transition: all var(--t-base);
  display: block;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 180, 47, 0.4);
  box-shadow: 0 20px 60px -20px rgba(227, 180, 47, 0.2);
}

.platform-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.platform-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
}

.platform-avatar-lg {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  font-size: 1.875rem;
}

@media (min-width: 768px) {
  .platform-avatar-xl {
    width: 96px;
    height: 96px;
    font-size: 3rem;
    border-radius: var(--r-lg);
  }
}

.platform-card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.platform-card-tagline {
  font-size: 0.875rem;
  color: var(--bone-300);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.platform-card-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
}

/* ============================================================
   TIER CARDS
   ============================================================ */

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tier-grid { grid-template-columns: repeat(4, 1fr); }
}

.tier-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 1.5rem;
  border: 1px solid rgba(240, 237, 227, 0.08);
}
@media (min-width: 768px) {
  .tier-card { padding: 1.75rem; }
}

.tier-card.featured { border-color: rgba(227, 180, 47, 0.4); }

.tier-card.tier-client   { background: linear-gradient(180deg, rgba(180, 83, 9, 0.15), rgba(17,17,20,0.8)); }
.tier-card.tier-agent    { background: linear-gradient(180deg, rgba(148, 148, 148, 0.18), rgba(17,17,20,0.8)); }
.tier-card.tier-super    { background: linear-gradient(180deg, rgba(227, 180, 47, 0.2), rgba(17,17,20,0.8)); }
.tier-card.tier-partner  { background: linear-gradient(180deg, rgba(227, 180, 47, 0.35), rgba(85, 65, 15, 0.4), rgba(17,17,20,0.9)); }

.tier-badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  background: var(--gold-400);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tier-step {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-400);
}

.tier-meta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone-300);
}

.tier-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.875rem;
  margin-bottom: 0.25rem;
}

.tier-volume {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: 1.25rem;
}

.tier-perks {
  list-style: none;
  margin-bottom: 1.5rem;
}

.tier-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--bone-300);
  padding-block: 0.375rem;
}

.tier-perks .mark {
  color: var(--gold-400);
  margin-top: 2px;
}

/* ============================================================
   FORMS
   ============================================================ */

.form-section {
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-2xl);
  padding: 1.5rem;
  background: rgba(10, 10, 12, 0.4);
}
@media (min-width: 768px) {
  .form-section { padding: 2rem; }
}

.form-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.form-step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.form-required { color: var(--gold-400); }

.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .check-grid { grid-template-columns: repeat(2, 1fr); }
}

.check-card {
  display: block;
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--t-base);
}

.check-card:hover { border-color: rgba(227, 180, 47, 0.4); }

.check-card input {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.check-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--bone-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--t-fast);
}

.check-box.circle { border-radius: 50%; }

.check-box svg { display: none; }

.check-card input:checked + .check-card-inner .check-box {
  background: var(--gold-400);
  border-color: var(--gold-400);
}
.check-card input:checked + .check-card-inner .check-box svg { display: block; }

.check-card input:checked + .check-card-inner .check-box.circle {
  background: transparent;
  border-color: var(--gold-400);
}
.check-card input:checked + .check-card-inner .check-box.circle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-400);
}

.check-card:has(input:checked) {
  border-color: rgba(227, 180, 47, 0.5);
  background: rgba(227, 180, 47, 0.08);
}

.check-card-label {
  font-weight: 600;
  color: var(--bone-50);
}

.check-card-desc {
  font-size: 0.75rem;
  color: var(--bone-400);
  margin-top: 2px;
}

/* Chip select for multi-select */
.chip-select {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .chip-select { grid-template-columns: repeat(4, 1fr); }
}

.chip-card {
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-md);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-base);
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
  color: var(--bone-100);
}
.chip-card:hover { border-color: rgba(227, 180, 47, 0.4); }
.chip-card.active {
  border-color: rgba(227, 180, 47, 0.5);
  background: rgba(227, 180, 47, 0.08);
  color: var(--gold-300);
}

.chip-card-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  color: var(--bone-400);
  margin-top: 2px;
  letter-spacing: 0.08em;
}

/* Text inputs */
.field {
  display: block;
}

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-400);
  margin-bottom: 0.5rem;
}

.field-input {
  display: flex;
  align-items: center;
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-md);
  background: rgba(10, 10, 12, 0.5);
  transition: border-color var(--t-fast);
}

.field-input:focus-within { border-color: var(--gold-400); }

.field-prefix {
  padding-inline: 1rem 0.25rem;
  color: var(--bone-400);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.field-input input,
.field-input textarea {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0.75rem 1rem;
  color: var(--bone-50);
  font-size: 0.9375rem;
}

.field-input input::placeholder,
.field-input textarea::placeholder {
  color: var(--bone-400);
}

textarea.field-textarea {
  width: 100%;
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-lg);
  padding: 1rem;
  color: var(--bone-50);
  font-size: 0.9375rem;
  outline: 0;
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}
textarea.field-textarea:focus { border-color: var(--gold-400); }

.grid-form-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid-form-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  position: relative;
  border-top: 1px solid rgba(31, 31, 37, 0.4);
  margin-top: 6rem;
  padding-bottom: 6rem;
}
@media (min-width: 1024px) {
  .footer { padding-bottom: 3rem; }
}

.footer-grid {
  padding-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.footer-brand { grid-column: span 2; }
@media (min-width: 768px) {
  .footer-brand { grid-column: span 1; }
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-300);
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--bone-300);
}

.footer-list a { transition: color var(--t-fast); }
.footer-list a:hover { color: var(--gold-200); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(31, 31, 37, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--bone-400);
  font-family: var(--font-mono);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

.footer-socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(240, 237, 227, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone-300);
  transition: all var(--t-fast);
}
.social-btn:hover {
  color: var(--gold-300);
  border-color: rgba(227, 180, 47, 0.4);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone-400);
  margin-bottom: 2rem;
}

.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb .active { color: var(--gold-300); }

/* ============================================================
   PRICE LOCK
   ============================================================ */

.price-locked {
  filter: blur(6px);
  user-select: none;
  letter-spacing: 0.1em;
}

.padlock-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.25rem;
}

/* ============================================================
   TRADE WIDGET
   ============================================================ */

.trade-widget {
  border: 1px solid rgba(227, 180, 47, 0.25);
  border-radius: var(--r-xl);
  background: rgba(10, 10, 12, 0.6);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .trade-widget { padding: 2rem; }
}

.trade-mode-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 4px;
  border-radius: var(--r-full);
  background: var(--ink-800);
  margin-bottom: 2rem;
}

.trade-mode-toggle button {
  padding: 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bone-300);
  transition: all var(--t-base);
}

.trade-mode-toggle button.active-buy {
  background: var(--emerald-500);
  color: var(--ink-950);
}
.trade-mode-toggle button.active-sell {
  background: var(--ruby-500);
  color: var(--ink-950);
}

.trade-io {
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-xl);
  padding: 1.25rem;
}

.trade-io-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.trade-io-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-400);
}

.trade-io-switch {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-300);
}

.trade-io-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trade-io-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 2.25rem;
  color: var(--bone-50);
}

@media (min-width: 768px) {
  .trade-io-input { font-size: 2.5rem; }
}

.trade-io-unit {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  color: var(--bone-400);
}

.trade-arrow {
  display: flex;
  justify-content: center;
  margin-block: 0.75rem;
}

.trade-arrow-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(240, 237, 227, 0.08);
  background: var(--ink-900);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trade-rate-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-400);
  margin-block: 1.5rem;
}

.trade-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

/* ============================================================
   PACKAGE LIST (platform detail sidebar)
   ============================================================ */

.package-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.package-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-md);
  padding: 1rem;
  background: transparent;
  transition: all var(--t-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: inherit;
}
.package-item:hover { border-color: rgba(227, 180, 47, 0.4); }
.package-item.active {
  border-color: rgba(227, 180, 47, 0.5);
  background: rgba(227, 180, 47, 0.08);
}

.package-credit {
  font-weight: 600;
  color: var(--bone-50);
}

.package-sub {
  font-size: 0.75rem;
  color: var(--bone-400);
  margin-top: 2px;
}

.package-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-300);
}

.package-original {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-400);
  text-decoration: line-through;
  display: block;
  margin-top: 2px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-full);
}

.qty-btn {
  width: 32px;
  height: 32px;
  color: var(--bone-300);
  transition: color var(--t-fast);
}
.qty-btn:hover { color: var(--gold-300); }

.qty-value {
  width: 40px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(227, 180, 47, 0.25);
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900), var(--ink-950));
}
@media (min-width: 768px) {
  .cta-band { padding: 4rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.rise-in { animation: riseIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.rise-in-1 { animation-delay: 0.05s; }
.rise-in-2 { animation-delay: 0.15s; }
.rise-in-3 { animation-delay: 0.25s; }
.rise-in-4 { animation-delay: 0.35s; }
.rise-in-5 { animation-delay: 0.45s; }

/* ============================================================
   UTILITY
   ============================================================ */

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.leading-tight { line-height: 1.2; }
.leading-relaxed { line-height: 1.6; }
.cursor-pointer { cursor: pointer; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

.rounded-full { border-radius: var(--r-full); }
.rounded-xl { border-radius: var(--r-xl); }
.rounded-2xl { border-radius: var(--r-2xl); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.mx-auto { margin-inline: auto; }

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Prevent body scroll when drawer open */
body.drawer-open { overflow: hidden; }

/* ============================================================ */
/* PHP-era additions (page heads, apply form, trade widget,      */
/* auth cards, about, coin detail, website detail, etc.)         */
/* ============================================================ */

/* ---------- Page headers (sub-page hero) ---------- */
.page-head {
  padding: 7rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(227, 180, 47, 0.1), transparent 60%);
  pointer-events: none;
}
.page-head-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  margin-bottom: 1rem;
}
.page-head-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--bone-50);
}
.page-head-lede {
  font-size: 1.125rem;
  color: var(--bone-300);
  line-height: 1.6;
  max-width: 44rem;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs-public {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone-400);
  margin-bottom: 2rem;
}
.breadcrumbs-public a:hover { color: var(--gold-300); }
.breadcrumbs-public span:not(.gold-text) { color: var(--ink-400); }

/* ---------- Section primitives ---------- */
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-head { max-width: 48rem; margin-bottom: 3rem; }
.section-head-centered { text-align: center; max-width: 48rem; margin: 0 auto 3rem; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--bone-50);
}
.section-title-sm {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-lede {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  color: var(--bone-300);
  line-height: 1.6;
}
.section-sublede {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--bone-400);
}
.section-link {
  color: var(--bone-300);
  font-size: 0.875rem;
  transition: color var(--t-fast);
}
.section-link:hover { color: var(--gold-300); }

/* ---------- Hero bg layers ---------- */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(227, 180, 47, 0.15), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 100%, rgba(227, 180, 47, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240, 237, 227, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 237, 227, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 80%);
  opacity: 0.4;
  pointer-events: none;
}
.hero {
  position: relative;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 10rem 0 7rem; } }
.hero-content { position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(227, 180, 47, 0.3);
  background: rgba(227, 180, 47, 0.05);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald-500);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 64rem;
  color: var(--bone-50);
}
.hero-subtitle {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: var(--bone-300);
  line-height: 1.6;
  max-width: 36rem;
}
@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; gap: 1rem; }
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(240, 237, 227, 0.08);
}
@media (min-width: 768px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); margin-top: 6rem; }
}
.hero-stat-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  background: linear-gradient(180deg, #FBF4DC 0%, #E9C258 55%, #A57D1B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bone-400);
}

/* ---------- Marquee ---------- */
.marquee-section {
  position: relative;
  border-top: 1px solid rgba(240, 237, 227, 0.08);
  border-bottom: 1px solid rgba(240, 237, 227, 0.08);
  background: rgba(10, 10, 12, 0.5);
  overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  white-space: nowrap;
  padding: 1rem 0;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 2rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}
.marquee-icon { font-size: 1.125rem; font-weight: 700; }
.marquee-sym { color: var(--bone-50); font-weight: 600; }
.marquee-price { color: var(--bone-300); }
.marquee-change { font-size: 0.75rem; }
.marquee-sep { color: var(--ink-400); margin: 0 0.5rem; }

.text-emerald { color: var(--emerald-500); }
.text-ruby { color: var(--ruby-500); }

/* ---------- Verticals grid (home) ---------- */
.verticals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
}
.vertical-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(240, 237, 227, 0.06);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  padding: 2rem;
  transition: all var(--t-base);
}
.vertical-card:hover {
  border-color: rgba(227, 180, 47, 0.3);
  transform: translateY(-2px);
}
@media (min-width: 768px) { .vertical-card { padding: 2.5rem; } }
.vertical-glow {
  position: absolute;
  top: 0; right: 0;
  width: 16rem; height: 16rem;
  border-radius: 50%;
  filter: blur(4rem);
  opacity: 0.15;
  pointer-events: none;
}
.vertical-betting .vertical-glow { background: var(--gold-500); opacity: 0.2; }
.vertical-crypto .vertical-glow { background: var(--emerald-500); }
.vertical-inner { position: relative; }
.vertical-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-400);
  margin-bottom: 1rem;
}
.vertical-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--bone-50);
}
.vertical-desc {
  color: var(--bone-300);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 28rem;
}
.vertical-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bone-300);
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(240, 237, 227, 0.08);
}
.vertical-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-300);
  font-weight: 600;
  transition: gap var(--t-base);
}
.vertical-card:hover .vertical-cta { gap: 1rem; }
.coin-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.coin-mini {
  padding: 0.5rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 227, 0.08);
  text-align: center;
}
.coin-mini-icon { font-size: 1.125rem; font-weight: 700; line-height: 1; }
.coin-mini-sym {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--bone-400);
  margin-top: 0.25rem;
  text-transform: uppercase;
}

/* ---------- Platforms grid ---------- */
.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .platforms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .platforms-grid { grid-template-columns: repeat(4, 1fr); } }
.platform-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(240, 237, 227, 0.06);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  padding: 1.5rem;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.platform-card:hover {
  border-color: rgba(227, 180, 47, 0.3);
  transform: translateY(-2px);
}
.platform-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.platform-logo {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
}
.platform-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--bone-50);
}
.platform-tagline {
  font-size: 0.875rem;
  color: var(--bone-300);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
}
.platform-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-300);
}

/* ---------- Coin cards (home row) ---------- */
.coin-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .coin-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .coin-cards-grid { grid-template-columns: repeat(4, 1fr); } }
.coin-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(240, 237, 227, 0.06);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  padding: 1.5rem;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.coin-card:hover {
  border-color: rgba(227, 180, 47, 0.3);
  transform: translateY(-2px);
}
.coin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.coin-card-icon-wrap { display: flex; align-items: center; gap: 0.75rem; }
.coin-card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  font-weight: 700;
}
.coin-card-name { font-weight: 600; color: var(--bone-50); }
.coin-card-sym {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bone-400);
  margin-top: 0.25rem;
}
.coin-change {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
}
.coin-rate-box { margin-bottom: 0.625rem; }
.rate-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bone-400);
  margin-bottom: 0.25rem;
}
.rate-value {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--bone-50);
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}
.rate-value-md {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--bone-50);
}
.rate-unit { font-size: 0.75rem; color: var(--bone-400); }
.rate-locked { display: flex; align-items: center; gap: 0.5rem; }
.price-locked {
  font-family: var(--font-mono);
  background: var(--ink-700);
  color: var(--ink-700);
  border-radius: 4px;
  padding: 0 0.375rem;
  letter-spacing: 0.05em;
  user-select: none;
  filter: blur(2px);
}
.coin-card-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 237, 227, 0.06);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Login prompt banner ---------- */
.login-prompt {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 227, 0.08);
  background: rgba(17, 17, 20, 0.7);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.login-prompt p { font-size: 0.875rem; color: var(--bone-300); min-width: 200px; }

/* ---------- Tiers ---------- */
.tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .tiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiers-grid { grid-template-columns: repeat(4, 1fr); } }
.tier-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(240, 237, 227, 0.08);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  display: flex;
  flex-direction: column;
}
.tier-card.tier-featured,
.tier-featured {
  border-color: rgba(227, 180, 47, 0.4);
  box-shadow: 0 0 40px -10px rgba(227, 180, 47, 0.15);
}
.tier-popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  background: var(--gold-400);
  color: var(--ink-900);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.tier-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.tier-num, .tier-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bone-400);
}
.tier-badge { color: var(--bone-300); }
.tier-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  color: var(--bone-50);
}
.tier-volume {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: 1.25rem;
}
.tier-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.tier-perks li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--bone-300);
  line-height: 1.5;
  margin-bottom: 0.625rem;
  align-items: flex-start;
}
.tier-perk-icon { color: var(--gold-400); margin-top: 0.125rem; flex-shrink: 0; }

/* ---------- Why features ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.why-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .why-features { grid-template-columns: repeat(2, 1fr); } }
.why-feature {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(240, 237, 227, 0.06);
  background: rgba(10, 10, 12, 0.5);
}
.why-feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(227, 180, 47, 0.12);
  color: var(--gold-300);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.why-feature-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--bone-50);
}
.why-feature-desc {
  font-size: 0.875rem;
  color: var(--bone-300);
  line-height: 1.6;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(227, 180, 47, 0.3);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900), var(--ink-950));
  padding: 3rem 2rem;
  text-align: center;
}
@media (min-width: 768px) { .final-cta { padding: 4.5rem 3rem; } }
.final-cta-inner { position: relative; }
.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .final-cta-actions { flex-direction: row; }
}

/* ---------- Filter tabs ---------- */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2.5rem 0 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
}
.filter-tab {
  padding: 0.625rem 1.25rem;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(240, 237, 227, 0.1);
  color: var(--bone-300);
  white-space: nowrap;
  transition: all var(--t-fast);
}
.filter-tab:hover { border-color: rgba(227, 180, 47, 0.4); color: var(--gold-300); }
.filter-tab.is-active {
  background: linear-gradient(180deg, #F5E5AE 0%, #E3B42F 50%, #A57D1B 100%);
  color: var(--ink-900);
  border-color: transparent;
}

/* ---------- Websites grid ---------- */
.websites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 0 0 4rem;
}
@media (min-width: 640px) { .websites-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .websites-grid { grid-template-columns: repeat(3, 1fr); } }
.website-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(240, 237, 227, 0.06);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.website-card:hover {
  border-color: rgba(227, 180, 47, 0.3);
  transform: translateY(-2px);
}
.website-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.website-logo {
  width: 64px; height: 64px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.875rem;
}
.website-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
  color: var(--bone-50);
}
.website-card-tagline {
  font-size: 0.875rem;
  color: var(--bone-300);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.website-card-offerings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
}
.offering-pill {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(240, 237, 227, 0.08);
  color: var(--bone-400);
}
.website-card-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 237, 227, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Website detail ---------- */
.website-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(240, 237, 227, 0.08);
  padding: 2rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .website-hero { flex-direction: row; align-items: center; padding: 3rem; }
}
.website-hero-logo {
  width: 80px; height: 80px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .website-hero-logo { width: 96px; height: 96px; font-size: 3rem; }
}
.website-hero-body { flex: 1; }
.website-hero-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.website-hero-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-400);
}
.website-hero-link:hover { color: var(--gold-300); }
.website-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  color: var(--bone-50);
}
.website-hero-tagline {
  font-size: 1.0625rem;
  color: var(--bone-300);
  line-height: 1.6;
}
.website-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .website-detail-grid { grid-template-columns: 2fr 1fr; }
}
.website-detail-main { display: flex; flex-direction: column; gap: 2.5rem; }
.detail-section { }
.detail-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-400);
  margin-bottom: 1rem;
}
.detail-offerings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .detail-offerings-grid { grid-template-columns: repeat(2, 1fr); }
}
.detail-offering {
  padding: 1rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 227, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.detail-how-it-works {
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-xl);
  background: rgba(10, 10, 12, 0.5);
  padding: 2rem;
}
.detail-how-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--bone-50);
}
.detail-steps { display: flex; flex-direction: column; gap: 1rem; }
.detail-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.detail-step-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.875rem;
  line-height: 1;
  background: linear-gradient(180deg, #FBF4DC 0%, #E9C258 55%, #A57D1B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  flex-shrink: 0;
}
.detail-step-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--bone-50);
}
.detail-step-desc {
  font-size: 0.875rem;
  color: var(--bone-300);
  line-height: 1.6;
}

/* ---------- Packages side card ---------- */
.website-detail-side { position: relative; }
@media (min-width: 1024px) {
  .website-detail-side > .packages-card { position: sticky; top: 7rem; }
}
.packages-card {
  border: 1px solid rgba(227, 180, 47, 0.3);
  border-radius: var(--r-xl);
  background: rgba(10, 10, 12, 0.7);
  padding: 1.5rem;
}
.packages-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--bone-50);
}
.packages-sub {
  font-size: 0.75rem;
  color: var(--bone-400);
  margin-bottom: 1.25rem;
}
.packages-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.package-row {
  padding: 1rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 227, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--t-fast);
}
.package-row:hover { border-color: rgba(227, 180, 47, 0.3); }
.package-credit { font-weight: 600; color: var(--bone-50); }
.package-platform { font-size: 0.75rem; color: var(--bone-400); margin-top: 0.125rem; }
.package-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-300);
}
.package-original {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-400);
  text-decoration: line-through;
  margin-top: 0.125rem;
}
.package-locked {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--bone-400);
}
.package-locked span {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.packages-note {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bone-400);
  text-align: center;
  margin-top: 1rem;
}

/* ---------- Crypto listing ---------- */
.crypto-disclaimer {
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-md);
  padding: 1rem;
  margin: 2rem 0;
  background: rgba(10, 10, 12, 0.5);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.crypto-disclaimer p {
  font-size: 0.75rem;
  color: var(--bone-300);
  line-height: 1.6;
  margin: 0;
}
.coins-big-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) { .coins-big-grid { grid-template-columns: repeat(2, 1fr); } }
.coin-big-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(240, 237, 227, 0.06);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  transition: all var(--t-base);
}
.coin-big-card:hover {
  border-color: rgba(227, 180, 47, 0.3);
  transform: translateY(-2px);
}
.coin-big-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.coin-big-icon-wrap { display: flex; align-items: center; gap: 1rem; }
.coin-big-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
}
.coin-big-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.875rem;
  color: var(--bone-50);
}
.coin-big-sym {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-400);
  margin-top: 0.125rem;
}
.coin-big-desc {
  font-size: 0.875rem;
  color: var(--bone-300);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.coin-big-rates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.coin-big-rates .coin-rate-box {
  padding: 1rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 227, 0.08);
  margin-bottom: 0;
}
.coin-big-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-300);
  font-weight: 600;
}

/* ---------- Trade widget (coin detail) ---------- */
.trade-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .trade-grid { grid-template-columns: 3fr 2fr; }
}
.trade-widget {
  border: 1px solid rgba(227, 180, 47, 0.3);
  border-radius: var(--r-xl);
  background: rgba(10, 10, 12, 0.7);
  padding: 1.5rem;
}
@media (min-width: 768px) { .trade-widget { padding: 2rem; } }
.trade-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: var(--r-full);
  background: var(--ink-800);
  margin-bottom: 2rem;
}
.trade-tab {
  border-radius: var(--r-full);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bone-300);
  cursor: pointer;
  transition: all var(--t-fast);
}
.trade-tab:hover { color: var(--bone-50); }
.trade-tab.is-active[data-side="buy"] { background: var(--emerald-500); color: var(--ink-950); }
.trade-tab.is-active[data-side="sell"] { background: var(--ruby-500); color: var(--ink-950); }
.trade-input-box {
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-md);
  padding: 1.25rem;
}
.trade-input-box + .trade-input-box { margin-top: 0.75rem; }
.trade-input-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-400);
  margin-bottom: 0.5rem;
}
.trade-switch-btn {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--gold-300);
  text-transform: none;
  letter-spacing: 0.05em;
}
.trade-switch-btn:hover { text-decoration: underline; }
.trade-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.trade-input-row input {
  flex: 1;
  background: transparent;
  border: 0;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 1.875rem;
  color: var(--bone-50);
  outline: none;
  min-width: 0;
  width: 100%;
}
.trade-input-row input::-webkit-outer-spin-button,
.trade-input-row input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.trade-output {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 1.875rem;
  color: var(--bone-50);
  flex: 1;
  min-width: 0;
}
.trade-unit { font-family: var(--font-mono); color: var(--bone-400); font-size: 1rem; }
.trade-arrow {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
  color: var(--gold-300);
  font-size: 1.125rem;
}
.trade-rate-hint {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-400);
  margin-top: 1rem;
}
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.payment-method-btn {
  padding: 0.75rem 0.5rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 227, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bone-300);
  transition: all var(--t-fast);
}
.payment-method-btn:hover,
.payment-method-btn.is-active {
  border-color: rgba(227, 180, 47, 0.4);
  background: rgba(227, 180, 47, 0.08);
  color: var(--gold-300);
}
.trade-side-info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  padding: 1.5rem;
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-xl);
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.info-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--bone-300);
  line-height: 1.5;
}
.info-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-400);
  flex-shrink: 0;
}
.info-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.info-bullets li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--bone-300);
  line-height: 1.5;
  align-items: flex-start;
}

/* ---------- Apply form ---------- */
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 4rem;
}
.apply-step {
  padding: 1.5rem;
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-xl);
  background: rgba(10, 10, 12, 0.4);
}
@media (min-width: 768px) { .apply-step { padding: 2rem; } }
.apply-step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.apply-step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(180deg, #FBF4DC 0%, #E9C258 55%, #A57D1B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.apply-step-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--bone-50);
}
.req { color: var(--gold-400); }

.interest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .interest-grid { grid-template-columns: repeat(2, 1fr); } }
.interest-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 227, 0.08);
  cursor: pointer;
  transition: all var(--t-fast);
}
.interest-card:hover { border-color: rgba(227, 180, 47, 0.3); }
.interest-card:has(input:checked) {
  border-color: rgba(227, 180, 47, 0.5);
  background: rgba(227, 180, 47, 0.08);
}
.interest-check {
  width: 20px; height: 20px;
  border-radius: 4px;
  border: 2px solid var(--bone-400);
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
  transition: all var(--t-fast);
}
.interest-card:has(input:checked) .interest-check {
  background: var(--gold-400);
  border-color: var(--gold-400);
}
.interest-card:has(input:checked) .interest-check::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border-right: 2px solid var(--ink-900);
  border-bottom: 2px solid var(--ink-900);
  transform: rotate(45deg);
}
.interest-label {
  font-weight: 600;
  color: var(--bone-50);
}
.interest-card:has(input:checked) .interest-label { color: var(--gold-200); }
.interest-desc {
  font-size: 0.75rem;
  color: var(--bone-400);
  margin-top: 0.25rem;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .chip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .chip-grid { grid-template-columns: repeat(4, 1fr); }
}
.chip-grid-4 { }
@media (min-width: 640px) {
  .chip-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.chip-option { display: block; cursor: pointer; }
.chip-label {
  display: block;
  padding: 0.875rem 0.75rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 227, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bone-300);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--t-fast);
  line-height: 1.3;
}
.chip-label small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  margin-top: 0.125rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--bone-400);
  font-family: var(--font-body);
}
.chip-option:hover .chip-label { border-color: rgba(227, 180, 47, 0.3); }
.chip-option input:checked + .chip-label {
  border-color: rgba(227, 180, 47, 0.5);
  background: rgba(227, 180, 47, 0.08);
  color: var(--gold-300);
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
.role-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 227, 0.08);
  cursor: pointer;
  transition: all var(--t-fast);
}
.role-option.role-featured { border-color: rgba(227, 180, 47, 0.3); }
.role-option:hover { border-color: rgba(227, 180, 47, 0.4); }
.role-option:has(input:checked) {
  border-color: rgba(227, 180, 47, 0.5);
  background: rgba(227, 180, 47, 0.08);
}
.role-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--bone-400);
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
}
.role-option:has(input:checked) .role-radio { border-color: var(--gold-400); }
.role-option:has(input:checked) .role-radio::after {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold-400);
}
.role-label { font-weight: 600; color: var(--bone-50); }
.role-option:has(input:checked) .role-label { color: var(--gold-200); }
.role-desc { font-size: 0.75rem; color: var(--bone-400); margin-top: 0.25rem; }

.apply-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .apply-form-grid { grid-template-columns: repeat(2, 1fr); }
}
.apply-field {
  display: block;
}
.apply-field + .apply-field { margin-top: 1rem; }
.apply-field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-400);
  margin-bottom: 0.5rem;
}
.apply-input {
  width: 100%;
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  color: var(--bone-50);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--t-fast);
  box-sizing: border-box;
}
.apply-input:focus {
  outline: 0;
  border-color: var(--gold-400);
}
.apply-input::placeholder { color: var(--bone-400); }
.apply-prefix-wrap {
  display: flex;
  align-items: stretch;
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast);
}
.apply-prefix-wrap:focus-within { border-color: var(--gold-400); }
.apply-prefix {
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--bone-400);
  border-right: 1px solid rgba(240, 237, 227, 0.08);
  display: flex;
  align-items: center;
}
.apply-prefix-wrap .apply-input {
  border: 0;
  background: transparent;
  border-radius: 0;
}
.apply-textarea {
  width: 100%;
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-md);
  padding: 1rem;
  color: var(--bone-50);
  font-family: inherit;
  font-size: 0.9375rem;
  resize: vertical;
  transition: border-color var(--t-fast);
  box-sizing: border-box;
}
.apply-textarea:focus { outline: 0; border-color: var(--gold-400); }
.apply-textarea::placeholder { color: var(--bone-400); }
.apply-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--bone-400);
  margin-top: 0.375rem;
}

.apply-submit-card {
  padding: 1.5rem;
  border: 1px solid rgba(227, 180, 47, 0.3);
  border-radius: var(--r-xl);
  background: rgba(10, 10, 12, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 640px) {
  .apply-submit-card { flex-direction: row; align-items: center; }
}
.apply-submit-card p {
  flex: 1;
  font-size: 0.875rem;
  color: var(--bone-300);
  margin: 0;
}

.success-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(227, 180, 47, 0.4);
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  text-align: center;
}
@media (min-width: 768px) { .success-card { padding: 4rem 3rem; } }
.success-check {
  width: 80px; height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: linear-gradient(180deg, #F5E5AE 0%, #E3B42F 50%, #A57D1B 100%);
  color: var(--ink-900);
  font-weight: 700;
}

/* ---------- Auth (login / register) ---------- */
.auth-card {
  padding: 2rem;
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
}
@media (min-width: 640px) { .auth-card { padding: 2.5rem; } }
.auth-head {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--bone-50);
}
.auth-sub {
  color: var(--bone-400);
  font-size: 0.875rem;
}
.auth-foot {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--bone-400);
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 3fr 2fr; }
}
.about-main p {
  color: var(--bone-300);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}
.about-main p strong { color: var(--bone-50); }
.about-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-side-card {
  padding: 1.5rem;
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-xl);
  background: rgba(10, 10, 12, 0.4);
}
.about-side-card p {
  color: var(--bone-300);
  line-height: 1.6;
  font-size: 0.9375rem;
}
.about-contact {
  padding: 3rem 0 5rem;
  border-top: 1px solid rgba(240, 237, 227, 0.08);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  padding: 1.5rem;
  border: 1px solid rgba(240, 237, 227, 0.08);
  border-radius: var(--r-xl);
  background: rgba(10, 10, 12, 0.4);
  transition: all var(--t-fast);
  display: block;
}
.contact-card:hover {
  border-color: rgba(227, 180, 47, 0.4);
  transform: translateY(-2px);
}
.contact-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-400);
  margin-bottom: 0.25rem;
}
.contact-sub {
  font-size: 0.75rem;
  color: var(--bone-400);
  margin-bottom: 0.5rem;
}
.contact-value { font-family: var(--font-mono); font-weight: 600; font-size: 0.9375rem; color: var(--bone-50); }

/* ---------- Flash messages ---------- */
.flash-success { background: rgba(16,185,129,0.1); color: var(--emerald-500); border: 1px solid rgba(16,185,129,0.3); }
.flash-error { background: rgba(239,68,68,0.1); color: var(--ruby-500); border: 1px solid rgba(239,68,68,0.3); }
.flash-warning { background: rgba(227,180,47,0.1); color: var(--gold-300); border: 1px solid rgba(227,180,47,0.3); }
.flash-info { background: rgba(59,130,246,0.1); color: #60A5FA; border: 1px solid rgba(59,130,246,0.3); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.badge-emerald { background: rgba(16,185,129,0.15); color: var(--emerald-500); }
.badge-ruby { background: rgba(239,68,68,0.15); color: var(--ruby-500); }
.badge-gold { background: rgba(227,180,47,0.15); color: var(--gold-300); }
.badge-blue { background: rgba(59,130,246,0.15); color: #60A5FA; }
.badge-violet { background: rgba(139,92,246,0.15); color: #A78BFA; }
.badge-neutral { background: rgba(240,237,227,0.08); color: var(--bone-300); }

/* ---------- sr-only ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Nav active state ---------- */
.nav-link.is-active { color: var(--gold-300); }

/* ---------- Tier color variants ---------- */
.tier-client { }
.tier-agent { }
.tier-super { border-color: rgba(227, 180, 47, 0.3); }
.tier-partner { border-color: rgba(139, 92, 246, 0.3); }
