:root {
  --accent-main: #1f6f78;
  --accent-soft: #2e8a99;
  --accent-warm: #e07a5f;
  --paper-bg: #f4f7f8;
  --card-bg: rgba(255, 255, 255, 0.84);
  --card-border: rgba(31, 111, 120, 0.16);
}

body {
  background: radial-gradient(circle at 12% 18%, rgba(224, 122, 95, 0.14), transparent 34%),
              radial-gradient(circle at 88% 10%, rgba(46, 138, 153, 0.14), transparent 30%),
              linear-gradient(180deg, #fbfcfc 0%, var(--paper-bg) 100%);
}

#page-header {
  background-image: linear-gradient(135deg, rgba(31, 111, 120, 0.92), rgba(46, 138, 153, 0.82));
}

#page-header::before {
  background: linear-gradient(180deg, rgba(7, 18, 24, 0.08) 0%, rgba(7, 18, 24, 0.26) 100%);
}

#site-info .site-title {
  letter-spacing: 0.06em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

#site-info .site-subtitle {
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  opacity: 0.96;
}

#nav #blog-info .nav-site-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#nav #blog-info .nav-site-title:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

#nav #blog-info .site-icon {
  width: 28px;
  height: 28px;
  margin-right: 0;
  padding: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 10px rgba(8, 26, 36, 0.22);
}

#nav #blog-info .site-name {
  letter-spacing: 0.04em;
  line-height: 1;
}

#page-header.not-top-img #nav #blog-info .nav-site-title,
#page-header.nav-fixed #nav #blog-info .nav-site-title {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(31, 111, 120, 0.2);
}

#page-header.not-top-img #nav #blog-info .site-icon,
#page-header.nav-fixed #nav #blog-info .site-icon {
  background: rgba(31, 111, 120, 0.08);
  box-shadow: none;
}

.layout > div:first-child:not(.recent-posts) {
  border-radius: 16px;
}

.card-widget,
.layout > div:first-child:not(.recent-posts),
#recent-posts > .recent-post-item,
#post,
#page,
#archive {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(14, 24, 32, 0.08);
  backdrop-filter: blur(6px);
}

#recent-posts > .recent-post-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#recent-posts > .recent-post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(14, 24, 32, 0.14);
}

#aside-content .card-widget .card-content a:hover,
#post a:hover,
#page a:hover {
  color: var(--accent-warm);
}

#footer {
  background: linear-gradient(120deg, rgba(31, 111, 120, 0.95), rgba(46, 138, 153, 0.9));
}

#footer-wrap,
#footer-wrap a {
  color: #f5fbfd;
}

.page .aplayer,
.post .aplayer {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  #nav #blog-info .nav-site-title {
    gap: 8px;
    padding: 5px 10px;
  }

  #nav #blog-info .site-icon {
    width: 24px;
    height: 24px;
    padding: 2px;
  }

  #site-info .site-title {
    font-size: 1.9rem;
  }

  #site-info .site-subtitle {
    font-size: 0.92rem;
  }
}
