:root {
  color-scheme: dark;
  --bg: #05070d;
  --panel: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .14);
  --text: #f4f7fb;
  --muted: #9da8bb;
  --cyan: #77e7ff;
  --violet: #9a7cff;
  --gold: #f7c75d;
  --green: #55f0a3;
  --red: #ff6f91;
  --purple-glow: rgba(154, 124, 255, 0.4);
  --gold-glow: rgba(247, 199, 93, 0.4);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  background: radial-gradient(circle at top left, rgba(119,231,255,.12), transparent 35%),
              radial-gradient(circle at 80% 0, rgba(154,124,255,.14), transparent 40%),
              var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

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

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: 0 20px 80px rgba(0,0,0,.35);
}

h1 { font-size: clamp(42px, 7vw, 78px); line-height: .92; margin: 0 0 18px; letter-spacing: -.07em; }
h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.04em; }
h3 { font-size: 24px; margin: 0 0 12px; }

.muted { color: var(--muted); }

.btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  padding: 14px 24px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  font-size: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #071019;
}

.btn:active, button:active { transform: scale(0.98); }

.primary-cta {
  background: linear-gradient(135deg, var(--gold), var(--violet));
  color: #071019;
  box-shadow: 0 10px 30px var(--purple-glow);
}

.secondary-cta, .secondary, button.secondary {
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid var(--line);
}

button.danger { background: linear-gradient(135deg, var(--red), #ffb199); color: #fff; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.3);
  color: var(--text);
  padding: 13px;
  margin: 8px 0 12px;
  font-size: 16px;
}

label { display: block; margin: 10px 0; }

table { width: 100%; border-collapse: collapse; margin: 20px 0; }
td, th { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: 0.1em; }

.pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--muted); font-weight: 800; margin: 4px; font-size: 13px; }

/* Landing & Auth Shell */
.landing-page, .auth-page { position: relative; min-height: 100vh; }

.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 140px 8vw;
  min-height: 85vh;
}

.brand-logo { font-weight: 900; font-size: 32px; letter-spacing: -0.05em; margin-bottom: 32px; }
.brand-logo span { color: var(--cyan); }

.hero-subtitle { font-size: clamp(18px, 2.5vw, 26px); color: #d8dded; max-width: 600px; margin-bottom: 12px; }
.brand-line { color: var(--gold); font-weight: 800; margin-bottom: 40px; font-style: italic; font-size: 18px; }

.hero-actions { display: flex; gap: 16px; margin-bottom: 64px; }
.hero-explanation { display: flex; flex-direction: column; gap: 12px; }
.expl-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--muted); }
.expl-item::before { content: ""; width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px var(--cyan); }

/* Floating Cards */
.hero-visuals { position: relative; height: 400px; }
.float-card { position: absolute; padding: 20px; border-radius: 24px; width: 190px; animation: floaty 6s ease-in-out infinite; z-index: 2; }
.card-label { display: block; font-size: 11px; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.card-value { font-size: 28px; font-weight: 1000; margin: 4px 0; color: #fff; }
.gold-glow { text-shadow: 0 0 15px var(--gold-glow); color: var(--gold); }

.float-card.buy { top: 10%; left: 0; border-color: rgba(85,240,163,.3); }
.float-card.gold { top: 40%; right: 5%; border-color: rgba(247,199,93,.3); animation-delay: -1.5s; }
.float-card.journal { bottom: 10%; left: 15%; border-color: rgba(154,124,255,.3); animation-delay: -3s; }
.float-card.latest { top: 5%; right: 35%; border-color: rgba(119,231,255,.3); animation-delay: -4.5s; }
.float-card.activity { bottom: 25%; right: 30%; border-color: rgba(255,255,255,.2); animation-delay: -2.2s; }

/* Features & Pricing Sections */
.features-section, .pricing-section, .community-preview { padding: 100px 8vw; }
.features-grid, .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.features-grid .card, .pricing-card { padding: 40px; border-radius: 32px; transition: transform 0.3s ease, border-color 0.3s ease; }
.pricing-card:hover { transform: translateY(-10px); border-color: var(--violet); }
.pricing-card.recommended { border: 2px solid var(--gold); position: relative; }
.recommended-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #000; padding: 6px 20px; border-radius: 99px; font-weight: 900; text-transform: uppercase; font-size: 14px; }
.pricing-header .price { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; margin: 10px 0 30px; }
.pricing-header .price span { font-size: 18px; color: var(--muted); font-weight: normal; }
.features { list-style: none; padding: 0; margin: 0 0 40px; flex-grow: 1; }
.features li { padding: 12px 0; color: #d8dded; border-bottom: 1px solid rgba(255,255,255,0.05); }
.features li::before { content: "✓"; margin-right: 12px; color: var(--cyan); font-weight: 900; }

/* Dashboard Styles */
.nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 6vw; background: rgba(5,7,13,.75); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.brand, .brand-wordmark { font-weight: 900; font-size: 24px; letter-spacing: -.04em; }
.brand span { color: var(--cyan); }
.links { display: flex; gap: 16px; flex-wrap: wrap; }
.links a { color: var(--muted); font-weight: 700; transition: color 0.2s; }
.links a:hover { color: #fff; }

.page { padding: 40px 6vw; max-width: 1400px; margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.card { grid-column: span 4; padding: 30px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid var(--line); backdrop-filter: blur(20px); }
.wide { grid-column: span 8; }
.full { grid-column: 1 / -1; }

.signal { font-size: 56px; font-weight: 1000; margin: 10px 0; }
.BUY, .green { color: var(--green); }
.SELL, .red { color: var(--red); }
.HOLD, .gold { color: var(--gold); }

.msg { padding: 16px; border-radius: 16px; margin: 12px 0; background: rgba(0,0,0,.2); border: 1px solid var(--line); }
.msg.green { border-color: rgba(85,240,163,.4); background: rgba(85,240,163,.05); }
.msg.red { border-color: rgba(255,111,145,.4); background: rgba(255,111,145,.05); }

.disclaimer { margin-top: 30px; padding: 20px; border: 1px solid rgba(247,199,93,.3); border-radius: 20px; color: #ffdf91; background: rgba(247,199,93,.08); font-size: 14px; }

/* Auth Components */
.login-panel { width: min(500px, 92vw); padding: 40px; border-radius: 36px; margin: 40px auto 80px; }
.panel-eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.15em; font-size: 11px; font-weight: 900; margin-bottom: 8px; }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin: 12px 0; padding: 16px; border-radius: 16px; font-weight: 900; font-size: 16px; border: 1px solid var(--line); }
.oauth-btn.apple { background: #fff; color: #000; }
.oauth-btn.google { background: rgba(255,255,255,0.1); }
.email-row { margin-top: 24px; display: grid; gap: 12px; }

.trust-list { margin: 20px 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: #d8dded; }
.agree-line { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid rgba(247,199,93,0.3); border-radius: 16px; background: rgba(247,199,93,0.05); margin-bottom: 20px; cursor: pointer; font-size: 14px; }
.agree-line input { width: auto; margin-top: 4px; }
.terms-links { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 24px; font-size: 13px; }
.terms-links button { background: transparent; border: 0; color: var(--gold); padding: 0; cursor: pointer; font-weight: 700; font-size: 13px; }

/* Audio Player */
.player { position: relative; overflow: hidden; border-color: rgba(247,199,93,.25); }
.cover { width: 70px; height: 70px; border-radius: 16px; object-fit: cover; background: linear-gradient(135deg, var(--gold), var(--violet)); float: left; margin-right: 16px; }
.equalizer { display: inline-flex; gap: 3px; height: 20px; align-items: end; margin-left: 8px; }
.equalizer i { width: 3px; height: 6px; background: var(--gold); border-radius: 999px; animation: eq 900ms infinite ease-in-out; }
@keyframes eq { 50% { height: 18px; } }

/* Chat */
.status { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--muted); }
.online { background: var(--green); }
.chatbot-trigger { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #b77b16); border: 0; color: #000; font-size: 30px; font-weight: 900; cursor: pointer; box-shadow: 0 12px 40px rgba(0,0,0,0.4); z-index: 1000; transition: transform 0.3s ease; }
.chatbot-trigger:hover { transform: scale(1.1); }
.chatbot-container { position: fixed; bottom: 100px; right: 24px; width: 350px; height: 500px; background: #0f1018; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 80px rgba(0,0,0,0.5); display: flex; flex-direction: column; overflow: hidden; z-index: 1001; backdrop-filter: blur(20px); }
.chatbot-header { padding: 16px; background: rgba(255,255,255,0.05); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.bot-avatar { width: 36px; height: 36px; background: var(--gold); border-radius: 50%; color: #000; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.bot-name { font-weight: 800; font-size: 14px; }
.bot-status { font-size: 11px; color: var(--green); }
.bot-close { margin-left: auto; background: transparent; border: 0; color: var(--muted); font-size: 24px; cursor: pointer; }
.chatbot-messages { flex-grow: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.bot-msg, .user-msg { padding: 10px 14px; border-radius: 18px; max-width: 85%; font-size: 14px; line-height: 1.4; }
.chatbot-actions { padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); background: rgba(0,0,0,0.2); }
.chatbot-actions button { padding: 6px 10px; font-size: 12px; border-radius: 8px; white-space: nowrap; background: rgba(255,255,255,0.08); color: #fff; border: 0; cursor: pointer; }
.chatbot-input { padding: 12px; display: flex; gap: 8px; border-top: 1px solid var(--line); }
.chatbot-input input { margin: 0; padding: 10px; font-size: 14px; background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: 10px; color: #fff; flex-grow: 1; }
.chatbot-input button { padding: 0 16px; border: 0; border-radius: 10px; background: var(--gold); color: #000; font-weight: 800; cursor: pointer; }
.bot-disclaimer { padding: 8px 16px; font-size: 10px; color: var(--muted); text-align: center; background: rgba(0,0,0,0.3); }
.typing { opacity: 0.6; }
.bot-msg { background: rgba(255,255,255,0.08); align-self: flex-start; border-bottom-left-radius: 4px; }
.bot-action-msg { padding: 0; background: transparent; }
.bot-action-button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 999px; background: var(--gold); color: #000; font-weight: 900; text-decoration: none; box-shadow: 0 8px 24px rgba(212,175,55,0.25); }
.user-msg { background: var(--violet); align-self: flex-end; border-bottom-right-radius: 4px; color: #fff; }

/* Footers */
.landing-footer, .auth-footer { padding: 60px 8vw; border-top: 1px solid var(--line); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 24px; color: var(--muted); font-weight: 700; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.discreet-link { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; padding: 0; }
.footer-disclaimer { max-width: 800px; margin: 0 auto; font-size: 12px; color: rgba(244,247,251,.4); }

/* Decor & Animations */
.aurora { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(100px); opacity: 0.4; z-index: -1; animation: drift 15s ease-in-out infinite alternate; }
.aurora-a { top: -200px; left: -100px; background: var(--purple-glow); }
.aurora-b { bottom: -200px; right: -100px; background: var(--gold-glow); animation-delay: -5s; }

.map-texture { position: absolute; inset: 0; opacity: .05; background-image: radial-gradient(#fff 1px, transparent 0); background-size: 40px 40px; pointer-events: none; }
.chart-lines { position: absolute; inset: 0; opacity: .08; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }

.fade-up { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(80px, 40px); } }

/* Mobile Responsiveness */
@media (max-width: 960px) {
  .hero-section { grid-template-columns: 1fr; text-align: center; padding: 100px 6vw 60px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 400px; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-visuals { display: none; }
  .grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .card, .wide { grid-column: 1 / -1; }
  .nav { flex-direction: column; align-items: flex-start; gap: 20px; }
  .nav .links { gap: 12px; }
}

.hidden { display: none !important; }
dialog { border: 0; border-radius: 28px; padding: 0; background: transparent; color: var(--text); }
dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(10px); }
.modal-card { width: min(680px, 92vw); padding: 32px; border-radius: 28px; }
.modal-close { float: right; width: auto; padding: 8px 12px; background: rgba(255,255,255,.1); color: #fff; }
.terms-scroll { max-height: 50vh; overflow: auto; margin-top: 20px; padding-right: 10px; font-size: 14px; line-height: 1.6; }

.brand-vibe { color: #ffffff; }
.brand-spark { color: #2f80ff; }
.hero-support { color: var(--muted); max-width: 560px; margin: 0 0 28px; font-size: 16px; }
.btn:hover, button:hover, .oauth-btn:hover, .pricing-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(119,231,255,.18); }
.hero-visuals { min-height: 460px; isolation: isolate; }
.signal-cloud { position: relative; width: min(100%, 560px); height: 420px; margin-left: auto; }
.float-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 118px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035)),
    radial-gradient(circle at 20% 10%, rgba(247,199,93,.14), transparent 42%);
  box-shadow: 0 24px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.12);
}
.float-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 30px rgba(119,231,255,.08), 0 0 46px rgba(154,124,255,.06);
  animation: glowPulse 4.5s ease-in-out infinite;
}
.float-card small { color: rgba(216,221,237,.72); font-weight: 750; font-size: 12px; line-height: 1.25; }
.float-card.buy { top: 28px; left: 12px; }
.float-card.latest { top: 2px; right: 48px; }
.float-card.gold { top: 170px; right: 0; }
.float-card.journal { bottom: 18px; left: 56px; }
.float-card.activity { bottom: 82px; right: 178px; }
.auth-cloud { width: min(100%, 460px); height: 260px; margin: 28px auto 0; }
.auth-cloud .float-card { transform: scale(.82); }

.pixel-miner {
  position: absolute;
  right: 26px;
  bottom: 0;
  width: 132px;
  height: 112px;
  z-index: 4;
  cursor: default;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.45));
}
.gold-vein {
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 54px;
  height: 38px;
  border-radius: 8px 12px 6px 10px;
  background: linear-gradient(135deg, #5b3b12, #f7c75d 42%, #ffe9a6 58%, #9d671e);
  box-shadow: 0 0 22px rgba(247,199,93,.45);
}
.miner { position: absolute; left: 18px; bottom: 8px; width: 74px; height: 86px; image-rendering: pixelated; }
.miner-head { position: absolute; left: 28px; top: 11px; width: 24px; height: 24px; background: #d99b65; border: 4px solid #2b2030; box-shadow: 0 -7px 0 #f7c75d, 0 -11px 0 #4a342a; }
.miner-head i { position: absolute; right: 4px; top: 7px; width: 4px; height: 4px; background: #121722; box-shadow: 8px 0 0 #121722; animation: minerBlink 5s steps(1) infinite; }
.miner-body { position: absolute; left: 24px; top: 40px; width: 30px; height: 28px; background: #2d7dd2; border: 4px solid #171b2a; }
.miner-arm { position: absolute; left: 50px; top: 44px; width: 30px; height: 8px; background: #d99b65; border: 3px solid #171b2a; transform-origin: 0 50%; animation: mineArm 760ms steps(2) infinite; }
.pickaxe { position: absolute; left: 70px; top: 25px; width: 8px; height: 50px; background: #7a4a25; transform-origin: 50% 80%; animation: minePick 760ms steps(2) infinite; }
.pickaxe::before { content: ""; position: absolute; left: -18px; top: -4px; width: 42px; height: 8px; background: #c8d0db; box-shadow: inset 0 -3px 0 #6e7a87; }
.miner-leg { position: absolute; top: 68px; width: 10px; height: 18px; background: #171b2a; }
.leg-a { left: 28px; } .leg-b { left: 44px; }
.miner-sparkles i { position: absolute; right: 48px; bottom: 34px; width: 5px; height: 5px; background: var(--gold); box-shadow: 0 0 10px var(--gold); opacity: 0; animation: chipSpark 760ms infinite; }
.miner-sparkles i:nth-child(2) { right: 38px; bottom: 46px; animation-delay: 180ms; }
.miner-sparkles i:nth-child(3) { right: 58px; bottom: 54px; animation-delay: 320ms; }
.pixel-miner:hover .miner-arm, .pixel-miner:hover .pickaxe, .pixel-miner:hover .miner-sparkles i { animation-play-state: paused; }
.pixel-miner:hover .miner-head i { right: 2px; box-shadow: 7px 0 0 #121722; }
.pixel-miner:hover .miner-head { transform: translateX(-2px); }
@keyframes mineArm { 0%,100% { transform: rotate(-32deg); } 50% { transform: rotate(16deg); } }
@keyframes minePick { 0%,100% { transform: rotate(-38deg); } 50% { transform: rotate(24deg); } }
@keyframes chipSpark { 15% { opacity: 1; transform: translate(0,0) scale(1); } 100% { opacity: 0; transform: translate(-18px,-18px) scale(.35); } }
@keyframes minerBlink { 0%, 92%, 100% { height: 4px; } 94% { height: 1px; } }
@keyframes glowPulse { 50% { opacity: .45; } }

@media (max-width: 960px) {
  .hero-section { gap: 34px; }
  .hero-visuals { display: block; width: 100%; min-height: 520px; height: 520px; }
  .signal-cloud { margin: 0 auto; height: 390px; max-width: 390px; }
  .float-card { width: 168px; padding: 16px; border-radius: 20px; min-height: 106px; }
  .card-value { font-size: 24px; }
  .float-card.buy { top: 0; left: 0; }
  .float-card.latest { top: 28px; right: 0; }
  .float-card.gold { top: 142px; right: 8px; }
  .float-card.journal { bottom: 20px; left: 6px; }
  .float-card.activity { bottom: 54px; right: 72px; }
  .pixel-miner { right: calc(50% - 170px); bottom: 16px; transform: scale(.88); }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(40px, 13vw, 58px); }
  .brand-logo { font-size: 29px; margin-bottom: 22px; }
  .hero-visuals { height: 560px; min-height: 560px; }
  .signal-cloud { height: 420px; max-width: 320px; }
  .float-card { width: 150px; padding: 14px; }
  .float-card.latest { top: 86px; }
  .float-card.gold { top: 190px; right: 0; }
  .float-card.journal { bottom: 52px; }
  .float-card.activity { bottom: -8px; right: 34px; }
  .pixel-miner { right: 4vw; bottom: 4px; transform: scale(.78); }
  .login-panel { padding: 28px; }
}

/* VibeSpark final landing polish */
.hero-section {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}
.hero-content { position: relative; z-index: 3; max-width: 680px; }
.brand-logo, .brand, .brand-wordmark { color: #fff; }
.brand-vibe { color: #ffffff; }
.brand-spark { color: #2f80ff; }
.hero-actions { position: relative; z-index: 8; margin-bottom: 42px; }
.primary-cta:hover { box-shadow: 0 18px 42px rgba(247,199,93,.22), 0 0 38px rgba(154,124,255,.16); }
.secondary-cta:hover { border-color: rgba(91,188,255,.55); }
.hero-visuals { height: 540px; min-height: 540px; overflow: visible; }
.signal-cloud { width: min(100%, 590px); height: 430px; margin-left: auto; }
.float-card { width: 184px; min-height: 120px; justify-content: center; }
.card-label { font-size: 11px; line-height: 1.1; color: rgba(216,221,237,.82); }
.card-value { font-size: clamp(24px, 2.4vw, 30px); line-height: 1; letter-spacing: -.035em; }
.float-card small { color: rgba(216,221,237,.68); letter-spacing: .01em; }
.float-card.buy { top: 24px; left: 16px; }
.float-card.latest { top: 0; right: 72px; }
.float-card.gold { top: 158px; right: 8px; }
.float-card.journal { bottom: 42px; left: 74px; }
.float-card.activity { bottom: 112px; right: 190px; }

.gold-delivery {
  position: absolute;
  right: 12px;
  bottom: 4px;
  width: 315px;
  height: 128px;
  z-index: 5;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.45));
}
.delivery-road { position: absolute; left: 0; right: 4px; bottom: 16px; height: 7px; border-radius: 99px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), rgba(247,199,93,.36), transparent); }
.factory { position: absolute; right: 0; bottom: 23px; width: 58px; height: 58px; background: linear-gradient(180deg, #27324c, #121827); border: 3px solid rgba(255,255,255,.18); box-shadow: 0 0 26px rgba(154,124,255,.24); }
.factory::before { content: ""; position: absolute; left: 6px; top: -16px; border-left: 16px solid transparent; border-right: 16px solid transparent; border-bottom: 16px solid #27324c; }
.factory span { position: absolute; left: 8px; top: 18px; width: 10px; height: 10px; background: #f7c75d; box-shadow: 18px 0 0 rgba(91,188,255,.9), 0 18px 0 rgba(255,255,255,.45), 18px 18px 0 rgba(247,199,93,.75); animation: factoryGlow 2.8s ease-in-out infinite; }
.factory i { position: absolute; right: 10px; top: -28px; width: 10px; height: 24px; background: #1b2236; border: 2px solid rgba(255,255,255,.12); }
.delivery-truck { position: absolute; left: 76px; bottom: 25px; width: 92px; height: 42px; animation: truckRun 6.2s cubic-bezier(.65,0,.35,1) infinite; }
.truck-bed { position: absolute; left: 0; bottom: 10px; width: 54px; height: 25px; background: #79531d; border: 4px solid #171b2a; }
.truck-gold { position: absolute; left: 8px; top: -10px; width: 10px; height: 10px; background: var(--gold); box-shadow: 14px 2px 0 #ffe29a, 28px 0 0 #d99828; opacity: 0; animation: truckGold 6.2s steps(1) infinite; }
.truck-cab { position: absolute; left: 52px; bottom: 10px; width: 34px; height: 32px; background: linear-gradient(135deg, #5bbcff, #9a7cff); border: 4px solid #171b2a; }
.truck-cab::before { content:""; position:absolute; left:5px; top:4px; width:10px; height:8px; background:#dff8ff; }
.wheel { position:absolute; bottom: 0; width: 16px; height: 16px; border-radius: 50%; background:#111521; border:4px solid #4b5568; animation: wheelSpin .55s linear infinite; }
.wheel-a { left: 10px; } .wheel-b { left: 64px; }
.pixel-trader { position: absolute; left: 18px; bottom: 24px; width: 74px; height: 86px; }
.trader-head { position:absolute; left:28px; top:10px; width:24px; height:24px; background:#d99b65; border:4px solid #2b2030; box-shadow:0 -7px 0 #f7c75d, 0 -11px 0 #4a342a; transition: transform .18s ease; }
.trader-head i { position:absolute; right:4px; top:7px; width:4px; height:4px; background:#121722; box-shadow:8px 0 0 #121722; animation: traderBlink 5s steps(1) infinite; }
.trader-body { position:absolute; left:24px; top:40px; width:30px; height:28px; background:#2d7dd2; border:4px solid #171b2a; }
.trader-arm { position:absolute; left:46px; top:42px; width:30px; height:8px; background:#d99b65; border:3px solid #171b2a; transform-origin:0 50%; animation: loadArm 1.25s steps(2) infinite; }
.trader-leg { position:absolute; top:68px; width:10px; height:18px; background:#171b2a; }
.gold-delivery .leg-a { left:28px; } .gold-delivery .leg-b { left:44px; }
.gold-drop { position:absolute; left:86px; top:54px; width:10px; height:10px; background:var(--gold); box-shadow:0 0 12px var(--gold); animation: goldDrop 1.25s cubic-bezier(.5,0,.5,1) infinite; }
.gold-sparkles i { position:absolute; left:92px; bottom:57px; width:5px; height:5px; background:var(--gold); box-shadow:0 0 10px var(--gold); opacity:0; animation: deliverySpark 1.25s infinite; }
.gold-sparkles i:nth-child(2){ left:112px; bottom:66px; animation-delay:.2s; } .gold-sparkles i:nth-child(3){ left:126px; bottom:52px; animation-delay:.38s; }
.gold-delivery:hover .trader-arm, .gold-delivery:hover .gold-drop, .gold-delivery:hover .gold-sparkles i { animation-play-state: paused; }
.gold-delivery:hover .trader-head { transform: translateX(-3px); }
.gold-delivery:hover .trader-head i { right:2px; box-shadow:7px 0 0 #121722; }

@keyframes loadArm { 0%,100%{ transform: rotate(-22deg); } 45%{ transform: rotate(28deg); } }
@keyframes goldDrop { 0%,35%{ opacity:0; transform: translate(0,-14px); } 48%{ opacity:1; } 78%,100%{ opacity:0; transform: translate(24px,26px); } }
@keyframes deliverySpark { 35%{ opacity:0; transform:none; } 55%{ opacity:1; } 100%{ opacity:0; transform: translate(-12px,-15px) scale(.4); } }
@keyframes truckRun { 0%,24%{ transform: translateX(0); } 46%,62%{ transform: translateX(132px); } 78%,100%{ transform: translateX(0); } }
@keyframes truckGold { 0%,22%{ opacity:0; } 23%,66%{ opacity:1; } 67%,100%{ opacity:0; } }
@keyframes wheelSpin { to { transform: rotate(360deg); } }
@keyframes factoryGlow { 50% { filter: brightness(1.5); box-shadow: 18px 0 0 rgba(91,188,255,1), 0 18px 0 rgba(255,255,255,.7), 18px 18px 0 rgba(247,199,93,1); } }
@keyframes traderBlink { 0%, 92%, 100% { height: 4px; } 94% { height: 1px; } }

@media (max-width: 960px) {
  .hero-section { grid-template-columns: 1fr; }
  .hero-visuals { height: 560px; min-height: 560px; }
  .gold-delivery { right: calc(50% - 172px); bottom: 8px; transform: scale(.9); transform-origin: bottom right; }
}
@media (max-width: 520px) {
  .hero-section { padding-top: 76px; }
  .hero-visuals { height: 585px; min-height: 585px; }
  .signal-cloud { max-width: 330px; }
  .float-card { width: 154px; min-height: 112px; }
  .gold-delivery { right: calc(50% - 158px); bottom: 2px; transform: scale(.78); }
}

.public-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 8vw;
  background: linear-gradient(180deg, rgba(5,7,13,.72), rgba(5,7,13,0));
}
.public-nav .brand-wordmark { font-size: 26px; }
.public-nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.public-nav-links a, .inline-link { color: rgba(244,247,251,.78); font-weight: 850; transition: color .2s ease, transform .2s ease; }
.public-nav-links a:hover, .inline-link:hover { color: #fff; transform: translateY(-1px); }
.legal-page .legal-hero { margin-bottom: 24px; }
.legal-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 24px; }
.legal-page h1, .contact-page h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1; }
.contact-page .secondary-cta { margin-left: 12px; }
@media (max-width: 720px) {
  .public-nav { position: relative; padding: 18px 6vw 0; flex-direction: column; align-items: center; }
  .public-nav-links { justify-content: center; gap: 12px; font-size: 14px; }
  .contact-page .secondary-cta { margin-left: 0; margin-top: 12px; }
}

/* Final VibeSpark polish: living backdrop, compact footer, spring cue, work cards */
.landing-page, .auth-page { overflow: hidden; isolation: isolate; }
.landing-page::before, .auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(47,128,255,.16), transparent 30%),
    radial-gradient(circle at 78% 22%, rgba(154,124,255,.13), transparent 34%),
    radial-gradient(circle at 52% 52%, rgba(247,199,93,.055), transparent 36%);
  animation: auroraMove 18s ease-in-out infinite alternate;
}
.landing-page::after, .auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .42;
  background-image:
    radial-gradient(circle, rgba(247,199,93,.62) 0 1px, transparent 1.6px),
    linear-gradient(115deg, transparent 18%, rgba(119,231,255,.05) 38%, transparent 58%);
  background-size: 140px 140px, 100% 100%;
  animation: goldParticlesFloat 12s linear infinite;
}
.map-texture { opacity: .07; background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.34) 1px, transparent 1.5px), linear-gradient(90deg, transparent 49%, rgba(255,255,255,.08) 50%, transparent 51%); background-size: 44px 44px, 220px 100%; animation: gridPulse 8s ease-in-out infinite; }
.chart-lines { opacity: .11; background: linear-gradient(rgba(119,231,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(154,124,255,.07) 1px, transparent 1px), linear-gradient(135deg, transparent 0 38%, rgba(247,199,93,.10) 39%, transparent 42%); background-size: 64px 64px, 64px 64px, 360px 220px; animation: gridPulse 8s ease-in-out infinite reverse; }
.aurora { animation: auroraMove 18s ease-in-out infinite alternate; }
.float-card, .pricing-card, .work-card { animation-name: floaty, cardGlowPulse; animation-duration: 6s, 6s; animation-timing-function: ease-in-out, ease-in-out; animation-iteration-count: infinite, infinite; }

.features-section { position: relative; padding-top: 86px; padding-bottom: 82px; }
.works-grid { position: relative; gap: 26px; }
.works-grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(47,128,255,.45), rgba(247,199,93,.38), transparent); box-shadow: 0 0 24px rgba(47,128,255,.25); animation: connectorFlow 5s ease-in-out infinite; }
.work-card { position: relative; overflow: hidden; min-height: 280px; transform: translateY(0); }
.work-card::before { content: ""; position: absolute; inset: -60% -40%; background: radial-gradient(circle at 30% 20%, rgba(247,199,93,.18), transparent 28%), linear-gradient(110deg, transparent 35%, rgba(119,231,255,.12), transparent 55%); opacity: 0; transform: translateX(-18%); transition: opacity .25s ease, transform .45s ease; }
.work-card:hover { transform: translateY(-10px); border-color: rgba(47,128,255,.55); box-shadow: 0 26px 90px rgba(0,0,0,.42), 0 0 34px rgba(47,128,255,.14); }
.work-card:hover::before { opacity: 1; transform: translateX(12%); }
.step-number { color: rgba(247,199,93,.84); font-weight: 1000; letter-spacing: .16em; font-size: 12px; }
.mini-preview { margin-top: 22px; display: inline-flex; padding: 9px 12px; border-radius: 999px; background: rgba(47,128,255,.12); border: 1px solid rgba(119,231,255,.24); color: #dff8ff; font-size: 13px; font-weight: 900; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }

.landing-footer, .auth-footer { padding: 30px 8vw 26px; min-height: auto; background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(5,7,13,.32)); }
.footer-links { margin-bottom: 14px; gap: 14px 22px; }
.footer-disclaimer, .auth-footer p { color: rgba(244,247,251,.68); font-size: 13px; }
.bottom-spring { position: fixed; right: 24px; bottom: 24px; z-index: 50; gap: 10px; padding: 10px 14px; border: 1px solid rgba(119,231,255,.26); background: linear-gradient(135deg, rgba(47,128,255,.20), rgba(247,199,93,.13)); color: #fff; backdrop-filter: blur(18px); box-shadow: 0 10px 34px rgba(47,128,255,.20); animation: springIdle 2.8s ease-in-out infinite; }
.bottom-spring span { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold), 0 0 28px rgba(47,128,255,.45); }
.bottom-spring i { font-style: normal; font-size: 12px; }
.bottom-spring:hover { animation: springBounce .75s cubic-bezier(.2,1.6,.35,1) both; }

@keyframes auroraMove { from { transform: translate3d(-2%, -1%, 0) scale(1); filter: hue-rotate(0deg); } to { transform: translate3d(4%, 3%, 0) scale(1.08); filter: hue-rotate(18deg); } }
@keyframes goldParticlesFloat { from { background-position: 0 0, -30% 0; } to { background-position: 45px -140px, 130% 0; } }
@keyframes gridPulse { 50% { opacity: .18; transform: translateY(-8px); } }
@keyframes cardGlowPulse { 50% { box-shadow: 0 24px 86px rgba(0,0,0,.38), 0 0 32px rgba(47,128,255,.13); } }
@keyframes connectorFlow { 50% { opacity: .45; filter: blur(.3px); } }
@keyframes springIdle { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes springBounce { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-13px) scale(1.04); } 65% { transform: translateY(3px) scale(.98); } 100% { transform: translateY(0) scale(1); } }

@media (max-width: 720px) {
  .landing-footer, .auth-footer { padding: 26px 6vw 22px; }
  .works-grid::before { top: 0; bottom: 0; left: 28px; right: auto; width: 2px; height: auto; }
  .bottom-spring { right: 14px; bottom: 14px; padding: 10px; }
  .bottom-spring i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-page::before, .landing-page::after, .auth-page::before, .auth-page::after, .aurora, .map-texture, .chart-lines, .float-card, .pricing-card, .work-card, .bottom-spring { animation: none !important; }
}

/* Compact feature handoff: the builder lives in the existing blank gap without adding layout height. */
.features-section {
  position: relative;
  padding-top: 48px;
  padding-bottom: 58px;
  margin-top: -18px;
}
.features-section > h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
  text-align: center;
}
.features-section .works-grid {
  margin-top: 24px;
  gap: 22px;
}
.rating-builder {
  position: absolute;
  left: 50%;
  top: -106px;
  width: min(440px, 78vw);
  height: 132px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.38));
}
.rating-builder::before {
  content: "";
  position: absolute;
  inset: 22px 18px 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 42% 45%, rgba(247,199,93,.18), transparent 48%), linear-gradient(90deg, transparent, rgba(47,128,255,.12), transparent);
  box-shadow: 0 0 42px rgba(247,199,93,.12);
}
.builder-person { position: absolute; left: 24px; bottom: 16px; width: 88px; height: 98px; }
.builder-head { position: absolute; left: 34px; top: 8px; width: 26px; height: 26px; background: #d99b65; border: 4px solid #171b2a; box-shadow: 0 -7px 0 #f7c75d, 0 -11px 0 #4a342a; }
.builder-head i { position: absolute; right: 5px; top: 7px; width: 4px; height: 4px; background: #121722; box-shadow: 8px 0 0 #121722; animation: builderBlink 5s steps(1) infinite; }
.builder-body { position: absolute; left: 28px; top: 40px; width: 32px; height: 30px; background: #2f80ff; border: 4px solid #171b2a; }
.builder-arm { position: absolute; left: 54px; top: 42px; width: 34px; height: 8px; background: #d99b65; border: 3px solid #171b2a; transform-origin: 0 50%; animation: hammerArm 980ms steps(2) infinite; }
.builder-hammer { position: absolute; left: 78px; top: 20px; width: 8px; height: 42px; background: #7a4a25; transform-origin: 50% 85%; animation: hammerHit 980ms steps(2) infinite; }
.builder-hammer::before { content: ""; position: absolute; left: -15px; top: -5px; width: 38px; height: 9px; background: #c8d0db; box-shadow: inset 0 -3px 0 #6e7a87; }
.builder-leg { position: absolute; top: 70px; width: 10px; height: 20px; background: #171b2a; }
.builder-person .leg-a { left: 32px; } .builder-person .leg-b { left: 50px; }
.rating-stars { position: absolute; left: 112px; right: 20px; bottom: 42px; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 16px); overflow: hidden; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(247,199,93,.22); background: rgba(5,7,13,.42); }
.rating-stars span { color: #f7c75d; font-size: clamp(28px, 6vw, 46px); line-height: 1; text-shadow: 0 0 16px rgba(247,199,93,.7); opacity: 0; transform: translateY(12px) scale(.72); animation: starBuild 4.8s ease-in-out infinite; }
.rating-stars span:nth-child(2) { animation-delay: .28s; } .rating-stars span:nth-child(3) { animation-delay: .56s; } .rating-stars span:nth-child(4) { animation-delay: .84s; } .rating-stars span:nth-child(5) { animation-delay: 1.12s; }
.star-sweep { position: absolute; inset: 0 auto 0 -35%; width: 32%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.72), transparent); transform: skewX(-18deg); animation: starSweep 4.8s ease-in-out infinite; }
.builder-sparkles i { position: absolute; left: 120px; bottom: 78px; width: 6px; height: 6px; background: #f7c75d; box-shadow: 0 0 12px #f7c75d; opacity: 0; animation: builderSpark 980ms infinite; }
.builder-sparkles i:nth-child(2) { left: 154px; bottom: 96px; animation-delay: 170ms; } .builder-sparkles i:nth-child(3) { left: 220px; bottom: 98px; animation-delay: 330ms; } .builder-sparkles i:nth-child(4) { left: 306px; bottom: 88px; animation-delay: 510ms; }
@keyframes hammerArm { 0%,100% { transform: rotate(-28deg); } 50% { transform: rotate(24deg); } }
@keyframes hammerHit { 0%,100% { transform: rotate(-36deg); } 50% { transform: rotate(22deg); } }
@keyframes builderSpark { 35% { opacity: 1; transform: translate(0,0) scale(1); } 100% { opacity: 0; transform: translate(16px,-18px) scale(.35); } }
@keyframes builderBlink { 0%, 92%, 100% { height: 4px; } 94% { height: 1px; } }
@keyframes starBuild { 0%, 7% { opacity: 0; transform: translateY(12px) scale(.72); } 16%, 78% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-4px) scale(.96); } }
@keyframes starSweep { 0%, 42% { left: -35%; opacity: 0; } 52% { opacity: .9; } 70%, 100% { left: 112%; opacity: 0; } }
@media (max-width: 960px) { .features-section { margin-top: -34px; padding-top: 42px; } .rating-builder { top: -112px; transform: translateX(-50%) scale(.88); } }
@media (max-width: 720px) { .features-section { padding-top: 34px; padding-bottom: 46px; } .rating-builder { top: -94px; height: 112px; width: 92vw; transform: translateX(-50%) scale(.78); } .features-section .works-grid { margin-top: 20px; gap: 18px; } }
@media (prefers-reduced-motion: reduce) { .rating-builder, .builder-head i, .builder-arm, .builder-hammer, .rating-stars span, .star-sweep, .builder-sparkles i { animation: none !important; } .rating-stars span { opacity: 1; transform: none; } }

/* Premium dashboard redesign */
.dashboard-page { position: relative; overflow: hidden; }
.dashboard-hero { position: relative; margin: 18px 0 28px; padding: 24px 0; }
.dashboard-hero h1 { font-size: clamp(44px, 6vw, 76px); margin-bottom: 12px; }
.dashboard-glow { position: fixed; width: 360px; height: 360px; border-radius: 50%; filter: blur(85px); opacity: .34; pointer-events: none; animation: drift 12s ease-in-out infinite alternate; }
.glow-a { left: -90px; top: 110px; background: rgba(47,128,255,.42); }
.glow-b { right: -80px; bottom: 20px; background: rgba(247,199,93,.28); animation-delay: -4s; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; position: relative; z-index: 1; }
.dashboard-grid .card { grid-column: auto; min-height: 260px; background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)); box-shadow: 0 24px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.1); }
.dashboard-grid .full { grid-column: 1 / -1; }
.signal-card { border-color: rgba(85,240,163,.25); background: radial-gradient(circle at 16% 0, rgba(85,240,163,.16), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)) !important; }
.gold-card { border-color: rgba(247,199,93,.28); background: radial-gradient(circle at 80% 0, rgba(247,199,93,.18), transparent 38%), linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.032)) !important; }
.signal-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 10px 0 24px; }
.trade-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 8px 14px; font-weight: 1000; letter-spacing: .08em; border: 1px solid currentColor; background: rgba(255,255,255,.07); text-shadow: 0 0 16px currentColor; box-shadow: 0 0 26px rgba(85,240,163,.16); }
.trade-badge.large { font-size: clamp(34px, 6vw, 58px); padding: 12px 28px; }
.confidence-ring { --confidence: 0; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: conic-gradient(var(--cyan) calc(var(--confidence) * 1%), rgba(255,255,255,.09) 0); position: relative; box-shadow: 0 0 30px rgba(119,231,255,.18); }
.confidence-ring::before { content: ""; position: absolute; inset: 10px; border-radius: inherit; background: #0a0f1d; border: 1px solid rgba(255,255,255,.1); }
.confidence-ring b, .confidence-ring small { position: relative; z-index: 1; grid-area: 1 / 1; }
.confidence-ring b { font-size: 26px; align-self: center; }
.confidence-ring small { align-self: end; margin-bottom: 30px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.signal-meta { display: grid; gap: 4px; margin-bottom: 14px; }
.signal-meta span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.signal-meta b { font-size: 20px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.status-pill, .confidence-pill, .result-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); color: #dce7f8; font-weight: 850; font-size: 12px; }
.next-pill { border-color: rgba(119,231,255,.38); color: #bff4ff; box-shadow: 0 0 20px rgba(119,231,255,.1); }
.gold-soft { border-color: rgba(247,199,93,.38); color: #ffdd8a; background: rgba(247,199,93,.09); }
.active-pill { border-color: rgba(85,240,163,.38); color: #95ffc4; background: rgba(85,240,163,.08); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.music-shell { display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 18px; border-radius: 24px; background: linear-gradient(135deg, rgba(47,128,255,.16), rgba(247,199,93,.13)); border: 1px solid rgba(255,255,255,.12); margin: 12px 0; font-size: 30px; }
.empty-player .equalizer i:nth-child(2) { animation-delay: 120ms; } .empty-player .equalizer i:nth-child(3) { animation-delay: 240ms; }
.table-card { min-height: 0 !important; }
.signals-table-wrap { overflow-x: auto; }
.signals-table { border-collapse: separate; border-spacing: 0 10px; margin: 6px 0 0; }
.signals-table th { border: 0; padding: 10px 14px; }
.signals-table td { border: 0; background: rgba(255,255,255,.055); padding: 16px 14px; }
.signals-table tr td:first-child { border-radius: 16px 0 0 16px; }
.signals-table tr td:last-child { border-radius: 0 16px 16px 0; }
.signals-table tbody tr { transition: transform .18s ease, filter .18s ease; }
.signals-table tbody tr:hover { transform: translateY(-2px); filter: brightness(1.14); }
.legal-card { max-width: none; margin-top: 24px; color: rgba(216,221,237,.74); border-color: rgba(255,255,255,.11); background: rgba(255,255,255,.045); font-size: 12px; }
.empty-state { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.05); color: var(--muted); }

@media (max-width: 760px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .signal-topline { align-items: flex-start; flex-direction: column; }
  .dashboard-grid .card { min-height: auto; }
  .signals-table, .signals-table thead, .signals-table tbody, .signals-table tr, .signals-table td { display: block; width: 100%; }
  .signals-table thead { display: none; }
  .signals-table tr { margin-bottom: 14px; padding: 12px; border-radius: 20px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); }
  .signals-table td { display: flex; justify-content: space-between; gap: 14px; background: transparent; padding: 10px 6px; }
  .signals-table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
  .signals-table tr td:first-child, .signals-table tr td:last-child { border-radius: 0; }
}
