/* ═══ HYPE BOT — dizainas v2 (Kira 🦊) ═══ uždedamas ant style.css, kai html.ui-v2 */
html.ui-v2 {
  --bg:#0a0d14; --surface:#121723; --surface2:#171d2c; --border:#232a3b;
  --text:#e8edf6; --sub:#8b95a9; --accent:#8b7bff; --accent2:#4fd1c5;
  --green:#34d399; --red:#fb7185; --yellow:#fbbf24; --blue:#60a5fa;
  --radius:14px; --shadow:0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px rgba(0,0,0,.35);
  --mono:"JetBrains Mono",ui-monospace,monospace;
}
html.ui-v2[data-theme="light"] {
  --bg:#f4f6fb; --surface:#ffffff; --surface2:#f8fafd; --border:#e3e8f1;
  --text:#0f172a; --sub:#64748b; --accent:#6d5cf6; --accent2:#0d9488;
  --green:#059669; --red:#e11d48; --yellow:#d97706;
  --shadow:0 1px 2px rgba(15,23,42,.04), 0 6px 20px rgba(15,23,42,.06);
}
html.ui-v2 body {
  font-family:"Inter",-apple-system,"Segoe UI",sans-serif; font-size:14px; background:var(--bg);
  background-image:radial-gradient(1200px 500px at 10% -10%, rgba(139,123,255,.10), transparent 60%),
                   radial-gradient(900px 400px at 100% 0%, rgba(79,209,197,.07), transparent 60%);
  background-attachment:fixed; -webkit-font-smoothing:antialiased;
}
html.ui-v2[data-theme="light"] body { background-image:none; }

/* Preview juosta */
.v2-banner { display:flex; gap:10px; align-items:center; justify-content:center; flex-wrap:wrap;
  padding:7px 12px; font-size:12px; background:linear-gradient(90deg,var(--accent),var(--accent2)); color:#fff; }
.v2-banner a { background:rgba(255,255,255,.18); padding:3px 10px; border-radius:20px; font-weight:600; }
.v2-banner a:hover { background:rgba(255,255,255,.3); }

/* Navbar */
html.ui-v2 .navbar { background:color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); padding:12px 22px; }
html.ui-v2 .nav-left::before { content:"⚡ HYPE BOT"; font-weight:800; letter-spacing:.02em; margin-right:12px;
  background:linear-gradient(90deg,var(--accent),var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
html.ui-v2 .nav-links { background:var(--surface2); border:1px solid var(--border); border-radius:12px; padding:3px; gap:2px; }
html.ui-v2 .nav-icon { font-size:16px; padding:6px 9px; border-radius:9px; opacity:.55; }
html.ui-v2 .nav-icon.active { opacity:1; background:var(--surface); box-shadow:var(--shadow); }

html.ui-v2 .container { max-width:1180px; padding:26px 18px 60px; }

/* Kortelės */
html.ui-v2 .card { background:linear-gradient(180deg,var(--surface),var(--surface2)); border:1px solid var(--border);
  border-radius:var(--radius); box-shadow:var(--shadow); padding:16px 18px; transition:border-color .2s, transform .2s; }
html.ui-v2 .card:hover { border-color:color-mix(in srgb,var(--accent) 35%, var(--border)); }
html.ui-v2 .card-label { font-size:11px; font-weight:600; letter-spacing:.08em; color:var(--sub); margin-bottom:8px; }
html.ui-v2 .card-value { font-family:var(--mono); font-size:24px; font-weight:700; letter-spacing:-.02em;
  font-variant-numeric:tabular-nums; }
html.ui-v2 .card-sub { font-size:12px; margin-top:6px; }

/* Metrikos: pirma kortelė — „hero" */
html.ui-v2 .metrics-row { grid-template-columns:repeat(6,1fr); gap:12px; margin-bottom:28px; }
html.ui-v2 .metrics-row > .card { position:relative; overflow:hidden; }
html.ui-v2 .metrics-row > .card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--accent); opacity:.8; }
html.ui-v2 .metrics-row > .card:nth-child(2)::before { background:var(--green); }
html.ui-v2 .metrics-row > .card:nth-child(3)::before { background:var(--accent2); }
html.ui-v2 .metrics-row > .card:nth-child(4)::before { background:var(--blue); }
html.ui-v2 .metrics-row > .card:nth-child(5)::before { background:var(--yellow); }
html.ui-v2 .metrics-row > .card:nth-child(6)::before { background:var(--green); }
html.ui-v2 .metrics-row > .card:first-child { grid-column:span 2;
  background:linear-gradient(135deg, color-mix(in srgb,var(--accent) 22%, var(--surface)), var(--surface2)); }
html.ui-v2 .metrics-row > .card:first-child .card-value { font-size:34px; }
html.ui-v2 .metrics-row > .card:nth-child(2) { grid-column:span 2; }
html.ui-v2 .metrics-row > .card:nth-child(2) .card-value { font-size:34px; }

/* Sekcijų antraštės */
html.ui-v2 .section-title { font-size:12px; font-weight:700; letter-spacing:.1em; color:var(--text);
  border-bottom:none; margin:30px 0 12px; padding:0; }
html.ui-v2 .section-title::after { content:""; display:block; height:1px; margin-top:10px;
  background:linear-gradient(90deg,var(--border),transparent); }

/* TF mygtukai — segmentuotas valdiklis */
html.ui-v2 .tf-btn { border:none; border-radius:8px; padding:5px 11px; font-size:11px; font-weight:600;
  background:transparent; color:var(--sub); }
html.ui-v2 .section-title > div:has(.tf-btn) { background:var(--surface2); border:1px solid var(--border);
  border-radius:11px; padding:3px; gap:2px !important; }
html.ui-v2 .tf-btn:hover { color:var(--text); background:var(--border); }
html.ui-v2 .tf-btn-active { background:var(--accent) !important; color:#fff !important;
  box-shadow:0 4px 14px color-mix(in srgb,var(--accent) 45%, transparent); }

/* Grid kortelės */
html.ui-v2 .grid-cards-wrap { gap:12px; }
html.ui-v2 .gcard { background:linear-gradient(180deg,var(--surface),var(--surface2)); border:1px solid var(--border);
  border-radius:var(--radius); padding:14px 16px; box-shadow:var(--shadow); position:relative; overflow:hidden; }
html.ui-v2 .gcard::after { content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--green); }
html.ui-v2 .gcard-wait::after { background:var(--border); }
html.ui-v2 .gcard-off { opacity:.45; }
html.ui-v2 .gcard-name { font-weight:700; }
html.ui-v2 .gcard-prices strong, html.ui-v2 .gcard-wait span[style*="font-weight:600"] { font-family:var(--mono); }
html.ui-v2 .gcard-bar-wrap { height:6px; border-radius:6px; background:var(--border); }
html.ui-v2 .gcard-bar { border-radius:6px; }

/* Ženkliukai */
html.ui-v2 .badge { border-radius:8px; font-size:10px; letter-spacing:.04em; text-transform:uppercase; padding:3px 8px; }

/* Lentelės (perrašom inline stilius) */
html.ui-v2 table { font-variant-numeric:tabular-nums; }
html.ui-v2 table thead tr { background:var(--surface2) !important; }
html.ui-v2 table th { font-weight:600 !important; letter-spacing:.08em; }
html.ui-v2 table td { font-family:var(--mono); font-size:12px; }
html.ui-v2 table tbody tr { transition:background .15s; }
html.ui-v2 table tbody tr:hover { background:color-mix(in srgb,var(--accent) 7%, transparent); }

html.ui-v2 .dca-grid { grid-template-columns:repeat(4,1fr); gap:12px; }
html.ui-v2 .progress-bar { height:7px; border-radius:7px; }
html.ui-v2 .progress-fill { background:linear-gradient(90deg,var(--accent),var(--accent2)); }

/* Login */
html.ui-v2 .login-card { border-radius:20px; padding:40px 34px; background:linear-gradient(180deg,var(--surface),var(--surface2)); }
html.ui-v2 .btn-primary { background:linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--accent) 60%, var(--accent2)));
  border-radius:10px; padding:12px; }
html.ui-v2 .form-input { border-radius:10px; }

/* Investuotojai / DUK */
html.ui-v2 .inv-card, html.ui-v2 details { border-radius:var(--radius); background:linear-gradient(180deg,var(--surface),var(--surface2)); box-shadow:var(--shadow); }

/* Responsive */
@media (max-width:900px) {
  html.ui-v2 .metrics-row { grid-template-columns:repeat(2,1fr); }
  html.ui-v2 .metrics-row > .card:first-child, html.ui-v2 .metrics-row > .card:nth-child(2) { grid-column:span 2; }
  html.ui-v2 .dca-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px) {
  html.ui-v2 .container { padding:16px 12px 50px; }
  html.ui-v2 .navbar { padding:10px 12px; }
  html.ui-v2 .greeting { display:none; }
  html.ui-v2 .card-value { font-size:19px; }
  html.ui-v2 .metrics-row > .card:first-child .card-value, html.ui-v2 .metrics-row > .card:nth-child(2) .card-value { font-size:28px; }
  html.ui-v2 .section-title { flex-direction:column; align-items:flex-start !important; }
}

/* Login logotipas — toks pat gradientas kaip navbar'e */
html.ui-v2 .login-logo { font-size:0; margin-bottom:10px; }
html.ui-v2 .login-logo::before { content:"⚡"; font-size:40px; display:inline-block;
  filter:drop-shadow(0 6px 18px color-mix(in srgb,var(--accent) 55%, transparent)); }
html.ui-v2 .login-title { font-size:28px; font-weight:800; letter-spacing:.02em; margin-bottom:6px;
  background:linear-gradient(90deg,var(--accent),var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* Footer v2 */
html.ui-v2 .hb-footer { max-width:1180px; border-top:none; position:relative; padding-top:30px; }
html.ui-v2 .hb-footer::before { content:""; position:absolute; left:10%; right:10%; top:0; height:1px;
  background:linear-gradient(90deg,transparent,var(--accent),var(--accent2),transparent); opacity:.5; }
html.ui-v2 .hb-quote { font-size:18px; background:linear-gradient(90deg,var(--accent),var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent; }
html.ui-v2 .hb-brand { background:linear-gradient(90deg,var(--accent),var(--accent2)); -webkit-background-clip:text;
  background-clip:text; color:transparent; font-weight:800; }
@media (max-width:600px) { html.ui-v2 .hb-quote { font-size:15px; } .hb-dot { display:none; } .hb-foot-row { gap:4px 12px; } }

/* TF mygtukai dešinėje: antraštės skiriamoji linija (::after) buvo trečias flex elementas ir stūmė mygtukus į vidurį */
html.ui-v2 .section-title:has(> div > .tf-btn)::after { flex-basis:100%; margin-top:2px; }
.section-title > div:has(> .tf-btn) { margin-left:auto; }

/* Coin juosta su tikromis piktogramomis */
.coinbar { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 18px; }
.coin-tab { display:inline-flex; align-items:center; gap:8px; padding:7px 16px 7px 8px; border-radius:999px;
  border:1px solid var(--border); background:var(--surface2, var(--surface)); color:var(--sub);
  font-weight:700; font-size:13px; letter-spacing:.03em; text-decoration:none; transition:all .15s; }
.coin-tab img { width:22px; height:22px; border-radius:50%; display:block; flex-shrink:0; }
.coin-tab:hover { color:var(--text); border-color:color-mix(in srgb, var(--accent) 50%, var(--border)); transform:translateY(-1px); }
.coin-tab-active { color:var(--text); border-color:var(--accent);
  background:color-mix(in srgb, var(--accent) 14%, var(--surface2, var(--surface)));
  box-shadow:0 4px 14px color-mix(in srgb, var(--accent) 30%, transparent); }
@media (max-width:600px) { .coin-tab { padding:6px 12px 6px 6px; font-size:12px; } .coin-tab img { width:20px; height:20px; } }
.coin-tab img[src$="/HYPE.svg"], .coin-tab img[src$="/ETH.svg"] { background:#072723; padding:3px; box-sizing:border-box; }
