/* =============================================================
   binomo.bot-signal.com — Design System
   Dark slate · Gold accent (Binomo brand colour)
   Timeline-style signal feed
   ============================================================= */

:root {
  --bg: #0a0e17;
  --bg-gradient: radial-gradient(ellipse at 50% 0%, #0f1628 0%, #0a0e17 70%);
  --surface: rgba(15, 22, 40, 0.7);
  --surface-solid: #0f1628;
  --surface-hover: rgba(22, 32, 55, 0.8);
  --border: rgba(234, 179, 8, 0.08);
  --border-glow: rgba(234, 179, 8, 0.18);
  --text: #e2e8f0;
  --text-secondary: #7e8ea8;
  --muted: #4a5a72;

  --gold: #eab308;
  --gold-soft: rgba(234, 179, 8, 0.07);
  --gold-border: rgba(234, 179, 8, 0.2);
  --gold-glow: rgba(234, 179, 8, 0.1);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.07);
  --green-border: rgba(52, 211, 153, 0.2);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.07);
  --red-border: rgba(248, 113, 113, 0.2);
  --blue: #60a5fa;
  --blue-soft: rgba(96, 165, 250, 0.08);
  --blue-border: rgba(96, 165, 250, 0.2);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --max-w: 1100px;
}

/* ----- Reset ----- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  background:var(--bg);
  background-image:var(--bg-gradient);
  color:var(--text);
  line-height:1.6;
  min-height:100vh;
  font-size:16px;
}
a{color:var(--gold);text-decoration:none;transition:all .2s}
a:hover{color:#facc15}

/* ----- Skip ----- */
.skip-link{position:absolute;top:-100px;left:1rem;z-index:999;background:var(--gold);color:#0a0e17;padding:.5rem 1rem;font-weight:700;font-size:.75rem;border-radius:var(--radius-sm);transition:top .2s}
.skip-link:focus{top:.5rem}

/* ----- Layout ----- */
.container{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem 2.5rem}

/* ----- Header ----- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(10,14,23,0.9);
  backdrop-filter:blur(24px);
  border-bottom:1px solid var(--border);
  padding:.7rem 1.5rem;
}
.header-inner{max-width:var(--max-w);margin:0 auto;display:flex;align-items:center;gap:1rem}
.header-brand{display:flex;align-items:center;gap:.4rem;font-size:.82rem;font-weight:800;color:var(--gold);letter-spacing:-.01em}
.header-brand:hover{color:#facc15;text-decoration:none}
.brand-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);box-shadow:0 0 5px var(--gold)}

/* ----- Hero (minimal) ----- */
.hero{padding:2.5rem 1.25rem 1.5rem;text-align:center;position:relative}
.hero-bg{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%, rgba(234,179,8,0.03) 0%, transparent 60%);pointer-events:none}
.hero-inner{max-width:600px;margin:0 auto;position:relative;z-index:1}
.hero-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .85rem;background:var(--surface);border:1px solid var(--border);border-radius:100px;font-size:.65rem;font-weight:600;color:var(--gold);margin-bottom:1rem;backdrop-filter:blur(10px)}
.hero-dot{width:5px;height:5px;border-radius:50%}
.hero-dot.live{background:var(--green);animation:pulse-dot 2s infinite}
.hero-dot.closed{background:var(--muted)}
@keyframes pulse-dot{0%,100%{opacity:1;box-shadow:0 0 0 0 var(--green)}50%{opacity:.5;box-shadow:0 0 0 6px rgba(52,211,153,0)}}
.hero h1{font-size:clamp(1.4rem,3.5vw,2rem);font-weight:800;letter-spacing:-.03em;margin-bottom:.15rem;line-height:1.15}
.hero-tagline{font-size:.7rem;color:var(--muted);font-weight:500;margin-bottom:.65rem}
.hero-desc{font-size:.8rem;color:var(--text-secondary);max-width:480px;margin:0 auto 1.25rem;line-height:1.55}

.btn-primary{display:inline-flex;align-items:center;gap:.35rem;padding:.6rem 1.4rem;background:var(--gold);color:#0a0e17;font-weight:700;font-size:.75rem;border-radius:100px;border:none;text-decoration:none;cursor:pointer;transition:all .2s}
.btn-primary:hover{background:#facc15;color:#0a0e17;box-shadow:0 0 20px var(--gold-glow);transform:translateY(-1px)}
.btn-outline{display:inline-flex;align-items:center;gap:.35rem;padding:.6rem 1.4rem;background:transparent;color:var(--text);border:1px solid var(--border-glow);font-weight:600;font-size:.75rem;border-radius:100px;text-decoration:none;transition:all .2s}
.btn-outline:hover{background:var(--surface-hover);border-color:var(--gold)}

/* ----- Session Bar (compact) ----- */
.session-bar{display:flex;align-items:center;gap:.5rem;padding:.45rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:1rem;font-size:.7rem;flex-wrap:wrap}
.session-emoji{font-size:.95rem}
.session-name{font-weight:700;color:var(--text)}
.session-desc{color:var(--text-secondary);margin-left:auto}
@media(max-width:480px){.session-desc{margin-left:0;flex-basis:100%}}

/* ----- Best Signal (compact pill) ----- */
.best-pill{display:flex;align-items:center;gap:.5rem;padding:.45rem 1rem;background:linear-gradient(135deg,rgba(234,179,8,0.06),var(--surface));border:1px solid var(--gold-border);border-radius:100px;margin-bottom:1rem;flex-wrap:wrap;font-size:.7rem}
.best-pill-label{font-weight:800;color:#0a0e17;background:var(--gold);padding:.1rem .45rem;border-radius:100px;font-size:.55rem;white-space:nowrap}
.best-pill-tag{font-family:var(--mono);font-size:.58rem;font-weight:800;padding:.08rem .35rem;border-radius:3px}
.best-pill-tag.up{color:var(--green);background:var(--green-soft);border:1px solid var(--green-border)}
.best-pill-tag.down{color:var(--red);background:var(--red-soft);border:1px solid var(--red-border)}
.best-pill-pair{font-weight:700;color:var(--text)}
.best-pill-tf{font-family:var(--mono);font-size:.58rem;color:var(--gold)}
.best-pill-conf{font-family:var(--mono);font-size:.6rem;font-weight:700;color:var(--text);margin-left:auto}
.best-pill-insight{color:var(--text-secondary);font-style:italic;font-size:.62rem;flex-basis:100%;margin-top:-.1rem}

/* ----- Timeline ----- */
.timeline{position:relative}
.timeline::before{content:'';position:absolute;left:.85rem;top:0;bottom:0;width:1px;background:var(--border)}
.timeline-item{position:relative;padding:.6rem 0 .6rem 2.2rem}
.timeline-item::before{content:'';position:absolute;left:.72rem;top:1.05rem;width:.28rem;height:.28rem;border-radius:50%;background:var(--muted);border:1px solid var(--border)}
.timeline-item.active::before{background:var(--gold);border-color:var(--gold);box-shadow:0 0 5px var(--gold-glow)}
.timeline-row{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;font-size:.7rem}
.timeline-pair{font-weight:700;color:var(--text);font-size:.75rem}
.timeline-tf{font-family:var(--mono);font-size:.55rem;color:var(--muted);background:var(--surface-solid);padding:.08rem .3rem;border-radius:3px}
.timeline-cat{font-size:.48rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;background:var(--surface-solid);padding:.04rem .3rem;border-radius:100px}
.timeline-fit{font-size:.48rem;font-weight:700;color:var(--gold);background:var(--gold-soft);border:1px solid var(--gold-border);padding:.04rem .3rem;border-radius:100px}
.timeline-price{font-family:var(--mono);font-size:.62rem;color:var(--text-secondary);margin-left:auto}
.timeline-price .up{color:var(--green)}
.timeline-price .down{color:var(--red)}
.timeline-dir{font-family:var(--mono);font-size:.58rem;font-weight:800;padding:.1rem .35rem;border-radius:3px}
.timeline-dir.up{color:var(--green);background:var(--green-soft);border:1px solid var(--green-border)}
.timeline-dir.down{color:var(--red);background:var(--red-soft);border:1px solid var(--red-border)}
.timeline-dir.hold{color:var(--blue);background:var(--blue-soft);border:1px solid var(--blue-border)}
.timeline-conf{font-family:var(--mono);font-size:.55rem;font-weight:600;color:var(--muted)}
.timeline-bar{height:3px;flex:1;min-width:50px;max-width:120px;background:var(--border);border-radius:2px;overflow:hidden}
.timeline-bar-fill{height:100%;border-radius:2px}
.timeline-insight{font-size:.58rem;color:var(--text-secondary);font-style:italic;margin-top:.15rem;width:100%}
.timeline-empty{padding:2rem 0;text-align:center;font-size:.75rem;color:var(--muted)}

/* ----- Premium Banner — Invite-only ----- */
.premium-banner{background:linear-gradient(135deg,rgba(234,179,8,0.04),var(--surface));border:1px solid var(--gold-border);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1.5rem;text-align:center}
.premium-icon{font-size:1.4rem;color:var(--gold);margin-bottom:.25rem;opacity:.6}
.premium-banner h3{font-size:.8rem;font-weight:800;color:var(--text);margin-bottom:.3rem;letter-spacing:-.01em}
.premium-banner p{font-size:.68rem;color:var(--text-secondary);margin-bottom:.4rem;line-height:1.5}
.premium-banner .premium-note{font-size:.6rem;color:var(--muted);font-style:italic;margin-bottom:0}

/* ----- Section Head ----- */
.section-head{text-align:center;margin-bottom:1.25rem}
.section-head h2{font-size:1rem;font-weight:800;color:var(--text);letter-spacing:-.02em;margin-bottom:.25rem}
.section-sub{font-size:.72rem;color:var(--text-secondary);max-width:500px;margin:0 auto;line-height:1.5}
.section{background:var(--surface);backdrop-filter:blur(20px);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;margin-bottom:1.25rem}

/* ----- FAQ ----- */
.faq-item{border-bottom:1px solid var(--border)}
.faq-item:last-child{border-bottom:none}
.faq-item summary{padding:.6rem 0;font-size:.72rem;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;color:var(--text)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-size:.8rem;color:var(--gold);transition:transform .2s}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-body{padding:0 0 .6rem;font-size:.68rem;color:var(--text-secondary);line-height:1.55}
.faq-body p{margin-bottom:.4rem}

/* ----- Features Grid ----- */
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.65rem}
@media(max-width:800px){.features-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.features-grid{grid-template-columns:1fr}}
.feature-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.15rem;transition:all .2s}
.feature-card:hover{border-color:var(--border-glow)}
.feat-icon{font-size:1.1rem;margin-bottom:.4rem;display:block}
.feature-card h3{font-size:.72rem;font-weight:700;color:var(--text);margin-bottom:.3rem}
.feature-card p{font-size:.65rem;color:var(--text-secondary);line-height:1.45;margin:0}

/* ----- Footer ----- */
.site-footer{border-top:1px solid var(--border);padding:1.75rem 1.5rem;background:var(--surface);margin-top:1.5rem}
.footer-inner{max-width:var(--max-w);margin:0 auto;text-align:center}
.footer-nav{display:flex;gap:1.25rem;justify-content:center;margin-bottom:.75rem;flex-wrap:wrap}
.footer-nav a{font-size:.68rem;color:var(--text-secondary);font-weight:500}
.footer-nav a:hover{color:var(--gold);text-decoration:none}
.footer-disclaimer{font-size:.58rem;color:var(--muted);max-width:650px;margin:0 auto;line-height:1.55}

/* ----- Timeline Controls ----- */
.timeline-controls{display:flex;align-items:center;gap:.5rem;margin-bottom:.85rem;flex-wrap:wrap}
.search-input{flex:1;min-width:140px;padding:.4rem .65rem;background:var(--surface-solid);border:1px solid var(--border);color:var(--text);font-size:.7rem;font-family:inherit;border-radius:var(--radius-sm);transition:all .2s}
.search-input::placeholder{color:var(--muted)}
.search-input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 2px var(--gold-glow)}
.tf-filter,.dir-filter{padding:.4rem .5rem;background:var(--surface-solid);border:1px solid var(--border);color:var(--text);font-size:.65rem;font-family:inherit;border-radius:var(--radius-sm);cursor:pointer;min-width:85px}
.tf-filter:focus,.dir-filter:focus{outline:none;border-color:var(--gold)}
.signal-count{font-family:var(--mono);font-size:.6rem;color:var(--muted);margin-left:auto;white-space:nowrap}

/* ----- Timeline ----- */
h1.page-title{font-size:clamp(1.2rem,2.5vw,1.6rem);font-weight:800;letter-spacing:-.02em;margin-bottom:.4rem}
.page-date{font-size:.65rem;color:var(--muted);margin-bottom:1.25rem}
.content h2{font-size:.85rem;font-weight:700;color:var(--text);margin:1.25rem 0 .4rem;padding-top:.6rem;border-top:1px solid var(--border)}
.content h2:first-of-type{border-top:none;padding-top:0}
.content p{font-size:.7rem;color:var(--text-secondary);margin-bottom:.5rem;line-height:1.65}
.content ul{padding-left:1rem;margin-bottom:.5rem}
.content li{font-size:.7rem;color:var(--text-secondary);margin-bottom:.2rem}

/* ----- Forms ----- */
.form-group{margin-bottom:.75rem}
.form-label{display:block;font-size:.65rem;font-weight:600;color:var(--text);margin-bottom:.2rem}
.form-input,.form-select,.form-textarea{width:100%;padding:.55rem .7rem;background:var(--surface-solid);border:1px solid var(--border);color:var(--text);font-size:.7rem;font-family:inherit;border-radius:var(--radius-sm);transition:border-color .2s}
.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--gold)}
.form-textarea{resize:vertical;min-height:80px}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
