:root {
  --bg0: #070613;
  --bg1: #0b0a1a;
  --bg2: #0b1026;

  --ink: rgba(120, 255, 120, 0.95);
  --muted: rgba(120, 255, 120, 0.72);

  --cyan: #00e5ff;
  --magenta: #ff2bd6;
  --purple: #7c5cff;
  --blue: #00a3ff;

  --panel: rgba(10, 12, 28, 0.56);
  --panel-border: rgba(0, 229, 255, 0.35);
  --panel-border2: rgba(255, 43, 214, 0.22);

  --radius: 20px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 18% 14%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 82% 22%, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(900px 620px at 50% 90%, rgba(255, 43, 214, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 40%, var(--bg2));
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.45;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    rgba(0, 0, 0, 0) 3px
  );
  opacity: 0.12;
  mix-blend-mode: overlay;
  animation: scan 10s linear infinite;
}

@keyframes scan {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(24px);
  }
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.glow {
  position: absolute;
  inset: -20% -20% -20% -20%;
  background:
    radial-gradient(900px 480px at 20% 20%, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(900px 520px at 80% 25%, rgba(255, 43, 214, 0.1), transparent 60%),
    radial-gradient(800px 520px at 55% 80%, rgba(124, 92, 255, 0.1), transparent 60%);
  filter: blur(10px);
  opacity: 0.8;
  animation: pulse 6.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.65;
  }
  50% {
    opacity: 0.92;
  }
  100% {
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scanlines,
  .glow {
    animation: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(7, 6, 19, 0.85), rgba(7, 6, 19, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.brand-tag {
  font-weight: 900;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

.brand-name {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 12px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(120, 255, 120, 0.22);
  background: rgba(0, 0, 0, 0.12);
}

.nav-link:hover {
  color: rgba(180, 255, 180, 0.95);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.16), 0 0 18px rgba(0, 229, 255, 0.16);
}

.hero {
  padding: 34px 0 20px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: stretch;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(500px 240px at 20% 10%, rgba(0, 229, 255, 0.18), transparent 60%),
    radial-gradient(520px 260px at 80% 30%, rgba(255, 43, 214, 0.12), transparent 62%);
  opacity: 0.65;
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.02) 35%,
    rgba(0, 0, 0, 0) 70%
  );
  opacity: 0.22;
  pointer-events: none;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
  padding: 12px 14px 0;
}

.panel-kicker {
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: rgba(120, 255, 120, 0.64);
}

.panel-id {
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: rgba(120, 255, 120, 0.56);
}

.hero-cover {
  padding: 10px 10px 12px;
  border-color: rgba(255, 43, 214, 0.24);
}

.cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

.hero-copy {
  padding: 10px 14px 16px;
  border-color: rgba(0, 229, 255, 0.28);
}

.title {
  margin: 10px 0 0;
  position: relative;
  z-index: 1;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(54px, 6.3vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.neon {
  text-shadow:
    0 0 12px rgba(0, 229, 255, 0.25),
    0 0 22px rgba(255, 43, 214, 0.18),
    0 0 60px rgba(124, 92, 255, 0.18);
  animation: flicker 7.5s linear infinite;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 1;
    filter: none;
  }
  7% {
    opacity: 0.92;
  }
  8% {
    opacity: 0.72;
  }
  9% {
    opacity: 1;
  }
  42% {
    opacity: 0.95;
  }
  43% {
    opacity: 0.84;
  }
  44% {
    opacity: 1;
  }
  74% {
    opacity: 0.92;
  }
  75% {
    opacity: 1;
  }
}

.subtitle {
  margin: 14px 0 0;
  position: relative;
  z-index: 1;
  color: rgba(120, 255, 120, 0.74);
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 650;
  max-width: 70ch;
  text-transform: uppercase;
}

.actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.cta {
  position: relative;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(190, 255, 190, 0.95);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(255, 43, 214, 0.18));
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: -40% -40% -40% -40%;
  background:
    radial-gradient(220px 140px at 30% 35%, rgba(0, 229, 255, 0.75), rgba(0, 229, 255, 0) 62%),
    radial-gradient(240px 160px at 65% 55%, rgba(255, 43, 214, 0.65), rgba(255, 43, 214, 0) 62%);
  opacity: 0.42;
  animation: neonPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes neonPulse {
  0%,
  100% {
    opacity: 0.34;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.55;
    transform: translate3d(0, 0, 0) scale(1.04);
  }
}

.cta:hover {
  border-color: rgba(0, 229, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.18), 0 0 28px rgba(0, 229, 255, 0.18);
}

.cta:active {
  transform: translateY(0);
}

.cta.secondary {
  background: rgba(0, 0, 0, 0.18);
}

.hint {
  color: rgba(120, 255, 120, 0.66);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.chip {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.16);
  color: rgba(120, 255, 120, 0.78);
  font-weight: 850;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.page-head {
  padding: 24px 0 10px;
  position: relative;
  z-index: 1;
}

.page-title {
  margin: 10px 0 0;
  position: relative;
  z-index: 1;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-subtitle {
  margin: 10px 0 0;
  color: rgba(120, 255, 120, 0.74);
  letter-spacing: 0.08em;
  font-size: 13px;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.update-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-rows: auto 1fr;
}

.update-thumb {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin: 10px 14px 0;
  position: relative;
  z-index: 1;
}

.update-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.update-body {
  padding: 12px 14px 16px;
  position: relative;
  z-index: 1;
}

.update-meta {
  color: rgba(120, 255, 120, 0.62);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 11px;
  text-transform: uppercase;
}

.update-title {
  margin: 10px 0 0;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.update-desc {
  margin: 10px 0 0;
  color: rgba(120, 255, 120, 0.74);
  font-size: 14px;
}

.update-card:hover {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.14), 0 0 28px rgba(0, 229, 255, 0.12), 0 18px 60px rgba(0, 0, 0, 0.55);
}

.detail-hero {
  margin-top: 10px;
}

.detail-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}

.detail-meta {
  margin-top: 10px;
  color: rgba(120, 255, 120, 0.62);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 11px;
  text-transform: uppercase;
}

.detail-title {
  margin: 10px 0 0;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.section-panel {
  padding: 10px 14px 16px;
  border-color: rgba(255, 255, 255, 0.12);
}

.section-title {
  margin: 10px 0 10px;
  font-size: 22px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.prose {
  color: rgba(120, 255, 120, 0.75);
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.details-grid .section-title {
  text-transform: uppercase;
}

.details-grid .prose {
  margin-left: 2em;
  margin-right: 2em;
}

.details-col {
  position: relative;
  z-index: 1;
}

.author-photo-float {
  float: right;
  margin: 0.2em 0 0.8em 1.2em;
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 12px;
}

.author-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
}

.author-media {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.author-photo {
  display: block;
  max-height: 100px;
  width: auto;
  height: auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.16),
    0 0 22px rgba(0, 229, 255, 0.18),
    0 0 34px rgba(255, 43, 214, 0.18),
    0 30px 90px rgba(0, 0, 0, 0.55);
}

.site-footer {
  padding: 26px 0 44px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

.footer-title {
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-sub {
  margin-top: 4px;
  color: rgba(120, 255, 120, 0.62);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.footer-right {
  display: flex;
  gap: 10px;
}

.social {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(180, 255, 180, 0.92);
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.social:hover {
  border-color: rgba(0, 229, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.16), 0 0 22px rgba(0, 229, 255, 0.16);
}

.social svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal-dialog {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
}

.terminal {
  width: min(640px, 100%);
  border-radius: 18px;
  background: rgba(7, 6, 19, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 43, 214, 0.18),
    0 0 38px rgba(0, 229, 255, 0.18),
    0 40px 120px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.12), rgba(255, 43, 214, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.dot.red {
  background: rgba(255, 77, 79, 0.9);
}

.dot.yellow {
  background: rgba(255, 209, 102, 0.9);
}

.dot.green {
  background: rgba(6, 214, 160, 0.9);
}

.terminal-title {
  flex: 1;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: rgba(180, 255, 180, 0.9);
}

.x {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(180, 255, 180, 0.92);
  border-radius: 12px;
  width: 40px;
  height: 34px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.terminal-body {
  padding: 14px;
  color: rgba(120, 255, 120, 0.78);
}

.mono {
  font-family: inherit;
  letter-spacing: 0.04em;
  color: rgba(0, 229, 255, 0.78);
}

.terminal-actions {
  padding: 0 14px 14px;
  display: flex;
  justify-content: flex-end;
}

.cta:focus-visible,
.nav-link:focus-visible,
.social:focus-visible,
.x:focus-visible {
  outline: 2px solid rgba(0, 229, 255, 0.9);
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .updates-grid {
    grid-template-columns: 1fr;
  }

  .author-photo-float {
    float: none;
    display: block;
    margin: 0.6em auto 1em;
  }
}

@supports not ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  .panel {
    background: rgba(10, 12, 28, 0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  .neon,
  .cta-glow {
    animation: none;
  }
}
