/* Rishi Law Firm — Futuristic / Premium Tech theme
   Cyan–teal primary + warm gold legal accent. Overrides purple Inter shell. */

:root {
  --bg: #050a14;
  --bg2: #0a1220;
  --panel: rgba(12, 22, 40, 0.72);
  --panel2: #0e1a2e;
  --text: #e8f1ff;
  --muted: #8fa3bd;
  --line: rgba(94, 234, 212, 0.14);
  --brand: #2dd4bf;
  --brand2: #22d3ee;
  --gold: #e8b84a;
  --gold-soft: rgba(232, 184, 74, 0.16);
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(45, 212, 191, 0.06);
  --radius: 16px;
  --glow-cyan: 0 0 24px rgba(34, 211, 238, 0.28);
  --font-display: "Syne", "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", "Noto Sans Tamil", ui-sans-serif, system-ui, sans-serif;
  --mesh-a: rgba(34, 211, 238, 0.14);
  --mesh-b: rgba(232, 184, 74, 0.08);
  --mesh-c: rgba(45, 212, 191, 0.1);
  --grid-line: rgba(148, 163, 184, 0.045);
}

html[data-theme="light"] {
  --bg: #e4ebf4;
  --bg2: #f0f5fb;
  --panel: rgba(255, 255, 255, 0.68);
  --panel2: rgba(248, 251, 255, 0.92);
  --text: #0f1c2e;
  --muted: #5a6d86;
  --line: rgba(15, 40, 70, 0.12);
  --brand: #0d9488;
  --brand2: #0891b2;
  --gold: #b45309;
  --gold-soft: rgba(180, 83, 9, 0.12);
  --shadow: 0 16px 48px rgba(30, 50, 80, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.08);
  --glow-cyan: 0 0 20px rgba(8, 145, 178, 0.18);
  --mesh-a: rgba(8, 145, 178, 0.1);
  --mesh-b: rgba(180, 83, 9, 0.06);
  --mesh-c: rgba(13, 148, 136, 0.08);
  --grid-line: rgba(30, 58, 95, 0.06);
}

html.high-contrast {
  --brand: #fff000;
  --brand2: #00ffff;
  --gold: #fff000;
  --text: #fff;
  --bg: #000;
  --bg2: #050505;
  --panel: #090909;
  --panel2: #111;
  --line: #fff;
  --glow-cyan: none;
}

/* —— Atmosphere —— */
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(ellipse 80% 50% at 12% -10%, var(--mesh-a), transparent 50%),
    radial-gradient(ellipse 60% 40% at 95% 20%, var(--mesh-b), transparent 45%),
    radial-gradient(ellipse 50% 35% at 50% 100%, var(--mesh-c), transparent 55%),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto, auto, auto, auto;
  background-attachment: fixed;
  letter-spacing: 0.01em;
}

h1, h2, .page-head h1, .hero h1, .auth-side h1, .agreement-box h1,
.brand strong, .loader-box h2, .secure-content-box h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 700;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[contenteditable]:focus-visible {
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.4) !important;
}

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

/* —— Loader —— */
#loader {
  background:
    radial-gradient(circle at 50% 30%, rgba(34, 211, 238, 0.12), transparent 40%),
    var(--bg);
}
.loader-box {
  padding: 36px 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.loader-box h2 {
  margin: 8px 0 0;
  font-size: 1.45rem;
  background: linear-gradient(120deg, var(--text), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.scales {
  filter: drop-shadow(0 0 12px rgba(232, 184, 74, 0.35));
  animation: float 1.5s ease-in-out infinite, pulse-glow 2.4s ease-in-out infinite;
}
.loadingbar {
  height: 4px;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.15);
  overflow: hidden;
}
.loadingbar i {
  width: 32%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--brand), var(--brand2));
  box-shadow: var(--glow-cyan);
  animation: load 1.1s infinite, pulse-bar 1.4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(232, 184, 74, 0.25)); }
  50% { filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.45)); }
}
@keyframes pulse-bar {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* —— Glass chrome —— */
.sidebar {
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.94), rgba(8, 16, 30, 0.88));
  border-right: 1px solid var(--line);
  box-shadow: inset -1px 0 0 rgba(34, 211, 238, 0.06);
}
html[data-theme="light"] .sidebar {
  background: linear-gradient(180deg, rgba(244, 248, 252, 0.92), rgba(236, 243, 250, 0.88));
}

.brand-mark {
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e, var(--brand2));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35), 0 8px 28px rgba(34, 211, 238, 0.22);
  font-size: 1.4rem;
}
.brand strong {
  font-size: 1.08rem;
  background: linear-gradient(100deg, var(--text) 40%, var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-label {
  letter-spacing: 0.16em;
  color: var(--gold);
  opacity: 0.75;
  font-weight: 600;
}
.nav-btn {
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.nav-btn:hover {
  background: rgba(34, 211, 238, 0.08);
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.12);
}
.nav-btn.active {
  background: linear-gradient(100deg, rgba(45, 212, 191, 0.18), rgba(34, 211, 238, 0.06));
  color: var(--text);
  box-shadow: inset 3px 0 var(--brand), 0 0 20px rgba(34, 211, 238, 0.08);
  border-color: rgba(45, 212, 191, 0.2);
}

.topbar {
  background: rgba(5, 10, 20, 0.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(1.2);
}
html[data-theme="light"] .topbar {
  background: rgba(232, 240, 248, 0.78);
}

.icon-btn, .btn {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.btn:hover, .icon-btn:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.12);
}
.btn.primary {
  background: linear-gradient(135deg, #0d9488, #0891b2 55%, #22d3ee);
  border-color: rgba(34, 211, 238, 0.4);
  color: #041018;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--glow-cyan);
  animation: cta-glow 2.8s ease-in-out infinite;
}
.btn.primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
html[data-theme="light"] .btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #0e7490);
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(34, 211, 238, 0.22); }
  50% { box-shadow: 0 0 28px rgba(34, 211, 238, 0.4), 0 0 8px rgba(232, 184, 74, 0.15); }
}

.search-wrap input, .field {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(8, 16, 30, 0.55);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap input:focus, .field:focus {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
html[data-theme="light"] .search-wrap input,
html[data-theme="light"] .field {
  background: rgba(255, 255, 255, 0.75);
}

.search-results {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel2);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.search-hit:hover {
  background: rgba(34, 211, 238, 0.1);
}

/* —— Pages / cards —— */
.page.active {
  animation: page-enter 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes page-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.page-head h1 {
  background: linear-gradient(110deg, var(--text) 30%, var(--brand2) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card, .list-item, .source-card, .lang-pane {
  background: linear-gradient(155deg, var(--panel), rgba(14, 26, 46, 0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover, .list-item:hover {
  border-color: rgba(34, 211, 238, 0.28);
}
html[data-theme="light"] .card,
html[data-theme="light"] .list-item {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(236, 244, 252, 0.65));
}

.metric::after {
  background: rgba(34, 211, 238, 0.12);
}
.metric-value {
  font-family: var(--font-display);
  background: linear-gradient(120deg, var(--text), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  background:
    linear-gradient(130deg, rgba(34, 211, 238, 0.12), rgba(232, 184, 74, 0.06), var(--panel));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.7;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display);
  background: linear-gradient(105deg, var(--text), var(--brand2) 70%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.progress > i {
  background: linear-gradient(90deg, var(--gold), var(--brand), var(--brand2));
}

.tag, .badge, .access-pill {
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.option {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 16, 30, 0.4);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.option:hover {
  border-color: var(--brand2);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.15);
}
.option.selected {
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.25);
}
html[data-theme="light"] .option {
  background: rgba(255, 255, 255, 0.7);
}

.keypoint {
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, var(--gold-soft), rgba(34, 211, 238, 0.05));
}

.heat[data-v="1"] { background: rgba(34, 211, 238, 0.28); }
.heat[data-v="2"] { background: rgba(34, 211, 238, 0.5); }
.heat[data-v="3"] { background: rgba(45, 212, 191, 0.85); }

.flash-face {
  background: linear-gradient(145deg, var(--panel2), rgba(34, 211, 238, 0.1));
  border: 1px solid var(--line);
}

.note-link.active {
  background: rgba(34, 211, 238, 0.1);
  border-left: 2px solid var(--brand);
}

/* —— Modals / mock test —— */
.modal {
  background: rgba(2, 6, 14, 0.72);
  backdrop-filter: blur(12px);
}
.modal-box {
  background: linear-gradient(165deg, rgba(12, 22, 40, 0.95), rgba(8, 14, 26, 0.98));
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 18px;
  box-shadow: var(--shadow), 0 0 40px rgba(34, 211, 238, 0.08);
}
html[data-theme="light"] .modal-box {
  background: linear-gradient(165deg, rgba(250, 252, 255, 0.96), rgba(236, 244, 252, 0.98));
}
.modal-head {
  background: inherit;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.modal-head h2 {
  font-family: var(--font-display);
}
.timer {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(232, 184, 74, 0.35);
}
.palette button {
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: transform 0.12s, border-color 0.12s;
}
.palette button:hover {
  border-color: var(--brand2);
  transform: scale(1.05);
}
.palette button.answered {
  background: rgba(52, 211, 153, 0.22);
  border-color: rgba(52, 211, 153, 0.4);
}
.test-actions {
  border-top: 1px solid var(--line);
}

.toast {
  border-left: 3px solid var(--brand2);
  background: var(--panel2);
  backdrop-filter: blur(12px);
  border-radius: 10px;
}

.mobile-nav {
  background: rgba(5, 10, 20, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
html[data-theme="light"] .mobile-nav {
  background: rgba(240, 246, 252, 0.94);
}

/* —— Auth gate —— */
.auth-gate {
  background:
    radial-gradient(ellipse 50% 40% at 15% 8%, rgba(34, 211, 238, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 35% at 90% 85%, rgba(232, 184, 74, 0.1), transparent 45%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    rgba(3, 8, 18, 0.97);
  background-size: auto, auto, 40px 40px, 40px 40px, auto;
}
html[data-theme="light"] .auth-gate {
  background:
    radial-gradient(ellipse 50% 40% at 15% 8%, rgba(8, 145, 178, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 35% at 90% 85%, rgba(180, 83, 9, 0.08), transparent 45%),
    rgba(228, 235, 244, 0.97);
}
.auth-shell {
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 20px;
  background: var(--panel2);
  box-shadow: var(--shadow), 0 0 60px rgba(34, 211, 238, 0.1);
  backdrop-filter: blur(24px);
  overflow: hidden;
}
.auth-side {
  background: linear-gradient(155deg, rgba(13, 148, 136, 0.28), rgba(8, 145, 178, 0.08) 55%, rgba(232, 184, 74, 0.06));
  border-right: 1px solid var(--line);
  position: relative;
}
.auth-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
.auth-side > * { position: relative; z-index: 1; }
.auth-side h1 {
  font-family: var(--font-display) !important;
  background: linear-gradient(110deg, var(--text), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-point {
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .auth-point {
  background: rgba(255, 255, 255, 0.45);
}
.auth-tabs {
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
}
.auth-tab.active {
  background: rgba(34, 211, 238, 0.16);
  color: var(--text);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.1);
}
.user-avatar {
  background: linear-gradient(135deg, #0d9488, var(--brand2));
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.25);
}

/* —— Agreement —— */
.agreement-gate {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(34, 211, 238, 0.16), transparent 40%),
    radial-gradient(ellipse at 90% 100%, rgba(232, 184, 74, 0.08), transparent 40%),
    rgba(3, 8, 18, 0.97);
}
.agreement-box {
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(12, 22, 40, 0.96), rgba(8, 14, 26, 0.98));
  box-shadow: var(--shadow), 0 0 50px rgba(34, 211, 238, 0.08);
  backdrop-filter: blur(20px);
}
html[data-theme="light"] .agreement-box {
  background: linear-gradient(165deg, rgba(250, 252, 255, 0.96), rgba(236, 244, 252, 0.98));
}
.agreement-box h1 {
  font-family: var(--font-display) !important;
  background: linear-gradient(110deg, var(--text), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.agreement-scroll {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
}
html[data-theme="light"] .agreement-scroll {
  background: rgba(255, 255, 255, 0.55);
}

/* —— Law / constitution marks —— */
.constitution-mark,
.law-mark {
  font-weight: 700;
  font-size: 1.12em;
  letter-spacing: 0.015em;
  color: #f0c14d;
  background: linear-gradient(120deg, rgba(240, 193, 77, 0.22), rgba(34, 211, 238, 0.12));
  padding: 0.08em 0.32em;
  border-radius: 0.3em;
  border-bottom: 1px solid rgba(232, 184, 74, 0.45);
  box-shadow: 0 0 12px rgba(232, 184, 74, 0.12);
}
/* Full-line “updated” highlight for Bare Acts: bold + distinct text color */
.law-mark-line,
.tag.bare-act-cite .law-mark-line,
p.bare-act-summary .law-mark-line {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.42em 0.7em;
  margin: 0.15em 0;
  border-radius: 0.45em;
  line-height: 1.45;
  white-space: pre-wrap;
  border-bottom: none;
  border-left: 3px solid rgba(232, 184, 74, 0.7);
  font-weight: 700 !important;
  font-size: 1.05em;
  letter-spacing: 0.015em;
  color: #f0c14d !important;
  background: linear-gradient(120deg, rgba(240, 193, 77, 0.26), rgba(34, 211, 238, 0.12));
  box-shadow: 0 0 12px rgba(232, 184, 74, 0.12);
}
.tag.bare-act-cite {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  color: inherit;
}
.tag.bare-act-cite .law-mark-line {
  margin: 0;
}
.keypoint-ref {
  margin-top: 8px;
}
.keypoint-ref .law-mark-line {
  font-size: 1rem;
}
.list-item h3,
.list-item .law-mark-line,
.ref-entry .law-mark-line {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.list-item h3 {
  margin: 0 0 7px;
}
.ref-book-body {
  display: grid;
  gap: 0;
}
.ref-section {
  overflow: visible;
}
.ref-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.ref-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ref-entry {
  display: block;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 15px;
  padding: 15px;
  color: var(--text);
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
}
.ref-entry .meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}
.ref-entry .law-mark-line {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 8px;
  color: #f0c14d !important;
  font-weight: 700 !important;
}
.ref-entry-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
html[data-theme="light"] .ref-entry {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}
html[data-theme="light"] .ref-entry .law-mark-line {
  color: #9a6700 !important;
}
html[data-theme="light"] .constitution-mark,
html[data-theme="light"] .law-mark {
  color: #92400e;
  background: linear-gradient(120deg, rgba(245, 158, 11, 0.22), rgba(8, 145, 178, 0.1));
  border-bottom-color: rgba(180, 83, 9, 0.35);
}
html[data-theme="light"] .law-mark-line,
html[data-theme="light"] .tag.bare-act-cite .law-mark-line,
html[data-theme="light"] p.bare-act-summary .law-mark-line {
  color: #92400e !important;
  background: linear-gradient(120deg, rgba(245, 158, 11, 0.28), rgba(8, 145, 178, 0.12));
  border-left-color: rgba(180, 83, 9, 0.55);
  border-bottom: none;
}
html.high-contrast .constitution-mark,
html.high-contrast .law-mark {
  color: #fff000;
  background: rgba(255, 240, 0, 0.18);
  border-bottom-color: #fff000;
  box-shadow: none;
}
html.high-contrast .law-mark-line,
html.high-contrast .tag.bare-act-cite .law-mark-line,
html.high-contrast p.bare-act-summary .law-mark-line {
  color: #fff000 !important;
  background: rgba(255, 240, 0, 0.22);
  border-left-color: #fff000;
  border-bottom: none;
  font-weight: 800 !important;
}

/* —— Secure content gate (overrides injected styles) —— */
.secure-content-gate {
  background:
    radial-gradient(circle at 50% 40%, rgba(34, 211, 238, 0.1), transparent 45%),
    rgba(3, 8, 18, 0.82) !important;
  backdrop-filter: blur(14px) !important;
}
.secure-content-box {
  text-align: center;
  background: linear-gradient(165deg, rgba(12, 22, 40, 0.95), rgba(8, 14, 26, 0.98)) !important;
  color: var(--text) !important;
  border: 1px solid rgba(34, 211, 238, 0.25) !important;
  border-radius: 18px !important;
  padding: 32px 36px !important;
  width: min(420px, 92vw);
  box-shadow: var(--shadow), 0 0 40px rgba(34, 211, 238, 0.12) !important;
  backdrop-filter: blur(20px);
}
html[data-theme="light"] .secure-content-box {
  background: linear-gradient(165deg, rgba(250, 252, 255, 0.95), rgba(236, 244, 252, 0.98)) !important;
}
.secure-content-box h2 {
  font-family: var(--font-display);
  background: linear-gradient(120deg, var(--text), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.secure-content-box .loadingbar i {
  background: linear-gradient(90deg, var(--gold), var(--brand), var(--brand2)) !important;
  box-shadow: var(--glow-cyan);
}

.content-watermark {
  color: rgba(34, 211, 238, 0.1) !important;
  font-family: var(--font-display);
}

/* —— Misc polish —— */
.status-dot, .online-dot {
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15), 0 0 10px rgba(52, 211, 153, 0.4);
}
.expired-shell .price {
  font-family: var(--font-display);
  color: var(--gold);
}
.secure-pdf-stage {
  border: 1px solid var(--line);
  background: #121820;
}
.admin-user-card {
  border: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  .btn.primary,
  .scales,
  .loadingbar i,
  .page.active {
    animation: none !important;
  }
}
