body {
  direction: rtl;
  background:
    linear-gradient(rgba(129, 247, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 247, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(193, 60, 255, 0.24), transparent 28%),
    radial-gradient(circle at bottom left, rgba(184, 255, 104, 0.14), transparent 24%),
    #08060f;
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
  color: #f6eeff;
}

.wp-site-blocks {
  min-height: 100vh;
}

.neon-shell {
  position: relative;
}

.neon-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(193, 60, 255, 0.2), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(129, 247, 255, 0.16), transparent 18%),
    radial-gradient(circle at 60% 78%, rgba(184, 255, 104, 0.09), transparent 20%);
  opacity: 0.9;
  z-index: 0;
}

.neon-page-wrap,
.neon-footer,
.neon-header,
.neon-card,
.neon-hero-card,
.neon-archive-head {
  position: relative;
  z-index: 1;
}

.neon-header {
  background: rgba(10, 8, 18, 0.75);
  border: 1px solid rgba(193, 60, 255, 0.45);
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(129, 247, 255, 0.08), 0 0 28px rgba(193, 60, 255, 0.22);
  backdrop-filter: blur(10px);
}

.neon-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f6eeff;
}

.neon-brand a {
  color: inherit;
  text-decoration: none;
}

.neon-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: flex-start;
}

.neon-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(129, 247, 255, 0.35);
  border-radius: 999px;
  text-decoration: none;
  color: #f6eeff;
  background: rgba(18, 11, 31, 0.92);
  box-shadow: inset 0 0 12px rgba(193, 60, 255, 0.08), 0 0 16px rgba(129, 247, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.neon-nav-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 255, 104, 0.7);
  box-shadow: 0 0 18px rgba(184, 255, 104, 0.18);
}

.neon-pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.neon-pill-links a {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(193, 60, 255, 0.55);
  border-radius: 999px;
  color: #f6eeff;
  text-decoration: none;
  background: rgba(14, 10, 25, 0.88);
  box-shadow: 0 0 20px rgba(193, 60, 255, 0.15);
}

.neon-hero-card,
.neon-card,
.neon-archive-head,
.neon-footer {
  background: linear-gradient(180deg, rgba(19, 14, 31, 0.96), rgba(9, 7, 17, 0.96));
  border: 1px solid rgba(193, 60, 255, 0.38);
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(129, 247, 255, 0.06),
    0 0 34px rgba(193, 60, 255, 0.12);
}

.neon-hero-card {
  overflow: hidden;
}

.neon-hero-card h1,
.neon-hero-card h2,
.neon-section-title,
.neon-archive-title {
  text-shadow: 0 0 18px rgba(193, 60, 255, 0.28);
}

.neon-section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
}

.neon-eyebrow {
  color: #81f7ff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.neon-grid .wp-block-post {
  height: 100%;
}

.neon-grid .wp-block-group,
.neon-single-card,
.neon-card {
  height: 100%;
}

.neon-card {
  padding: 1.3rem;
}

.neon-card .wp-block-post-title a,
.neon-hero-card .wp-block-post-title a,
.neon-single-card .wp-block-post-title a {
  color: #f6eeff;
  text-decoration: none;
}

.neon-card .wp-block-post-date,
.neon-card .wp-block-post-terms,
.neon-card .wp-block-post-author-name,
.neon-muted {
  color: #b8abc9;
}

.neon-single-card {
  background: linear-gradient(180deg, rgba(18, 12, 28, 0.98), rgba(9, 7, 18, 0.98));
  border: 1px solid rgba(129, 247, 255, 0.22);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 0 24px rgba(129, 247, 255, 0.08);
}

.neon-footer a {
  color: #81f7ff;
}

.wp-block-post-featured-image img,
.wp-block-image img {
  border-radius: 20px;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span {
  color: #f6eeff;
}

.wp-block-separator {
  border-color: rgba(193, 60, 255, 0.35);
}

.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4 {
  margin-top: 2rem;
}

.wp-block-post-content blockquote {
  border-right: 3px solid #c13cff;
  padding: 1rem 1.2rem;
  background: rgba(193, 60, 255, 0.08);
  border-radius: 18px;
}

.wp-block-post-content code {
  background: rgba(129, 247, 255, 0.08);
  border: 1px solid rgba(129, 247, 255, 0.18);
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .neon-nav-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .neon-header {
    border-radius: 18px;
  }

  .neon-nav-links a {
    width: 100%;
  }

  .neon-single-card,
  .neon-card,
  .neon-hero-card,
  .neon-footer,
  .neon-archive-head {
    border-radius: 22px;
  }
}
