:root {
  /* Surfaces */
  --bg: #fdf6f5;
  --bg-soft: #fdeeed;
  --card: #ffffff;
  --card-border: #efdfdd;
  /* Ink */
  --text: #0f0f14;
  --text-dim: #606066;
  /* Red system (token names kept so every gradient in the site re-colours automatically) */
  --accent-a: #e5231b;   /* YouTube red - primary */
  --accent-b: #ff5a4d;   /* coral - highlight */
  --accent-c: #a30f0f;   /* deep red - depth */
  --navy: #111116;
  --ink: #0b1433;        /* code / terminal surfaces */
  --ink-bar: #121f4a;
  --sky: #ffdedb;
  --green: #12a150;
  --red: #e5484d;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(90,20,20,.05), 0 14px 34px -18px rgba(150,30,25,.22);
  --shadow-lg: 0 24px 60px -24px rgba(150,30,25,.38);
  --font-body: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-head: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; }
h1, h2 { font-weight: 600; letter-spacing: -0.03em; }

a { color: inherit; text-decoration: none; }
code { font-family: 'Menlo', 'Consolas', monospace; }

/* ---------- Background blobs ---------- */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  z-index: -1;
  animation: float 14s ease-in-out infinite;
}
.blob-1 {
  width: 480px; height: 480px;
  top: -150px; left: -100px;
  background: radial-gradient(circle, #ff9a92, transparent 70%);
}
.blob-2 {
  width: 520px; height: 520px;
  bottom: -200px; right: -150px;
  background: radial-gradient(circle, #ffc2bd, transparent 70%);
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* ---------- Navbar (floating white pill) ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  padding: 12px 16px 0;
}
/* Blur + tint live on a pseudo-element. backdrop-filter directly on .navbar / .nav-inner makes it
   the containing block for the fixed mobile menu, which breaks the menu's position. */
.navbar::before { content: none; }
.nav-inner {
  position: relative; isolation: isolate;
  max-width: 1240px; margin: 0 auto; padding: 10px 12px 10px 18px; min-height: 60px; gap: 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 1px 2px rgba(90,20,20,.06), 0 16px 40px -18px rgba(150,30,25,.35);
}
.nav-inner::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
}
.brand {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  display: flex; align-items: center; gap: 8px;
}
.brand { flex-shrink: 0; }
.brand-mark { font-size: 1.3rem; }
.brand-mark.big { font-size: 2.6rem; display: block; margin-bottom: 8px; }

/* ---------- Logo lockup ---------- */
.logo-badge {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(229,35,27,0.65);
  position: relative; overflow: hidden;
}
.logo-badge::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: badgeShine 4s ease-in-out infinite;
}
@keyframes badgeShine { 0%,60%,100% { transform: translateX(-120%); } 80% { transform: translateX(120%); } }
.logo-badge.lg { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 14px; }
.logo-badge svg { position: relative; z-index: 1; }

.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--navy) 0%, var(--accent-a) 30%, var(--accent-b) 55%, var(--accent-a) 78%, var(--navy) 100%);
  background-size: 280% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brandShine 5s linear infinite;
  filter: drop-shadow(0 2px 10px rgba(229,35,27,0.22));
  display: inline-block;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.brand:hover .brand-name, .footer-brand-row:hover .brand-name {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 16px rgba(229,35,27,0.4));
}
.brand-name.lg { font-size: 2rem; }
.footer-brand-name { font-size: 1.7rem; }
@keyframes brandShine { to { background-position: -280% center; } }

.icon-svg { display: inline-flex; align-items: center; justify-content: center; }

.nav-links { display: flex; align-items: center; gap: 14px; }
.nav-links-scroll { display: flex; align-items: center; gap: 2px; }
.nav-links-account { display: flex; align-items: center; gap: 14px; }

.nav-links-scroll a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-dim); font-weight: 600; font-size: 0.85rem; white-space: nowrap;
  padding: 8px 10px; border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links-scroll a .i { opacity: 0.75; transition: opacity 0.2s ease; }
.nav-links-scroll a:hover { color: var(--text); background: rgba(229,35,27,0.07); }
.nav-links-scroll a:hover .i { opacity: 1; }
.nav-links-scroll a.active {
  color: var(--accent-a); font-weight: 700;
  background: #fdeceb;
  box-shadow: inset 0 0 0 1px rgba(229,35,27,0.18);
}
.nav-links-scroll a.active .i { opacity: 1; color: var(--accent-a); }

.nav-avatar { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; }
.nav-avatar img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--accent-a); }

.nav-wallet {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: #fdeceb; border: 1px solid #f6cdc9;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.nav-wallet:hover { background: #f9d9d6; border-color: var(--accent-b); transform: translateY(-1px); }
.nav-wallet.active { background: #f9d9d6; border-color: var(--accent-a); }
.nav-wallet svg, .nav-wallet .icon-svg { color: var(--accent-a); flex-shrink: 0; }
.nav-wallet-label { color: var(--accent-a); font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.03em; }
.nav-wallet-amt { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums; color: var(--text); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 38px; height: 38px; background: #fdf6f5; border: 1px solid var(--card-border);
  border-radius: 12px; cursor: pointer; position: relative;
}
.nav-toggle span {
  width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.93rem; cursor: pointer; font-family: inherit;
  border: none; transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(180deg, #ff4a3d 0%, var(--accent-a) 100%);
  color: white;
  box-shadow: 0 10px 24px -10px rgba(229,35,27, 0.75), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(229,35,27, 0.8), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--card-border); box-shadow: 0 6px 16px -10px rgba(150,30,25,.3); }
.btn-ghost:hover { background: #fdf6f5; }
.btn-danger-ghost { background: #fff1f1; color: #c0342f; border: 1px solid rgba(229,72,77,0.3); }
.btn-danger-ghost:hover { background: #ffe4e4; }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  max-width: 900px; margin: 0 auto; padding: 90px 24px 60px;
  text-align: center;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.9); border: 1px solid #f6cdc9; box-shadow: 0 6px 16px -10px rgba(150,30,25,.35);
  color: var(--accent-a); font-size: 0.85rem; font-weight: 700; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.1; margin-bottom: 20px; color: var(--navy); }
/* Accent word: italic serif in YouTube red */
.gradient-text {
  font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em;
  color: var(--accent-a);
}
.hero-sub { color: var(--text-dim); font-size: 1.1rem; max-width: 620px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.tok-comment { color: #7f8fbd; }
.tok-key { color: #8fc0ff; font-weight: 700; }
.tok-string { color: #8ff0b4; }

/* ---------- Fade-up animation ---------- */
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ---------- Features ---------- */
.section-title { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 30px 0 40px; color: var(--navy); }
.features, .pricing, .bot-promo, .docs, .dash, .settings, .help, .legal, .contact { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: #eeb0aa; box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Bot promo ---------- */
:root {
  --tg-blue-a: #2aabee;
  --tg-blue-b: #229ed9;
}
.bot-promo-inner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #ffe6e4 60%, #ffd2ce 100%);
  border: 1px solid var(--card-border); border-radius: 32px; padding: 44px;
  box-shadow: var(--shadow);
}
.bot-promo-inner::before {
  content: ""; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,90,77,0.35), transparent 70%);
  pointer-events: none;
}
.pill { display: inline-flex; align-items: center; gap: 6px; background: #fbe4e2; color: var(--accent-a); padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; margin-bottom: 14px; }
.pill-tg { background: rgba(42,171,238,0.14); color: #0e7bb8; }
.tg-pill-icon { width: 14px; height: 14px; flex-shrink: 0; }
.bot-promo-text h2 { font-size: 1.8rem; margin-bottom: 14px; color: var(--navy); }
.tg-gradient-text {
  font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em;
  color: var(--accent-a);
}
.bot-promo-text p { color: var(--text-dim); margin-bottom: 22px; }
.bot-promo-text code { background: rgba(229,35,27,0.08); padding: 2px 6px; border-radius: 6px; }
.btn-tg { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--tg-blue-a), var(--tg-blue-b)); border: none; }
.btn-tg-icon { width: 18px; height: 18px; flex-shrink: 0; }

.bot-promo-visual { display: flex; }
.tg-window {
  width: 100%; max-width: 340px; margin-left: auto;
  background: #17212b; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(120,20,20,0.55);
  animation: pop 0.5s ease;
}
.tg-header {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(135deg, var(--tg-blue-a), var(--tg-blue-b));
}
.tg-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tg-avatar svg { width: 18px; height: 18px; }
.tg-header-info { display: flex; flex-direction: column; line-height: 1.25; }
.tg-header-name { color: #fff; font-weight: 600; font-size: 0.92rem; }
.tg-header-status { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.85); font-size: 0.75rem; }
.tg-dot { width: 6px; height: 6px; border-radius: 50%; background: #7CFC9A; display: inline-block; }
.tg-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px 24px; background: #0e1621; }

.chat-bubble { position: relative; padding: 10px 14px; border-radius: 16px; font-size: 0.9rem; max-width: 85%; animation: pop 0.4s ease; }
.bubble-in { background: #24303d; color: #e9edf1; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble-out { background: linear-gradient(135deg, #1e6fe8, #4a8dff); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble-time { display: block; text-align: right; font-size: 0.68rem; opacity: 0.65; margin-top: 4px; }
.tg-audio-mock { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.tg-play { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; }
.tg-waveform {
  flex: 1; height: 18px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.55) 0 2px, transparent 2px 5px);
  opacity: 0.8;
}
@keyframes pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
.dash-promo { margin-top: 40px; }

/* ---------- Auth screen ---------- */
.auth-screen { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 32px;
  padding: 48px 40px; max-width: 420px; width: 100%; text-align: center;
  box-shadow: var(--shadow-lg);
}
.auth-orb {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-b), transparent 70%);
  filter: blur(60px); opacity: 0.6; animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.75; } }
.auth-card h1 { font-size: 1.6rem; margin: 8px 0 10px; }
.auth-card p { color: var(--text-dim); margin-bottom: 28px; font-size: 0.95rem; }
.auth-note { margin-top: 20px; font-size: 0.82rem; }
.auth-note a { color: var(--accent-a); text-decoration: underline; }

.google-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 14px; border-radius: 14px;
  background: white; color: #1f1f1f; font-weight: 600; font-size: 0.98rem;
  border: 1px solid #ecdcdb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 26px -14px rgba(229,35,27,0.45);
}
.google-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(229,35,27,0.5); }
.google-btn-shine {
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(229,35,27,0.10), transparent);
  animation: shine 2.6s ease-in-out infinite;
}
@keyframes shine { 0% { left: -60%; } 100% { left: 130%; } }

/* ---------- Locked dashboard preview (shown to signed-out visitors) ---------- */
.locked-preview { max-width: 800px; margin: 0 auto; padding: 10px 24px 70px; text-align: center; }
.locked-preview-label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 20px;
  color: var(--accent-a); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em;
}
.locked-card { position: relative; overflow: hidden; opacity: 0.9; }
.locked-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(243,247,255,0.75) 100%);
  pointer-events: none;
}
.blur-value { filter: blur(5px); -webkit-user-select: none; user-select: none; transition: filter 0.3s ease; }
.locked-card:hover .blur-value { filter: blur(3px); }
.locked-preview-note { color: var(--text-dim); font-size: 0.9rem; margin-top: 22px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Dashboard ---------- */
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.dash-header h1 { font-size: 1.9rem; margin-bottom: 4px; color: var(--navy); }
.dash-header p { color: var(--text-dim); }
.dash-avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--accent-a); }

.stats { margin-bottom: 30px; }
.stat-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.stat-label { color: var(--text-dim); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-value { font-size: 1.6rem; font-weight: 700; font-family: var(--font-head); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; }
.badge-green { background: rgba(18,161,80,0.12); color: #0f8a44; }
.badge-red { background: rgba(229,72,77,0.12); color: #c0342f; }
.badge-gray { background: #f3eeee; color: var(--text-dim); }

.key-panel { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow); }
.key-panel h2 { margin-bottom: 6px; }
.key-panel > p { color: var(--text-dim); margin-bottom: 18px; font-size: 0.92rem; }
.key-box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-soft); border: 1px dashed #eeb0aa; border-radius: 14px;
  padding: 14px 18px; margin-bottom: 18px; overflow-x: auto;
}
.key-box code { color: var(--accent-a); font-size: 0.95rem; font-weight: 600; white-space: nowrap; }
.key-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.key-warning { margin-top: 14px; font-size: 0.82rem; color: var(--text-dim); }

/* ---------- Usage overview (dashboard charts) ---------- */
.usage-panel { margin-bottom: 30px; }
.dash-plans { margin-bottom: 30px; }
.usage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.usage-head h2 { font-size: 1.4rem; }
.usage-head p { color: var(--text-dim); font-size: .88rem; margin-top: 2px; }
.usage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.u-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px; min-width: 0; box-shadow: var(--shadow); }
.u-card h3 { font-size: .96rem; margin-bottom: 14px; }
.u-wide { grid-column: 1 / -1; }
.u-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.u-total { font: 800 2.2rem var(--font-head); letter-spacing: -.02em; }
.u-total-label { color: var(--text-dim); font-size: .85rem; margin-left: 10px; }

/* 7-day trend bars */
.eq-chart { display: flex; align-items: flex-end; gap: 10px; height: 112px; padding-top: 14px; }
.eq-bar-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.eq-bar { width: 100%; max-width: 28px; min-height: 2px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent-b), var(--accent-a)); transition: height .6s cubic-bezier(.22,1,.36,1); }
.eq-bar-day { font-size: .72rem; color: var(--text-dim); }

/* Audio vs video donut */
.donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; padding-top: 4px; }
.donut-ring {
  --audio-deg: 0deg; width: 104px; height: 104px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--accent-b) 0deg var(--audio-deg), var(--accent-c) var(--audio-deg) 360deg);
  display: flex; align-items: center; justify-content: center; transition: background .3s ease;
}
.donut-hole { width: 66px; height: 66px; border-radius: 50%; background: var(--card); }
.donut-legend { display: flex; flex-direction: column; gap: 10px; font-size: .88rem; }
.legend-row { display: flex; align-items: center; gap: 8px; color: var(--text-dim); }
.legend-row b { color: var(--text); margin-left: auto; padding-left: 16px; font-family: var(--font-head); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-audio { background: var(--accent-b); }
.dot-video { background: var(--accent-c); }

/* Shared lists: top downloads + recent activity */
.song-list, .activity-list { list-style: none; display: flex; flex-direction: column; }
.song-list li, .activity-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--card-border); font-size: .87rem; }
.song-list li:last-child, .activity-list li:last-child { border-bottom: none; }
.song-rank { width: 20px; height: 20px; border-radius: 50%; background: #fbe4e2; color: var(--accent-a); font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.song-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-count { color: var(--text-dim); font-size: .8rem; flex-shrink: 0; }
.activity-list li { justify-content: space-between; }
.activity-list li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-meta { color: var(--text-dim); font-size: .76rem; flex-shrink: 0; margin-left: 10px; }
.kind-tag { font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 8px; }
.kind-audio { background: rgba(255,90,77,.16); color: #e5231b; }
.kind-video { background: rgba(120,20,20,.10); color: #a30f0f; }
.empty-state { color: var(--text-dim); font-size: .86rem; text-align: center; padding: 20px 0; }

@media (max-width: 900px) {
  .usage-grid { grid-template-columns: 1fr; }
  .u-wide { grid-column: 1; }
}

/* ---------- Docs ---------- */
.doc-copy-box { margin-bottom: 0; }
.docs h1 { font-size: 2.2rem; margin-bottom: 10px; color: var(--navy); }
.docs > p { color: var(--text-dim); margin-bottom: 36px; }
.doc-block { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; box-shadow: var(--shadow); }
.doc-block h2 { font-size: 1.25rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.doc-block p { color: var(--text-dim); margin-bottom: 14px; }
.doc-block pre { background: var(--ink); color: #dbe6ff; border-radius: 14px; padding: 16px; overflow-x: auto; margin-bottom: 14px; font-size: 0.86rem; }
.doc-locked { background: var(--card); border: 1px dashed #eeb0aa; border-radius: var(--radius); padding: 44px 26px; text-align: center; }
.doc-locked-icon { font-size: 2rem; margin-bottom: 10px; }
.doc-locked h2 { font-size: 1.25rem; margin-bottom: 8px; }
.doc-locked p { color: var(--text-dim); max-width: 460px; margin: 0 auto 22px; }
.method-tag { background: rgba(18,161,80,0.14); color: #0f8a44; padding: 2px 10px; border-radius: 6px; font-size: 0.8rem; font-family: monospace; }
.param-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 0.88rem; }
.param-table th, .param-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--card-border); }
.param-table th { color: var(--text-dim); font-weight: 600; }

/* ---------- Settings ---------- */
.settings h1 { font-size: 2rem; margin-bottom: 24px; color: var(--navy); }
.settings-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; box-shadow: var(--shadow); }
.settings-card h2 { font-size: 1.1rem; margin-bottom: 8px; }
.settings-card p { color: var(--text-dim); margin-bottom: 14px; font-size: 0.92rem; }
.settings-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--card-border); }
.settings-row:last-child { border-bottom: none; }
.settings-label { color: var(--text-dim); }

/* ---------- Help / FAQ ---------- */
.help h1 { font-size: 2rem; margin-bottom: 24px; color: var(--navy); }
.faq-item { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 14px; box-shadow: var(--shadow); }
.faq-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.faq-item p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Legal ---------- */
.legal h1 { font-size: 2.1rem; margin: 14px 0 14px; color: var(--navy); }
.legal-intro { color: var(--text-dim); max-width: 700px; margin-bottom: 36px; font-size: 1rem; }
.legal-block {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 24px 26px; margin-bottom: 18px; box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.legal-block:hover { transform: translateY(-4px); border-color: #eeb0aa; box-shadow: 0 20px 44px -20px rgba(229,35,27,0.4); }
.legal-block h2 { font-size: 1.12rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.legal-icon { font-size: 1.2rem; line-height: 1; }
.legal-block p { color: var(--text-dim); margin-bottom: 10px; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block strong { color: var(--text); }
.legal-block a { color: var(--accent-a); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.contact-card { text-align: center; max-width: 420px; }
.contact-card p { color: var(--text-dim); margin-bottom: 26px; }
.telegram-btn { background: linear-gradient(135deg, #229ED9, #1b7fb0); box-shadow: 0 8px 24px -8px rgba(34,158,217,0.6); }

/* ---------- Social icon rows (dashboard + footer) ---------- */
.dash-socials, .footer-socials { display: flex; justify-content: center; align-items: center; gap: 28px; }
.dash-socials { margin-top: 32px; }
.dash-socials a, .footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--card-border); box-shadow: 0 8px 20px -12px rgba(150,30,25,.35);
  position: relative; overflow: hidden;
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.dash-socials a::before, .footer-socials a::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,77,0.35), transparent 70%);
  opacity: 0; transition: opacity 0.25s ease;
}
.dash-socials a:hover, .footer-socials a:hover {
  transform: translateY(-5px) scale(1.08); border-color: var(--accent-b);
  background: #fdf6f5;
  box-shadow: 0 12px 26px -10px rgba(229,35,27,0.5);
}
.dash-socials a:hover::before, .footer-socials a:hover::before { opacity: 1; }
.dash-socials a svg, .footer-socials a svg { position: relative; z-index: 1; transition: transform 0.25s ease; }
.dash-socials a:hover svg, .footer-socials a:hover svg { transform: scale(1.1); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--card-border); border-radius: 36px 36px 0 0; margin-top: 40px; padding: 56px 24px 34px; box-shadow: 0 -20px 50px -40px rgba(150,30,25,.35); }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 30px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-brand p { color: var(--text-dim); font-weight: 400; font-size: 0.92rem; margin-top: 4px; font-family: var(--font-body); }
.footer-socials { margin: 0 0 34px; }
.footer-links { display: flex; gap: 22px; justify-content: center; margin: 0 0 26px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; font-weight: 600; position: relative; padding-bottom: 2px; transition: color 0.2s ease; }
.footer-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b)); transition: width 0.25s ease;
}
.footer-links a:hover { color: var(--accent-a); }
.footer-links a:hover::after { width: 100%; }
.disclaimer { color: #857a7c; font-size: 0.8rem; max-width: 640px; margin: 0 auto 14px; line-height: 1.6; }
.copyright { color: #a39a9c; font-size: 0.8rem; }

/* ---------- Scroll-reveal (JS toggles reveal-in via IntersectionObserver) ---------- */
.reveal-init { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,1,.36,1); }
.reveal-init.reveal-in { opacity: 1; transform: translateY(0); }
.feature-card, .stat-card, .doc-block { will-change: transform; transform-style: preserve-3d; }

/* ---------- Admin: login screen ---------- */
.admin-lock-badge { background: linear-gradient(135deg, var(--accent-c), var(--accent-a)); }
.admin-error {
  background: #fff1f1; border: 1px solid rgba(229,72,77,0.35); color: #b42318;
  border-radius: 10px; padding: 10px 14px; font-size: 0.88rem; margin-bottom: 18px;
}
.admin-login-form { display: flex; flex-direction: column; gap: 14px; }
.admin-input {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: #fdf9f9; border: 1px solid var(--card-border); color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.admin-input:focus {
  outline: none; border-color: var(--accent-a);
  box-shadow: 0 0 0 3px rgba(229,35,27,0.16);
}
.admin-login-btn { width: 100%; justify-content: center; }

/* ---------- Admin: dashboard ---------- */
.admin { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; }
.admin-header-actions { display: flex; gap: 10px; flex-shrink: 0; }
.admin-toast {
  background: rgba(18,161,80,0.1); border: 1px solid rgba(18,161,80,0.35); color: #0f7a3d;
  border-radius: 12px; padding: 12px 16px; font-size: 0.9rem; margin-bottom: 24px;
}
.admin-settings-panel { margin-top: 10px; }
.admin-settings-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.admin-settings-form .admin-input { flex: 1; min-width: 240px; }

.admin-users-panel { padding: 30px; }
.admin-users-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.admin-users-header h2 { margin-bottom: 6px; }
.admin-users-header p { color: var(--text-dim); font-size: 0.92rem; }
.admin-search { max-width: 260px; }

.admin-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--card-border); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; white-space: nowrap; }
.admin-table thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--bg-soft); color: var(--text-dim); font-weight: 600;
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--card-border);
}
.admin-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--card-border); }
.admin-table tbody tr { transition: background 0.15s ease; }
.admin-table tbody tr:hover { background: rgba(229,35,27,0.04); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-user-cell { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.admin-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.admin-avatar-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  color: white; font-size: 0.78rem; font-weight: 700;
}
.admin-email-cell { color: var(--text-dim); }
.admin-key { color: var(--accent-a); font-size: 0.82rem; }
.admin-actions-cell { display: flex; gap: 8px; }
.admin-empty { text-align: center; color: var(--text-dim); padding: 30px !important; white-space: normal; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .bot-promo-inner { grid-template-columns: 1fr; }
}

/* Desktop: keep the signed-in bar (links + wallet + avatar + logout) inside the pill */
.nav-wallet-label { display: none; }
@media (min-width: 1101px) and (max-width: 1400px) {
  .nav-links-scroll a .i { display: none; }   /* icons stay in the mobile menu + wide screens */
  .nav-links-scroll a { padding: 8px 9px; }
}

/* Mobile / narrow-screen menu. Collapses earlier than the grids above so the
   full link row never gets squeezed. */
@media (max-width: 1100px) {
  .nav-links {
    position: fixed; top: 84px; left: 12px; right: 12px; bottom: 12px;
    background: var(--card); border: 1px solid var(--card-border); border-radius: 28px;
    box-shadow: 0 30px 70px -20px rgba(150,30,25,0.45);
    flex-direction: column; align-items: stretch;
    padding: 18px 16px 24px; gap: 0; overflow-y: auto;
    transform: translateX(100%);
    /* Fully hidden while closed. transform alone leaves the menu parked just off-screen,
       and zooming out reveals it without any click. */
    visibility: hidden; opacity: 0; pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .nav-links.open {
    transform: translateX(0); visibility: visible; opacity: 1; pointer-events: auto;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s;
  }
  .nav-toggle { display: flex; }
  .nav-wallet-label { display: inline; }

  .nav-links-scroll { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav-links-scroll a { padding: 13px 14px; font-size: 1rem; border-radius: 14px; }
  .nav-links-scroll a .i { opacity: 0.85; }

  .nav-links-account {
    flex-direction: column; align-items: stretch; width: 100%; gap: 10px;
    margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--card-border);
  }
  .nav-wallet { justify-content: space-between; width: 100%; padding: 12px 16px; }
  .nav-avatar { padding: 10px 14px; background: #fdf6f5; border-radius: 14px; }
  .nav-links-account .btn { width: 100%; justify-content: center; }
}

/* ---------- Live icon system (replaces emoji site-wide) ---------- */
.i { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; vertical-align: -4px; color: currentColor; }
.i svg { display: block; width: 100%; height: 100%; }

.i-wave { animation: iconWave 2.6s ease-in-out infinite; transform-origin: 70% 75%; color: #f5a524; }
@keyframes iconWave {
  0%, 100% { transform: rotate(0deg); }
  12% { transform: rotate(16deg); } 24% { transform: rotate(-6deg); }
  36% { transform: rotate(16deg); } 48% { transform: rotate(-4deg); }
  60% { transform: rotate(8deg); } 75%, 100% { transform: rotate(0deg); }
}
.i-warning { color: #f5a524; animation: iconPulseSoft 2.2s ease-in-out infinite; }
.i-info { color: #0ea5e9; animation: iconPulseSoft 2.6s ease-in-out infinite; }
@keyframes iconPulseSoft { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.i-check { color: var(--green); }
.i-check svg path { stroke-dasharray: 26; stroke-dashoffset: 26; animation: iconDraw .5s ease forwards; }
.i-cross { color: var(--red); }
.i-cross svg path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: iconDraw .4s ease forwards; }
@keyframes iconDraw { to { stroke-dashoffset: 0; } }
.i-lock, .i-unlocked { animation: iconBob 3.5s ease-in-out infinite; }
.i-unlocked { color: var(--green); }
.i-tools { animation: iconWrench 3s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes iconWrench { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-14deg); } }
.i-refresh { animation: iconSpin 3.6s linear infinite; }
@keyframes iconSpin { to { transform: rotate(360deg); } }
.i-doublecheck, .i-send { color: var(--tg-blue-a, #37AEE2); }
.i-search, .i-bolt, .i-headphones, .i-chart, .i-sliders, .i-globe, .i-note, .i-key,
.i-download, .i-box, .i-link, .i-mobile, .i-film, .i-shield, .i-trending, .i-chat {
  animation: iconPulseGentle 3.4s ease-in-out infinite;
}
@keyframes iconPulseGentle { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }

.legal-icon .i, .doc-locked-icon .i, .lock-icon .i { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  .i-wave, .i-warning, .i-info, .i-tools, .i-refresh,
  .i-search, .i-bolt, .i-headphones, .i-chart, .i-sliders, .i-globe, .i-note, .i-key,
  .i-download, .i-box, .i-link, .i-mobile, .i-film, .i-shield, .i-trending, .i-chat,
  .i-lock, .i-unlocked { animation: none !important; }
  .i-check svg path, .i-cross svg path { animation: none !important; stroke-dashoffset: 0; }
}

/* ---------- Pricing slider (shared: home page + dashboard "Available plans") ---------- */
.pricing-toggle-note { text-align: center; color: var(--text-dim); font-size: .88rem; margin: -18px auto 30px; max-width: 520px; }

.pricing-slider { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pricing-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 22px 2px 14px; flex: 1; scrollbar-width: none;
}
.pricing-track::-webkit-scrollbar { display: none; }
.pricing-track .price-card {
  flex: 0 0 auto; width: min(270px, 78vw); scroll-snap-align: start;
}
.slider-arrow {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--card-border); color: var(--text); box-shadow: 0 8px 20px -12px rgba(150,30,25,.4);
  cursor: pointer; transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}
.slider-arrow:hover { background: #fdeceb; border-color: var(--accent-b); }
.slider-arrow:disabled { opacity: .35; cursor: default; }
.pricing-dots { display: flex; justify-content: center; gap: 7px; margin-bottom: 6px; }
.pricing-dot { width: 7px; height: 7px; border-radius: 50%; background: #e5cfcd; border: none; cursor: pointer; padding: 0; transition: background .2s ease, transform .2s ease; }
.pricing-dot.active { background: var(--accent-a); transform: scale(1.3); }
.pricing-swipe-hint { text-align: center; color: var(--text-dim); font-size: .78rem; display: none; align-items: center; justify-content: center; gap: 6px; margin-bottom: 18px; }
@media (max-width: 720px) {
  .slider-arrow { display: none; }
  .pricing-swipe-hint { display: flex; }
}

.price-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 24px; padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: #eeb0aa; box-shadow: var(--shadow-lg); }
.price-card.best {
  border-color: rgba(229,35,27,.45);
  background: linear-gradient(180deg, #fdeceb, var(--card) 55%);
  transform: scale(1.035);
  box-shadow: 0 22px 54px -22px rgba(229,35,27,.45);
}
.price-card.best:hover { transform: scale(1.035) translateY(-6px); box-shadow: 0 28px 60px -20px rgba(229,35,27,.55); }
.price-flag {
  position: absolute; top: -11px; left: 24px; padding: 3px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}
.price-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, #fdeceb, #f8d3cf);
  border: 1px solid #f4c3be;
  display: flex; align-items: center; justify-content: center; color: var(--accent-a);
}
.price-card.best .price-icon { background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); border-color: transparent; color: #fff; }
.price-card h3 { font-size: 1.2rem; }
.price-desc { color: var(--text-dim); font-size: .86rem; min-height: 1.4em; }
.price-amount { font: 800 2.3rem var(--font-head); letter-spacing: -.03em; line-height: 1; }
.price-amount small { font-size: .85rem; color: var(--text-dim); font-weight: 500; letter-spacing: 0; }
.price-specs { list-style: none; display: grid; gap: 9px; font-size: .9rem; }
.price-specs li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.price-specs .i { color: var(--accent-a); flex-shrink: 0; }
.price-card .btn { justify-content: center; width: 100%; margin-top: auto; }
.pricing-empty { text-align: center; color: var(--text-dim); padding: 40px 24px; background: var(--card); border: 1px dashed #eeb0aa; border-radius: 24px; }
.pricing-foot { text-align: center; color: var(--text-dim); font-size: .85rem; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pricing-foot a { color: var(--accent-a); text-decoration: underline; text-underline-offset: 3px; }


/* =====================================================================
   Navbar frame — deep "navy red" (dark crimson) pill with light text.
   Change the three --frame-* values to re-colour the whole bar.
===================================================================== */
:root {
  --frame-a: #2a0710;
  --frame-b: #5a0c18;
  --frame-c: #8c1421;
  --frame-text: rgba(255, 255, 255, .78);
  --frame-line: rgba(255, 255, 255, .14);
}
.nav-inner { border: 1px solid transparent; box-shadow: 0 1px 2px rgba(40, 5, 10, .25), 0 18px 44px -16px rgba(90, 12, 24, .7); }
.nav-inner::before {
  inset: -1px;   /* cover the border too, so no light rim shows around the dark bar */
  background: linear-gradient(115deg, var(--frame-a) 0%, var(--frame-b) 52%, var(--frame-c) 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* logo + name (the name's gradient used dark navy, which would vanish on a dark bar) */
.nav-inner .logo-badge { background: linear-gradient(135deg, #ff6a5e, var(--accent-a)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 6px 16px -4px rgba(0, 0, 0, .55); }
.nav-inner .brand-name {
  background: linear-gradient(90deg, #ffffff 0%, #ffd9d5 30%, #ff9f96 55%, #ffd9d5 78%, #ffffff 100%);
  background-size: 280% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
}

/* links */
.nav-links-scroll a { color: var(--frame-text); }
.nav-links-scroll a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-links-scroll a.active { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.nav-links-scroll a.active .i { color: #fff; }

/* wallet, avatar, buttons */
.nav-wallet { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); }
.nav-wallet:hover, .nav-wallet.active { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .45); }
.nav-wallet svg, .nav-wallet .icon-svg, .nav-wallet-label { color: #ffd3cf; }
.nav-wallet-amt { color: #fff; }
.nav-avatar { color: #fff; }
.nav-avatar img { border-color: #ff8a80; }
.nav-inner .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.nav-inner .btn-ghost:hover { background: rgba(255, 255, 255, .22); }

/* hamburger */
.nav-toggle { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }
.nav-toggle span { background: #fff; }

/* narrow screens: the dropdown menu uses the same dark frame */
@media (max-width: 1100px) {
  .nav-links {
    background: linear-gradient(160deg, var(--frame-a) 0%, var(--frame-b) 60%, var(--frame-c) 100%);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: 0 30px 70px -20px rgba(60, 5, 15, .75);
  }
  .nav-links-account { border-top-color: var(--frame-line); }
  .nav-avatar { background: rgba(255, 255, 255, .1); }
}
