/* =============================================
   ANGELDUST LLC — Liquid Glass (iOS-inspired)
   Loaded after style.css; softens cyberpunk chrome
   into translucent glass, floating nav, soft orbs.
   ============================================= */

/* ─── Default theme → liquid glass tokens ─── */
[data-theme="default"] {
  --bg-void:            #07070c;
  --bg-dark:            #07070c;
  --bg-elevated:        rgba(255, 255, 255, 0.06);
  --bg-card:            rgba(255, 255, 255, 0.055);
  --neon-green:         #7dd3fc;
  --neon-yellow:        #c4b5fd;
  --neon-purple:        #a78bfa;
  --neon-cyan:          #67e8f9;
  --text:               #f4f4f8;
  --text-dim:           rgba(244, 244, 248, 0.72);
  --text-muted:         rgba(244, 244, 248, 0.48);
  --border:             rgba(255, 255, 255, 0.14);
  --glow-green:         0 8px 32px rgba(125, 211, 252, 0.18);
  --gradient-primary:   linear-gradient(135deg, #7dd3fc 0%, #a78bfa 45%, #f0abfc 100%);
  --nav-bg:             rgba(20, 20, 30, 0.45);
  --scrollbar-thumb:    rgba(125, 211, 252, 0.55);
  --glass-bg:           rgba(255, 255, 255, 0.08);
  --glass-bg-strong:    rgba(255, 255, 255, 0.12);
  --glass-border:       rgba(255, 255, 255, 0.18);
  --glass-highlight:    rgba(255, 255, 255, 0.35);
  --glass-shadow:       0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --radius-sm:          12px;
  --radius-md:          18px;
  --radius-lg:          28px;
  --radius-pill:        999px;
}

:root {
  --font-mono:    ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --neon-magenta: #e879f9;
  --border-subtle: var(--border, rgba(255, 255, 255, 0.14));
  --border-active: rgba(125, 211, 252, 0.45);
  --bg-input:     rgba(0, 0, 0, 0.28);
}

/* ─── Ambient background ─── */
body.liquid-glass {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(125, 211, 252, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(167, 139, 250, 0.14), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(240, 171, 252, 0.08), transparent 55%),
    var(--bg-void);
  font-weight: 450;
  letter-spacing: -0.01em;
}

/* Soften scanlines / circuit grid */
body.liquid-glass::before {
  opacity: 0.25;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.012) 3px,
    rgba(255, 255, 255, 0.012) 6px
  );
}
body.liquid-glass::after {
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

#matrix-canvas {
  opacity: 0.06 !important;
  filter: blur(0.4px);
}

/* ─── Glass primitives ─── */
.glass-panel,
.glass-nav {
  background: var(--glass-bg, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.18));
  box-shadow: var(--glass-shadow, 0 12px 40px rgba(0, 0, 0, 0.35));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.glass-panel {
  border-radius: var(--radius-lg, 28px);
}

.glass-panel-inset {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 18px);
  overflow: hidden;
}

/* ─── Floating liquid-glass nav ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent !important;
  border-bottom: none !important;
  padding: 0.85rem 1rem 0.4rem;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.site-header::after {
  display: none !important;
}

.nav.glass-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.55rem 0.75rem 0.55rem 1.1rem;
  border-radius: var(--radius-pill, 999px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
}

/* Specular top edge */
.nav.glass-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 42%);
  opacity: 0.55;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text) !important;
  text-shadow: none !important;
  animation: none !important;
  text-transform: none;
  position: relative;
  z-index: 1;
}

.nav-brand-accent,
.nav-brand .nav-brand-accent {
  color: var(--neon-cyan);
  font-weight: 600;
  margin-left: 0.15em;
}

.nav-brand:hover {
  color: #fff !important;
  text-shadow: none !important;
}

.nav-links {
  gap: 0.15rem;
  position: relative;
  z-index: 1;
}

.nav-links a {
  clip-path: none !important;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 500;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: var(--text-dim) !important;
  border: 1px solid transparent !important;
  background: transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  text-shadow: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-user-area {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.nav-user {
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  color: var(--text-dim) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.7rem !important;
}

.nav-hamburger {
  clip-path: none !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  z-index: 2;
}

.nav-hamburger span {
  box-shadow: none !important;
  background: var(--text) !important;
  border-radius: 2px;
}

/* ─── Buttons → soft glass pills ─── */
.btn {
  clip-path: none !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 16px rgba(0, 0, 0, 0.18);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  text-shadow: none !important;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.35), rgba(167, 139, 250, 0.35)) !important;
  border-color: rgba(125, 211, 252, 0.45) !important;
  color: #fff !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.5), rgba(167, 139, 250, 0.5)) !important;
}

.btn-cyan {
  border-color: rgba(103, 232, 249, 0.4) !important;
  color: #a5f3fc !important;
  background: rgba(103, 232, 249, 0.1) !important;
}

.btn-cyan:hover {
  background: rgba(103, 232, 249, 0.2) !important;
  color: #ecfeff !important;
  box-shadow: 0 8px 24px rgba(103, 232, 249, 0.15) !important;
  text-shadow: none !important;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* ─── Cards / forms ─── */
.card,
.blog-card,
.dossier,
.auth-card {
  clip-path: none !important;
  border-radius: var(--radius-md, 18px) !important;
  background: var(--glass-bg, rgba(255, 255, 255, 0.08)) !important;
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.16)) !important;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.card::before,
.blog-card::after {
  display: none !important;
}

.card:hover,
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.form-control {
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(0, 0, 0, 0.28) !important;
  font-family: var(--font-body) !important;
  backdrop-filter: blur(8px);
}

.form-control:focus {
  border-color: rgba(125, 211, 252, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.15) !important;
}

.form-label {
  font-family: var(--font-body) !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  color: var(--text-dim) !important;
  font-weight: 600;
}
.form-label::before { content: none !important; }

/* ─── Hero ─── */
.hero {
  min-height: 78vh;
  padding-top: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: 8%;
  left: 12%;
  background: rgba(125, 211, 252, 0.35);
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 360px;
  height: 360px;
  bottom: 10%;
  right: 10%;
  background: rgba(167, 139, 250, 0.32);
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.08); }
}

.hero .container { position: relative; z-index: 1; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(12px);
}

.hero-title {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  animation: none !important;
  line-height: 1.05 !important;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.hero-title .accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-shadow: none !important;
}

.hero-llc {
  font-size: 0.42em !important;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--neon-cyan) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

.hero-subtitle {
  font-family: var(--font-body) !important;
  letter-spacing: 0.01em !important;
  color: var(--text-dim) !important;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.95rem, 2vw, 1.15rem) !important;
}

.hero-subtitle .blink::after { display: none; }

.hero::before {
  width: 70vw !important;
  height: 70vw !important;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.12) 0%, transparent 68%) !important;
}

/* ─── Section headers ─── */
.section-title {
  font-family: var(--font-display) !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  font-weight: 700;
  gap: 0.65rem !important;
}

.section-title::before {
  width: 6px !important;
  height: 1.1em !important;
  border-radius: 99px;
  background: var(--gradient-primary) !important;
  box-shadow: none !important;
}

.section-title .tag {
  font-size: 0.65rem !important;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.06);
  color: var(--neon-cyan) !important;
  padding: 0.2rem 0.6rem !important;
  letter-spacing: 0.08em !important;
}

.section-line {
  height: 1px !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent) !important;
  opacity: 0.6 !important;
}

/* ─── Seraphim gaming panel ─── */
.seraphim-section {
  padding-top: 2rem;
}

.seraphim-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.seraphim-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(125, 211, 252, 0.12), transparent 60%),
    radial-gradient(400px 200px at 100% 100%, rgba(167, 139, 250, 0.1), transparent 55%);
}

.seraphim-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
}

.seraphim-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.seraphim-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 600;
}

.seraphim-badge-private {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fcd34d;
}

.seraphim-badge-whitelist {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.seraphim-notice {
  padding: 0.9rem 1rem;
  border-left: 3px solid rgba(251, 191, 36, 0.65);
}

.seraphim-notice strong {
  display: block;
  color: #fcd34d;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.seraphim-notice p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.seraphim-label-note {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #fca5a5;
  margin-left: 0.25rem;
}

.seraphim-subscribe {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seraphim-sub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.seraphim-sub-price {
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.seraphim-sub-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.15rem;
}

.seraphim-sub-price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.seraphim-sub-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.seraphim-sub-status {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.22);
  color: #bae6fd;
}

.seraphim-sub-status[data-kind="ok"] {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.28);
  color: #6ee7b7;
}

.seraphim-sub-status[data-kind="warn"] {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fcd34d;
}

.seraphim-sub-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seraphim-paypal-buttons {
  min-height: 0;
}

.seraphim-paypal-buttons:empty {
  display: none;
}

.seraphim-sub-manage {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.seraphim-referral-box {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

/* Auth pages — cleaner copy */
.auth-page .auth-title {
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.auth-page .auth-subtitle {
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.auth-footer-link {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.auth-footer-link a {
  color: var(--neon-cyan);
  font-weight: 600;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.45;
  font-family: var(--font-body);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.seraphim-network-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.seraphim-name {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}

.seraphim-desc {
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
  font-size: 0.95rem;
}

.seraphim-address-card {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  backdrop-filter: blur(10px);
}

.seraphim-address-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

.seraphim-address-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.seraphim-address {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #e0f2fe;
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  flex: 1;
  min-width: 0;
  word-break: break-all;
}

.seraphim-hint {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.seraphim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.seraphim-map {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.seraphim-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}

.seraphim-map-link {
  color: var(--neon-cyan) !important;
  font-weight: 600;
  font-size: 0.78rem;
}

.seraphim-map-link:hover {
  color: #fff !important;
  text-shadow: none !important;
}

.seraphim-map-frame-wrap {
  flex: 1;
  min-height: 380px;
  position: relative;
  background: #0a0e14;
}

.seraphim-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.page-content.glass-panel {
  padding: 1.75rem;
}

.matrix-form {
  display: flex;
  gap: 0.8rem;
  align-items: flex-end;
}

/* ─── Footer glass ─── */
.site-footer {
  border-top: none !important;
  padding: 2rem 1.25rem 2.5rem !important;
  background: transparent !important;
}

.footer-content.glass-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: none !important;
  font-size: 1rem !important;
}

.footer-text {
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-text a {
  color: var(--text-dim) !important;
}
.footer-text a:hover {
  color: #fff !important;
  text-shadow: none !important;
}

.footer-sep { opacity: 0.4; }

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #6ee7b7;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem !important;
}

.footer-links a {
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  color: var(--text-muted) !important;
  padding: 0.25rem 0.4rem;
  border-radius: 8px;
}

.footer-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

/* ─── Back to top ─── */
.back-to-top {
  clip-path: none !important;
  border-radius: 50% !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
}

/* ─── Theme switcher polish ─── */
#theme-switcher #ts-toggle {
  border-radius: 50% !important;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

#ts-panel.ts-panel {
  border-radius: 18px !important;
  backdrop-filter: blur(24px) saturate(160%);
  background: rgba(20, 20, 30, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

/* ─── Scrollbar ─── */
html {
  scrollbar-color: rgba(125, 211, 252, 0.45) transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(125, 211, 252, 0.45) !important;
  border-radius: 99px !important;
}

/* ─── Links ─── */
a:hover {
  text-shadow: none;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .seraphim-panel {
    grid-template-columns: 1fr;
  }
  .seraphim-map-frame-wrap {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.65rem 0.65rem 0.25rem;
  }

  .nav.glass-nav {
    border-radius: 22px;
    flex-wrap: wrap;
    padding: 0.65rem 0.85rem;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.55rem;
    margin-top: 0.25rem;
    gap: 0.2rem !important;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: left;
  }

  .matrix-form {
    flex-direction: column;
    align-items: stretch;
  }

  .matrix-form .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .seraphim-panel {
    padding: 1rem;
  }
  .seraphim-address-row {
    flex-direction: column;
    align-items: stretch;
  }
  .seraphim-address-row .btn {
    width: 100%;
    justify-content: center;
  }
}
