/* ============================================================
   Trade With Vision — style.css
   Theme: Matte Black + Gold | Font: Poppins
   ============================================================ */

/* ── 1. CSS VARIABLES ───────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:  #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --bg4: #222222;

  /* Yellows */
  --yellow:      #FFD700;
  --yellow2:     #FFC107;
  --yellow3:     #FFEB3B;
  --yellow-dark: #CC9900;

  /* Text */
  --text:  #ffffff;
  --text2: #cccccc;
  --text3: #888888;

  /* Borders */
  --border:        rgba(255, 215, 0, 0.2);
  --border-bright: rgba(255, 215, 0, 0.5);

  /* Shadows */
  --shadow:      0 8px 40px rgba(255, 215, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.2);

  /* Misc */
  --font:       'Poppins', sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. RESET + BASE ────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg2);
}
::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--yellow2);
}

/* Text Selection */
::selection {
  background: rgba(255, 215, 0, 0.3);
  color: #fff;
}
::-moz-selection {
  background: rgba(255, 215, 0, 0.3);
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: var(--font);
}

ul, ol {
  list-style: none;
}

/* ── 3. HERO / SITE HEADER ──────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 215, 0, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 215, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.site-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  background: linear-gradient(135deg, #FFD700 0%, #ffffff 50%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.4));
  animation: titleFloat 3s ease-in-out infinite;
  margin-bottom: 1rem;
}

.site-tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--yellow);
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text3);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, var(--yellow3), var(--yellow));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 1px solid var(--border-bright);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 215, 0, 0.08);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  min-width: 100px;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--yellow), var(--yellow3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ── 4. NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom-color: rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 65px;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 1px;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-logo:hover {
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.nav-logo span {
  color: var(--text);
  font-weight: 300;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text3);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--yellow);
}

.nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

.btn-login {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--yellow);
  border-radius: 50px;
  color: var(--yellow);
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-login:hover {
  background: var(--yellow);
  color: #000;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.user-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.9rem;
}

.user-display.hidden {
  display: none;
}

.btn-login.hidden {
  display: none;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-logout {
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--text3);
  background: transparent;
  font-size: 0.8rem;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
}

.btn-logout:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 5. TICKER BAR ──────────────────────────────────────────── */
.ticker-wrap {
  background: var(--bg2);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--bg2);
  border-right: 1px solid rgba(255, 215, 0, 0.2);
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.ticker-track {
  display: flex;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-right: 1px solid rgba(255, 215, 0, 0.08);
  height: 44px;
}

.ticker-pair {
  color: var(--text2);
}

.ticker-price {
  color: var(--text);
  font-weight: 700;
}

.ticker-change.up {
  color: #00e676;
}

.ticker-change.down {
  color: #ff5252;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 6. SECTION STYLES ──────────────────────────────────────── */
.section {
  padding: 80px 2rem;
  position: relative;
}

.section-alt {
  background: var(--bg2);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title span {
  color: var(--yellow);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text3);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Divider */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow2));
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ── 7. SESSIONS TABLE ──────────────────────────────────────── */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.session-card {
  background: var(--bg3);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  transform-style: preserve-3d;
  cursor: default;
}

.session-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0.6;
}

.session-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 215, 0, 0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.session-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-4px) rotateX(2deg) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.session-flag {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.session-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.session-time {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.session-gmt {
  font-size: 0.85rem;
  color: var(--text3);
  margin-bottom: 0.75rem;
}

.session-ist {
  font-size: 0.8rem;
  color: var(--text3);
  margin-bottom: 0.75rem;
}

.session-status {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.session-status.active {
  background: rgba(0, 255, 100, 0.15);
  color: #00ff64;
  border: 1px solid rgba(0, 255, 100, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.session-status.closed {
  background: rgba(255, 50, 50, 0.1);
  color: #ff5555;
  border: 1px solid rgba(255, 50, 50, 0.2);
}

.session-pairs {
  font-size: 0.8rem;
  color: var(--text3);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.session-pairs strong {
  color: var(--text2);
}

/* ── 8. CURRENCY GRID ───────────────────────────────────────── */
.currency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.currency-card {
  background: var(--bg3);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.currency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.04),
    transparent
  );
  transition: left 0.5s ease;
}

.currency-card:hover::before {
  left: 100%;
}

.currency-card:hover {
  border-color: var(--yellow);
  transform: translateZ(10px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.pair-flag {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.pair-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.pair-price {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.pair-price.up   { color: #00e676; }
.pair-price.down { color: #ff5252; }
.pair-price.neutral { color: var(--text); }

.pair-change {
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pair-change.up   { color: #00e676; }
.pair-change.down { color: #ff5252; }

/* Flash animation for price updates */
.price-flash-up {
  animation: priceFlashUp 0.5s ease;
}
.price-flash-down {
  animation: priceFlashDown 0.5s ease;
}

@keyframes priceFlashUp {
  0%, 100% { background: transparent; }
  50% { background: rgba(0, 230, 118, 0.15); border-radius: 4px; }
}
@keyframes priceFlashDown {
  0%, 100% { background: transparent; }
  50% { background: rgba(255, 82, 82, 0.15); border-radius: 4px; }
}

/* ── 9. MARKET STRUCTURE / TERM CARDS ───────────────────────── */
.terms-section {
  padding: 60px 0;
}

.terms-section-header {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.terms-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--yellow);
}

.terms-section-count {
  font-size: 0.8rem;
  color: var(--text3);
  font-weight: 500;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.term-card {
  background: var(--bg3);
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
  cursor: pointer;
}

.term-card:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-2deg);
  border-color: var(--yellow);
  box-shadow:
    0 20px 60px rgba(255, 215, 0, 0.2),
    0 0 0 1px rgba(255, 215, 0, 0.3);
}

.term-card-diagram {
  height: 200px;
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.term-card-diagram::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(255, 215, 0, 0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.term-card-body {
  padding: 1.25rem;
}

.term-acronym {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 0.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.term-acronym:hover {
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.term-fullname {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.term-desc {
  font-size: 0.82rem;
  color: var(--text3);
  line-height: 1.6;
}

.term-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.7rem;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── 10. ROADMAP ─────────────────────────────────────────────── */
.roadmap-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.roadmap-line {
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--yellow) 0%, rgba(255, 215, 0, 0.1) 100%);
  transform: translateX(-50%);
  z-index: 0;
}

.roadmap-line-svg {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.phase-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.phase-item:nth-child(even) {
  flex-direction: row-reverse;
}

.phase-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  border: 3px solid var(--bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #000;
  z-index: 2;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  transition: var(--transition);
}

.phase-dot:hover {
  transform: scale(1.15);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
}

.phase-card {
  flex: 1;
  background: var(--bg3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  cursor: pointer;
}

.phase-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-glow);
}

.phase-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.phase-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.phase-desc {
  font-size: 0.9rem;
  color: var(--text3);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phase-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.5;
}

.phase-list li::before {
  content: '▹';
  color: var(--yellow);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Phase accordion extras */
.phase-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.phase-details.open {
  max-height: 400px;
}

/* ── 11. ANIMATIONS (@keyframes) ────────────────────────────── */
@keyframes titleFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
  50%       { box-shadow: 0 0 60px rgba(255, 215, 0, 0.6); }
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes rotate3d {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.95); }
}

@keyframes scanLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(255, 215, 0, 0.2); }
  50%       { border-color: rgba(255, 215, 0, 0.6); }
}

@keyframes spinY {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

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

/* Intersection observer animation classes */
.anim-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}
.anim-fadeInLeft {
  animation: fadeInLeft 0.6s ease forwards;
}
.anim-fadeInRight {
  animation: fadeInRight 0.6s ease forwards;
}

.observe-hidden {
  opacity: 0;
  transform: translateY(20px);
}

/* ── 12. 3D CARD PERSPECTIVE ─────────────────────────────────── */
.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.perspective-container {
  perspective: 1200px;
}

/* ── 13. SVG DIAGRAM STYLES ──────────────────────────────────── */
.chart-svg {
  width: 100%;
  height: 180px;
}

.chart-line {
  stroke: var(--yellow);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line-red {
  stroke: #ff5252;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line-green {
  stroke: #00e676;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-fill {
  fill: rgba(255, 215, 0, 0.05);
  stroke: none;
}

.chart-fill-green {
  fill: rgba(0, 230, 118, 0.06);
  stroke: none;
}

.chart-fill-red {
  fill: rgba(255, 82, 82, 0.06);
  stroke: none;
}

.chart-label {
  fill: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.chart-label-white {
  fill: #ffffff;
  font-size: 10px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.chart-label-gray {
  fill: #888888;
  font-size: 9px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.chart-dot {
  fill: var(--yellow);
  r: 4;
}

.chart-dot-red {
  fill: #ff5252;
  r: 4;
}

.chart-dot-green {
  fill: #00e676;
  r: 4;
}

.chart-arrow {
  fill: var(--yellow);
}

.chart-arrow-red {
  fill: #ff5252;
}

.chart-arrow-green {
  fill: #00e676;
}

.chart-level {
  stroke: rgba(255, 215, 0, 0.4);
  stroke-width: 1;
  stroke-dasharray: 4, 4;
}

.chart-level-red {
  stroke: rgba(255, 82, 82, 0.4);
  stroke-width: 1;
  stroke-dasharray: 4, 4;
}

.chart-level-green {
  stroke: rgba(0, 230, 118, 0.4);
  stroke-width: 1;
  stroke-dasharray: 4, 4;
}

.highlight-box {
  fill: rgba(255, 215, 0, 0.08);
  stroke: rgba(255, 215, 0, 0.3);
  stroke-width: 1;
}

.highlight-box-red {
  fill: rgba(255, 82, 82, 0.08);
  stroke: rgba(255, 82, 82, 0.3);
  stroke-width: 1;
}

.chart-candle-bull {
  fill: #00e676;
  stroke: #00e676;
}

.chart-candle-bear {
  fill: #ff5252;
  stroke: #ff5252;
}

/* ── 14. FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  padding: 40px 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 0.5rem;
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text3);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.footer-bottom {
  font-size: 0.8rem;
  color: #555;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: #444;
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ── 15. LOGIN MODAL ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.login-modal {
  background: var(--bg2);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 3rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 215, 0, 0.1);
  animation: fadeInUp 0.4s ease;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text3);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-family: var(--font);
}

.modal-close:hover {
  color: var(--yellow);
  background: rgba(255, 215, 0, 0.1);
}

.modal-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text3);
  margin-bottom: 2rem;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #fff;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.btn-google img {
  width: 22px;
  height: 22px;
}

#google-signin-btn {
  margin-top: 1rem;
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text3);
  font-size: 0.8rem;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.modal-terms {
  font-size: 0.75rem;
  color: var(--text3);
  margin-top: 1.5rem;
  line-height: 1.5;
}

.modal-terms a {
  color: var(--yellow);
  text-decoration: underline;
}

/* ── 16. ADSENSE SPACES ──────────────────────────────────────── */
.ad-space {
  background: rgba(255, 215, 0, 0.03);
  border: 1px dashed rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 0.8rem;
  margin: 2rem 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-space-banner {
  min-height: 90px;
}

.ad-space-rect {
  min-height: 250px;
  min-width: 300px;
}

.ad-space-leaderboard {
  min-height: 90px;
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
}

/* ── 17. TOAST ───────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--bg3);
  border: 1px solid var(--yellow);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
  transform: translateX(calc(100% + 3rem));
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  max-width: 340px;
  font-size: 0.9rem;
  font-weight: 600;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.toast-success {
  border-color: #00e676;
  color: #00e676;
}

.toast.toast-error {
  border-color: #ff5252;
  color: #ff5252;
}

.toast-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.toast-msg {
  flex: 1;
}

/* ── FEATURE CARDS ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg3);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  transform-style: preserve-3d;
  animation: borderGlow 3s ease-in-out infinite;
}

.feature-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: var(--shadow-glow);
  animation-play-state: paused;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text3);
  line-height: 1.65;
}

/* ── PAGE HEADER (inner pages) ───────────────────────────────── */
.page-header {
  padding: 120px 2rem 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255, 215, 0, 0.06) 0%,
    transparent 60%
  );
}

.page-header-label {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header h1 span {
  color: var(--yellow);
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FAQ / ACCORDION ─────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg3);
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(255, 215, 0, 0.4);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--yellow);
}

.faq-icon {
  color: var(--yellow);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text3);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 215, 0, 0.08);
  padding-top: 1rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ── SEARCH BAR ──────────────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 50px;
  padding: 0.6rem 1.25rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
}

.search-bar input::placeholder {
  color: var(--text3);
}

.search-icon {
  color: var(--text3);
  font-size: 1rem;
}

/* ── FILTER TABS ─────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-tab {
  padding: 0.45rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 50px;
  color: var(--text3);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.filter-tab:hover,
.filter-tab.active {
  background: rgba(255, 215, 0, 0.12);
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text3);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--yellow);
  text-decoration: none;
}

.breadcrumb-sep {
  color: #444;
}

/* ── BADGE ───────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-yellow {
  background: rgba(255, 215, 0, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-green {
  background: rgba(0, 230, 118, 0.1);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.badge-red {
  background: rgba(255, 82, 82, 0.1);
  color: #ff5252;
  border: 1px solid rgba(255, 82, 82, 0.25);
}

/* ── PROGRESS BAR ────────────────────────────────────────────── */
.progress-bar-wrap {
  background: var(--bg4);
  border-radius: 50px;
  height: 6px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--yellow3));
  border-radius: 50px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── INFO BOX ────────────────────────────────────────────────── */
.info-box {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.6;
  margin: 1.5rem 0;
}

.info-box strong {
  color: var(--yellow);
}

.warning-box {
  background: rgba(255, 82, 82, 0.05);
  border: 1px solid rgba(255, 82, 82, 0.2);
  border-left: 3px solid #ff5252;
}

/* ── TABLE ───────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  background: var(--bg4);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text2);
}

.data-table tr:hover td {
  background: rgba(255, 215, 0, 0.03);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.table-wrap {
  background: var(--bg3);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ── SKELETON LOADER ─────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg3) 25%,
    var(--bg4) 50%,
    var(--bg3) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

/* ── SCROLL TO TOP ───────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 500;
}

.scroll-top.visible {
  transform: translateY(0);
  opacity: 1;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

/* ── MOBILE NAV DRAWER ───────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  z-index: 999;
  padding: 1.5rem 2rem;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.mobile-nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text3);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: block;
  transition: var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--yellow);
}

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

/* ── 18. RESPONSIVE ──────────────────────────────────────────── */

/* 1024px – Tablet landscape */
@media (max-width: 1024px) {
  .terms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    gap: 1.25rem;
  }

  .roadmap-line {
    left: 28px;
  }

  .phase-item,
  .phase-item:nth-child(even) {
    flex-direction: row;
  }

  .phase-item:nth-child(even) .phase-card {
    order: 2;
  }
}

/* 768px – Tablet portrait */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

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

  .hero-stats {
    gap: 1.25rem;
  }

  .stat-num {
    font-size: 1.6rem;
  }

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

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

  .section {
    padding: 60px 1.25rem;
  }

  .roadmap-container {
    padding-left: 60px;
  }

  .roadmap-line {
    left: 28px;
    transform: none;
  }

  .phase-item,
  .phase-item:nth-child(even) {
    flex-direction: row;
    align-items: flex-start;
  }

  .phase-dot {
    position: absolute;
    left: -60px;
    top: 1.5rem;
  }

  .phase-item {
    position: relative;
    padding-left: 0;
  }

  .phase-card {
    padding: 1.5rem;
  }

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .login-modal {
    padding: 2rem;
  }

  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }

  .scroll-top {
    left: 1rem;
    bottom: 1rem;
  }

  footer {
    padding: 30px 1.25rem;
  }

  .footer-links {
    gap: 1rem;
  }
}

/* 480px – Mobile */
@media (max-width: 480px) {
  .site-title {
    letter-spacing: -1px;
  }

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

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

  .hero-stats {
    gap: 1rem;
  }

  .stat-item {
    min-width: 80px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .nav-inner {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .filter-tabs {
    gap: 0.5rem;
  }

  .terms-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .data-table {
    font-size: 0.78rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.65rem 0.75rem;
  }

  .page-header {
    padding: 100px 1.25rem 40px;
  }

  .roadmap-container {
    padding-left: 48px;
  }

  .phase-dot {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    left: -48px;
  }

  .phase-card {
    padding: 1.25rem;
  }

  .phase-title {
    font-size: 1.1rem;
  }
}

/* ── UTILITY ─────────────────────────────────────────────────── */
.text-yellow  { color: var(--yellow); }
.text-center  { text-align: center; }
.text-muted   { color: var(--text3); }
.fw-800       { font-weight: 800; }
.mt-1         { margin-top: 1rem; }
.mt-2         { margin-top: 2rem; }
.mb-1         { margin-bottom: 1rem; }
.mb-2         { margin-bottom: 2rem; }
.hidden       { display: none !important; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.gap-1        { gap: 1rem; }

/* Glow text utility */
.glow-text {
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  color: var(--yellow);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--yellow), var(--yellow3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LOADING OVERLAY ─────────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  animation: glowPulse 1.5s ease-in-out infinite;
}

.loading-bar-wrap {
  width: 200px;
  height: 3px;
  background: var(--bg4);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--yellow), var(--yellow3));
  border-radius: 2px;
  animation: loadProgress 1.5s ease forwards;
}

@keyframes loadProgress {
  0%   { width: 0; }
  100% { width: 100%; }
}
