:root {
  --theme-color: #ff7ab6;
  --theme-color-2: #7c5cff;
  --text-bg-hover: rgba(255, 122, 182, 0.16);
  --btn-bg: linear-gradient(135deg, #ff7ab6 0%, #7c5cff 100%);
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-box-shadow: 0 12px 36px rgba(111, 87, 255, 0.16);
  --font-color: #2f2b45;
}

[data-theme="dark"] {
  --theme-color: #ff8fc8;
  --theme-color-2: #8ceeff;
  --text-bg-hover: rgba(255, 143, 200, 0.18);
  --card-bg: rgba(24, 22, 48, 0.82);
  --font-color: #f7edff;
}

body {
  background-attachment: fixed;
}

#page-header.full_page:before,
#page-header.not-home-page:before {
  background: linear-gradient(180deg, rgba(18, 15, 45, 0.20), rgba(18, 15, 45, 0.62));
}

#nav {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media screen and (min-width: 900px) {
  #nav #menus {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  #nav .menus_items {
    justify-content: center;
  }
}

#recent-posts > .recent-post-item,
.card-widget,
#post,
#page,
#archive,
#tag,
#category {
  border: 1px solid rgba(255, 122, 182, 0.22);
  box-shadow: 0 14px 38px rgba(124, 92, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#site-title,
#site-subtitle,
#post-info .post-title {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.36);
}

#site-title:after {
  content: " ✦";
  color: #fff6a5;
}

#aside-content .card-info .author-info__name {
  color: #ff7ab6;
  font-weight: 800;
}

#aside-content .card-info .card-info-avatar img {
  border: 3px solid rgba(255, 122, 182, 0.72);
  box-shadow: 0 0 0 6px rgba(124, 92, 255, 0.14), 0 12px 26px rgba(255, 122, 182, 0.24);
}

#pagination .page-number.current,
#pagination .extend:hover,
#pagination .page-number:hover,
#article-container a:hover {
  color: #ff7ab6;
}

#rightside > div > button,
#rightside > div > a {
  background: linear-gradient(135deg, #ff7ab6 0%, #7c5cff 100%);
}

.home-hero-card {
  margin: 0 0 1.4rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(255, 143, 200, 0.24);
  border-radius: 18px;
  background: rgba(24, 22, 48, 0.58);
}

.home-hero-card h2 {
  margin: 0.25rem 0 0.5rem;
  color: #ff8fc8;
}

.home-kicker {
  margin: 0;
  color: #8ceeff;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 0.4rem;
}

.home-entry-card {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 143, 200, 0.22);
  border-radius: 18px;
  background: rgba(24, 22, 48, 0.58);
  color: var(--font-color);
  text-decoration: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 238, 255, 0.48);
  background: rgba(38, 34, 78, 0.72);
}

.home-entry-icon {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 143, 200, 0.16);
  color: #8ceeff;
  font-size: 0.82rem;
}

.home-entry-card strong {
  margin-bottom: 0.45rem;
  color: #ff8fc8;
  font-size: 1.08rem;
}

.home-entry-card small {
  color: rgba(247, 237, 255, 0.82);
  line-height: 1.75;
}

@media screen and (max-width: 768px) {
  .home-entry-grid {
    grid-template-columns: 1fr;
  }
}
