/**
 * DEBILEX Landing v3 — Anti-scam platform & memecoin market
 * Gold / black theme. Self-contained (single CSS request for performance).
 */

:root {
    --bg: #050507;
    --bg-2: #0a0a0d;
    --panel: #0e0f13;
    --panel-2: #121319;
    --panel-3: #16171d;
    --line: #20222b;
    --line-2: #2a2d38;

    --gold: #FFC107;
    --gold-2: #F5A623;
    --gold-soft: rgba(255, 193, 7, 0.12);
    --gold-glow: rgba(255, 193, 7, 0.35);
    --gold-line: rgba(255, 193, 7, 0.16);
    --gold-line-strong: rgba(255, 193, 7, 0.30);

    --text: #f3f4f6;
    --muted: #9aa0ad;
    --muted-2: #6b7280;

    --green: #22c55e;
    --green-soft: rgba(34, 197, 94, 0.14);
    --amber: #f59e0b;
    --amber-soft: rgba(245, 158, 11, 0.14);
    --red: #ef4444;
    --red-soft: rgba(239, 68, 68, 0.14);
    --blue: #3b82f6;
    --blue-soft: rgba(59, 130, 246, 0.16);
    --violet: #8b5cf6;
    --violet-soft: rgba(139, 92, 246, 0.16);
    --grey-soft: rgba(148, 163, 184, 0.14);

    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --maxw: 1240px;

    --font: 'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Bebas Neue', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 56px 0; position: relative; }
.section--tight { padding: 36px 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gold);
}
.eyebrow--lg { font-size: 16px; font-weight: 800; letter-spacing: 0.08em; gap: 11px; }
.eyebrow--lg .live-dot { width: 10px; height: 10px; }
.live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
    box-shadow: 0 0 0 0 var(--gold-glow); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 var(--gold-glow); }
    70% { box-shadow: 0 0 0 8px rgba(255,193,7,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,193,7,0); }
}

/* ---------------------------------------------------------------- */
/* Buttons                                                           */
/* ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: 15px; padding: 13px 22px;
    border-radius: var(--radius-sm); border: 1px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap; text-transform: uppercase; letter-spacing: .03em;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #161200; box-shadow: 0 8px 24px rgba(255,193,7,.25);
}
.btn-gold:hover { box-shadow: 0 12px 30px rgba(255,193,7,.4); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-danger { background: rgba(239,68,68,.10); border-color: #ff2d2d; color: #ff3b3b; }
.btn-danger:hover { background: #ff2d2d; border-color: #ff2d2d; color: #fff; box-shadow: 0 10px 28px rgba(255,45,45,.35); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
/* aliases for reused scanner/report partials */
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #161200; box-shadow: 0 8px 24px rgba(255,193,7,.25); }
.btn-secondary { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold { background: transparent; border-color: rgba(255,193,7,.55); color: var(--text); }
.btn-outline-gold:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--text); }
.btn-outline-red { background: transparent; border-color: rgba(239,68,68,.6); color: var(--text); }
.btn-outline-red:hover { background: var(--red-soft); border-color: var(--red); color: var(--text); }

/* ---------------------------------------------------------------- */
/* Header / Nav                                                      */
/* ---------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(5,5,7,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.nav__links a {
    font-size: 14px; font-weight: 600; color: var(--muted);
    padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255,255,255,.04); }
.nav__links a.is-active { color: var(--gold); }
.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lang-switch { position: relative; }
.lang-switch__btn {
    display: flex; align-items: center; gap: 6px; background: transparent;
    border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px;
    color: var(--muted); cursor: pointer;
}
.lang-switch__btn img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.lang-switch__menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px;
    background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
    padding: 6px; display: none; box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.lang-switch.open .lang-switch__menu { display: block; }
.lang-switch__menu a {
    display: flex; align-items: center; gap: 10px; padding: 8px 10px;
    border-radius: 7px; font-size: 14px; color: var(--muted);
}
.lang-switch__menu a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.lang-switch__menu a.is-active { color: var(--gold); }
.lang-switch__menu img { width: 20px; height: 15px; border-radius: 2px; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Pozycje jeszcze niegotowe: wyszarzone, nieklikalne + badge SOON */
.nav-soon { opacity: .45 !important; pointer-events: none; cursor: default; }
.soon-tag {
    display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px;
    font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    background: rgba(255,193,7,.14); color: var(--gold); vertical-align: middle;
}

/* ---------------------------------------------------------------- */
/* Hero                                                              */
/* ---------------------------------------------------------------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; min-height: 660px; display: flex; align-items: center; }
/* Full-bleed radar banner behind the whole hero */
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center right;
    background-repeat: no-repeat;
}
.hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, var(--bg) 20%, rgba(5,5,7,.9) 44%, rgba(5,5,7,.45) 66%, rgba(5,5,7,.18) 100%),
        radial-gradient(80% 70% at 24% 52%, rgba(5,5,7,.7), transparent 60%),
        linear-gradient(0deg, var(--bg) 2%, transparent 34%),
        radial-gradient(58% 60% at 80% 44%, rgba(255,193,7,.18), transparent 62%);
}
.hero__grid {
    position: relative; z-index: 1; width: 100%;
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center;
}
.hero__title {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(52px, 6.8vw, 94px); line-height: 0.98; letter-spacing: .5px;
    text-transform: uppercase; margin-bottom: 22px;
}
.hero__title .gold { color: var(--gold); display: block; }
.hero__title .white { color: var(--text); display: block; }
/* Per-line size hierarchy (matches mockup): white lines small, AVOID SCAMS huge, last line medium */
.hero__title .t-sm { font-size: 0.62em; }
.hero__title .t-md { font-size: 0.82em; }
.hero__title .t-xl { font-size: 1.2em; line-height: 0.92; }

/* Grunge texture via multiply: letters stay fully opaque & vivid, texture only
   darkens the worn spots (no transparency, so colours read sharp on dark bg). */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero__title .white, .hero__title .gold {
        color: transparent;
        -webkit-background-clip: text; background-clip: text;
        background-repeat: repeat, no-repeat;
        background-size: 1600px 1600px, 100% 100%;
        background-blend-mode: multiply;
    }
    .hero__title .white { background-image: url('/images/rebrand/grunge-multiply.jpg?v=6'), linear-gradient(#ffffff, #ffffff); }
    .hero__title .gold  { background-image: url('/images/rebrand/grunge-multiply.jpg?v=6'), linear-gradient(#FFC400, #FFC400); }
}
.hero__desc { font-size: 17px; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.trusted { display: flex; align-items: center; gap: 14px; }
.trusted__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.trusted__avatars { display: flex; }
.trusted__avatars span {
    width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
    border: 2px solid var(--bg); background: linear-gradient(135deg, #2a2d38, #3a3f4d);
    display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.trusted__avatars span:first-child { margin-left: 0; }
.trusted__count { color: var(--gold); font-weight: 800; font-size: 18px; }
.trusted__count small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }

/* Hero visual */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 580px; }
.hero__mascot { position: relative; z-index: 2; height: min(600px, 80vw); width: auto; max-width: 100%; filter: drop-shadow(0 28px 56px rgba(0,0,0,.75)); }
.hero__chip {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
    background: rgba(12,13,17,.92); border: 1px solid var(--line-2); border-radius: 16px;
    padding: 11px 16px 11px 11px; font-size: 13px; font-weight: 800; color: var(--text);
    letter-spacing: .02em; text-transform: uppercase; line-height: 1.15; max-width: 190px;
    box-shadow: 0 14px 34px rgba(0,0,0,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__chip-ico {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.hero__chip-ico img { width: 26px; height: 26px; }
.hero__chip-ico[data-tone="green"]  { background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(34,197,94,.4); }
.hero__chip-ico[data-tone="gold"]   { background: var(--gold-soft);  box-shadow: inset 0 0 0 1px rgba(255,193,7,.4); }
.hero__chip-ico[data-tone="violet"] { background: rgba(139,92,246,.16); box-shadow: inset 0 0 0 1px rgba(139,92,246,.45); }
.hero__chip-ico[data-tone="red"]    { background: var(--red-soft);   box-shadow: inset 0 0 0 1px rgba(239,68,68,.45); }
.hero__chip[data-tone="green"]  { border-color: rgba(34,197,94,.6);  box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(34,197,94,.25); }
.hero__chip[data-tone="gold"]   { border-color: rgba(255,193,7,.6);  box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(255,193,7,.25); }
.hero__chip[data-tone="violet"] { border-color: rgba(139,92,246,.65); box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(139,92,246,.28); }
.hero__chip[data-tone="red"]    { border-color: rgba(239,68,68,.6);  box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(239,68,68,.25); }
.hero__chip--tl { top: 3%;  left: -8%; }
.hero__chip--tr { top: 18%; right: -10%; }
.hero__chip--bl { bottom: 24%; left: -10%; }
.hero__chip--br { bottom: 5%; right: -6%; }
@media (max-width: 1180px) {
    .hero__chip--tl { left: -2%; }
    .hero__chip--tr { right: -2%; }
    .hero__chip--bl { left: -2%; }
    .hero__chip--br { right: 0; }
}
@media (min-width: 901px) {
    .hero__chip { animation: float 6s ease-in-out infinite; }
    .hero__chip--tr { animation-delay: 1.5s; }
    .hero__chip--bl { animation-delay: 1s; }
    .hero__chip--br { animation-delay: 2.5s; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------------------------------------------------------------- */
/* Panels / section heading                                          */
/* ---------------------------------------------------------------- */
.panel {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 22px;
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel__title { font-size: 18px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.panel__title small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; text-transform: none; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin-top: 10px; }

/* ---------------------------------------------------------------- */
/* Live Market table                                                 */
/* ---------------------------------------------------------------- */
/* LIVE MARKET frame: subtle gold border + glow */
#market .panel { border-color: var(--gold-line); box-shadow: 0 0 0 1px var(--gold-line), 0 20px 50px rgba(0,0,0,.35); }
.onchain-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: -4px 0 16px;
    padding: 10px 12px;
    border: 1px solid var(--gold-line);
    border-radius: 8px;
    background: rgba(255, 193, 7, .06);
    color: var(--muted);
    font-size: 12px;
}
.onchain-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.onchain-strip b {
    color: var(--gold);
    font-weight: 800;
}
.onchain-strip small {
    color: var(--muted-2);
    margin-left: auto;
}
.market-table { width: 100%; border-collapse: collapse; }
.market-table th {
    text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted-2); padding: 10px 12px;
    border-bottom: 1px solid var(--gold-line);
}
.market-table td { padding: 14px 12px; border-bottom: 1px solid var(--gold-line); font-size: 14px; vertical-align: middle; }
.market-table tr:last-child td { border-bottom: 0; }
.market-table tr:hover td { background: rgba(255,255,255,.02); }
.market-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.tk { display: flex; align-items: center; gap: 12px; }
.tk--link { text-decoration: none; color: inherit; cursor: pointer; }
.tk--link:hover .tk__name { color: var(--gold); }
.tk--link:hover .tk__logo { border-color: var(--gold-line-strong); }
.tk__logo {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--panel-3), #23252e);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px; color: var(--gold); border: 1px solid var(--line-2);
}
.tk__name { font-weight: 700; }
.tk__name small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.chain-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
    background: var(--panel-3); border: 1px solid var(--line-2); border-radius: 999px;
    font-size: 12px; font-weight: 700; color: var(--muted);
}
.chain-badge__logo {
    width: 16px; height: 16px; border-radius: 50%; object-fit: contain; flex-shrink: 0;
}
.chain-badge--icon { padding: 5px; border-color: var(--gold-line-strong); }
.chg-up { color: var(--green); font-weight: 700; font-size: 12px; }
.chg-down { color: var(--red); font-weight: 700; font-size: 12px; }

.score-pill {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; font-weight: 800; font-size: 15px;
    position: relative;
}
.score-pill[data-tone="safe"] { color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.score-pill[data-tone="warning"] { color: var(--amber); box-shadow: inset 0 0 0 2px var(--amber); }
.score-pill[data-tone="unverified"] { color: var(--muted); box-shadow: inset 0 0 0 2px var(--line-2); }
.score-pill[data-tone="high_risk"] { color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }

.status-tag { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.status-tag[data-tone="safe"] { color: var(--green); background: var(--green-soft); }
.status-tag[data-tone="warning"] { color: var(--amber); background: var(--amber-soft); }
.status-tag[data-tone="unverified"] { color: var(--muted); background: var(--grey-soft); }
.status-tag[data-tone="high_risk"] { color: var(--red); background: var(--red-soft); }

.market-empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.market-empty img { width: 120px; margin: 0 auto 16px; opacity: .8; }

/* ---------------------------------------------------------------- */
/* Feature cards                                                     */
/* ---------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; transition: transform .18s ease, border-color .2s ease;
    display: flex; flex-direction: column; min-height: 230px;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.feature-card__icon {
    width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-card__icon img { width: 28px; height: 28px; }
.feature-card h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; margin: 0; line-height: 1.18; }
.feature-card p { font-size: 13px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.feature-card__metric small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.feature-card__metric b { font-size: 24px; font-weight: 800; color: var(--gold); }

/* Per-category tones for feature cards */
.feature-card__icon[data-tone="green"]  { background: var(--green-soft);  box-shadow: inset 0 0 0 1px rgba(34,197,94,.35); }
.feature-card__icon[data-tone="blue"]   { background: var(--blue-soft);   box-shadow: inset 0 0 0 1px rgba(59,130,246,.35); }
.feature-card__icon[data-tone="gold"]   { background: var(--gold-soft);   box-shadow: inset 0 0 0 1px rgba(255,193,7,.35); }
.feature-card__icon[data-tone="violet"] { background: var(--violet-soft); box-shadow: inset 0 0 0 1px rgba(139,92,246,.35); }
.feature-card__icon[data-tone="red"]    { background: var(--red-soft);    box-shadow: inset 0 0 0 1px rgba(239,68,68,.35); }
.feature-card__metric b[data-tone="green"]  { color: var(--green); }
.feature-card__metric b[data-tone="blue"]   { color: var(--blue); }
.feature-card__metric b[data-tone="gold"]   { color: var(--gold); }
.feature-card__metric b[data-tone="violet"] { color: var(--violet); }
.feature-card__metric b[data-tone="red"]    { color: var(--red); }
.feature-card[data-tone="green"]:hover  { border-color: rgba(34,197,94,.5); }
.feature-card[data-tone="blue"]:hover   { border-color: rgba(59,130,246,.5); }
.feature-card[data-tone="gold"]:hover   { border-color: rgba(255,193,7,.5); }
.feature-card[data-tone="violet"]:hover { border-color: rgba(139,92,246,.5); }
.feature-card[data-tone="red"]:hover    { border-color: rgba(239,68,68,.5); }
/* Metric labels coloured per category */
.feature-card[data-tone="green"]  .feature-card__metric small { color: var(--green); }
.feature-card[data-tone="blue"]   .feature-card__metric small { color: var(--blue); }
.feature-card[data-tone="gold"]   .feature-card__metric small { color: var(--gold); }
.feature-card[data-tone="violet"] .feature-card__metric small { color: var(--violet); }
.feature-card[data-tone="red"]    .feature-card__metric small { color: var(--red); }

/* ---------------------------------------------------------------- */
/* Score + Alerts row                                                */
/* ---------------------------------------------------------------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* Debilex Score panel: golden frame */
.panel--score {
    border-color: var(--gold-line);
    box-shadow: 0 0 0 1px var(--gold-line), 0 20px 50px rgba(0,0,0,.35);
}
/* Top Scam Alerts panel: red frame + red gradient wash */
.panel--alerts {
    border-color: rgba(239,68,68,.45);
    background:
        linear-gradient(180deg, rgba(239,68,68,.12), rgba(239,68,68,.03) 38%, var(--panel) 100%);
    box-shadow: 0 0 0 1px rgba(239,68,68,.22), 0 20px 50px rgba(0,0,0,.35);
}
.panel--alerts .alert-item { background: rgba(10,10,13,.66); border-color: rgba(239,68,68,.18); }
.panel--alerts .alert-item:hover { border-color: rgba(239,68,68,.5); }

.gauge-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.gauge { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.gauge__ring {
    width: 100%; height: 100%; border-radius: 50%;
    background: conic-gradient(var(--ring, var(--green)) calc(var(--val) * 1%), var(--panel-3) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent 70%, #000 71%);
            mask: radial-gradient(farthest-side, transparent 70%, #000 71%);
}
.gauge__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__num { font-size: 52px; font-weight: 800; line-height: 1; }
.gauge__den { font-size: 13px; color: var(--muted); }
.gauge__label { text-align: center; margin-top: 14px; }
.gauge__label b { color: var(--green); font-size: 18px; font-weight: 800; letter-spacing: .05em; }
.gauge__label small { display: block; color: var(--muted); font-size: 13px; }

.factor-list { display: flex; flex-direction: column; gap: 2px; }
.factor {
    display: grid; grid-template-columns: 26px 1fr auto 22px; align-items: center; gap: 10px;
    padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px;
}
.factor:last-child { border-bottom: 0; }
.factor__ico { width: 20px; height: 20px; opacity: .85; }
.factor__name { color: var(--muted); }
.factor__val { font-weight: 700; }
.factor__check { width: 18px; height: 18px; }
.dot-ok { color: var(--green); }
.dot-bad { color: var(--red); }
.dot-na { color: var(--muted-2); }

/* Alerts list */
.alert-list { display: flex; flex-direction: column; gap: 10px; }
.alert-item {
    display: flex; align-items: center; gap: 14px; padding: 13px 14px;
    background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px;
    transition: border-color .2s, transform .15s;
}
.alert-item:hover { border-color: rgba(239,68,68,.4); transform: translateX(3px); }
.alert-item__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--red-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alert-item__icon img { width: 26px; height: 26px; }
.alert-item__body { flex: 1; min-width: 0; }
.alert-item__body b { font-size: 14px; }
.alert-item__body small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-item__count { display: flex; align-items: center; gap: 8px; color: var(--red); font-weight: 800; font-size: 13px; white-space: nowrap; }
.alert-head { color: var(--red) !important; }
.alert-head .live-dot { background: var(--red); box-shadow: 0 0 0 0 rgba(239,68,68,.4); }

/* ---------------------------------------------------------------- */
/* Report Scam (scanner reuse)                                       */
/* ---------------------------------------------------------------- */
.scan-wrap { max-width: 720px; margin: 0 auto; }
.scan-tabs { display: flex; gap: 8px; margin-bottom: 18px; background: var(--panel-2); padding: 6px; border-radius: 12px; border: 1px solid var(--line); }
.scan-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 8px; background: transparent; border: 0; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; }
.scan-tab.active { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #161200; }
.scan-pane { display: none; }
.scan-pane.active { display: block; }
.input-field {
    width: 100%; background: var(--panel-2); border: 1px solid var(--line-2);
    border-radius: 10px; padding: 12px 14px; color: var(--text); font-size: 14px; font-family: inherit;
}
.input-field:focus { outline: none; border-color: var(--gold); }
.threat-indicators { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 16px; }
.threat-indicator { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 9px; font-size: 12px; color: var(--muted); }
.threat-indicator-active { border-color: var(--red); color: #ff9595; background: var(--red-soft); }
/* alias old design tokens used by reused partials */
:root {
    --text-gray: var(--muted); --primary-yellow: var(--gold); --primary-purple: var(--gold);
    --yellow-400: var(--gold); --yellow-500: var(--gold-2);
    --spacing-sm: 1rem; --spacing-md: 1.5rem; --spacing-lg: 2rem;
    --radius-sm: 10px; --radius-md: 12px; --border-color: var(--line); --secondary-black: var(--panel-2);
}

/* ---------------------------------------------------------------- */
/* Audience cards                                                    */
/* ---------------------------------------------------------------- */
.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.audience-card {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    border: 1px solid var(--line); padding: 22px 24px; min-height: 210px;
    display: flex; flex-direction: column; justify-content: center;
    background-color: var(--panel); background-size: cover; background-position: right center;
    transition: transform .2s ease, border-color .2s ease;
}
.audience-card:hover { transform: translateY(-4px); }
/* Per-card coloured borders (matches mockup) */
.audience-card[data-border="gold"] { border-color: rgba(255,193,7,.55); }
.audience-card[data-border="grey"] { border-color: rgba(203,210,222,.45); }
.audience-card[data-border="blue"] { border-color: rgba(59,130,246,.6); }
.audience-card[data-border="gold"]:hover { border-color: var(--gold); box-shadow: 0 14px 34px rgba(255,193,7,.18); }
.audience-card[data-border="grey"]:hover { border-color: rgba(203,210,222,.8); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.audience-card[data-border="blue"]:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(59,130,246,.22); }
/* Keep the artwork bright; only a faint wash on the far-left behind the text */
.audience-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(5,5,7,.62) 0%, rgba(5,5,7,.22) 24%, rgba(5,5,7,0) 46%);
}
.audience-card__content { position: relative; z-index: 1; max-width: 74%; }
.audience-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.audience-card p { color: #e6e9ef; font-size: 13.5px; margin-bottom: 16px; text-shadow: 0 1px 8px rgba(0,0,0,.95); }
.audience-card .btn { align-self: flex-start; }

/* ---------------------------------------------------------------- */
/* Chains + stats band                                               */
/* ---------------------------------------------------------------- */
.band {
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: nowrap;
    background: var(--panel); border: 1px solid var(--gold-line-strong);
    box-shadow: 0 0 0 1px var(--gold-line); border-radius: var(--radius-lg); padding: 22px 28px;
}
.chains-list { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; flex: 0 1 auto; }
.chains-list small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); width: 100%; margin-bottom: 4px; }
.chain-chip {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; padding: 0;
    background: var(--panel-3); border: 1px solid var(--line-2);
    transition: transform .15s ease, border-color .2s ease;
}
.chain-chip:hover { transform: translateY(-2px); border-color: var(--gold-line-strong); }
.chain-chip img { width: 22px; height: 22px; object-fit: contain; }
.chain-chip--more {
    width: auto; height: 38px; border-radius: 999px; padding: 0 14px;
    font-size: 12px; font-weight: 800; color: var(--gold);
}
/* Not-yet-supported chains: greyed out + "SOON" tooltip on hover */
.chain-chip--soon { opacity: .38; position: relative; }
.chain-chip--soon img { filter: grayscale(1); }
.chain-chip--soon:hover { opacity: .72; transform: none; border-color: var(--line-2); }
.chain-chip--soon::after {
    content: attr(data-soon);
    position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%);
    background: var(--panel-2); color: var(--gold); border: 1px solid var(--gold-line);
    font-size: 9px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5;
}
.chain-chip--soon:hover::after { opacity: 1; }
.stats-list { display: flex; gap: 0; flex-wrap: nowrap; flex: 0 0 auto; }
.stat { padding: 0 24px; border-left: 1px solid var(--gold-line-strong); }
.stat:first-child { border-left: 1px solid var(--gold-line-strong); padding-left: 24px; }
.stat:last-child { padding-right: 0; }
.stat b { font-size: 26px; font-weight: 600; color: var(--gold); display: block; line-height: 1.1; }
.stat small { font-size: 11px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.stat__note { display: block; font-size: 9px; color: var(--gold); font-weight: 600; text-transform: none; letter-spacing: 0; margin-top: 2px; opacity: .85; }

/* ---------------------------------------------------------------- */
/* Footer                                                            */
/* ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; gap: 32px; margin-bottom: 32px; }
.footer-brand img { height: 32px; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 240px; }
.footer-col h4 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-disclaimer h4 { color: var(--muted-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.footer-disclaimer p { color: var(--muted-2); font-size: 12px; line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
    width: 38px; height: 38px; border-radius: 10px; background: var(--panel-3);
    border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center;
    color: var(--muted); transition: all .2s;
}
.footer-socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; text-align: center; color: var(--muted-2); font-size: 13px; }

/* ---------------------------------------------------------------- */
/* Mobile menu                                                       */
/* ---------------------------------------------------------------- */
.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--panel); border-left: 1px solid var(--line); z-index: 200; transform: translateX(100%); transition: transform .25s ease; padding: 24px; overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 13px 8px; font-size: 16px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-nav__close { background: none; border: 0; color: var(--text); font-size: 28px; cursor: pointer; float: right; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 199; opacity: 0; pointer-events: none; transition: opacity .25s; }
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------- */
/* Responsive                                                        */
/* ---------------------------------------------------------------- */
@media (max-width: 1080px) {
    .feature-grid { grid-template-columns: repeat(3,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
    .band { flex-wrap: wrap; gap: 22px; }
    .chains-list, .stats-list { width: 100%; }
    .stats-list { justify-content: flex-start; }
    .stat { padding: 0 16px; }
    /* PL etykiety są dłuższe niż EN — pozwól im się zawinąć zamiast wychodzić poza ramkę */
    .stat small { white-space: normal; line-height: 1.3; }
}
@media (max-width: 900px) {
    .nav { gap: 12px; justify-content: space-between; }
    .nav__links { display: none; }
    .nav__burger { display: flex; }
    /* Nick + Logout żyją w hamburgerze — w topbarze zbędne. Flaga języka zostaje. */
    .nav-hide-mobile { display: none !important; }
    .nav__actions { gap: 8px; min-width: 0; }
    /* Connect Wallet: sama ikona, żeby navbar nie wychodził poza ekran (pełny CTA jest w hero + hamburgerze) */
    .nav-cta__label { display: none; }
    .nav-cta { padding-left: 10px; padding-right: 10px; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { order: -1; min-height: 300px; }
    .duo { grid-template-columns: 1fr; }
    .gauge-row { grid-template-columns: 1fr; }
    /* Panele w gridzie muszą móc się zwęzić poniżej treści, inaczej długi tytuł rozpycha ramkę poza ekran */
    .panel { min-width: 0; }
    .panel__head .eyebrow { flex-wrap: wrap; max-width: 100%; }
    .audience-grid { grid-template-columns: 1fr; }
    .market-card-wrap { overflow-x: auto; }
    .market-table { min-width: 720px; }
}
@media (max-width: 620px) {
    .nav__logo img { height: 28px; }
    /* Nagłówek panelu pionowo — guzik (np. długie PL "Zobacz wszystkie tokeny") ląduje pod tytułem i mieści się w ramce */
    .panel__head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .panel__head .btn { white-space: normal; text-align: center; }
    /* Kafelki jedno pod drugim + kompaktowo (nie muszą być tak duże) */
    .feature-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { padding: 16px; min-height: 0; }
    .feature-card__top { gap: 10px; margin-bottom: 10px; }
    .feature-card__icon { width: 38px; height: 38px; border-radius: 10px; }
    .feature-card__icon img { width: 22px; height: 22px; }
    .feature-card h3 { font-size: 13px; }
    .feature-card p { font-size: 12.5px; margin-bottom: 12px; line-height: 1.45; }
    .feature-card__metric small { font-size: 10px; }
    .feature-card__metric b { font-size: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .band { flex-direction: column; align-items: flex-start; gap: 22px; }
    .stats-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; width: 100%; }
    .stat { padding: 0; border-left: 0 !important; }
    .stat:first-child { padding-left: 0; }
    .hero__cta .btn { flex: 1; }
    /* Pływające chipy hero: mniejsze i delikatniejsze na mobile, żeby nie zakrywały maskotki */
    .hero__chip {
        font-size: 9.5px; gap: 7px; padding: 6px 9px 6px 6px;
        border-radius: 11px; max-width: 128px; box-shadow: 0 8px 18px rgba(0,0,0,.45);
    }
    .hero__chip-ico { width: 26px; height: 26px; border-radius: 8px; }
    .hero__chip-ico img { width: 16px; height: 16px; }
    .hero__chip--tl { top: 1%; }
    .hero__chip--tr { top: 12%; }
    .hero__chip--bl { bottom: 20%; }
    .hero__chip--br { bottom: 2%; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- */
/* Wallet connect modal                                              */
/* ---------------------------------------------------------------- */
.wallet-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.wallet-modal.open { display: flex; }
.wallet-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 4, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.wallet-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--panel);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 0 1px var(--gold-line), 0 30px 70px rgba(0, 0, 0, .55);
    padding: 30px 26px 24px;
    animation: wallet-modal-in .22s ease;
}
@keyframes wallet-modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.wallet-modal__close {
    position: absolute;
    top: 14px; right: 16px;
    width: 32px; height: 32px;
    border: 0; border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 24px; line-height: 1;
    cursor: pointer;
    transition: color .15s, background .15s;
}
.wallet-modal__close:hover { color: var(--gold); background: var(--panel-3); }
.wallet-modal__head { text-align: center; margin-bottom: 20px; }
.wallet-modal__head img { height: 30px; width: auto; margin: 0 auto 14px; }
.wallet-modal__head h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; }
.wallet-modal__head p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.wallet-modal__foot { text-align: center; margin-top: 16px; }
.wallet-modal__foot a { color: var(--muted); font-size: 13px; font-weight: 600; }
.wallet-modal__foot a:hover { color: var(--gold); }

/* Buy $DBLX widget (inside the modal shell) */
.buy-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.buy-input-row { position: relative; display: flex; align-items: center; }
.buy-input {
    width: 100%; font-family: var(--font); font-size: 22px; font-weight: 800; color: var(--text);
    background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
    padding: 14px 56px 14px 16px; transition: border-color .2s ease, box-shadow .2s ease;
}
.buy-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.buy-input__suffix { position: absolute; right: 16px; font-weight: 800; color: var(--muted); pointer-events: none; }
.buy-presets { display: flex; gap: 8px; margin-top: 10px; }
.buy-presets button {
    flex: 1; padding: 8px 0; border-radius: 8px; cursor: pointer;
    background: var(--panel-3); border: 1px solid var(--line-2); color: var(--muted);
    font-family: var(--font); font-size: 13px; font-weight: 700; transition: all .15s ease;
}
.buy-presets button:hover { border-color: var(--gold); color: var(--gold); }
.buy-quote {
    margin: 16px 0; padding: 14px 16px; border-radius: var(--radius-sm);
    background: var(--panel-2); border: 1px solid var(--line);
}
.buy-quote__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.buy-quote__row + .buy-quote__row { margin-top: 8px; }
.buy-quote__row span:first-child { color: var(--muted); font-size: 13px; }
.buy-quote__row strong { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.buy-quote__row--muted span { color: var(--muted-2); font-size: 12px; }
.buy-submit { width: 100%; justify-content: center; }
.buy-status {
    display: none; margin-top: 12px; padding: 10px 13px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; text-align: center; word-break: break-word;
}
.buy-status--info { background: var(--gold-soft); border: 1px solid var(--gold-line-strong); color: var(--gold); }
.buy-status--success { background: var(--green-soft); border: 1px solid var(--green); color: #86efac; }
.buy-status--error { background: var(--red-soft); border: 1px solid var(--red); color: #fca5a5; }
.buy-status a { color: inherit; text-decoration: underline; }
.buy-slippage-note { margin-top: 12px; text-align: center; font-size: 11px; color: var(--muted-2); }

/* Wallet buttons (mirror auth.css; home.css and auth.css never load together) */
.wallet-connect__buttons { display: flex; flex-direction: column; gap: 10px; }
.wallet-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-2);
    background: var(--panel-2);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .15s;
}
.wallet-btn:hover { border-color: var(--gold); background: var(--panel-3); transform: translateY(-1px); }
.wallet-btn:disabled { cursor: default; opacity: .6; transform: none; }
.wallet-btn img { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; }
.wallet-btn span { display: flex; align-items: baseline; gap: 7px; }
.wallet-btn small { color: var(--muted); font-weight: 600; font-size: 12px; }
.wallet-btn.is-busy { position: relative; color: transparent; }
.wallet-btn.is-busy img { opacity: .3; }
.wallet-btn.is-busy::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 18px; height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid var(--gold-line);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: wallet-spin .7s linear infinite;
}
@keyframes wallet-spin { to { transform: rotate(360deg); } }
.wallet-connect__error {
    display: none;
    margin-top: 12px;
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    background: var(--red-soft);
    border: 1px solid var(--red);
    color: #fca5a5;
    font-size: 13px;
}
