/* Wim Hugo Theme - Custom CSS */
:root {
  --brand: #0070f3;
  --brand2: #00a8ff;
  --bg: #030712;
  --bg-card: #0b1120;
  --border: #1f2937;
  --text: #d1d5db;
  --text-muted: #9ca3af;
  --text-white: #ffffff;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container { max-width: 1024px; margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.logo-icon svg { width: 20px; height: 20px; color: white; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-white);
}
.logo-text .gradient {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.nav a:hover { background: rgba(31, 41, 55, 0.5); color: var(--text-white); }

/* Search button */
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.search-btn:hover { background: rgba(31, 41, 55, 0.5); color: var(--text-white); }
.search-btn svg { width: 20px; height: 20px; }

/* Mobile menu */
.mobile-menu { display: none; }
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu { display: block; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  margin-bottom: 2.5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg .blur1 {
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  filter: blur(80px);
}
.hero-bg .blur2 {
  position: absolute;
  bottom: -6rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  filter: blur(80px);
}
.hero-content {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }
}
.hero p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .hero p { font-size: 1.125rem; }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-brand { background: rgba(99, 102, 241, 0.15); color: var(--brand); }
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}
.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--text-white);
  background: rgba(99, 102, 241, 0.1);
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
}
.card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}
.card-body { padding: 1.25rem; }

/* Post card */
.post-card { text-decoration: none; }
.post-card .cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.post-card .cover-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card .cover-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}
.post-card .cover-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.35) 0, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 0, transparent 40%);
}
.post-card .cover-category {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
}
.post-card .content { padding: 1.25rem; }
.post-card .meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}
.post-card .title {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-white);
  line-height: 1.4;
  transition: color 0.2s;
}
.post-card:hover .title { color: var(--brand); }
.post-card .excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}
.post-card:hover .read-more svg { transform: translateX(4px); }

/* Section */
.section { margin-bottom: 3rem; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-white);
}
.section-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  text-underline-offset: 4px;
}
.section-link:hover { text-decoration: underline; }

/* Category card */
.category-card {
  display: block;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.category-card .top-line {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  opacity: 0.8;
  background: linear-gradient(to right, var(--brand), var(--brand2));
}
.category-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.category-card .arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: all 0.3s;
}
.category-card:hover .arrow {
  transform: translate(4px, -4px);
  color: var(--brand);
}
.category-card h3 {
  margin-top: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-white);
  transition: color 0.2s;
}
.category-card:hover h3 { color: var(--brand); }
.category-card p {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(31, 41, 55, 0.5);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}
.tag:hover { background: rgba(99, 102, 241, 0.2); color: var(--brand); }
.tag-count { font-size: 0.75rem; color: var(--text-muted); }

/* CTA */
.cta {
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
  pointer-events: none;
}
.cta-content { position: relative; }
.cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}
.cta p {
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

/* Logo - Flexible & Branded */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.logo:hover {
  transform: scale(1.02);
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 35%, transparent);
  transition: all 0.3s ease;
}
.logo:hover .logo-icon {
  box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 45%, transparent);
  transform: translateY(-1px);
}
.logo-icon svg {
  width: 22px;
  height: 22px;
  color: white;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1;
  white-space: nowrap;
}
.logo-text .gradient {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 640px) {
  .logo-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
  }
  .logo-icon svg {
    width: 18px;
    height: 18px;
  }
  .logo-text {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .logo-text {
    font-size: 0.875rem;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }
  .logo-icon svg {
    width: 16px;
    height: 16px;
  }
}


/* Footer */
/* Footer */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  background: rgba(3, 7, 18, 0.6);
}
.footer-top {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 280px;
}
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social a:hover { background: rgba(31, 41, 55, 0.5); color: var(--text-white); }
.footer-nav h3,
.footer-network h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin-bottom: 1rem;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.625rem; }
.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--brand); }
.footer-network {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.footer-network-grid {
  display: grid;
  list-style: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1.5rem;
}
@media (min-width: 768px) {
  .footer-network-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1024px) {
  .footer-network-grid { grid-template-columns: repeat(5, 1fr); }
}
.footer-network-grid li { margin-bottom: 0; }
.footer-network-grid a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  padding: 0.25rem 0;
}
.footer-network-grid a:hover { color: var(--brand); }
.footer-network-grid a.active { color: var(--brand); font-weight: 500; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--brand); }

/* Prose (article content) */
.prose { font-size: 1rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.5em; }
.prose h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.025em; margin-top: 2em; margin-bottom: 0.5em; color: var(--text-white); }
.prose h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; margin-top: 2em; margin-bottom: 0.5em; padding-bottom: 0.3em; border-bottom: 1px solid var(--border); color: var(--text-white); }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5em; margin-bottom: 0.5em; color: var(--text-white); }
.prose p { line-height: 1.8; color: var(--text); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.prose a:hover { color: var(--brand2); }
.prose strong { font-weight: 600; color: var(--text-white); }
.prose ul { list-style-type: disc; padding-left: 1.5em; }
.prose ol { list-style-type: decimal; padding-left: 1.5em; }
.prose li { margin-top: 0.5em; }
.prose blockquote { border-left: 3px solid var(--brand); padding-left: 1em; font-style: italic; color: var(--text-muted); }
.prose code { background: #111827; border: 1px solid var(--border); border-radius: 0.375rem; padding: 0.15em 0.3em; font-size: 0.875em; color: #f59e0b; }
.prose pre { background: #0b1120; border: 1px solid #1e293b; border-radius: 0.75rem; padding: 1.25rem; overflow-x: auto; font-size: 0.875rem; line-height: 1.7; }
.prose pre code { background: none; border: none; padding: 0; color: inherit; }
.prose img { border-radius: 0.75rem; margin: 1.5em 0; max-width: 100%; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.5em 0.75em; text-align: left; }
.prose th { background: #0b1120; font-weight: 600; color: var(--text-white); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--text-muted); }

/* Share */
.share { display: flex; align-items: center; gap: 0.5rem; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.share-btn:hover { background: rgba(31, 41, 55, 0.5); color: var(--text-white); }
.share-btn svg { width: 16px; height: 16px; }

/* Author box */
.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.1));
  margin-top: 3rem;
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.author-box h3 { font-weight: 700; color: var(--text-white); margin-bottom: 0.25rem; }
.author-box p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* Prev/Next */
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.post-nav a {
  display: block;
  padding: 1.25rem;
  text-decoration: none;
}
.post-nav .label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.post-nav .label svg { width: 14px; height: 14px; }
.post-nav .label.right { justify-content: flex-end; }
.post-nav .post-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-white);
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav a:hover .post-title { color: var(--brand); }

/* Search */
.search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-white);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}
.search-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); }
.search-input::placeholder { color: var(--text-muted); }
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Line clamp */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #374151; }

/* Selection */
::selection { background: rgba(99, 102, 241, 0.3); color: white; }

/* Responsive */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.75rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}
.lang-switcher summary {
  cursor: pointer;
  list-style: none;
}
.lang-switcher summary::-webkit-details-marker {
  display: none;
}
.lang-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  min-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  z-index: 100;
}
.lang-dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}
.lang-dropdown a:hover {
  background: var(--border);
  color: var(--text-white);
}
.lang-dropdown a.active {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.giscus {
  width: 100%;
}
.giscus iframe {
  width: 100%;
  border: 0;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(to right, var(--brand), var(--brand2));
  z-index: 100;
}
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 50;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  border-color: var(--brand);
  color: var(--brand);
}
