/* ═══════════════════════════════════════════════
   ClankerPicks
   ═══════════════════════════════════════════════ */

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

:root {
    --bg:         #ffffff;
    --bg-surface: #f7f8fa;
    --bg-raised:  #ffffff;
    --bg-input:   #f0f2f5;
    --border:     #e3e5e8;
    --border-h:   #cdd0d5;
    --text:       #1a1d24;
    --text-2:     #5c6370;
    --text-3:     #939aa5;
    --accent:     #1e3a8a;
    --accent-h:   #1e40af;
    --green:      #0f7b5f;
    --red:        #c62828;
    --orange:     #b45309;
    --cyan:       #0e7490;
    --purple:     #6d28d9;
    --blue:       #1d4ed8;
    --font:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --mono:       "SF Mono", "Fira Code", "Fira Mono", "Cascadia Code", Menlo, monospace;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 600; }
code {
    font-family: var(--mono);
    font-size: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    padding: 2px 7px;
    border-radius: 4px;
    color: var(--text-2);
}

/* ── UTIL ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.t-green  { color: var(--green); }
.t-red    { color: var(--red); }
.t-orange { color: var(--orange); }
.t-cyan   { color: var(--cyan); }
.t-purple { color: var(--purple); }
.t-blue   { color: var(--blue); }
.t-accent { color: var(--accent); font-weight: 700; }
.t-dim    { color: var(--text-3); }
.t-sm     { font-size: 12px; }

.label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 16px;
}
.section { padding: 100px 0; }
.section-alt { background: var(--bg-surface); }
.section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}
.section-sub {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.65;
    margin-top: 12px;
}


/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-h);
}
.btn-ghost {
    background: transparent;
    color: var(--text-2);
}
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 15px; }


/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}
.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
}
.nav-links {
    display: flex;
    gap: 28px;
    font-size: 13px;
    color: var(--text-2);
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}


/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */
.hero {
    padding: 160px 0 64px;
}
.hero-center {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.hero-center h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    color: var(--text);
}
.hero-sub {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 32px;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.hero-price {
    font-size: 13px;
    color: var(--text-3);
}


/* ── HERO PANEL ── */
.hero-panel-section {
    padding: 0 0 48px;
}
.hero-panel {
    display: grid;
    grid-template-columns: 1fr 340px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    max-width: 900px;
    margin: 0 auto;
}

/* leaderboard */
.lb { background: var(--bg-raised); }
.lb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}
.lb-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
}
.lb-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
}
.live-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.lb-row {
    display: grid;
    grid-template-columns: 28px 1fr repeat(4, 64px);
    align-items: center;
    padding: 0 20px;
    height: 38px;
    font-size: 12px;
    border-bottom: 1px solid var(--border);
    transition: background 0.12s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:not(.lb-row-head):hover { background: var(--bg-surface); }
.lb-row-head {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-3);
    height: 32px;
    background: var(--bg-surface);
}
.lb-c-rank { font-family: var(--mono); font-weight: 700; }
.lb-c-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 8px; }
.lb-c-num  { font-family: var(--mono); font-size: 11px; text-align: right; }
.lb-rank {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
}
.lb-gold   { background: linear-gradient(135deg, #fbbf24, #b45309); }
.lb-silver { background: linear-gradient(135deg, #cbd5e1, #64748b); }
.lb-bronze { background: linear-gradient(135deg, #fdba74, #c2410c); }
.lb-bot { color: var(--text); }

/* feed */
.feed {
    background: var(--bg-surface);
    border-left: 1px solid var(--border);
    min-height: 160px;
    max-height: 310px;
    display: flex;
    flex-direction: column;
}
.feed-header {
    padding: 14px 20px 8px;
}
.feed-list {
    flex: 1;
    overflow: hidden;
    padding: 0 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.feed-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
    animation: feedIn 0.3s ease-out;
    flex-shrink: 0;
}
@keyframes feedIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.feed-time {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-3);
    flex-shrink: 0;
}
.feed-bot {
    font-weight: 600;
    flex-shrink: 0;
}
.feed-detail {
    color: var(--text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.feed-result {
    font-family: var(--mono);
    font-weight: 700;
    flex-shrink: 0;
    margin-left: auto;
}


/* ══════════════════════════════════
   TICKER
   ══════════════════════════════════ */
.ticker-wrap {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
    overflow: hidden;
    padding: 10px 0;
}
.ticker {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}
.ticker-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    flex-shrink: 0;
}
.ticker-item {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-2);
    white-space: nowrap;
}
.ticker-sep {
    color: var(--text-3);
    font-size: 11px;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ══════════════════════════════════
   FEATURE GRID
   ══════════════════════════════════ */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.feature-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-raised);
    transition: box-shadow 0.15s;
}
.feature-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.feature-num {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-3);
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}


/* ══════════════════════════════════
   MOCK BOT CARD
   ══════════════════════════════════ */
.mock-card-wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}
.mock-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.mock-card-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.mock-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
    position: relative;
}
.mock-rank {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #fdba74, #ea580c);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mock-name {
    font-size: 17px;
    font-weight: 700;
}
.mock-bio {
    font-size: 13px;
    color: var(--text-2);
    margin-top: 4px;
}
.mock-books {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.mock-book {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-2);
}
.mock-tools {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.mock-tool {
    font-family: var(--mono);
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(30, 58, 138, 0.06);
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 4px;
    color: var(--accent-h);
}
.mock-strategy {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.mock-strategy strong { color: var(--text-2); }
.mock-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.mock-stat { text-align: center; }
.mock-stat-val {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 700;
}
.mock-stat-lbl {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}
.mock-chart {
    height: 64px;
    background: var(--bg-input);
    border-radius: 8px;
    overflow: hidden;
    padding: 8px;
}
.mock-chart svg {
    width: 100%;
    height: 100%;
}

/* aside */
.mock-card-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.aside-block {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.aside-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
    margin-bottom: 12px;
}
.aside-pick-main {
    display: flex;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.aside-pick-meta {
    font-size: 12px;
    color: var(--text-3);
    font-family: var(--mono);
    line-height: 1.6;
}
.aside-settled {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.aside-row {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-2);
    display: flex;
    gap: 8px;
}
.aside-json {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
    line-height: 1.6;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px;
    overflow-x: auto;
    white-space: pre;
}


/* ══════════════════════════════════
   SPLIT SECTIONS (TOOLS)
   ══════════════════════════════════ */
.split-section {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}
.split-left h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}
.split-sub {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.65;
    margin-top: 16px;
}

/* tool list */
.tool-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-raised);
}
.tool-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    transition: background 0.12s;
}
.tool-row:last-child { border-bottom: none; }
.tool-row:hover { background: var(--bg-surface); }
.tool-badge {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 4px;
    min-width: 52px;
    text-align: center;
}
.tool-badge-filter { background: rgba(30,58,138,0.07); color: var(--accent-h); }
.tool-badge-scorer { background: rgba(180,83,9,0.08); color: var(--orange); }
.tool-badge-trigger { background: rgba(15,123,95,0.08); color: var(--green); }
.tool-name {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    min-width: 110px;
}
.tool-desc {
    font-size: 13px;
    color: var(--text-3);
}
.tool-footer {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tool-footer-item {
    font-size: 13px;
    color: var(--text-3);
}
.tool-footer code {
    margin-left: 2px;
}


/* ══════════════════════════════════
   PRICING
   ══════════════════════════════════ */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 680px;
    margin: 0 auto;
}
.pricing-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-raised);
}
.pricing-card-pro {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
.pricing-card-header {
    font-size: 14px;
    font-weight: 700;
    padding: 20px 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-card-price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--mono);
    padding: 8px 24px 20px;
    letter-spacing: -0.04em;
    border-bottom: 1px solid var(--border);
}
.pricing-card-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-2);
    letter-spacing: 0;
}
.pricing-tag {
    font-size: 11px;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}
.pricing-card-body {
    padding: 8px 0;
}
.pricing-row-item {
    font-size: 13px;
    padding: 10px 24px;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
}
.pricing-row-item:last-child { border-bottom: none; }
.pricing-cta {
    margin: 16px 24px 24px;
    width: calc(100% - 48px);
}


/* ══════════════════════════════════
   CTA
   ══════════════════════════════════ */
.cta-section {
    padding: 80px 0 120px;
}
.cta-layout {
    text-align: center;
}
.cta-layout h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
    line-height: 1.2;
}


/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.footer {
    padding: 48px 0 28px;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 10px; }
.footer-tagline { font-size: 13px; color: var(--text-3); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-2);
    margin-bottom: 2px;
}
.footer-col a { font-size: 13px; color: var(--text-3); transition: color 0.12s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: var(--text-3);
}
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { text-decoration: underline; }


/* ══════════════════════════════════
   AUTH FORMS
   ══════════════════════════════════ */
.auth-section {
    padding: 140px 0 80px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}
.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 0 24px;
}
.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
}
.auth-sub {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 32px;
}
.auth-link {
    color: var(--accent) !important;
}
.auth-link:hover {
    text-decoration: underline;
}
.auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: var(--red);
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
}
.form-group input {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text);
    font-family: var(--font);
    outline: none;
    transition: border-color 0.15s;
}
.form-group input:focus {
    border-color: var(--accent);
}
.form-group input::placeholder {
    color: var(--text-3);
}
.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
}
.form-check input[type="checkbox"] {
    accent-color: var(--accent);
}
.auth-btn {
    width: 100%;
    margin-top: 4px;
}


/* ══════════════════════════════════
   DASHBOARD / LEADERBOARD
   ══════════════════════════════════ */
.dash-section {
    padding: 100px 0 60px;
    min-height: 100vh;
}
.dash-header {
    margin-bottom: 32px;
}
.dash-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}
.dash-sub {
    color: var(--text-2);
    font-size: 14px;
    margin-top: 6px;
}
.dash-empty, .dash-error {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-3);
    font-size: 14px;
}
.dash-error { color: var(--red); }
.dash-load-more {
    text-align: center;
    padding: 32px 0;
}
.scroll-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Filters ── */
.filters {
    margin-bottom: 28px;
}
.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.filter-search {
    flex: 1;
    min-width: 180px;
}
.filter-input, .filter-select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text);
    font-family: var(--font);
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
}
.filter-select { width: auto; min-width: 140px; cursor: pointer; }
.filter-input:focus, .filter-select:focus { border-color: var(--accent); }
.filter-input::placeholder { color: var(--text-3); }
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
    white-space: nowrap;
}
.filter-toggle input { accent-color: var(--accent); }

/* ── Bot card grid ── */
.bot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.bot-card {
    display: block;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.bot-card:hover {
    border-color: var(--border-h);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.bot-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.bot-rank {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: var(--bg-input);
    color: var(--text-3);
    flex-shrink: 0;
    font-family: var(--mono);
}
.bot-card-name {
    font-size: 15px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bot-card-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.bot-card-stat { text-align: center; }
.bot-card-stat-val {
    display: block;
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
}
.bot-card-stat-lbl {
    display: block;
    font-size: 10px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}
/* equity chart */
.bot-chart {
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}
.bot-chart canvas {
    width: 100%;
    height: 100%;
}

.bot-card-books {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.bot-card-book {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text-3);
}
.book-logo {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    object-fit: contain;
}
.detail-tag-book {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.detail-tag-book .book-logo {
    width: 16px;
    height: 16px;
}

/* ── Skeleton ── */
.bot-card-skeleton { pointer-events: none; }
.skel {
    background: var(--bg-input);
    border-radius: 6px;
    animation: skelPulse 1.2s ease-in-out infinite;
}
.skel-line { height: 18px; width: 60%; margin-bottom: 12px; }
.skel-block { height: 40px; width: 100%; margin-bottom: 12px; }
.skel-chart { height: 60px; width: 100%; margin-bottom: 12px; border-radius: 6px; }
.skel-line-sm { height: 14px; width: 40%; }
@keyframes skelPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ── Detail page ── */
.detail-back {
    display: inline-block;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 24px;
}
.detail-back:hover { text-decoration: underline; }
.detail-header { margin-bottom: 28px; }
.detail-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.detail-name {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.detail-bio {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.detail-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-2);
}
.detail-tag-tool {
    font-family: var(--mono);
    background: rgba(30,58,138,0.06);
    border-color: rgba(30,58,138,0.12);
    color: var(--accent-h);
}
.detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}
.detail-stat {
    text-align: center;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.detail-stat-val {
    display: block;
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 700;
}
.detail-stat-lbl {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
}
.detail-section {
    margin-bottom: 36px;
}
.detail-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.detail-empty {
    color: var(--text-3);
    font-size: 13px;
    padding: 16px 0;
}

/* open bets */
.detail-bet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.detail-bet {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.detail-bet-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.detail-bet-sel {
    font-weight: 600;
    font-size: 14px;
}
.detail-bet-odds {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}
.detail-bet-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-3);
}

/* detail equity chart */
.detail-chart-wrap {
    height: 200px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.detail-chart-wrap canvas {
    width: 100%;
    height: 100%;
}

/* strategy profile */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.strategy-item {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.strategy-item-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
    margin-bottom: 4px;
}
.strategy-item-value {
    font-size: 14px;
    font-weight: 600;
}
.strategy-highlight {
    color: var(--accent);
}

/* tool detail list */
.tool-detail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tool-detail-row {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.tool-detail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.tool-detail-name {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 600;
}
.tool-detail-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--bg-input);
    color: var(--text-3);
}
.strat-type-filter { background: rgba(30,58,138,0.07); color: var(--accent-h); }
.strat-type-scorer { background: rgba(180,83,9,0.08); color: var(--orange); }
.strat-type-trigger { background: rgba(15,123,95,0.08); color: var(--green); }
.tool-detail-desc {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
    margin-bottom: 8px;
}
.tool-detail-config {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.config-chip {
    font-family: var(--mono);
    font-size: 11px;
    padding: 3px 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text-2);
}
.config-chip strong {
    color: var(--text);
}

/* settled bets table */
.detail-table-wrap { overflow-x: auto; }
.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.detail-table th {
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-3);
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
    white-space: nowrap;
}
.detail-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.detail-table tr:hover td { background: var(--bg-surface); }
.detail-table .t-green { font-weight: 600; }
.detail-table .t-red { font-weight: 600; }


/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-panel { grid-template-columns: 1fr; }
    .feed { border-left: none; border-top: 1px solid var(--border); max-height: 180px; }
    .split-section { grid-template-columns: 1fr; gap: 48px; }
    .mock-card-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .nav.nav-open .nav-links,
    .nav.nav-open .nav-actions { display: flex; }
    .nav.nav-open .nav-inner { flex-wrap: wrap; }
    .nav.nav-open .nav-links {
        order: 3; width: 100%;
        flex-direction: column; gap: 14px; padding: 14px 0;
    }
    .nav.nav-open .nav-actions {
        order: 4; width: 100%; padding-bottom: 10px;
    }
    .hero { padding: 120px 0 48px; }
    .hero-center h1 { font-size: 2rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .mock-stats-row { grid-template-columns: repeat(2, 1fr); }
    .mock-strategy { flex-direction: column; gap: 4px; }
    .pricing-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .tool-desc { display: none; }
    .ticker { animation-duration: 25s; }
    .bot-grid { grid-template-columns: 1fr; }
    .bot-card-stats { grid-template-columns: repeat(2, 1fr); }
    .detail-stats { grid-template-columns: repeat(2, 1fr); }
    .filters-row { flex-direction: column; }
    .filter-select { width: 100%; }
}

/* ── Paywall ── */
.paywall-wrap {
    position: relative;
}
.paywall-locked .paywall-blur {
    filter: blur(6px);
    -webkit-filter: blur(6px);
    user-select: none;
    pointer-events: none;
}
.paywall-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 12px;
}
.paywall-msg {
    text-align: center;
    max-width: 360px;
    padding: 32px 24px;
}
.paywall-msg h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.paywall-msg p {
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 18px;
    line-height: 1.5;
}
.paywall-msg .btn {
    font-size: 14px;
}


/* ── Success page ── */
.success-wrap {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}
.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(15, 123, 95, 0.1);
    color: var(--green);
    font-size: 28px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.success-wrap h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}
.success-wrap p {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
}
.success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}
.success-hint {
    font-size: 13px;
    color: var(--text-3);
    margin-top: 16px;
}


/* ── Static pages ── */
.static-page {
    padding: 140px 0 80px;
}
.static-page .container {
    max-width: 720px;
}
.static-page h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
}
.static-page h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
}
.static-page p, .static-page li {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.static-page ul {
    padding-left: 24px;
    list-style: disc;
}
.static-page a {
    color: var(--accent);
}
.static-page a:hover {
    text-decoration: underline;
}
