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

:root{
  --bg:            #070503;
  --card:          #170f08;
  --card-2:        #1d130a;
  --border:        #33220f;
  --purple:        #f97316;
  --cyan:          #14b8a6;
  --gold:          #fb7185;
  --red:           #f43f5e;
  --green:         #34d399;
  --text:          #faf6ee;
  --text-dim:      #a89a86;
}

html, body{
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

.splash-screen{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.splash-screen.hide{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-inner{
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}
.splash-brand{
  font-family: 'Arial Black', 'Segoe UI Black', Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
}
.splash-brand .accent{
  color: var(--purple);
  text-shadow: 0 0 8px rgba(249,115,22,0.7), 0 0 18px rgba(249,115,22,0.5);
}
.splash-brand .bolt{
  color: var(--gold);
  filter: drop-shadow(0 0 5px rgba(251,113,133,0.5));
  animation: boltGlow 1.6s ease-in-out infinite;
  display: inline-flex;
  width: 28px;
  height: 28px;
  vertical-align: -5px;
}
.splash-brand .bolt svg{ width: 100%; height: 100%; display: block; }
.splash-welcome{
  margin-top: 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
}
.splash-sub{
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-dim);
}
.splash-spinner{
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.splash-spinner span{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple);
  animation: splashDot 1.1s ease-in-out infinite;
}
.splash-spinner span:nth-child(2){ animation-delay: 0.15s; background: var(--cyan); }
.splash-spinner span:nth-child(3){ animation-delay: 0.3s; background: var(--green); }
@keyframes splashDot{
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.wrap{
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.topbar{ 
  text-align: center; 
  margin-bottom: 18px;
  animation: slideDown 0.6s ease-out;
}

.brand{
  font-family: 'Arial Black', 'Segoe UI Black', Arial, sans-serif;
  font-size: 32px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 1px;
  display: inline-block;
  color: #ffffff;
}
.brand .accent{
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--purple);
  -webkit-text-fill-color: var(--purple);
  text-shadow:
    0 0 8px rgba(249,115,22,0.7),
    0 0 18px rgba(249,115,22,0.5);
}
.brand .bolt{
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  font-style: normal;
  filter: drop-shadow(0 0 5px rgba(251,113,133,0.5));
  animation: boltGlow 1.6s ease-in-out infinite;
  display: inline-flex;
  width: 26px;
  height: 26px;
  vertical-align: -5px;
}
.brand .bolt svg{ width: 100%; height: 100%; display: block; }

.subrow{
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.sync-pill{
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--purple);
  border: 1px solid rgba(249,115,22,0.5);
  background: rgba(249,115,22,0.08);
  padding: 6px 12px;
  border-radius: 20px;
  animation: shimmer 2s infinite;
}

.pro-pill{
  font-size: 11px;
  font-weight: 700;
  color: #06231a;
  background: var(--green);
  padding: 5px 12px;
  border-radius: 20px;
  animation: pulse-green 1.5s ease-in-out infinite;
}

.v2-pill{
  color: #33001c;
  background: #ff3d9a;
  box-shadow: 0 0 10px rgba(255,61,154,0.55), 0 0 20px rgba(255,61,154,0.3);
  animation: pulse-amber 1.5s ease-in-out infinite;
}
@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 0 6px rgba(255,61,154,0.45), 0 0 14px rgba(255,61,154,0.25); transform: scale(1); }
  50%      { box-shadow: 0 0 14px rgba(255,61,154,0.85), 0 0 26px rgba(255,61,154,0.5); transform: scale(1.06); }
}

.pair-card{
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  animation: scaleIn 0.6s ease-out;
  box-shadow: 0 0 30px rgba(249,115,22,0.1);
}

.pair-card::before,
.pair-card::after{
  content: '';
  position: absolute;
  width: 3px;
  height: 80px;
  border-radius: 3px;
  background: linear-gradient(180deg, transparent 0%, var(--cyan) 40%, var(--purple) 60%, transparent 100%);
  box-shadow: 0 0 14px rgba(249,115,22,0.9), 0 0 22px rgba(20,184,166,0.55);
  pointer-events: none;
  z-index: 3;
}
.pair-card::before{
  left: -1px;
  animation: sideScanDown 3.4s linear infinite;
}
.pair-card::after{
  right: -1px;
  animation: sideScanUp 3.4s linear infinite;
  animation-delay: 0.35s;
}
.scan-line{
  position: absolute;
  left: 4%;
  width: 92%;
  height: 2px;
  top: 2%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 20%, var(--purple) 50%, var(--cyan) 80%, transparent 100%);
  box-shadow: 0 0 10px rgba(20,184,166,0.9), 0 0 20px rgba(249,115,22,0.7);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
}
.pair-card.scanning .scan-line{
  animation: scanSweep 1.7s ease-in-out infinite;
}
@keyframes scanSweep{
  0%   { top: 2%;  opacity: 0; }
  6%   { opacity: 1; }
  46%  { top: 97%; opacity: 1; }
  50%  { opacity: 0; }
  54%  { opacity: 1; }
  94%  { top: 2%;  opacity: 1; }
  100% { opacity: 0; }
}

@keyframes sideScanDown{
  0%   { top: -12%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 108%; opacity: 0; }
}
@keyframes sideScanUp{
  0%   { top: 108%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: -12%; opacity: 0; }
}

.pair-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  animation: slideInLeft 0.5s ease-out;
}

.label{
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.pe{
  display: inline-block;
  filter: drop-shadow(0 0 4px rgba(249,115,22,0.75)) drop-shadow(0 0 10px rgba(249,115,22,0.4));
  animation: peGlow 2.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes peGlow{
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(249,115,22,0.6)) drop-shadow(0 0 7px rgba(249,115,22,0.3));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 7px rgba(249,115,22,1)) drop-shadow(0 0 16px rgba(249,115,22,0.6));
    transform: scale(1.08);
  }
}

/* Unique glow colors per icon — same pulse motion, different hue */
.pe-purple{ --pe-c1: 249,115,22; --pe-c2: 249,115,22; color: rgb(249,115,22); }
.pe-green { --pe-c1: 52,211,153;  --pe-c2: 52,211,153;  color: rgb(52,211,153); }
.pe-gold  { --pe-c1: 250,204,21; --pe-c2: 250,204,21; color: rgb(250,204,21); }
.pe-blue  { --pe-c1: 56,189,248; --pe-c2: 56,189,248; color: rgb(56,189,248); }
.pe-teal  { --pe-c1: 45,212,191; --pe-c2: 45,212,191; color: rgb(45,212,191); }
.pe-red   { --pe-c1: 255,69,90;  --pe-c2: 255,69,90;  color: rgb(255,69,90); }

.pe-purple, .pe-gold, .pe-blue, .pe-teal, .pe-red, .pe-green{
  filter: drop-shadow(0 0 4px rgba(var(--pe-c1),0.75)) drop-shadow(0 0 10px rgba(var(--pe-c2),0.4));
  animation: peGlowColor 2.6s ease-in-out infinite;
}

/* Flat line-icon style (replaces raw Unicode emoji for a cleaner, "premium"
   look) — uses currentColor so it inherits the .pe-color classes above. */
.pe-icon{
  display: inline-flex;
  vertical-align: -3px;
  width: 15px;
  height: 15px;
}
.pe-icon svg{
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes peGlowColor{
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(var(--pe-c1),0.6)) drop-shadow(0 0 7px rgba(var(--pe-c2),0.3));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 7px rgba(var(--pe-c1),1)) drop-shadow(0 0 16px rgba(var(--pe-c2),0.6));
    transform: scale(1.08);
  }
}

/* --- SPOOF DETECTOR: radar sweep --- */
.pe-icon svg{ overflow: visible; }
.pe-radar-sweep{
  transform-origin: 12px 12px;
  animation: peRadarSpin 2.4s linear infinite;
}
.pe-radar-dot{
  animation: peRadarPing 2.4s ease-out infinite;
}
@keyframes peRadarSpin{
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes peRadarPing{
  0%, 60%, 100% { opacity: 1; }
  30% { opacity: 0.25; }
}

/* --- PAYOUT: equalizer bars --- */
.pe-bar{
  transform-box: fill-box;
  transform-origin: bottom;
  animation: peBarBounce 1.1s ease-in-out infinite;
}
.pe-bar-1{ animation-delay: 0s; }
.pe-bar-2{ animation-delay: 0.15s; }
.pe-bar-3{ animation-delay: 0.3s; }
@keyframes peBarBounce{
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.55); }
}

/* --- SMART MONEY FLOW: pillars pulsing like flowing funds --- */
.pe-pillar{
  transform-box: fill-box;
  transform-origin: bottom;
  animation: peFlowPulse 1.6s ease-in-out infinite;
}
.pe-pillar-1{ animation-delay: 0s; }
.pe-pillar-2{ animation-delay: 0.2s; }
.pe-pillar-3{ animation-delay: 0.4s; }
.pe-pillar-4{ animation-delay: 0.6s; }
@keyframes peFlowPulse{
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(0.7); opacity: 0.6; }
}

/* --- CROWD SENTIMENT: moving heartbeat line --- */
.pe-heartbeat{
  stroke-dasharray: 30 12;
  animation: peHeartbeatMove 1.4s linear infinite;
}
@keyframes peHeartbeatMove{
  0%   { stroke-dashoffset: 42; }
  100% { stroke-dashoffset: 0; }
}

.pair-name{
  font-size: 24px;
  font-weight: 800;
  animation: textGlow 2s ease-in-out infinite;
}

.tag-otc{
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  border: 1px solid rgba(249,115,22,0.5);
  border-radius: 8px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
  animation: fadeIn 0.6s ease-out;
}

.signal-btn{
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--red);
  background: rgba(244,63,94,0.08);
  border: 1px solid var(--red);
  border-radius: 14px;
  padding: 12px 20px;
  box-shadow: 0 0 20px rgba(244,63,94,0.35);
  white-space: nowrap;
  animation: fadeIn 0.6s ease-out;
  transition: all 0.3s ease;
}
.signal-btn:hover{
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(244,63,94,0.55);
}
.signal-btn.call{
  animation: pulse-green 1.5s ease-in-out infinite;
  color: var(--green);
  border-color: var(--green);
  background: rgba(52,211,153,0.08);
  box-shadow: 0 0 20px rgba(52,211,153,0.35);
}
.signal-btn.call:hover{
  box-shadow: 0 0 30px rgba(52,211,153,0.55);
}
.signal-btn.wait{
  animation: pulse-gold 1.5s ease-in-out infinite;
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(251,113,133,0.08);
  box-shadow: 0 0 20px rgba(251,113,133,0.3);
}
.signal-btn.wait:hover{
  box-shadow: 0 0 30px rgba(251,113,133,0.5);
}

.market-type-toggle{
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  animation: slideInUp 0.5s ease-out 0.05s both;
}
.market-type-btn{
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dim);
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.market-type-btn:hover{
  border-color: var(--purple);
  color: var(--text);
}
.market-type-btn.active{
  color: var(--purple);
  border-color: var(--purple);
  background: rgba(249,115,22,0.12);
  box-shadow: 0 0 14px rgba(249,115,22,0.3);
}
.market-type-btn.active.live{
  color: var(--green);
  border-color: var(--green);
  background: rgba(52,211,153,0.1);
  box-shadow: 0 0 14px rgba(52,211,153,0.3);
}

.market-select{
  width: 100%;
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 16px;
  animation: slideInUp 0.5s ease-out 0.1s both;
  transition: all 0.3s ease;
}
.market-select:focus{
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 15px rgba(249,115,22,0.3);
}

.get-signal-btn{
  width: 100%;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #06231a;
  background: var(--green);
  border: none;
  border-radius: 12px;
  padding: 13px 20px;
  margin-bottom: 16px;
  box-shadow: 0 0 18px rgba(52,211,153,0.35);
  animation: slideInUp 0.5s ease-out 0.2s both;
  transition: all 0.3s ease;
  cursor: pointer;
}
.get-signal-btn:hover:not(:disabled){
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(52,211,153,0.55);
}
.get-signal-btn:disabled{
  opacity: 0.6;
  box-shadow: none;
  cursor: not-allowed;
}

.credit-line{
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 6px;
  animation: fadeIn 0.8s ease-out 0.4s both;
}
.credit-handle{
  color: var(--purple);
  font-weight: 700;
}

.chart-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
  animation: slideInUp 0.5s ease-out 0.3s both;
}

.chart-box{
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  height: 150px;
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.6s ease-out, boxGlowPulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
}
.chart-box:hover{
  border-color: rgba(249,115,22,0.5);
  box-shadow: 0 0 15px rgba(249,115,22,0.2);
}

.chart-box canvas{
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes boxGlowPulse{
  0%, 100% { box-shadow: 0 0 0 rgba(249,115,22,0); }
  50% { box-shadow: 0 0 16px rgba(249,115,22,0.18); }
}

.chart-box.mini{
  background: linear-gradient(160deg, rgba(249,115,22,0.10), rgba(6,20,20,0.2) 60%);
  border-color: rgba(249,115,22,0.4);
  animation: scaleIn 0.6s ease-out, miniBoxGlow 2.6s ease-in-out infinite;
}
@keyframes miniBoxGlow{
  0%, 100% { box-shadow: inset 0 0 16px rgba(249,115,22,0.08), 0 0 10px rgba(45,212,191,0.12); }
  50% { box-shadow: inset 0 0 26px rgba(249,115,22,0.2), 0 0 22px rgba(45,212,191,0.3); }
}
.chart-box.mini::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: conic-gradient(from 90deg, transparent 0%, rgba(249,115,22,0.85) 12%, transparent 26%, transparent 74%, rgba(45,212,191,0.85) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: heroRingSpin 4.5s linear infinite reverse;
  pointer-events: none;
  z-index: 1;
}

.chart-box.hero{
  background: linear-gradient(160deg, rgba(244,63,94,0.09), rgba(20,6,14,0.2) 60%);
  border-color: rgba(244,63,94,0.45);
  animation: scaleIn 0.6s ease-out, heroBoxGlow-red 2.4s ease-in-out infinite;
}
.chart-box.hero.call{
  background: linear-gradient(160deg, rgba(52,211,153,0.09), rgba(6,20,14,0.2) 60%);
  border-color: rgba(52,211,153,0.45);
  animation: scaleIn 0.6s ease-out, heroBoxGlow-green 2.4s ease-in-out infinite;
}
.chart-box.hero.wait{
  background: linear-gradient(160deg, rgba(138,143,163,0.07), rgba(12,13,18,0.2) 60%);
  border-color: rgba(138,143,163,0.3);
  animation: scaleIn 0.6s ease-out;
}
.chart-box.hero.wait::before,
.chart-box.hero.wait::after{
  display: none;
}

@keyframes heroBoxGlow-red{
  0%, 100% { box-shadow: inset 0 0 18px rgba(244,63,94,0.08), 0 0 10px rgba(244,63,94,0.15); }
  50% { box-shadow: inset 0 0 28px rgba(244,63,94,0.18), 0 0 24px rgba(244,63,94,0.35); }
}
@keyframes heroBoxGlow-green{
  0%, 100% { box-shadow: inset 0 0 18px rgba(52,211,153,0.08), 0 0 10px rgba(52,211,153,0.15); }
  50% { box-shadow: inset 0 0 28px rgba(52,211,153,0.18), 0 0 24px rgba(52,211,153,0.35); }
}

.chart-box.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(244,63,94,0.9) 15%, transparent 30%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: heroRingSpin 3s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.chart-box.hero.call::before{
  background: conic-gradient(from 0deg, transparent 0%, rgba(52,211,153,0.9) 15%, transparent 30%, transparent 100%);
}
@keyframes heroRingSpin{
  to { transform: rotate(360deg); }
}

.chart-box.hero::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(244,63,94,0) 0%, rgba(244,63,94,0.16) 50%, rgba(244,63,94,0) 100%);
  animation: heroScanSweep 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.chart-box.hero.call::after{
  background: linear-gradient(180deg, rgba(52,211,153,0) 0%, rgba(52,211,153,0.16) 50%, rgba(52,211,153,0) 100%);
}
@keyframes heroScanSweep{
  0% { top: -40%; }
  100% { top: 100%; }
}

.hero-arrow{
  animation: arrowPulseGlow-red 1.4s ease-in-out infinite;
  position: absolute;
  top: 49%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #1a0006;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(244,63,94,0.6);
  transition: all 0.3s ease;
  z-index: 3;
}
.hero-arrow.call{
  animation: arrowPulseGlow-green 1.4s ease-in-out infinite;
  background: var(--green);
  color: #052013;
  box-shadow: 0 0 14px rgba(52,211,153,0.6);
}
.hero-arrow.wait{
  display: none;
}

@keyframes arrowPulseGlow-red{
  0%, 100% { box-shadow: 0 0 10px rgba(244,63,94,0.55), 0 0 0 0 rgba(244,63,94,0.5); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 0 22px rgba(244,63,94,0.9), 0 0 0 8px rgba(244,63,94,0); transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes arrowPulseGlow-green{
  0%, 100% { box-shadow: 0 0 10px rgba(52,211,153,0.55), 0 0 0 0 rgba(52,211,153,0.5); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 0 22px rgba(52,211,153,0.9), 0 0 0 8px rgba(52,211,153,0); transform: translate(-50%, -50%) scale(1.12); }
}

.stat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
  animation: slideInUp 0.5s ease-out 0.4s both;
}

.stat-card{
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  animation: scaleIn 0.6s ease-out;
  transition: all 0.3s ease;
}
.stat-card:hover{
  border-color: rgba(249,115,22,0.5);
  box-shadow: 0 0 15px rgba(249,115,22,0.2);
  transform: translateY(-2px);
}

.stat-value{
  font-size: 26px;
  font-weight: 800;
  margin-top: 4px;
  animation: countUp 0.6s ease-out;
}
#statSignal{ color: var(--red); }
#statSignal.call{ color: var(--green); }
#statSignal.wait{
  color: var(--gold);
  background: linear-gradient(90deg, #b8860b, #fde68a, #facc15, #fff7cc, #facc15);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: countUp 0.6s ease-out, waitSignalGlow 1.8s ease-in-out infinite, waitSignalShine 2.8s linear infinite;
  letter-spacing: 0.5px;
  transform-origin: left center;
}
@keyframes waitSignalShine{
  0%   { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}
@keyframes waitSignalGlow{
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(250,204,21,0.5)) drop-shadow(0 0 14px rgba(250,204,21,0.25));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(250,204,21,1)) drop-shadow(0 0 34px rgba(250,204,21,0.65)) drop-shadow(0 0 52px rgba(250,204,21,0.3));
    transform: scale(1.045);
  }
}

.info-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
  animation: slideInUp 0.5s ease-out 0.5s both;
}

.info-card{
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  animation: scaleIn 0.6s ease-out;
  transition: all 0.3s ease;
}
.info-card:hover{
  border-color: rgba(249,115,22,0.5);
  box-shadow: 0 0 15px rgba(249,115,22,0.2);
  transform: translateY(-2px);
}

.info-label{
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.info-value{
  font-size: 14px;
  font-weight: 600;
  animation: fadeIn 0.6s ease-out;
}

.info-sub-value{
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.strat-log{
  border-top: 1px solid var(--border);
  padding-top: 14px;
  animation: slideInUp 0.5s ease-out 0.6s both;
}

.strat-log-heading{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--purple);
  text-shadow: 0 0 10px rgba(249,115,22,0.5);
  margin-bottom: 8px;
}

.strat-log-title{
  height: 3px;
  border-radius: 3px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, transparent 0%, var(--purple) 20%, var(--cyan) 50%, var(--purple) 80%, transparent 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(249,115,22,0.5);
  animation: stratLineFlow 2.4s linear infinite;
}
@keyframes stratLineFlow{
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.strat-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.strat-pill{
  font-size: 12px;
  color: var(--cyan);
  border: 1px solid rgba(20,184,166,0.4);
  background: rgba(20,184,166,0.06);
  border-radius: 10px;
  padding: 5px 10px;
  animation: slideInLeft 0.5s ease-out;
  transition: all 0.3s ease;
}
.strat-pill:hover{
  border-color: rgba(20,184,166,0.8);
  background: rgba(20,184,166,0.15);
  transform: translateX(3px);
}

.footer-note{
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 16px;
  animation: fadeIn 0.8s ease-out 0.7s both;
}

/* ── Animations ────────────────────────────────────────────────────── */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0,0,0,0.3);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 18px rgba(249,115,22,0.55); }
  50% { text-shadow: 0 0 30px rgba(249,115,22,0.85); }
}

@keyframes boltGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(251,113,133,0.5)); opacity: 0.85; }
  50% { filter: drop-shadow(0 0 12px rgba(251,113,133,0.95)); opacity: 1; }
}

@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(249,115,22,0.3); }
  50% { text-shadow: 0 0 20px rgba(249,115,22,0.6); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(251,113,133,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(251,113,133,0); }
  100% { box-shadow: 0 0 0 0 rgba(251,113,133,0); }
}

@keyframes bounce-red {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes bounce-green {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Limit-exceeded modal ─────────────────────────────────────────── */
.limit-modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(3,2,8,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.limit-modal-overlay.show{
  display: flex;
  opacity: 1;
}

.limit-modal{
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, var(--card-2) 0%, var(--card) 100%);
  border: 1px solid rgba(244,63,94,0.45);
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  padding: 26px 22px 30px;
  text-align: center;
  box-shadow: 0 -10px 40px rgba(244,63,94,0.25), 0 -2px 0 rgba(244,63,94,0.6) inset;
  transform: translateY(100%);
  animation: limitModalRise 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes limitModalRise {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

.limit-modal-icon{
  font-size: 40px;
  margin-bottom: 8px;
  animation: limitIconShake 1.8s ease-in-out infinite;
}
@keyframes limitIconShake {
  0%, 100% { transform: rotate(0deg) scale(1); }
  10% { transform: rotate(-8deg) scale(1.05); }
  20% { transform: rotate(8deg) scale(1.05); }
  30% { transform: rotate(-4deg) scale(1); }
  40% { transform: rotate(0deg) scale(1); }
}

.limit-modal-title{
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--red);
  text-shadow: 0 0 16px rgba(244,63,94,0.6);
  margin-bottom: 12px;
  animation: textGlow 2s ease-in-out infinite;
}

.limit-modal-text{
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 8px;
}

.limit-modal-sub{
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.limit-modal-admin-btn{
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #08060f;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  text-decoration: none;
  margin-bottom: 10px;
  box-shadow: 0 0 22px rgba(249,115,22,0.45);
  animation: pulse-gold 2.2s ease-in-out infinite;
}
.limit-modal-admin-btn:active{ transform: scale(0.97); }

.limit-modal-close{
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1px;
  cursor: pointer;
}
.limit-modal-close:active{ transform: scale(0.97); }

/* ── Premium top banner: daily limit reached ─────────────────────── */
.limit-top-banner{
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(244,63,94,0.16), rgba(249,115,22,0.16), rgba(244,63,94,0.16));
  background-size: 200% 200%;
  border: 1px solid rgba(244,63,94,0.5);
  box-shadow: 0 0 20px rgba(244,63,94,0.25);
  animation: slideInDown 0.5s ease-out, bannerSheen 3s ease-in-out infinite, bannerGlow 2s ease-in-out infinite;
  cursor: pointer;
}
.limit-top-banner.show{ display: flex; }
.limit-top-banner .icon{
  font-size: 20px;
  flex-shrink: 0;
  animation: limitIconShake 1.8s ease-in-out infinite;
}
.limit-top-banner .text{
  flex: 1;
  min-width: 0;
}
.limit-top-banner .title{
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--red);
  text-shadow: 0 0 12px rgba(244,63,94,0.5);
}
.limit-top-banner .sub{
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1px;
}
.limit-top-banner .cta{
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #08060f;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  padding: 7px 10px;
  border-radius: 10px;
  white-space: nowrap;
}
@keyframes bannerSheen{
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes bannerGlow{
  0%, 100% { box-shadow: 0 0 12px rgba(244,63,94,0.2); }
  50% { box-shadow: 0 0 24px rgba(244,63,94,0.4); }
}

/* ── v2: daily limit badge + result panel ────────────────────────── */
.limit-pill{
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--gold);
  border: 1px solid rgba(251,113,133,0.5);
  background: rgba(251,113,133,0.08);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  animation: slideInUp 0.5s ease-out;
}
.limit-pill.unlimited{
  color: var(--green);
  border-color: rgba(52,211,153,0.5);
  background: rgba(52,211,153,0.08);
  animation: pulse-green 1.5s ease-in-out infinite;
}

.result-panel{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: 1px solid var(--border);
  background: var(--card-2);
  color: var(--text-dim);
  transition: all 0.3s ease;
  animation: slideInUp 0.5s ease-out;
}
.result-panel.pending{
  border-color: rgba(249,115,22,0.5);
  color: var(--purple);
  background: rgba(249,115,22,0.08);
  animation: pulse-gold 1s ease-in-out infinite;
}
.result-panel.win{
  border-color: rgba(52,211,153,0.6);
  color: var(--green);
  background: rgba(52,211,153,0.10);
  box-shadow: 0 0 18px rgba(52,211,153,0.25);
  animation: slideInUp 0.5s ease-out;
}
.result-panel.loss{
  border-color: rgba(244,63,94,0.6);
  color: var(--red);
  background: rgba(244,63,94,0.10);
  box-shadow: 0 0 18px rgba(244,63,94,0.25);
  animation: slideInUp 0.5s ease-out;
}

/* ── v3: history button/panel + entry time row + draw state ─────── */
.history-btn{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--cyan);
  border: 1px solid rgba(20,184,166,0.5);
  background: rgba(20,184,166,0.08);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  animation: slideInUp 0.5s ease-out;
  transition: all 0.3s ease;
}
.history-btn:hover{
  border-color: rgba(20,184,166,0.8);
  background: rgba(20,184,166,0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(20,184,166,0.3);
}

.entry-time-row{
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  border: 1px solid rgba(251,113,133,0.45);
  background: rgba(251,113,133,0.07);
  animation: slideInUp 0.5s ease-out;
}

.result-panel.draw{
  border-color: rgba(251,113,133,0.6);
  color: var(--gold);
  background: rgba(251,113,133,0.10);
}

.history-panel{
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card-2);
  animation: slideInUp 0.5s ease-out;
}

.history-panel-title{
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 10px;
  animation: shimmer 2s infinite;
}

.history-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.history-empty{
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  padding: 10px 0;
  animation: fadeIn 0.6s ease-out;
}

.history-row{
  display: grid;
  grid-template-columns: 60px 1fr 50px auto;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  animation: slideInLeft 0.5s ease-out;
  transition: all 0.3s ease;
}
.history-row:hover{
  border-color: rgba(249,115,22,0.5);
  background: rgba(249,115,22,0.05);
  transform: translateX(3px);
}

.history-time{ color: var(--text-dim); }
.history-pair{ font-weight: 700; }
.history-dir.call{ color: var(--green); font-weight: 700; }
.history-dir.put{ color: var(--red); font-weight: 700; }
.history-result{ font-weight: 700; text-align: right; }
.history-result.win{ color: var(--green); }
.history-result.loss{ color: var(--red); }
.history-result.draw{ color: var(--gold); }

/* ── WIN Celebration overlay — confetti burst, auto-hides after ~2s ── */
.celebration-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  display: none;
  overflow: hidden;
}
.celebration-overlay.show{ display: block; }

.celebration-burst{
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  font-size: 56px;
  opacity: 0;
  animation: celebPop 4s ease forwards;
  filter: drop-shadow(0 0 14px rgba(52,211,153,0.6));
}
@keyframes celebPop{
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  8%   { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  14%  { transform: translate(-50%, -50%) scale(1); }
  50%  { transform: translate(-50%, -50%) scale(1.06); }
  88%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
}

.confetti-piece{
  position: absolute;
  top: -12px;
  width: 8px;
  height: 14px;
  opacity: 0.95;
  border-radius: 2px;
  animation: confettiFall ease-in forwards;
}
@keyframes confettiFall{
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(115vh) rotate(640deg); opacity: 0; }
}

/* ==========================================================
   HOME MENU — Live Trading / Future Signal / Buy API
   ========================================================== */
.home-menu{ animation: fadeIn 0.5s ease-out; }

.menu-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.menu-item{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 16px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.menu-item::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, currentColor 0%, transparent 60%);
  opacity: 0.06;
  pointer-events: none;
}
.menu-item:active{ transform: scale(0.98); }

.menu-item.live{ color: var(--green); border-color: rgba(52,211,153,0.35); }
.menu-item.live:hover{ box-shadow: 0 0 22px rgba(52,211,153,0.18); border-color: rgba(52,211,153,0.6); }

.menu-item.future{ color: var(--purple); border-color: rgba(249,115,22,0.35); }
.menu-item.future:hover{ box-shadow: 0 0 22px rgba(249,115,22,0.18); border-color: rgba(249,115,22,0.6); }

.menu-item.buyapi{ color: var(--gold); border-color: rgba(251,113,133,0.35); }
.menu-item.buyapi:hover{ box-shadow: 0 0 22px rgba(251,113,133,0.18); border-color: rgba(251,113,133,0.6); }

.menu-icon{
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}
.menu-icon svg{ width: 22px; height: 22px; }

.menu-text{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.menu-title{
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
}
.menu-sub{
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: 500;
}
.menu-chevron{
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 700;
  color: currentColor;
  opacity: 0.8;
}

/* ==========================================================
   SUB VIEWS — shared header / back button
   ========================================================== */
.sub-view{ animation: fadeIn 0.4s ease-out; }

.view-header{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.view-title{
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}
.back-btn{
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.back-btn:hover{ border-color: var(--purple); color: var(--purple); }
.back-btn-float{
  position: absolute;
  left: 16px;
  top: 20px;
  z-index: 2;
}
#liveTradingView .topbar{ position: relative; }

/* ==========================================================
   FUTURE SIGNAL — locked / coming soon
   ========================================================== */
.locked-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 0 30px rgba(249,115,22,0.1);
  animation: scaleIn 0.5s ease-out;
}
.locked-icon{
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(249,115,22,0.08);
  color: var(--purple);
  box-shadow: 0 0 24px rgba(249,115,22,0.25);
}
.locked-icon svg{ width: 30px; height: 30px; }
.locked-title{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 10px;
}
.locked-text{
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto 22px;
}
.locked-admin-btn{
  display: inline-block;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.4);
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 14px;
  text-decoration: none;
}

/* ==========================================================
   BUY API — premium pricing page
   ========================================================== */
.api-hero{
  text-align: center;
  padding: 6px 6px 26px;
  animation: fadeIn 0.5s ease-out 0.05s both;
}
.api-hero-badge{
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  border: 1px solid rgba(251,113,133,0.4);
  background: rgba(251,113,133,0.08);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.api-hero-title{
  font-family: 'Arial Black', 'Segoe UI Black', Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.25;
}
.api-hero-title .accent{
  color: var(--gold);
  text-shadow: 0 0 10px rgba(251,113,133,0.6), 0 0 20px rgba(251,113,133,0.35);
}
.api-hero-sub{
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.api-price-card{
  position: relative;
  background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid rgba(251,113,133,0.4);
  border-radius: 20px;
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 0 34px rgba(251,113,133,0.12);
  animation: scaleIn 0.55s ease-out 0.1s both;
}
.api-price-shine{
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(251,113,133,0.16) 45%, transparent 90%);
  animation: apiShineSweep 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes apiShineSweep{
  0%   { left: -60%; }
  55%  { left: 120%; }
  100% { left: 120%; }
}
.api-price-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.api-price-label{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}
.api-price-tag{
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #241a00;
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 20px;
}
.api-price-amount{
  font-family: 'Arial Black', 'Segoe UI Black', Arial, sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin: 6px 0 18px;
}
.api-price-currency{
  font-size: 22px;
  vertical-align: 8px;
  color: var(--gold);
}
.api-price-period{
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}
.api-feature-list{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}
.api-feature-list li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}
.api-check{
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(52,211,153,0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.api-buy-btn{
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--gold) 0%, #ffd84d 100%);
  color: #241a00;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(251,113,133,0.35);
}
.api-price-note{
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 10px;
}

.api-info-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.api-info-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
}
.api-info-icon{ font-size: 18px; margin-bottom: 6px; }
.api-info-title{
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}
.api-info-text{
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ==========================================================
   BUY API — premium icon + discount refinements
   ========================================================== */
.api-price-row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 18px;
  flex-wrap: wrap;
}
.api-discount-block{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-bottom: 4px;
}
.api-price-old{
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(157,151,184,0.6);
}
.api-discount-badge{
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f43f5e;
  background: rgba(244,63,94,0.12);
  border: 1px solid rgba(244,63,94,0.4);
  padding: 3px 9px;
  border-radius: 20px;
  animation: pulse-amber 1.8s ease-in-out infinite;
}

.api-check{
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52,211,153,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.api-check .pe-icon{
  width: 12px;
  height: 12px;
}

.api-btn-icon{
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 2px;
}

.api-info-svg{
  width: 18px;
  height: 18px;
}
.api-info-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* ==========================================================
   FUTURE SIGNAL — input form
   ========================================================== */
.fs-form-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  animation: scaleIn 0.5s ease-out 0.05s both;
}
.fs-field{ margin-bottom: 20px; }
.fs-field:last-of-type{ margin-bottom: 18px; }
.fs-field-label{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.fs-field-badge{
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--purple);
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.35);
  padding: 2px 8px;
  border-radius: 20px;
}
.fs-market-toggle{ margin-bottom: 10px; }

.fs-time-row{
  display: flex;
  align-items: center;
  gap: 10px;
}
.fs-time-box{
  flex: 1 1 0;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fs-time-tag{
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dim);
}
.fs-time-input{
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  padding: 0;
  width: 100%;
  font-family: inherit;
}
.fs-time-input:focus{ outline: none; }
.fs-time-arrow{
  flex: 0 0 auto;
  color: var(--purple);
  font-size: 16px;
  font-weight: 700;
}

.fs-tf-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.35);
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 9px 14px;
  border-radius: 12px;
}
.fs-tf-note{
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dim);
}

.fs-submit-btn{
  width: 100%;
  background: linear-gradient(135deg, var(--purple) 0%, #a78bfa 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 14px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(249,115,22,0.35);
}
.fs-submit-btn:active{ transform: scale(0.98); }

.fs-coming-soon{
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-dim);
  text-align: center;
}
.fs-coming-soon-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px rgba(249,115,22,0.8);
  animation: pulse-amber 1.6s ease-in-out infinite;
  flex: 0 0 auto;
}

/* ==========================================================
   FUTURE SIGNAL — error note + result card (bot-style output)
   ========================================================== */
.fs-error-note{
  margin-top: 12px;
  font-size: 12px;
  color: #ff4a5a;
  background: rgba(244,63,94,0.08);
  border: 1px solid rgba(244,63,94,0.35);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
}

.fs-result-card{
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  animation: scaleIn 0.4s ease-out;
}
.fs-result-title{
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
}
.fs-result-line{
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.7;
}
.fs-result-line b{ color: var(--text); }
.fs-result-warn b{ color: #ff4a5a; }

.fs-signal-list{
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fs-signal-row{
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  letter-spacing: 0.2px;
}
.fs-signal-row .fs-call{ color: var(--green); }
.fs-signal-row .fs-put{ color: #ff4a5a; }

.fs-empty-note{
  font-size: 12.5px;
  color: var(--text-dim);
  font-style: italic;
  padding: 6px 0 2px;
}

.fs-result-total{
  font-size: 13px;
  color: var(--green);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

/* ==========================================================
   FUTURE SIGNAL — multi-market checkbox list
   ========================================================== */
.fs-market-list{
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
}
.fs-market-row{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.fs-market-row:hover{ background: rgba(249,115,22,0.06); }
.fs-market-row.checked{ background: rgba(249,115,22,0.12); }

.fs-market-checkbox{
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.15s ease;
}
.fs-market-row.checked .fs-market-checkbox{
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
}
.fs-market-checkbox svg{ width: 12px; height: 12px; }

.fs-market-label{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
