/* Trading Bite v2.1 — Neon, themes, sections, login v2 */

:root {
  --neon-cyan: #00f5ff;
  --neon-magenta: #ff00aa;
  --neon-purple: #a855f7;
  --neon-gold: #e8c4b8;
  --neon-green: #39ff14;
  --neon-cyan-glow: rgba(0, 245, 255, 0.45);
  --neon-magenta-glow: rgba(255, 0, 170, 0.35);
  --neon-purple-glow: rgba(168, 85, 247, 0.35);
  --ticker-h: 32px;
  --header-h: 64px;
  --top-offset: calc(var(--ticker-h) + var(--header-h));
}

[data-theme="light"] {
  --bg-deep: #f0f2f8;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.82);
  --text: #0a0e16;
  --text-muted: rgba(10, 14, 22, 0.62);
  --text-dim: rgba(10, 14, 22, 0.4);
  --border: rgba(10, 14, 22, 0.12);
  --border-bright: rgba(168, 85, 247, 0.35);
  --glass: rgba(255, 255, 255, 0.75);
  --gold: #b87d6a;
  --gold-light: #d4a99a;
  --gold-glow: rgba(184, 125, 106, 0.35);
  --teal: #0d9488;
  color-scheme: light;
}

[data-theme="light"] .ambient { opacity: 0.55; }
[data-theme="light"] #grid-canvas { opacity: 0.35; }
[data-theme="light"] .data-stream { opacity: 0.2; }
[data-theme="light"] .logo-img { filter: drop-shadow(0 0 8px rgba(184,125,106,0.25)); }
[data-theme="light"] #fx-canvas { opacity: 0.28; }
[data-theme="light"] .particle-field span { opacity: 0.3; }
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(184, 125, 106, 0.12);
  box-shadow: 0 4px 20px rgba(10, 14, 22, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
[data-theme="light"] .site-header::after {
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(232, 196, 184, 0.08) 50%,
    rgba(255, 255, 255, 0.12) 52%,
    transparent 60%
  );
}
[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(10, 14, 22, 0.07), inset 0 1px 0 rgba(255, 255, 255, 1);
}
[data-theme="light"] .ticker-wrap { background: rgba(255,255,255,0.95); }
[data-theme="light"] .disclaimer-block { background: linear-gradient(180deg, rgba(255, 243, 238, 0.7), rgba(240, 242, 248, 0.9)); }
[data-theme="light"] .bento {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(184, 125, 106, 0.2);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 6px 24px rgba(10, 14, 22, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
[data-theme="light"] .bento:hover {
  box-shadow: 0 12px 36px rgba(10, 14, 22, 0.08), 0 0 24px rgba(184, 125, 106, 0.18);
  border-color: rgba(184, 125, 106, 0.4);
}
[data-theme="light"] .bento h3 { color: var(--text); }
[data-theme="light"] .bento p { color: var(--text-muted); }
[data-theme="light"] .bento-chip {
  background: rgba(184, 125, 106, 0.1);
  border-color: rgba(184, 125, 106, 0.25);
  color: var(--gold-dark, #8f5e50);
}
[data-theme="light"] .device-list li {
  background: rgba(184, 125, 106, 0.08);
  border-color: rgba(184, 125, 106, 0.2);
}
[data-theme="light"] .feature-card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(184, 125, 106, 0.2);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 8px 28px rgba(10,14,22,0.06), inset 0 1px 0 rgba(255,255,255,0.85);
}
[data-theme="light"] .feature-card.auto-glow,
[data-theme="light"] .feature-card:hover {
  box-shadow: 0 14px 40px rgba(10, 14, 22, 0.1), 0 0 32px rgba(184, 125, 106, 0.22);
  border-color: rgba(184, 125, 106, 0.45);
}
[data-theme="light"] .site-header {
  animation: header-glass-pulse-light 5s ease-in-out infinite;
}
@keyframes header-glass-pulse-light {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(10, 14, 22, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 rgba(184, 125, 106, 0);
  }
  50% {
    box-shadow: 0 4px 24px rgba(10, 14, 22, 0.07), inset 0 1px 0 rgba(255, 255, 255, 1), 0 0 24px rgba(184, 125, 106, 0.12);
  }
}
[data-theme="light"] .feature-card h3 { color: var(--text); }
[data-theme="light"] .feature-card-icon {
  background: rgba(184, 125, 106, 0.12);
  border-color: rgba(184, 125, 106, 0.25);
}
[data-theme="light"] .security-hud {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(184, 125, 106, 0.28);
  box-shadow: 0 12px 40px rgba(10,14,22,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}
[data-theme="light"] .security-pulse-panel {
  background: rgba(240, 242, 248, 0.7);
  border-color: rgba(184, 125, 106, 0.15);
}
[data-theme="light"] .radar-ring { border-color: rgba(13, 148, 136, 0.2); }
[data-theme="light"] .radar-ring.r2 { border-color: rgba(184, 125, 106, 0.2); }
[data-theme="light"] .orbit-tag {
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold);
}
[data-theme="light"] .orbit-tag.ot2 { color: var(--teal); }
[data-theme="light"] .hud-stat { background: rgba(184, 125, 106, 0.08); border-color: rgba(184, 125, 106, 0.2); }
[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.88);
  border-top-color: rgba(184, 125, 106, 0.2);
  backdrop-filter: blur(12px);
}
[data-theme="light"] .footer-grid h3 { color: var(--gold); }
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-grid a { color: var(--text-muted); }
[data-theme="light"] .footer-grid a:hover { color: var(--text); }
[data-theme="light"] .footer-bottom { color: var(--text-dim); border-top-color: rgba(184,125,106,0.15); }
[data-theme="light"] .footer-version {
  background: rgba(184, 125, 106, 0.1);
  border-color: rgba(184, 125, 106, 0.3);
  color: var(--gold);
  box-shadow: 0 0 12px rgba(184,125,106,0.15);
}
[data-theme="light"] .nav-links a { color: var(--text-muted); }
[data-theme="light"] .nav-links a:hover { color: var(--text); }
[data-theme="light"] .theme-toggle {
  background: rgba(255,255,255,0.8);
  border-color: rgba(184,125,106,0.25);
}
[data-theme="light"] .btn-ghost {
  border-color: rgba(184,125,106,0.3);
}
[data-theme="light"] .portal-preview {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(13, 148, 136, 0.25);
}
[data-theme="light"] .portal-row { background: rgba(13, 148, 136, 0.06); }
[data-theme="light"] .portal-stat { background: rgba(13, 148, 136, 0.08); border-color: rgba(13, 148, 136, 0.2); }

/* ── Login light mode fix ── */
[data-theme="light"] .login-section-v2 {
  background: linear-gradient(135deg, #f0f2f8 0%, #ede9fe 45%, #f0fdfa 100%);
}
[data-theme="light"] .login-split {
  border-image: none;
  border-block: none;
  position: relative;
}
[data-theme="light"] .login-split::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #a855f7, var(--gold));
  z-index: 2;
}
[data-theme="light"] .login-split::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #a855f7, var(--gold));
  z-index: 2;
}
[data-theme="light"] .login-visual {
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(13, 148, 136, 0.14), transparent),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(168, 85, 247, 0.1), transparent),
    transparent;
}
[data-theme="light"] .login-visual h2 { color: var(--text); }
[data-theme="light"] .login-visual .login-sub { color: var(--text-muted); }
[data-theme="light"] .login-visual .section-tag { color: var(--teal); text-shadow: none; }
[data-theme="light"] .login-panel {
  background:
    radial-gradient(ellipse 70% 55% at 65% 50%, rgba(13, 148, 136, 0.1), transparent),
    transparent;
  border-left: 1px solid rgba(13, 148, 136, 0.22);
  backdrop-filter: none;
}
[data-theme="light"] .login-card-v2 {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 16px 48px rgba(10, 14, 22, 0.08), 0 0 40px rgba(13, 148, 136, 0.15);
  animation: login-pulse-light 4s ease-in-out infinite;
}
@keyframes login-pulse-light {
  0%, 100% { box-shadow: 0 16px 48px rgba(10, 14, 22, 0.08), 0 0 30px rgba(13, 148, 136, 0.12); }
  50% { box-shadow: 0 16px 48px rgba(10, 14, 22, 0.1), 0 0 50px rgba(168, 85, 247, 0.15); }
}
[data-theme="light"] .login-card-v2 h3 { color: var(--text); }
[data-theme="light"] .login-feature-list li {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(13, 148, 136, 0.25);
  color: var(--text-muted);
  backdrop-filter: blur(12px);
}
[data-theme="light"] .login-feature-list li:hover {
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.15);
}
[data-theme="light"] .login-feature-list li span.icon {
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal);
}
[data-theme="light"] .login-hint { color: var(--text-dim); }
[data-theme="light"] .login-visual-glow { opacity: 0.35; background: rgba(13, 148, 136, 0.2); }

/* ── Disclaimer split layout ── */
.disclaimer-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.disclaimer-info {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(12, 18, 28, 0.42);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset, 0 12px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.disclaimer-info h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.disclaimer-info-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.disclaimer-info-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.disclaimer-info-card {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 245, 255, 0.05);
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: 10px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.disclaimer-info-card:hover {
  transform: translateX(4px);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.12);
}
.disclaimer-info-card .info-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}
.disclaimer-info-card strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  color: var(--text);
}
.disclaimer-info-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.disclaimer-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.5rem 0.85rem;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  width: fit-content;
}
.disclaimer-info-badge span { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.disclaimer-info-badge strong { color: var(--neon-cyan); }

.disclaimer-legal {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(12, 18, 28, 0.42);
  border: 2px solid rgba(255, 170, 0, 0.35);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 0 40px rgba(255, 170, 0, 0.1), inset 0 0 40px rgba(255, 68, 102, 0.03);
}

.disclaimer-legal h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: #ffb020;
  text-shadow: 0 0 16px rgba(255, 176, 32, 0.4);
  margin-bottom: 0.75rem;
}

[data-theme="light"] .disclaimer-info,
[data-theme="light"] .disclaimer-legal {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 40px rgba(10, 14, 22, 0.08);
}
[data-theme="light"] .disclaimer-info { border-color: rgba(13, 148, 136, 0.25); }
[data-theme="light"] .disclaimer-info-card { background: rgba(13, 148, 136, 0.06); border-color: rgba(13, 148, 136, 0.18); }
[data-theme="light"] .disclaimer-legal { border-color: rgba(255, 170, 0, 0.45); }
[data-theme="light"] .disclaimer-legal h2 { color: #c47f00; }
[data-theme="light"] .field input,
[data-theme="light"] .cta-form input { background: rgba(255,255,255,0.9); }

/* ── Live ticker (RTL scroll) ── */
.ticker-wrap {
  height: var(--ticker-h);
  background: linear-gradient(90deg, rgba(0,245,255,0.08), rgba(255,0,170,0.06), rgba(0,245,255,0.08));
  border-bottom: 1px solid rgba(0, 245, 255, 0.25);
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.12);
}

.ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--neon-cyan);
  background: linear-gradient(90deg, var(--bg-deep) 70%, transparent);
  text-shadow: 0 0 12px var(--neon-cyan-glow);
}

.ticker-track {
  overflow: hidden;
  padding-left: 7rem;
  height: 100%;
}

.ticker {
  animation: ticker-rtl 45s linear infinite;
  padding: 0.45rem 0;
  gap: 3rem;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ticker .sym {
  color: var(--neon-gold);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.ticker .px {
  color: var(--text);
  font-weight: 500;
}

.ticker em.up {
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.ticker em.down {
  color: #ff4466;
  text-shadow: 0 0 10px rgba(255, 68, 102, 0.45);
}

@keyframes ticker-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Compact header, BIG logo ── */
.site-header {
  top: var(--ticker-h);
  padding: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.nav { height: 100%; width: 100%; }

.logo {
  position: relative;
  z-index: 2;
  align-items: center;
  min-width: 0;
}

.logo-img {
  height: 56px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.2)) drop-shadow(0 0 20px var(--neon-cyan-glow));
  transition: filter 0.3s;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 18px var(--neon-magenta-glow)) drop-shadow(0 0 24px var(--neon-cyan-glow));
}

.logo-sm .logo-img { height: 44px; }

.logo-ver-badge {
  color: var(--neon-cyan);
  border-color: rgba(0, 245, 255, 0.35);
  background: rgba(0, 245, 255, 0.08);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.2);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--glass);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.theme-toggle::after,
.nav-actions .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.08) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.theme-toggle:hover::after,
.nav-actions .btn:hover::after {
  transform: translateX(120%);
}
.theme-toggle:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px var(--neon-cyan-glow);
}

/* ── Neon ambient extras ── */
.aurora-3 {
  width: 40vw; height: 40vw;
  top: 40%; left: 30%;
  background: radial-gradient(circle, var(--neon-magenta-glow) 0%, transparent 70%);
  animation-delay: -5s;
}

.neon-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-float 8s ease-in-out infinite;
}
.neon-orb-1 { width: 200px; height: 200px; top: 20%; right: 10%; background: var(--neon-cyan-glow); }
.neon-orb-2 { width: 160px; height: 160px; bottom: 30%; left: 5%; background: var(--neon-purple-glow); animation-delay: -3s; }
.neon-orb-3 { width: 120px; height: 120px; top: 60%; right: 25%; background: var(--gold-glow); animation-delay: -6s; }

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px); }
}

/* ── Section blocks & dividers ── */
.section-block {
  position: relative;
  isolation: isolate;
}

.section-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 900px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), var(--neon-gold), transparent);
  box-shadow: 0 0 20px var(--neon-cyan-glow), 0 0 40px var(--neon-magenta-glow);
  opacity: 0.85;
}

.section-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,245,255,0.04), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-section::before { display: none; }

.section-block .section-inner {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.hero-section .section-inner {
  padding-top: calc(var(--top-offset) + 2rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section .hero {
  padding-top: 0;
  min-height: auto;
  width: 100%;
}

/* Neon hero enhancements */
.hero-gradient {
  background: linear-gradient(135deg, var(--neon-gold) 0%, var(--neon-cyan) 45%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-badge {
  border-color: rgba(0, 245, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
  animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(0,245,255,0.15); }
  50% { box-shadow: 0 0 24px rgba(255,0,170,0.2); }
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-gold), var(--gold), var(--neon-magenta));
  background-size: 200% 200%;
  animation: btn-shimmer 4s ease infinite;
  box-shadow: 0 4px 24px var(--neon-magenta-glow), 0 0 20px var(--gold-glow);
}

@keyframes btn-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.bento:hover, .product-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 30px var(--neon-cyan-glow);
  border-color: rgba(0, 245, 255, 0.4);
}

.section-tag {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px var(--neon-cyan-glow);
}

.feature-pill {
  border-color: rgba(184, 125, 106, 0.25);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feature-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--gold-glow);
  border-color: var(--gold);
}

/* Stagger reveal */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── Disclaimer ── */
.disclaimer-block {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, rgba(255, 68, 102, 0.06), rgba(255, 170, 0, 0.04));
  border-block: 2px solid rgba(255, 170, 0, 0.35);
  position: relative;
}

.disclaimer-block::before {
  content: "⚠";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  opacity: 0.12;
  pointer-events: none;
}

/* legacy single-card — kept for fallback */
.disclaimer-card { display: none; }

.disclaimer-highlight {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 68, 102, 0.1);
  border-left: 3px solid #ff4466;
  border-radius: 0 8px 8px 0;
}

.disclaimer-body {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.disclaimer-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.disclaimer-list li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  align-items: flex-start;
}

.disclaimer-list li::before {
  content: "×";
  color: #ff4466;
  font-weight: 700;
  flex-shrink: 0;
}

.disclaimer-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* ── Login v2 — full-width split ── */
.login-section-v2 {
  padding: 0;
  overflow: hidden;
}

.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(85vh, 720px);
  border-block: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-gold)) 1;
}

.login-visual {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(0,245,255,0.12), transparent),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(255,0,170,0.1), transparent),
    rgba(6, 8, 13, 0.55);
  overflow: hidden;
}

.login-visual-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--neon-cyan-glow);
  filter: blur(80px);
  top: 20%;
  left: 10%;
  animation: orb-float 6s ease-in-out infinite;
}

.login-visual h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  position: relative;
}

.login-visual .login-sub {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  max-width: 28rem;
  margin-bottom: 2rem;
  position: relative;
}

.login-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.login-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--glass);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 10px;
  font-size: 0.875rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.login-feature-list li:hover {
  transform: translateX(6px);
  box-shadow: 0 0 20px var(--neon-cyan-glow);
}

.login-feature-list li span.icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(0, 245, 255, 0.12);
  border-radius: 8px;
  color: var(--neon-cyan);
  font-size: 0.9rem;
}

.login-panel {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 13, 0.45);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(0, 245, 255, 0.15);
}

.login-card-v2 {
  width: min(100%, 420px);
  padding: 2.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: calc(var(--radius) + 4px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 24px 80px rgba(0,0,0,0.45),
    0 0 60px var(--neon-magenta-glow);
  animation: login-pulse 4s ease-in-out infinite;
}

@keyframes login-pulse {
  0%, 100% { box-shadow: 0 24px 80px rgba(0,0,0,0.45), 0 0 40px var(--neon-cyan-glow); }
  50% { box-shadow: 0 24px 80px rgba(0,0,0,0.45), 0 0 60px var(--neon-magenta-glow); }
}

.login-card-v2 h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

/* ── Footer v2 ── */
.footer-version {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-cyan);
  margin-top: 0.75rem;
  box-shadow: 0 0 12px var(--neon-cyan-glow);
}

#footer-columns {
  display: contents;
}

/* ── Responsive fixes ── */
@media (max-width: 1024px) {
  .login-split { grid-template-columns: 1fr; }
  .login-visual { min-height: auto; padding-bottom: 1rem; }
  .login-panel { border-left: none; border-top: 1px solid rgba(0, 245, 255, 0.15); }
  .disclaimer-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .logo-img { height: 48px; }
  .ticker-label { font-size: 0.55rem; padding: 0 0.5rem; }
  .ticker-track { padding-left: 5.5rem; }
  .nav-menu { top: var(--ticker-h); }
  .hero-section .section-inner { min-height: auto; padding-top: calc(var(--top-offset) + 1rem); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
  .hero-gradient, .btn-primary, .login-card-v2 { animation: none; }
}
