:root {
  --bg-0: #05060f;
  --bg-1: #0d1230;
  --text: #eef7ff;
  --subtle: #94a8c7;
  --cyan: #3cf7ff;
  --pink: #ff3fcf;
  --lime: #95ff5f;
  --panel: rgba(15, 20, 47, 0.7);
  --line: rgba(122, 210, 255, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(60, 247, 255, 0.12), transparent 35%),
    radial-gradient(circle at 90% 15%, rgba(255, 63, 207, 0.15), transparent 36%),
    linear-gradient(140deg, var(--bg-0), var(--bg-1));
  padding: 1.25rem;
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  z-index: -1;
  filter: blur(55px);
  animation: float 10s ease-in-out infinite;
}

.orb-a {
  background: rgba(60, 247, 255, 0.2);
  top: -8rem;
  left: -4rem;
}

.orb-b {
  background: rgba(255, 63, 207, 0.17);
  bottom: -8rem;
  right: -3rem;
  animation-delay: 1.4s;
}

.site-header,
.page-shell,
.site-footer {
  width: min(980px, 100%);
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
  margin-bottom: 1.2rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 5vw, 2.7rem);
  letter-spacing: 0.04em;
  text-shadow:
    0 0 12px rgba(60, 247, 255, 0.55),
    0 0 22px rgba(255, 63, 207, 0.4);
}

nav {
  display: flex;
  gap: 0.9rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  transition: 200ms ease;
}

nav a:hover {
  box-shadow: 0 0 15px rgba(60, 247, 255, 0.35);
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.page-shell {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem;
  backdrop-filter: blur(7px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 25px rgba(8, 240, 255, 0.08);
}

.hero h1,
h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  margin-bottom: 0.3rem;
  text-shadow: 0 0 20px rgba(149, 255, 95, 0.26);
}

.kicker {
  color: var(--cyan);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 0.25rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.section-head a,
.post-card a,
.post-row a,
.article a {
  color: var(--lime);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

.post-card,
.post-row {
  border: 1px solid rgba(149, 255, 95, 0.25);
  border-radius: 0.95rem;
  padding: 0.9rem;
  background: rgba(3, 8, 26, 0.45);
}

.post-card time,
.post-row time,
.article time {
  color: var(--subtle);
  font-size: 0.9rem;
}

.list-stack {
  display: grid;
  gap: 0.75rem;
}

.post-row {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
}

.post-row h2,
.post-card h3 {
  margin-bottom: 0.3rem;
}

.article .content {
  margin-top: 1rem;
  line-height: 1.7;
}

.category-list {
  margin-top: 0.7rem;
  color: var(--subtle);
}

.category-list a {
  color: var(--cyan);
  text-decoration: none;
  margin-left: 0.2rem;
}

.site-footer {
  color: var(--subtle);
  text-align: center;
  padding: 0.6rem 0 0.2rem;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.pagination a {
  color: var(--cyan);
  text-decoration: none;
}

.pagination .muted {
  color: var(--subtle);
}

.breadcrumbs {
  margin-bottom: 0.8rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--subtle);
  margin-right: 0.4rem;
}

.breadcrumbs a {
  color: var(--cyan);
  text-decoration: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 680px) {
  body {
    padding: 0.8rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-row {
    flex-direction: column;
  }
}
