/* ==========================================================================
   WalletX9 - OKX Official Partner Landing Page Stylesheet
   High-performance, modern, responsive, dark-mode fintech aesthetic
   ========================================================================== */

:root {
  --bg-primary: #090c10;
  --bg-secondary: #0d121a;
  --bg-card: #131b26;
  --bg-card-hover: #192433;
  --bg-elevated: #1e2a3c;
  
  --border-subtle: #1e2838;
  --border-focus: #2d3e58;
  --border-highlight: rgba(0, 229, 153, 0.35);

  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-light: #ffffff;

  --accent-okx: #00e599;
  --accent-okx-hover: #00fca8;
  --accent-okx-dark: #009e69;
  --accent-cyan: #00d2ff;
  --accent-blue: #2563eb;
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;

  --glow-primary: 0 0 25px rgba(0, 229, 153, 0.25);
  --glow-cyan: 0 0 25px rgba(0, 210, 255, 0.2);

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

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere Glows */
body::before {
  content: "";
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 153, 0.12), rgba(0, 210, 255, 0.05) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Accessibility & Layout */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, rgba(0, 229, 153, 0.15), rgba(0, 210, 255, 0.12));
  border-bottom: 1px solid rgba(0, 229, 153, 0.2);
  color: var(--text-light);
  font-size: 0.84rem;
  padding: 9px 16px;
  text-align: center;
  position: relative;
  z-index: 101;
}
.announcement-bar .badge-official {
  background: var(--accent-okx);
  color: #05080d;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  margin-right: 8px;
  display: inline-block;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light);
}
.logo-icon-svg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-light);
}
.brand-partner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--accent-okx);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.nav-link:hover {
  color: var(--accent-okx);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.invite-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.invite-chip:hover {
  border-color: var(--accent-okx);
  background: rgba(0, 229, 153, 0.08);
}
.invite-code-strong {
  font-family: var(--font-mono);
  color: var(--accent-okx);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-okx), #00c986);
  color: #05080d;
  box-shadow: 0 4px 18px rgba(0, 229, 153, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-okx-hover), var(--accent-okx));
  box-shadow: 0 6px 24px rgba(0, 229, 153, 0.5);
  transform: translateY(-1.5px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
  color: #ffffff;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 50px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent-okx);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.85rem;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-okx) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .highlight-gold {
  color: var(--accent-gold);
  -webkit-text-fill-color: initial;
}
.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Trust Badges Grid */
.trust-points-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.trust-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.trust-point-icon {
  width: 22px;
  height: 22px;
  background: rgba(0, 229, 153, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-okx);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Conversion Card (Hero Right) */
.hero-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-okx), var(--accent-cyan));
}
.card-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.rebate-tag {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
}
.qr-container-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(9, 12, 16, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
}
.qr-image-wrapper {
  position: relative;
  width: 190px;
  height: 190px;
  background: #ffffff;
  padding: 8px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.qr-image-wrapper:hover {
  transform: scale(1.02);
}
.qr-image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
}
.qr-scan-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.qr-scan-hint strong {
  color: var(--accent-okx);
}

/* Hero Code Copy Box */
.invite-box {
  background: var(--bg-elevated);
  border: 1px dashed rgba(0, 229, 153, 0.4);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.invite-box-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.invite-box-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-okx);
  letter-spacing: 1px;
}
.copy-btn {
  background: rgba(0, 229, 153, 0.15);
  color: var(--accent-okx);
  border: 1px solid rgba(0, 229, 153, 0.3);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}
.copy-btn:hover {
  background: var(--accent-okx);
  color: #05080d;
}

/* Official Security Guarantee Badge */
.security-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-okx);
  margin-top: 16px;
  line-height: 1.5;
}

/* Live Market Ticker */
.ticker-section {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 18, 26, 0.6);
  margin-bottom: 70px;
}
.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ticker-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}
.ticker-card:hover {
  border-color: var(--border-focus);
}
.ticker-pair {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-light);
}
.ticker-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.ticker-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
}
.ticker-change {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.ticker-up {
  color: var(--accent-okx);
  background: rgba(0, 229, 153, 0.1);
}

/* Standard Section Headers */
.section {
  padding: 80px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}
.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-okx);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text-light);
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Feature 4-Grid (New User Rewards) */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.reward-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.reward-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.reward-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
}
.reward-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 153, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--accent-okx);
}
.reward-title {
  font-size: 1.25rem;
  font-weight: 750;
  margin-bottom: 10px;
  color: var(--text-light);
}
.reward-badge-val {
  display: inline-block;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.reward-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Platform Strengths Grid */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.strength-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
}
.strength-card:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
}
.strength-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.strength-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
}
.strength-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 4-Step Registration Guide */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
}
.step-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-okx), var(--accent-cyan));
  color: #05080d;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.step-title {
  font-size: 1.15rem;
  font-weight: 750;
  margin-bottom: 12px;
  color: var(--text-light);
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-code-highlight {
  display: inline-block;
  background: rgba(0, 229, 153, 0.12);
  color: var(--accent-okx);
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 8px;
}

/* Fee Comparison & Interactive Calculator */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.calc-slider-box label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 12px;
}
.calc-slider-box label span {
  color: var(--accent-okx);
  font-family: var(--font-mono);
  font-size: 1.15rem;
}
.calc-range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-elevated);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-okx);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 229, 153, 0.6);
  transition: transform 0.1s ease;
}
.calc-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-box {
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-secondary));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.calc-result-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.calc-savings-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-okx);
  margin-bottom: 8px;
}
.calc-savings-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Fee Comparison Table */
.fee-table-container {
  overflow-x: auto;
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
.fee-table th {
  background: var(--bg-elevated);
  padding: 16px 20px;
  color: var(--text-light);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}
.fee-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.fee-table tr:last-child td {
  border-bottom: none;
}
.fee-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.fee-highlight {
  color: var(--accent-okx);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* App Download Section */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}
.download-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
}
.download-os-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
  color: var(--text-light);
}
.download-title {
  font-size: 1.2rem;
  font-weight: 750;
  margin-bottom: 8px;
  color: var(--text-light);
}
.download-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.active {
  border-color: var(--border-focus);
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-light);
  cursor: pointer;
  text-align: left;
}
.faq-arrow {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
  color: var(--accent-okx);
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

/* Security Compliance & Transparency Card */
.compliance-banner {
  background: rgba(13, 18, 26, 0.9);
  border: 1px solid rgba(0, 229, 153, 0.2);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 0.3fr 1.7fr;
  gap: 32px;
  align-items: center;
}
.shield-emblem {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(0, 229, 153, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--accent-okx);
}
.compliance-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-light);
}
.compliance-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}
.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.cert-badge svg {
  color: var(--accent-okx);
}

/* Footer */
.site-footer {
  background: #06090d;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  margin-top: 80px;
  font-size: 0.88rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent-okx);
}

/* Risk Disclaimer in Footer */
.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 30px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-disclaimer-box strong {
  color: var(--text-secondary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Sticky Bottom Bar on Mobile */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 18, 26, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 12px 16px;
  z-index: 99;
}
.mobile-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-invite-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-okx);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #101924;
  border: 1px solid var(--accent-okx);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--glow-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 20px;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-elevated);
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: color var(--transition-fast);
}
.modal-close-btn:hover {
  color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card {
    max-width: 540px;
    margin: 0 auto;
  }
  .rewards-grid,
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .ticker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strength-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .compliance-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .shield-emblem {
    margin: 0 auto;
  }
  .compliance-badges {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .rewards-grid,
  .steps-container {
    grid-template-columns: 1fr;
  }
  .ticker-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
  .calc-wrapper {
    padding: 24px;
  }
}
