:root {
  --neon-blue: #00d4ff;
  --neon-purple: #b829dd;
  --dark-bg: #0a0e17;
  --dark-panel: rgba(15, 23, 42, 0.5);
  --circuit-color: rgba(0, 212, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: var(--dark-bg);
  color: #e2e8f0;
  overflow-x: hidden;
}

.font-orbitron {
  font-family: 'Orbitron', sans-serif;
}

.site-brand-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.site-brand-title-main {
  color: #ffffff;
}

.site-brand-title-accent {
  color: var(--neon-blue);
}

.site-brand-title-footer {
  font-size: 1.25rem;
}

.site-editorial-display,
.site-editorial-title,
.site-editorial-card-title,
.site-editorial-nav-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.site-editorial-display {
  line-height: 0.98;
}

.site-editorial-title {
  line-height: 1.05;
}

.site-editorial-card-title,
.site-editorial-nav-title {
  line-height: 1.15;
}

.site-brand-kicker {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
  color: #8b5cf6;
}

.circuit-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.35;
  background-image:
    linear-gradient(90deg, var(--circuit-color) 1px, transparent 1px),
    linear-gradient(var(--circuit-color) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: circuitMove 24s linear infinite;
}

.scanline {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.08) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 40;
  opacity: 0.25;
}

.site-grid-fade {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.16), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(243, 85, 215, 0.16), transparent 30%),
    linear-gradient(to bottom, transparent 40%, rgba(2, 6, 23, 0.65) 100%);
}

.site-hero-section {
  isolation: isolate;
}

.site-hero-aurora,
.site-hero-traces,
.site-hero-circuit,
.site-about-backdrop,
.site-about-grid,
.site-hero-particles {
  pointer-events: none;
}

.site-hero-aurora {
  position: absolute;
  border-radius: 9999px;
  filter: blur(34px);
  opacity: 0.42;
  mix-blend-mode: screen;
  animation: heroFloat 14s ease-in-out infinite;
}

.site-hero-aurora-cyan {
  top: 10%;
  left: 8%;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55) 0%, rgba(34, 211, 238, 0) 72%);
}

.site-hero-aurora-violet {
  right: 6%;
  bottom: 12%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.5) 0%, rgba(168, 85, 247, 0) 70%);
  animation-delay: -7s;
}

.site-hero-traces {
  position: absolute;
  inset: 0;
  opacity: 0.72;
}

.site-hero-traces .trace,
.site-hero-traces .trace-pulse,
.site-hero-traces .trace-node {
  position: absolute;
}

.site-hero-traces .trace {
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.22), transparent);
}

.site-hero-traces .trace-v {
  background: linear-gradient(180deg, transparent, rgba(125, 211, 252, 0.2), transparent);
}

.trace-h {
  height: 1px;
  width: 18rem;
}

.trace-v {
  width: 1px;
  height: 14rem;
}

.trace-h-1 {
  top: 22%;
  left: 8%;
}

.trace-h-2 {
  bottom: 24%;
  right: 10%;
  width: 20rem;
}

.trace-v-1 {
  top: 12%;
  right: 24%;
}

.trace-v-2 {
  bottom: 10%;
  left: 22%;
  height: 16rem;
}

.site-hero-traces .trace-pulse {
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.55);
}

.pulse-h {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0));
}

.pulse-v {
  width: 3px;
  height: 56px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0));
}

.pulse-h-1 {
  top: calc(22% - 1px);
  left: 8%;
  animation: traceRunH1 8s linear infinite;
}

.pulse-h-2 {
  bottom: calc(24% - 1px);
  right: 10%;
  animation: traceRunH2 10s linear infinite;
}

.pulse-v-1 {
  top: 12%;
  right: calc(24% - 1px);
  animation: traceRunV1 9s linear infinite;
}

.pulse-v-2 {
  bottom: 10%;
  left: calc(22% - 1px);
  animation: traceRunV2 11s linear infinite;
}

.site-hero-traces .trace-node {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(6, 182, 212, 0.14);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
  animation: nodeBlink 5.5s ease-in-out infinite;
}

.node-1 { top: calc(22% - 5px); left: calc(8% + 18rem - 5px); }
.node-2 { top: calc(12% + 14rem - 5px); right: calc(24% - 5px); animation-delay: -1.3s; }
.node-3 { bottom: calc(24% - 5px); right: calc(10% + 20rem - 5px); animation-delay: -2.7s; }
.node-4 { bottom: calc(10% + 16rem - 5px); left: calc(22% - 5px); animation-delay: -4.2s; }

.site-hero-circuit {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(125, 211, 252, 0.15);
  opacity: 0.7;
}

.site-hero-circuit::before,
.site-hero-circuit::after {
  content: "";
  position: absolute;
  background: rgba(125, 211, 252, 0.16);
}

.site-hero-circuit::before {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.site-hero-circuit::after {
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
}

.site-hero-circuit-left {
  left: -4rem;
  top: 22%;
  border-radius: 2.5rem;
  transform: rotate(18deg);
  animation: circuitPulse 9s ease-in-out infinite;
}

.site-hero-circuit-right {
  right: -3rem;
  bottom: 16%;
  border-radius: 3rem;
  transform: rotate(-16deg);
  animation: circuitPulse 11s ease-in-out infinite reverse;
}

.site-hero-particles {
  position: absolute;
  inset: 0;
}

.site-hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.9);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
  animation: particleDrift 12s linear infinite;
}

.site-hero-particles span:nth-child(1) { top: 18%; left: 22%; animation-duration: 10s; }
.site-hero-particles span:nth-child(2) { top: 34%; left: 76%; animation-duration: 14s; animation-delay: -2s; }
.site-hero-particles span:nth-child(3) { top: 60%; left: 18%; animation-duration: 13s; animation-delay: -6s; }
.site-hero-particles span:nth-child(4) { top: 72%; left: 68%; animation-duration: 11s; animation-delay: -1s; }
.site-hero-particles span:nth-child(5) { top: 26%; left: 56%; animation-duration: 15s; animation-delay: -5s; }
.site-hero-particles span:nth-child(6) { top: 82%; left: 42%; animation-duration: 12s; animation-delay: -3s; }

.site-about-section {
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.14) 0%, rgba(2, 6, 23, 0.82) 18%, rgba(2, 6, 23, 0.94) 100%);
}

.site-about-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(34, 211, 238, 0.1), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(168, 85, 247, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.site-about-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(34, 211, 238, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(34, 211, 238, 0.14) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8) 15%, #000 100%);
}

@keyframes circuitMove {
  from { transform: translate(0, 0); }
  to { transform: translate(42px, 42px); }
}

@keyframes heroFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.06); }
}

@keyframes circuitPulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.72; }
}

@keyframes particleDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.95);
    opacity: 0.15;
  }
  20% {
    opacity: 0.8;
  }
  50% {
    transform: translate3d(12px, -16px, 0) scale(1.15);
    opacity: 1;
  }
  100% {
    transform: translate3d(-10px, -36px, 0) scale(0.9);
    opacity: 0.08;
  }
}

@keyframes navCtaBolt {
  0% {
    transform: translateX(-145%) skewX(-18deg);
    opacity: 0;
    filter: brightness(1);
  }
  12% {
    opacity: 0.95;
  }
  48% {
    opacity: 1;
    filter: brightness(1.25);
  }
  100% {
    transform: translateX(145%) skewX(-18deg);
    opacity: 0;
    filter: brightness(1);
  }
}

@keyframes traceRunH1 {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(16rem); opacity: 0; }
}

@keyframes traceRunH2 {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(-18rem); opacity: 0; }
}

@keyframes traceRunV1 {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(12rem); opacity: 0; }
}

@keyframes traceRunV2 {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-14rem); opacity: 0; }
}

@keyframes nodeBlink {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.glitch {
  position: relative;
  animation: glitch-skew 1.1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #ff00c1;
  clip-path: inset(40% 0 43% 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
  clip-path: inset(60% 0 10% 0);
  animation: glitch-anim2 1.2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip-path: inset(31% 0 52% 0); }
  20% { clip-path: inset(58% 0 15% 0); }
  40% { clip-path: inset(12% 0 48% 0); }
  60% { clip-path: inset(73% 0 11% 0); }
  80% { clip-path: inset(23% 0 55% 0); }
  100% { clip-path: inset(45% 0 37% 0); }
}

@keyframes glitch-anim2 {
  0% { clip-path: inset(65% 0 9% 0); }
  20% { clip-path: inset(12% 0 45% 0); }
  40% { clip-path: inset(78% 0 6% 0); }
  60% { clip-path: inset(34% 0 38% 0); }
  80% { clip-path: inset(81% 0 4% 0); }
  100% { clip-path: inset(56% 0 22% 0); }
}

.neon-text {
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.45), 0 0 28px rgba(0, 212, 255, 0.2);
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); }
  50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.8); }
}

.site-nav {
  background: rgba(8, 15, 28, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.14);
}

.site-brand-orb,
.site-footer-orb {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(7, 15, 30, 0.96), rgba(2, 6, 23, 0.98));
  border: 1px solid rgba(125, 211, 252, 0.28);
  padding: .12rem;
  overflow: hidden;
}

.site-brand-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.14);
  transform-origin: center;
}

.site-nav-cta,
.site-primary-btn,
.site-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: all .25s ease;
}

.site-nav-cta,
.site-primary-btn {
  padding: .95rem 1.75rem;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.95), rgba(37, 99, 235, 0.95));
  color: #020617;
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.18);
}

.site-nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(103, 232, 249, 0.22);
}

.site-nav-cta::before,
.site-nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-nav-cta::before {
  inset: -18%;
  background:
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.08) 26%, transparent 34%),
    linear-gradient(90deg, transparent 0%, rgba(34, 211, 238, 0.16) 46%, rgba(255, 255, 255, 0.78) 50%, rgba(59, 130, 246, 0.22) 54%, transparent 100%);
  transform: translateX(-145%) skewX(-18deg);
  opacity: 0;
  z-index: -1;
}

.site-nav-cta::after {
  inset: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.5;
}

.site-primary-btn:hover,
.site-nav-cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 38px rgba(0, 212, 255, 0.24);
}

.site-nav-cta:hover {
  box-shadow:
    0 18px 38px rgba(0, 212, 255, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 26px rgba(34, 211, 238, 0.28);
}

.site-nav-cta:hover::before {
  animation: navCtaBolt 0.9s cubic-bezier(.22,.61,.36,1) forwards;
}

.site-secondary-btn {
  padding: .95rem 1.75rem;
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: #7dd3fc;
  background: rgba(15, 23, 42, 0.4);
}

.site-secondary-btn:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.55);
}

.site-mobile-toggle {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(15, 23, 42, 0.55);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: .3rem;
  padding: 0 .7rem;
}

.site-mobile-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #7dd3fc;
  display: block;
}

.site-mobile-toggle {
  position: relative;
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.site-mobile-toggle span {
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease, width .22s ease, background-color .22s ease;
}

.site-mobile-toggle[aria-expanded="true"] {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(8, 145, 178, 0.14);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08), 0 10px 24px rgba(6, 182, 212, 0.18);
}

.site-mobile-toggle[aria-expanded="true"] span {
  background: #b6f3ff;
}

.site-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.31rem) rotate(45deg);
}

.site-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}

.site-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.31rem) rotate(-45deg);
}

.site-mobile-menu {
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  background: rgba(8, 15, 28, 0.95);
}

.site-mobile-link {
  padding: .9rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.site-profile-card,
.site-newsletter-shell,
.site-post-card,
.site-value-box,
.site-empty-panel {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(0, 212, 255, 0.16);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(14px);
}

.site-profile-card,
.site-newsletter-shell,
.site-empty-panel {
  border-radius: 2rem;
}

.site-post-card,
.site-value-box {
  border-radius: 1.5rem;
}

.site-hero-copy {
  min-height: 3rem;
}

.nerd-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(15, 23, 42, 0.5);
}

.nerd-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-blue);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.site-post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-post-card-media-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.72));
}

.site-category-chip {
  --chip-color: #00d4ff;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--chip-color);
  border: 1px solid color-mix(in srgb, var(--chip-color) 35%, transparent);
  background: color-mix(in srgb, var(--chip-color) 10%, transparent);
}

.site-value-box {
  padding: 1.4rem;
  background: rgba(15, 23, 42, 0.3);
}

.site-value-box h3,
.site-footer-title,
.site-section-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
}

.site-section-kicker {
  color: #67e8f9;
  font-size: .75rem;
}

.site-value-box p {
  margin-top: .8rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.site-value-cyan { border-left: 4px solid #06b6d4; }
.site-value-purple { border-left: 4px solid #a855f7; }
.site-value-blue { border-left: 4px solid #3b82f6; }
.site-value-green { border-left: 4px solid #22c55e; }

.site-profile-card {
  padding: 1.5rem;
}

.site-profile-orb {
  aspect-ratio: 1;
  border-radius: 1.75rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16), rgba(168, 85, 247, 0.16));
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-about-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 1rem;
}

.site-post-card {
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 24px 60px rgba(0, 212, 255, 0.12);
}

.site-post-card-media {
  aspect-ratio: 16 / 9;
  background: rgba(15, 23, 42, 0.72);
}

.site-newsletter-shell {
  padding: 3.1rem 2.5rem 2.85rem;
  background: rgba(15, 23, 42, 0.5);
}

.site-newsletter-title {
  margin: 0 0 1.2rem;
}

.site-newsletter-copy {
  margin: 0 auto;
}

.site-newsletter-form {
  margin: 2rem auto 0;
}

.site-newsletter-note {
  margin: 1.35rem 0 0;
}

.site-newsletter-input {
  padding: 1rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(2, 6, 23, 0.55);
  color: white;
}

.site-newsletter-input:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.site-footer {
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  background: rgba(2, 6, 23, 0.82);
}

.site-footer-title {
  color: white;
  margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: .95rem;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  color: #94a3b8;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-links a {
  display: inline-block;
  transition: color .2s ease;
}

.site-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer-links a:hover,
.site-footer-socials a:hover {
  color: #67e8f9;
}

.site-footer-social-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.12);
  font-size: .75rem;
  font-weight: 700;
  transition: all .2s ease;
}

.site-footer-social-badge svg {
  width: 1.12rem;
  height: 1.12rem;
  display: block;
}

.site-footer-social-badge:hover {
  background: rgba(0, 212, 255, 0.18);
  color: #fff;
  border-color: rgba(0, 212, 255, 0.45);
}

.site-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #94a3b8;
  font-size: .9rem;
}

.site-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 1rem;
}

.site-empty-panel {
  padding: 2rem;
  text-align: center;
  color: #94a3b8;
}

.search-input {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(34, 211, 238, 0.24);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.search-input:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1), 0 18px 38px rgba(2, 6, 23, 0.24);
}

.filter-btn {
  border: 1px solid rgba(34, 211, 238, 0.16);
  background: rgba(15, 23, 42, 0.4);
  transition: all .25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.08);
}

.page-btn {
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(15, 23, 42, 0.42);
  transition: all .22s ease;
}

.page-btn:hover,
.page-btn.active {
  color: #fff;
  border-color: rgba(34, 211, 238, 0.36);
  background: rgba(8, 145, 178, 0.22);
  box-shadow: 0 12px 24px rgba(0, 212, 255, 0.1);
}

.site-reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition:
    opacity .65s ease,
    transform .65s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.site-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.blog-filter-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 211, 238, 0.35) transparent;
}

.site-toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  min-width: 280px;
  max-width: 360px;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: white;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
  transform: translateY(120%);
  opacity: 0;
  transition: all .25s ease;
}

.site-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.site-toast.is-error {
  border-color: rgba(244, 63, 94, 0.3);
}

.site-toast.is-success {
  border-color: rgba(16, 185, 129, 0.3);
}

.site-confetti-burst {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 85;
  overflow: hidden;
}

.site-confetti-piece {
  position: absolute;
  width: 10px;
  height: 16px;
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
  opacity: 0;
  animation: confettiBurst 1.45s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes confettiBurst {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.85);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(0.92);
    opacity: 0;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0e17;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.65);
  border-radius: 999px;
}

@media (max-width: 768px) {
  .glitch::before,
  .glitch::after {
    display: none;
  }

  .site-newsletter-shell {
    padding: 2.1rem 1.75rem 1.95rem;
  }

  .site-toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
    min-width: 0;
  }

  .blog-filter-list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .4rem;
  }
}

.site-blog-card {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 212, 255, 0.24);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 24px 56px rgba(0, 212, 255, 0.12);
}

.site-blog-card-hero {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  overflow: hidden;
}

.site-blog-card-hero-cyan {
  background: linear-gradient(180deg, rgba(24, 171, 255, 0.95), rgba(38, 89, 217, 0.95));
}

.site-blog-card-hero-purple {
  background: linear-gradient(180deg, rgba(195, 91, 255, 0.96), rgba(182, 31, 121, 0.96));
}

.site-blog-card-hero-green {
  background: linear-gradient(180deg, rgba(27, 184, 116, 0.96), rgba(18, 136, 113, 0.96));
}

.site-blog-card-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(10, 14, 23, 0.82);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-blog-card-icon {
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.42);
}

.site-blog-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-blog-card-body {
  padding: 1.6rem 1.45rem 1.75rem;
}

.site-blog-card-meta {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.site-blog-card-title {
  margin-top: 1rem;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.site-blog-card-copy {
  margin-top: 1rem;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.85;
}

.site-blog-card-link {
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.site-blog-card-link:hover {
  gap: 0.8rem;
  opacity: 0.95;
}

.site-blog-card-link-cyan {
  color: #22d3ee;
}

.site-blog-card-link-purple {
  color: #c084fc;
}

.site-blog-card-link-green {
  color: #4ade80;
}

.site-blog-all-posts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  border: 2px solid rgba(0, 212, 255, 0.55);
  color: #22d3ee;
  font-weight: 700;
  font-size: 1.05rem;
  background: rgba(15, 23, 42, 0.42);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-blog-all-posts:hover {
  transform: translateY(-2px);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 16px 30px rgba(0, 212, 255, 0.12);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, #b829dd);
  z-index: 9999;
  transition: width 0.12s linear;
}

.site-post-page .circuit-bg {
  opacity: 0.26;
}

.post-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reading-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-lead {
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1.9;
}

.post-title-accent {
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 32%, #8b5cf6 68%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(59, 130, 246, 0.18);
}

.share-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(15, 23, 42, 0.7);
  color: #94a3b8;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.share-btn:hover {
  transform: translateY(-3px);
  background: #00d4ff;
  color: #0f172a;
  border-color: #00d4ff;
  box-shadow: 0 10px 28px rgba(0, 212, 255, 0.26);
}

.share-btn-like {
  width: auto;
  min-width: 3rem;
  padding: 0 1rem;
  gap: 0.55rem;
}

.share-btn-like.is-liked {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.95));
  color: #020617;
  border-color: rgba(34, 211, 238, 0.95);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.22);
}

.toc {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 1rem;
  padding: 1.5rem;
  position: sticky;
  top: 6.5rem;
  backdrop-filter: blur(12px);
}

.toc h3 {
  margin: 0 0 1rem;
  font-family: 'Rajdhani', sans-serif;
  color: #22d3ee;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li + li {
  margin-top: 0.45rem;
}

.toc a {
  display: block;
  padding: 0.35rem 0;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.toc a:hover,
.toc a.active {
  color: #22d3ee;
  transform: translateX(0.35rem);
}

.article-content {
  color: #cbd5e1;
}

.article-featured-media {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.55), rgba(88, 28, 135, 0.58));
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.article-featured-media img {
  width: 100%;
  display: block;
  max-height: 32rem;
  object-fit: cover;
}

.article-content h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #22d3ee;
  margin: 2.7rem 0 1.4rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(34, 211, 238, 0.18);
}

.article-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.28rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #c084fc;
  margin: 2rem 0 1rem;
}

.article-content p,
.article-content li {
  font-size: 1.14rem;
  line-height: 1.9;
  color: #cbd5e1;
}

.article-content p {
  margin: 0 0 1.45rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.65rem;
  padding-left: 1.5rem;
}

.article-content li + li {
  margin-top: 0.6rem;
}

.article-content li::marker {
  color: #22d3ee;
}

.article-content blockquote {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid #22d3ee;
  border-radius: 0 1rem 1rem 0;
  background: rgba(34, 211, 238, 0.06);
  color: #94a3b8;
  font-style: italic;
}

.article-content a {
  color: #22d3ee;
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.3);
}

.article-content a:hover {
  text-decoration-color: #22d3ee;
}

.article-content pre {
  margin: 1.6rem 0;
  padding: 1.25rem 1.4rem;
  overflow-x: auto;
  border-radius: 1rem;
  background: #141a29;
  border: 1px solid rgba(34, 211, 238, 0.16);
}

.article-content code {
  font-family: Consolas, 'Courier New', monospace;
}

.article-content :not(pre) > code {
  padding: 0.18rem 0.42rem;
  border-radius: 0.35rem;
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
  font-size: 0.92em;
}

.article-content img {
  width: 100%;
  border-radius: 1rem;
  margin: 2rem auto;
  border: 1px solid rgba(34, 211, 238, 0.16);
}

.article-content figure {
  margin: 2rem 0;
}

.article-content figcaption {
  margin-top: -1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.92rem;
  font-style: italic;
}

.article-embed {
  position: relative;
  padding-top: 56.25%;
  margin: 2rem 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.16);
  background: #0f172a;
}

.article-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.article-table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.16);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
  background: rgba(15, 23, 42, 0.55);
}

.article-content th,
.article-content td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-align: left;
}

.article-content th {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2e8f0;
  background: rgba(34, 211, 238, 0.08);
}

.post-tag-list {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.post-tag-item {
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(59, 130, 246, 0.12));
  color: #b6f3ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.author-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(34, 211, 238, 0.16);
}

.author-avatar {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(59, 130, 246, 0.25));
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.author-avatar img {
  width: 2.85rem;
  height: 2.85rem;
  object-fit: contain;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 3rem 0 0;
}

.post-nav-item {
  display: block;
  min-height: 100%;
  padding: 1.35rem 1.5rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(34, 211, 238, 0.14);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.post-nav-item:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.26);
}

.post-nav-item.next {
  text-align: right;
}

.comment-feedback {
  margin-bottom: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-weight: 600;
}

.comment-feedback.is-success {
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.1);
  color: #a7f3d0;
}

.comment-feedback.is-error {
  border-color: rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.1);
  color: #fecdd3;
}

.comment-form-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(34, 211, 238, 0.16);
}

.site-form-input,
.site-form-textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  padding: 1rem 1.15rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-form-input::placeholder,
.site-form-textarea::placeholder {
  color: #94a3b8;
}

.site-form-input:focus,
.site-form-textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.comment {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(34, 211, 238, 0.12);
}

.comment + .comment {
  margin-top: 1.5rem;
}

.comment-header {
  margin-bottom: 1rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.comment-avatar {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0f172a;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
}

.comment-admin {
  position: relative;
  overflow: hidden;
  border-color: rgba(34, 211, 238, 0.3);
  background:
    linear-gradient(135deg, rgba(9, 22, 38, 0.98), rgba(12, 30, 50, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 36px rgba(0, 212, 255, 0.08);
}

.comment-admin::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 1rem 0 0 1rem;
  background: linear-gradient(180deg, #22d3ee, #3b82f6);
}

.comment-admin-mark {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
  display: block;
  transform: scale(1.14);
  transform-origin: center;
}

.comment-admin-badge {
  margin-left: 0.55rem;
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: #67e8f9;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.comment-author-name {
  color: #fff;
  font-weight: 700;
}

.comment-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.comment-date {
  color: #94a3b8;
  font-size: 0.85rem;
}

.comment-body {
  color: #cbd5e1;
  line-height: 1.85;
}

.comment-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.comment-actions-top {
  margin-top: 0;
  flex-shrink: 0;
}

.comment-avatar-admin {
  background: linear-gradient(180deg, rgba(7, 15, 30, 0.96), rgba(2, 6, 23, 0.98));
  border: 1px solid rgba(125, 211, 252, 0.28);
  color: #cbd5e1;
  padding: .12rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.comment-avatar-admin.has-icon {
  padding: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--comment-admin-avatar-color, #38bdf8), rgba(15, 23, 42, 0.96));
}

.comment-avatar-admin.has-photo {
  padding: 0;
}

.comment-admin-user-icon {
  font-size: 1rem;
  line-height: 1;
  color: #ffffff;
}

.comment-admin-user-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comment-reply-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: rgba(8, 15, 28, 0.45);
  color: #67e8f9;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.22s ease;
}

.comment-reply-toggle:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.34);
  transform: translateY(-1px);
}

.comment-reply-form {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.12);
  background: rgba(2, 6, 23, 0.46);
}

.comment-children {
  margin-top: 1rem;
  padding-left: 0;
  border-left: 0;
}

.comment-children .comment-children {
  margin-top: 1rem;
  padding-left: 1.75rem;
  border-left-color: rgba(59, 130, 246, 0.16);
}

.comment-hidden {
  display: none;
}

.comment-child {
  margin-top: 1rem;
  background: rgba(30, 41, 59, 0.5);
}

.related-card {
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  border: 1px solid rgba(34, 211, 238, 0.16);
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.38);
  box-shadow: 0 16px 38px rgba(0, 212, 255, 0.15);
}

.central-nerd-body {
  background:
    radial-gradient(circle at top center, rgba(34, 211, 238, 0.16), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(59, 130, 246, 0.15), transparent 26%),
    linear-gradient(180deg, #10111b 0%, #161722 100%);
}

.central-shell {
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: 1.25rem 1rem 4rem;
}

.central-hero {
  position: relative;
  margin-bottom: 1.75rem;
}

.central-hero-backdrop {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top center, rgba(14, 165, 233, 0.22), transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(59, 130, 246, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(17, 24, 39, 0.78) 100%);
  filter: blur(24px);
  opacity: 0.9;
}

.central-hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(22, 26, 42, 0.96) 0%, rgba(17, 24, 39, 0.94) 100%);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.36);
}

.central-hero-logo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  border-bottom: 1px solid rgba(125, 211, 252, 0.12);
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.5), rgba(11, 17, 32, 0.15)),
    radial-gradient(circle at top center, rgba(6, 182, 212, 0.16), transparent 40%);
}

.central-hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.central-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.75rem 1.75rem;
  margin-top: -2rem;
  text-align: center;
}

.central-hero-avatar {
  width: 4.75rem;
  height: 4.75rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 15, 30, 0.96), rgba(2, 6, 23, 0.98));
  border: 1px solid rgba(125, 211, 252, 0.32);
  box-shadow:
    0 0 0 6px rgba(15, 23, 42, 0.88),
    0 18px 36px rgba(2, 6, 23, 0.3);
}

.central-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.12);
}

.central-hero-copy h1 {
  margin: 0;
  color: #f8fafc;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.95rem, 5.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.central-hero-copy p {
  max-width: 22rem;
  margin: 0.55rem 0 0;
  color: #dbe7f7;
  font-size: 1.03rem;
  line-height: 1.35;
}

.central-social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1rem;
}

.central-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: #f8fafc;
  transition: transform 0.2s ease, color 0.2s ease;
}

.central-social-link svg {
  width: 1.35rem;
  height: 1.35rem;
}

.central-social-link:hover {
  color: #67e8f9;
  transform: translateY(-2px);
}

.central-featured {
  margin-bottom: 1.25rem;
}

.central-featured-header {
  margin-bottom: 0.7rem;
  text-align: center;
}

.central-featured-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.central-featured-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.16);
}

.central-featured-icon {
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.central-featured-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.central-featured-copy h2 {
  margin: 0;
  color: #f8fafc;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.05;
}

.central-featured-copy p {
  margin: 0.22rem 0 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.2;
}

.central-featured-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.1rem;
  padding: 0.78rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #f8fafc;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.central-featured-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.22);
}

.central-groups {
  display: grid;
  gap: 0.95rem;
}

.central-empty-state {
  padding: 1.4rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(103, 232, 249, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(20, 29, 51, 0.82));
  text-align: center;
}

.central-empty-state h2 {
  margin: 0;
  color: #f8fafc;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.central-empty-state p {
  margin: 0.65rem 0 0;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.45;
}

.central-accordion {
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.92), rgba(59, 130, 246, 0.86));
  border: 1px solid rgba(125, 211, 252, 0.24);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.central-accordion-coupon {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.94), rgba(37, 99, 235, 0.84));
}

.central-accordion-product {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.88), rgba(59, 130, 246, 0.78));
}

.central-accordion-content,
.central-accordion-panel {
  overflow: hidden;
}

.central-accordion-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  color: #0f172a;
}

.central-accordion-summary::-webkit-details-marker {
  display: none;
}

.central-accordion-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.central-accordion-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.central-accordion-meta {
  color: rgba(15, 23, 42, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.central-accordion-chevron {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.22s ease;
}

.central-accordion[open] .central-accordion-chevron {
  transform: rotate(180deg);
}

.central-accordion-panel {
  padding: 0 0.9rem 0.9rem;
}

.central-link-list {
  display: grid;
  gap: 0.75rem;
}

.central-link-card {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(103, 232, 249, 0.18);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(20, 29, 51, 0.88));
}

.central-link-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.central-link-thumb {
  flex: 0 0 3.15rem;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(103, 232, 249, 0.14);
}

.central-link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.central-link-thumb-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.central-link-head-copy {
  min-width: 0;
}

.central-link-type {
  display: inline-flex;
  margin-bottom: 0.3rem;
  color: rgba(226, 232, 240, 0.72);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.central-link-head-copy h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.26rem;
  font-weight: 700;
  line-height: 1.02;
}

.central-link-description {
  margin: 0;
  color: #b8c4d7;
  font-size: 0.98rem;
  line-height: 1.35;
}

.central-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(103, 232, 249, 0.18);
  color: #f8fafc;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.central-link-button svg {
  width: 1rem;
  height: 1rem;
}

.central-link-button:hover {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.35);
  transform: translateY(-2px);
}

.central-link-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  color: #dbeafe;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.central-link-card-teal .central-link-thumb,
.central-link-card-teal .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.95), rgba(13, 148, 136, 0.78));
}

.central-link-card-hot .central-link-thumb,
.central-link-card-hot .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.82));
}

.central-link-card-green .central-link-thumb,
.central-link-card-green .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(14, 165, 233, 0.82));
}

.central-link-card-indigo .central-link-thumb,
.central-link-card-indigo .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(59, 130, 246, 0.82));
}

.central-link-card-copper .central-link-thumb,
.central-link-card-copper .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(180, 83, 9, 0.82));
}

.central-link-card-graphite .central-link-thumb,
.central-link-card-graphite .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.95), rgba(30, 41, 59, 0.82));
}

@media (max-width: 640px) {
  .central-shell {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .central-featured-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .central-featured-icon {
    margin: 0 auto;
  }

  .central-featured-button {
    width: 100%;
  }

  .central-link-badge {
    position: static;
    justify-self: start;
    margin-bottom: -0.1rem;
  }
}

@media (max-width: 1024px) {
  .toc {
    position: relative;
    top: 0;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .post-lead {
    font-size: 1.06rem;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav-item.next {
    text-align: left;
  }

  .comment-form-card,
  .comment {
    padding: 1.2rem;
  }
}



/* Central Nerd refinements */
.central-accordion-coupon {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.94), rgba(37, 99, 235, 0.88));
}

.central-accordion-content {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.88), rgba(30, 64, 175, 0.82));
}

.central-accordion-social {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.88), rgba(67, 56, 202, 0.84));
}

.central-accordion-service {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.88), rgba(14, 116, 144, 0.82));
}

.central-accordion-meta {
  color: rgba(15, 23, 42, 0.76);
  font-size: 0.8rem;
}

.central-featured-icon {
  width: 5.1rem;
  height: 5.1rem;
  border-radius: 1.35rem;
}

.central-link-card {
  gap: 1rem;
  padding: 1.1rem;
}

.central-link-card-head {
  align-items: flex-start;
}

.central-link-thumb {
  flex: 0 0 4.65rem;
  width: 4.65rem;
  height: 4.65rem;
  border-radius: 1.2rem;
  overflow: hidden;
}

.central-link-thumb img {
  object-fit: cover;
}

.central-link-head-copy h3 {
  font-size: 1.18rem;
  line-height: 1.15;
}

.central-link-extra {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.central-link-discount {
  color: #dbeafe;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.central-link-context {
  color: #c7d2fe;
  font-size: 0.86rem;
  line-height: 1.35;
}

.central-link-card-promo .central-link-thumb,
.central-link-card-promo .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.98), rgba(59, 130, 246, 0.88));
}

.central-link-card-product .central-link-thumb,
.central-link-card-product .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(37, 99, 235, 0.82));
}

.central-link-card-coupon .central-link-thumb,
.central-link-card-coupon .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.96), rgba(29, 78, 216, 0.82));
}

.central-link-card-content .central-link-thumb,
.central-link-card-content .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.96), rgba(30, 41, 59, 0.84));
}

.central-link-card-social .central-link-thumb,
.central-link-card-social .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.95), rgba(79, 70, 229, 0.84));
}

.central-link-card-service .central-link-thumb,
.central-link-card-service .central-link-thumb-fallback {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.94), rgba(14, 116, 144, 0.84));
}

@media (max-width: 640px) {
  .central-link-thumb {
    flex-basis: 4.1rem;
    width: 4.1rem;
    height: 4.1rem;
  }

  .central-link-head-copy h3 {
    font-size: 1.08rem;
  }
}
/* Central Nerd coupon and horizontal card overrides */
.central-link-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.central-link-card {
  position: relative;
  overflow: hidden;
}

.central-link-card-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: stretch;
}

.central-link-card-link {
  position: relative;
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 1rem;
  border-radius: 1.45rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(18, 33, 61, 0.94));
  border: 1px solid rgba(34, 211, 238, 0.15);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.central-link-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 18px 30px rgba(2, 8, 23, 0.28);
}

.central-link-card-copy {
  border: 0;
  cursor: pointer;
  text-align: left;
}

.central-link-thumb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.central-link-thumb-large {
  width: 6rem;
  height: 6rem;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.22);
}

.central-link-thumb-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.central-link-main-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.central-link-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.central-link-title {
  display: block;
  min-width: 0;
  color: #f8fafc;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.central-link-description {
  display: block;
  margin: 0;
  color: #bfd0e8;
  font-size: 0.92rem;
  line-height: 1.45;
}

.central-link-extra-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.central-link-discount {
  color: #7dd3fc;
  font-size: 0.78rem;
}

.central-link-context {
  color: #94a3b8;
  font-size: 0.82rem;
}

.central-link-inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  flex: 0 0 auto;
  background: rgba(10, 18, 37, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
}

.central-link-inline-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.central-link-inline-copy {
  width: 2rem;
  height: 2rem;
}

.central-link-mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  align-self: center;
  min-height: calc(100% - 0.2rem);
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(37, 99, 235, 0.24));
  border: 1px solid rgba(34, 211, 238, 0.26);
  color: #e0f2fe;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.central-link-mini-button:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.45);
  color: #ffffff;
}

.central-link-mini-button svg {
  width: 0.95rem;
  height: 0.95rem;
}

.central-coupon-code {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem 0.8rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px dashed rgba(56, 189, 248, 0.42);
  color: #e0f2fe;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.central-link-card-coupon-mode .central-link-card-link {
  grid-template-columns: 6rem minmax(0, 1fr);
}

.central-link-card-coupon-mode .central-link-card-link:hover {
  border-color: rgba(56, 189, 248, 0.38);
}

.central-link-card-coupon-mode .central-link-main-copy {
  padding-right: 0.2rem;
}

@media (max-width: 640px) {
  .central-link-card-shell {
    grid-template-columns: 1fr;
  }

  .central-link-card-link,
  .central-link-card-coupon-mode .central-link-card-link {
    grid-template-columns: 4.75rem minmax(0, 1fr) auto;
    gap: 0.85rem;
    padding: 0.9rem;
  }

  .central-link-card-coupon-mode .central-link-card-link {
    grid-template-columns: 4.75rem minmax(0, 1fr);
  }

  .central-link-thumb-large {
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 1.1rem;
  }

  .central-link-title {
    font-size: 0.92rem;
  }

  .central-link-description {
    font-size: 0.85rem;
  }

  .central-link-mini-button {
    width: 100%;
    min-height: 0;
    justify-content: center;
    padding: 0.8rem 1rem;
  }
}

/* Central Nerd bio card refinement */
.central-link-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.central-bio-card {
  display: grid;
  grid-template-columns: minmax(7.25rem, 9rem) minmax(0, 1fr) auto;
  align-items: stretch;
  width: 100%;
  min-height: 8.8rem;
  border-radius: 1.55rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(18, 33, 61, 0.94));
  border: 1px solid rgba(34, 211, 238, 0.16);
  text-decoration: none;
  color: #e2e8f0;
  box-shadow: 0 18px 34px rgba(2, 8, 23, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.central-bio-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 22px 38px rgba(2, 8, 23, 0.34);
}

.central-bio-main {
  display: contents;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
}

.central-bio-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.38), transparent 45%), linear-gradient(135deg, #071731 0%, #0b1f46 35%, #102e7a 100%);
}

.central-bio-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
}

.central-bio-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.central-bio-media-fallback span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #ecfeff;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.central-bio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem 1rem 1rem 1.1rem;
}

.central-bio-title {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.central-bio-description {
  color: #bfd0e8;
  font-size: 0.83rem;
  line-height: 1.35;
}

.central-bio-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #f8fafc;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.central-bio-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.95rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #2563eb;
}

.central-bio-arrow svg {
  width: 1rem;
  height: 1rem;
}

.central-link-mini-button {
  align-self: center;
  justify-self: end;
  width: 2.5rem;
  height: 2.5rem;
  min-height: 0;
  padding: 0;
  margin-right: 0.95rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #2563eb;
}

.central-link-mini-button span {
  display: none;
}

.central-link-mini-button svg {
  width: 0.95rem;
  height: 0.95rem;
}

.central-link-mini-button:hover {
  transform: translateY(-1px);
  color: #f8fafc;
  border-color: rgba(125, 211, 252, 0.45);
}

.central-coupon-code {
  background: rgba(34, 211, 238, 0.12);
  border: 1px dashed rgba(14, 165, 233, 0.35);
  color: #0f172a;
}

.central-link-extra-inline {
  gap: 0.45rem;
}

.central-link-discount {
  color: #f8fafc;
}

.central-link-context {
  color: #94a3b8;
}

.central-link-card-coupon-mode .central-bio-card {
  grid-template-columns: minmax(7.25rem, 9rem) minmax(0, 1fr) auto;
}

@media (max-width: 640px) {
  .central-bio-card,
  .central-link-card-coupon-mode .central-bio-card {
    grid-template-columns: 6.2rem minmax(0, 1fr) auto;
    min-height: 7.6rem;
  }

  .central-bio-copy {
    padding: 0.9rem 0.85rem 0.9rem 0.9rem;
  }

  .central-bio-title {
    font-size: 0.9rem;
  }

  .central-bio-description,
  .central-link-context {
    font-size: 0.77rem;
  }

  .central-bio-arrow,
  .central-link-mini-button {
    width: 2.15rem;
    height: 2.15rem;
    margin-right: 0.75rem;
  }
}

/* Central Nerd coupon actions refinement */
.central-bio-card-coupon {
  grid-template-columns: minmax(7.25rem, 9rem) minmax(0, 1fr);
}

.central-bio-card-coupon .central-bio-copy {
  padding-right: 1.1rem;
}

.central-coupon-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.15rem;
}

.central-coupon-copy-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 0.72rem 0.95rem;
  border-radius: 1rem;
  border: 1px dashed rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.12);
  color: #e0f2fe;
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.central-coupon-copy-button:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(34, 211, 238, 0.18);
}

.central-coupon-copy-button.is-copied {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.18);
  color: #d1fae5;
}

.central-coupon-copy-code {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.central-coupon-copy-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(224, 242, 254, 0.78);
}

.central-coupon-site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.26);
  color: #93c5fd;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.central-coupon-site-button:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.45);
  background: rgba(59, 130, 246, 0.18);
  color: #f8fafc;
}

.central-coupon-site-button svg {
  width: 0.85rem;
  height: 0.85rem;
}

@media (max-width: 640px) {
  .central-coupon-actions {
    align-items: stretch;
  }

  .central-coupon-copy-button,
  .central-coupon-site-button {
    width: 100%;
  }

  .central-coupon-site-button {
    justify-content: center;
  }
}
/* Central Nerd featured and coupon polish */
.central-featured-card {
  position: relative;
  gap: 1.15rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 16% 18%, rgba(34, 211, 238, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(18, 33, 61, 0.96));
  border: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: 0 24px 44px rgba(2, 8, 23, 0.34);
}

.central-featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.central-featured-copy {
  min-width: 0;
}

.central-featured-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: #67e8f9;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.central-featured-copy h2 {
  color: #f8fafc;
}

.central-featured-copy p {
  color: #bfd0e8;
}

.central-featured-icon {
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(37, 99, 235, 0.18));
  border: 1px solid rgba(34, 211, 238, 0.12);
}

.central-coupon-copy-button {
  position: relative;
  overflow: visible;
}

.central-coupon-copy-state {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  right: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.92);
  border: 1px solid rgba(167, 243, 208, 0.55);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.22);
  color: #042f2e;
  white-space: nowrap;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.central-coupon-copy-button.is-copied .central-coupon-copy-state {
  opacity: 1;
  transform: translateY(0);
}

.central-coupon-copy-button.is-copied .central-coupon-copy-meta {
  color: #d1fae5;
}
/* Central Nerd featured card matches list cards */
.central-featured-card {
  grid-template-columns: minmax(7.25rem, 9rem) minmax(0, 1fr) auto;
  gap: 0;
  align-items: stretch;
  min-height: 8.8rem;
  overflow: hidden;
  padding: 0;
}

.central-featured-icon {
  width: auto;
  height: auto;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.38), transparent 45%), linear-gradient(135deg, #071731 0%, #0b1f46 35%, #102e7a 100%);
  border: 0;
  border-right: 1px solid rgba(34, 211, 238, 0.14);
}

.central-featured-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.central-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1rem 1rem 1.1rem;
}

.central-featured-button {
  align-self: center;
  width: auto;
  min-width: 4.7rem;
  margin-right: 0.95rem;
  padding: 0.72rem 0.88rem;
  font-size: 0.68rem;
}

@media (max-width: 640px) {
  .central-featured-card {
    grid-template-columns: 6.2rem minmax(0, 1fr) auto;
    min-height: 7.6rem;
    text-align: left;
  }

  .central-featured-icon {
    margin: 0;
  }

  .central-featured-button {
    width: auto;
    margin-right: 0.75rem;
    padding: 0.65rem 0.78rem;
  }
}
.site-nav {
  overflow: visible;
}

.site-nav-inner {
  position: relative;
}

.site-brand-link {
  flex: 1 1 auto;
  min-width: 0;
}

.site-brand-copy {
  min-width: 0;
}

.site-brand-title,
.site-brand-kicker,
.post-nav-item h4,
.related-card h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-brand-title,
.site-brand-kicker {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-mobile-toggle {
  position: relative;
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.site-mobile-toggle span {
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease, width .22s ease, background-color .22s ease;
}

.site-mobile-toggle[aria-expanded="true"] {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(8, 145, 178, 0.14);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08), 0 10px 24px rgba(6, 182, 212, 0.18);
}

.site-mobile-toggle[aria-expanded="true"] span {
  background: #b6f3ff;
}

.site-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.31rem) rotate(45deg);
}

.site-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}

.site-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.31rem) rotate(-45deg);
}

.site-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 55;
  box-shadow: 0 20px 42px rgba(2, 6, 23, 0.42);
}

.site-mobile-menu[hidden] {
  display: none !important;
}

.site-home-page,
.site-post-page {
  overflow-x: clip;
}

.article-content,
.article-content > *,
.article-content figure,
.article-featured-media,
.article-content img,
.article-content iframe,
.article-content video,
.article-content pre,
.article-content blockquote,
.article-content table,
.table-container,
.article-table-wrap,
.highlight-box,
.post-nav,
.post-nav-item,
.related-card,
.comment-form-card,
.comment {
  box-sizing: border-box;
  max-width: 100%;
}

.article-content,
.article-content > * {
  min-width: 0;
}

.article-content h2,
.article-content h3 {
  overflow-wrap: anywhere;
}

.article-content [style] {
  max-width: 100%;
}

.article-content [style*="display:grid"],
.article-content [style*="display: grid"] {
  width: 100% !important;
  max-width: 100% !important;
}

.article-content .highlight-box,
.article-content .table-container,
.article-content .article-figure,
.table-container,
.article-table-wrap {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.article-content .highlight-box,
.article-content .table-container,
.article-content .article-figure {
  overflow: hidden;
}

.table-container,
.article-table-wrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.site-post-page,
.site-post-page article,
.site-post-page section,
.site-post-page .max-w-7xl,
.site-post-page .max-w-5xl,
.site-post-page .max-w-4xl,
.site-post-page .max-w-3xl {
  min-width: 0;
  max-width: 100%;
}

.article-content [style*="display:grid"] > *,
.article-content [style*="display: grid"] > * {
  min-width: 0 !important;
}

@media (max-width: 768px) {
  .site-brand-orb,
  .site-footer-orb {
    width: 2.8rem;
    height: 2.8rem;
  }

  .site-brand-title {
    font-size: 1.12rem;
    letter-spacing: 0.02em;
  }

  .site-brand-kicker {
    display: none;
  }

  .site-mobile-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-left: 0;
    display: inline-flex !important;
    z-index: 2;
  }

  .site-brand-link {
    max-width: calc(100% - 3.9rem);
    padding-right: 3.9rem;
  }

  .post-category-pill,
  .reading-badge {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .article-content p,
  .article-content li {
    font-size: 1.02rem;
    line-height: 1.75;
  }

  .article-content [style*="display:grid"],
  .article-content [style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .article-content [style*="display:flex"],
  .article-content [style*="display: flex"] {
    flex-wrap: wrap !important;
  }

  .article-content table {
    width: max-content;
    min-width: 34rem;
    font-size: 0.92rem;
  }

  .article-table-wrap {
    margin-left: -0.15rem;
    margin-right: -0.15rem;
  }

  .share-btn-like {
    max-width: 100%;
    padding: 0.8rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .post-tag-item {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .highlight-box,
  .table-container,
  .article-table-wrap {
    width: 100%;
    max-width: 100%;
  }

  .site-post-page .grid > * {
    min-width: 0;
  }

  .article-content,
  .article-content p,
  .article-content li,
  .article-content td,
  .article-content th,
  .post-nav-item h4,
  .related-card h3 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) {
  .site-brand-link {
    max-width: calc(100% - 3.65rem);
  }

  .site-brand-title {
    font-size: 0.9rem;
    letter-spacing: 0;
  }

  .share-btn {
    width: 2.55rem;
    height: 2.55rem;
  }

  .share-btn-like {
    width: 100%;
  }

  .article-content h2 {
    font-size: 1.38rem;
  }

  .article-content h3 {
    font-size: 1.14rem;
  }

  .article-content p,
  .article-content li {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}
