/* Oracle Signals: the same palette as the Discord art (kalshibot/brand.py, btc_cards.THEMES) */
:root {
  --slate-top: #334155;
  --slate: #0f172a;
  --panel: rgba(30, 41, 59, 0.72);
  --line: rgba(148, 163, 184, 0.18);
  --gold: #facc15;
  --gold-deep: #ca8a04;
  --violet: #8b5cf6;
  --green: #10b981;
  --red: #ef4444;
  --text: #ebf0f5;
  --muted: #94a3b8;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--slate) linear-gradient(180deg, var(--slate-top) 0%, var(--slate) 520px) no-repeat;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }
a:hover { color: #fde68a; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800;
         letter-spacing: .06em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand b { color: var(--gold); }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--text); }

/* hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 40px 0 56px; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.02; margin: 0 0 16px; font-weight: 900;
           letter-spacing: .01em; }
.hero h1 .gold { color: var(--gold); display: block; }
.hero p.lead { font-size: 1.2rem; color: #cbd5e1; margin: 0 0 24px; max-width: 34em; }
.hero .orb { width: 100%; max-width: 380px; justify-self: center; filter: drop-shadow(0 0 40px rgba(139, 92, 246, .35)); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.tags li { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 4px 12px;
           font-size: .9rem; color: #cbd5e1; }

.btn { display: inline-block; padding: 13px 22px; border-radius: 12px; font-weight: 800; text-decoration: none;
       background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #111827; border: 0; }
.btn:hover { color: #111827; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); margin-left: 8px; }
.btn.ghost:hover { border-color: var(--muted); color: var(--text); }

/* sections */
section { padding: 48px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 8px; font-weight: 900; }
section p.sub { color: var(--muted); margin: 0 0 28px; max-width: 46em; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: #cbd5e1; }
.card .icon { font-size: 1.6rem; display: block; margin-bottom: 8px; }

/* plans */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(5, 1fr); }
.plan { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
        border-radius: var(--radius); padding: 22px 18px; }
.plan.best { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 10px 40px rgba(250, 204, 21, .12); }
.plan .badge { align-self: flex-start; font-size: .75rem; font-weight: 800; color: #111827; background: var(--gold);
               border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.plan h3 { margin: 0; font-size: 1.1rem; }
.plan .price { font-size: 2.2rem; font-weight: 900; margin: 10px 0 2px; }
.plan .price small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.plan .trial { color: var(--green); font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.plan ul { margin: 0 0 18px; padding-left: 18px; color: #cbd5e1; font-size: .95rem; flex: 1; }
.plan li { margin: 4px 0; }
.plan .btn { text-align: center; }

/* the record and the carousel of recent wins */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 30px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat-label { color: var(--muted); font-weight: 700; font-size: .9rem; }
.stat-rec { font-size: 1.9rem; font-weight: 900; margin-top: 4px; }
.stat-pct { color: #cbd5e1; font-size: .92rem; }
.stat-pnl { font-weight: 800; margin-top: 6px; font-size: .95rem; }
.stat-pnl.up { color: var(--green); }
.stat-pnl.down { color: var(--red); }
.carousel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.carousel-head h3 { margin: 0; font-size: 1.2rem; }
.arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel);
                 color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; margin-left: 6px; }
.arrows button:hover { border-color: var(--gold); color: var(--gold); }
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px;
            scrollbar-width: thin; }
.win { flex: 0 0 260px; scroll-snap-align: start; border-radius: var(--radius); padding: 18px;
       background: linear-gradient(180deg, rgba(34, 197, 94, .22), rgba(21, 128, 61, .12)), var(--panel);
       border: 1px solid rgba(34, 197, 94, .45); }
.win-top { color: var(--muted); font-weight: 700; font-size: .85rem; }
.win-title { font-size: 1.15rem; font-weight: 900; margin: 8px 0 4px; }
.win-detail { color: #cbd5e1; font-size: .92rem; min-height: 2.6em; }
.win-pnl { color: #86efac; font-weight: 900; font-size: 1.25rem; margin-top: 10px; }
.win-when { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.note { color: var(--muted); font-size: .88rem; margin: 14px 0 0; }

/* steps and FAQ */
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.steps .card::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center;
                       width: 32px; height: 32px; border-radius: 50%; background: var(--violet); color: #fff;
                       font-weight: 800; margin-bottom: 10px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
          margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: #cbd5e1; margin: 10px 0 0; }

.risk { background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .35); border-radius: var(--radius);
        padding: 18px 22px; color: #fecaca; }
.risk b { color: #fff; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }
footer a { color: var(--muted); }

/* legal pages */
.doc { max-width: 760px; padding: 24px 0 56px; }
.doc h1 { font-size: 2.2rem; margin: 10px 0 4px; }
.doc .date { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 1.2rem; margin: 28px 0 8px; color: var(--gold); }
.doc p, .doc li { color: #cbd5e1; }

@media (max-width: 980px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hero .orb { max-width: 240px; order: -1; }
  .grid, .plans, .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .btn.ghost { margin: 10px 0 0; }
}
