:root {
  --cyber-bg: #eef6ff;
  --cyber-bg-soft: rgba(255, 255, 255, 0.68);
  --cyber-panel: rgba(255, 255, 255, 0.74);
  --cyber-line: rgba(95, 180, 255, 0.28);
  --cyber-blue: #4aa8ff;
  --cyber-sky: #79d7ff;
  --cyber-cyan: #67f0ff;
  --cyber-pink: #ff73c8;
  --cyber-purple: #a27cff;
  --cyber-gold: #ffd76f;
  --cyber-text: #1d3557;
  --cyber-muted: #5c7697;
}

body {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 115, 200, 0.22), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(103, 240, 255, 0.26), transparent 22%),
    radial-gradient(circle at 74% 66%, rgba(162, 124, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #f8fbff 0%, #edf5ff 40%, #e4f0ff 100%);
  color: var(--cyber-text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(74, 168, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 168, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 85%);
  z-index: -1;
}

::selection {
  background: rgba(74, 168, 255, 0.22);
  color: #16304a;
}

#page-header,
#footer {
  position: relative;
}

#page-header::before,
#footer::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(20, 74, 140, 0.24));
}

#nav {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

#site-title,
.nav-site-title .site-name,
#site-info .site-title,
#post-info .post-title,
.author-info-name {
  color: #ffffff !important;
  text-shadow:
    0 0 12px rgba(74, 168, 255, 0.5),
    0 0 24px rgba(255, 115, 200, 0.18),
    0 8px 24px rgba(18, 51, 92, 0.25);
}

#site-subtitle,
#subtitle {
  color: #f6fbff !important;
  text-shadow: 0 0 10px rgba(121, 215, 255, 0.4);
}

.author-info-description,
.post-meta,
#post-meta,
.article-meta-wrap,
.recent-post-info,
.content,
time,
.headline,
.card-widget,
#footer,
#footer-wrap,
#post,
#archive,
#page {
  color: var(--cyber-muted);
}

#recent-posts .recent-post-item,
#aside-content .card-widget,
#post,
#archive,
#page,
.layout > div:first-child:not(.recent-posts) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(242, 248, 255, 0.72));
  border: 1px solid var(--cyber-line);
  box-shadow:
    0 10px 30px rgba(74, 168, 255, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

#aside-content .card-widget,
#post,
#archive,
#page,
#recent-posts .recent-post-item {
  backdrop-filter: blur(14px);
}

a,
#site-name,
.article-title,
.card-archive-list-link,
.tag-cloud-list a,
#post a {
  color: var(--cyber-blue);
}

a:hover,
.article-title:hover,
#post a:hover,
.card-archive-list-link:hover {
  color: var(--cyber-pink);
}

.post_cover img,
.avatar-img img,
#page-header {
  filter: saturate(1.08) contrast(1.02) brightness(1.01);
}

.avatar-img img {
  border: 3px solid rgba(121, 215, 255, 0.62);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.28),
    0 16px 30px rgba(74, 168, 255, 0.18),
    0 0 24px rgba(255, 115, 200, 0.16);
}

.avatar-img {
  cursor: pointer;
}

.avatar-img.avatar-spin-on-click {
  animation: avatar_click_spin 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.recent-post-item,
.card-widget,
#post,
#archive,
#page {
  border-radius: 22px;
}

.recent-post-item:hover,
.card-widget:hover {
  transform: translateY(-2px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow:
    0 18px 40px rgba(74, 168, 255, 0.16),
    0 0 0 1px rgba(255, 115, 200, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

blockquote {
  border-left: 3px solid var(--cyber-pink);
  background: linear-gradient(90deg, rgba(255, 115, 200, 0.09), rgba(121, 215, 255, 0.08));
}

code,
pre {
  background: rgba(219, 238, 255, 0.72) !important;
  color: #24476d !important;
}

#footer {
  background: rgba(234, 244, 255, 0.72);
}

.pagination-post .page-number.current,
#pagination .page-number.current {
  background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-pink), var(--cyber-purple));
  color: #ffffff;
}

.card-tag-cloud a,
.post-meta__tags {
  background: rgba(121, 215, 255, 0.16);
  color: var(--cyber-blue) !important;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.article-title,
#post-info .post-title,
#site-title {
  letter-spacing: 0.03em;
}

@keyframes avatar_click_spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  30% {
    transform: rotate(120deg) scale(1.06);
  }
  70% {
    transform: rotate(300deg) scale(1.03);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
