/* Axura night-mode design layer. */

/* === Scroll === */
.cd-top {
    background: url(https://cdn.jsdelivr.net/gh/4xura/AxuraDesign@main/Blog/Scroll/scroll_arrow_6.png) no-repeat center;
}


/* === AxuraDark === */

/* 0) Global dark text + shell bg */
body.dark {
  color: #e7edf7;
}
body.dark,
body.dark #page,
body.dark #wrapper,
body.dark #content,
body.dark .site-main,
body.dark .site-content,
body.dark #primary {
  background-color: #050814 !important;
}
/* Kill leftover gray panel bg */
body.dark .pattern-center {
  background: transparent !important;
}
body.dark .pattern-center::after {
  background: #050814 !important;
  box-shadow: none !important;
  border: none !important;
}

/* 1) Header + nav – only change .yya, keep Axura behavior at top */
body.dark .yya {
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.18), transparent 45%),
    radial-gradient(circle at 70% 0, rgba(248, 113, 113, 0.14), transparent 50%),
    #050814;
  box-shadow:
    0 1px 40px -8px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(37, 99, 235, 0.45);
}
/* header links / nav */
body.dark .site-top ul li a,
body.dark .site-title a {
  color: #e5e7eb !important;
}
body.dark .site-top ul li a:hover,
body.dark .site-top ul li.current-menu-item > a {
  color: #7dd3fc !important;
  text-shadow:
    0 0 6px rgba(125, 211, 252, 0.9),
    0 0 10px rgba(59, 130, 246, 0.8);
}
/* Header user dropdown */
body.dark .header-user-menu {
  background: radial-gradient(
      circle at 0 0,
      rgba(56, 189, 248, 0.18),
      transparent 65%
    ),
    #050814;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.7);
  box-shadow:
    0 8px 30px rgba(15, 23, 42, 0.95),
    0 0 16px rgba(56, 189, 248, 0.6);
}
body.dark .header-user-menu a {
  color: #e5e7eb !important;
}
body.dark .header-user-menu a:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #a5f3fc !important;
}

/* 4) Don’t wrap post body with glow/card */
body.dark .single-content,
body.dark .post,
body.dark .entry-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* 6) Main top “Labyrinth” feature row – neon cards */
body.dark .top-feature-row {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 16px;
  align-items: stretch;
}
/* Title spans all columns */
body.dark .top-feature-row .fes-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  color: #e5e7eb !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow:
    0 0 6px rgba(56, 189, 248, 0.65),
    0 0 12px rgba(129, 140, 248, 0.5);
}
/* tiny neon underline */
body.dark .top-feature-row .fes-title::after {
  content: "";
  display: block;
  height: 2px;
  width: 96px;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #4f46e5, #f97316);
}
/* Each feature cell */
body.dark .top-feature-row .top-feature-v2 {
  margin: 0 !important;
}
/* Neon card */
body.dark .top-feature-row .top-feature-v2 .the-feature.square {
  position: relative;
  background: #050814;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.7);
  box-shadow:
    0 0 18px rgba(56, 189, 248, 0.45),
    0 0 30px rgba(15, 23, 42, 0.95);
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out;
  height: 100%;
}
/* Glow “aura” */
body.dark .top-feature-row .top-feature-v2 .the-feature.square::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(147, 51, 234, 0.16), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
/* Card content */
body.dark .top-feature-row .top-feature-v2 .the-feature.square a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
  position: relative;
  z-index: 1;
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease-out, filter 0.35s ease-out;
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info {
  padding: 10px 14px 12px;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.92),
    rgba(15, 23, 42, 0.98)
  );
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info h3,
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info p {
  position: relative !important;
  top: 15px !important;     
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info p {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}
/* Hover */
body.dark .top-feature-row .top-feature-v2 .the-feature.square:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow:
    0 0 24px rgba(56, 189, 248, 0.65),
    0 0 40px rgba(129, 140, 248, 0.55);
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square:hover::before {
  opacity: 1;
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square:hover .img img {
  transform: scale(1.06);
  filter: saturate(1.2);
}
/* Responsive */
@media (max-width: 1024px) {
  body.dark .top-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  body.dark .top-feature-row {
    grid-template-columns: 1fr;
  }
}

/* 7) Main article cards – neon list */
body.dark article.post-list-thumb.post-list-show {
  position: relative;
  background: #050814;
  border-radius: 16px;
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow:
    0 0 16px rgba(15, 23, 42, 0.95),
    0 0 24px rgba(37, 99, 235, 0.45);
  padding: 16px 18px;
  margin-bottom: 28px;
  overflow: hidden;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out;
}
/* Neon aura */
body.dark article.post-list-thumb.post-list-show::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.15), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.18), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
/* Internal layout tweaks */
body.dark .post-list-thumb .post-thumb img {
  border-radius: 2px;
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-out, filter 0.3s ease-out;
}
body.dark .post-list-thumb .post-content-wrap {
  background: transparent !important;
}
/* Hide "read more" button on post list */
.post-list-thumb .post-bottom,
.post-list-thumb .post-bottom .button-normal {
  display: none !important;
}
/* Text colors */
body.dark .post-list-thumb .post-title h3 {
  color: #e5e7eb !important;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.3);
}
body.dark .post-list-thumb .post-date,
body.dark .post-list-thumb .post-meta span,
body.dark .post-list-thumb .post-meta a {
  color: #9ca3af !important;
}
body.dark .post-list-thumb .post-date i,
body.dark .post-list-thumb .post-meta i {
  color: #60a5fa !important;
}
body.dark .post-list-thumb .float-content p {
  color: #cbd5f5 !important;
}
/* Hover */
body.dark article.post-list-thumb.post-list-show:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.95);
  box-shadow:
    0 0 22px rgba(59, 130, 246, 0.8),
    0 0 40px rgba(15, 23, 42, 0.98);
}
body.dark article.post-list-thumb.post-list-show:hover::before {
  opacity: 1;
}
body.dark article.post-list-thumb.post-list-show:hover .post-thumb img {
  transform: scale(1.04);
  filter: saturate(1.18);
}

/* 8) Dropdown menus – neon + centered under tabs */
/* Container styling */
body.dark .site-top .sub-menu {
  background-color: #050814 !important;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.7);
  box-shadow:
    0 12px 36px rgba(15, 23, 42, 0.98),
    0 0 18px rgba(37, 99, 235, 0.55);
  padding: 6px 0;
  min-width: 160px;
  z-index: 9999;
}
/* Each entry */
body.dark .site-top .sub-menu li {
  border-bottom: 1px solid rgba(31, 41, 55, 0.85);
}

body.dark .site-top .sub-menu li:last-child {
  border-bottom: none;
}
/* Links */
body.dark .site-top .sub-menu a {
  display: block;
  padding: 6px 14px;
  color: #e5e7eb !important;
  font-size: 13px;
  white-space: nowrap;
}
/* Hover */
body.dark .site-top .sub-menu a:hover {
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.18),
    rgba(129, 140, 248, 0.22)
  );
  color: #7dd3fc !important;
}
/* Positioning context for top-level menu items */
#menu-top-navigation > li {
  position: relative !important;
}
/* Center dropdown + gap under tab */
#menu-top-navigation > li > ul.sub-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
}

/* 9) Kill footer */
.site-footer,
#colophon.site-footer {
  display: none !important;
}

/* 10) main background image tuning */
body.dark .centerbg,
body.dark #centerbg {
  /* a) Blend mode */
  background-blend-mode: color-dodge !important;
  /* b) the “veil” */
  background-color: rgb(22, 18, 56, 0.1); !important;
  /* c) neon infusion layered on top */
  box-shadow:
    inset 0 0 140px rgba(168, 85, 247, 0.25),  /* purple */
}
/* the purple light layer */
body.dark .centerbg::before,
body.dark #centerbg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* overall neon purple wash + subtle cyan accent */
  background:
    radial-gradient(circle at 70% 20%, rgba(168, 85, 247, 0.25), transparent 55%),
    radial-gradient(circle at 30% 35%, rgba(56, 189, 248, 0.1), transparent 60%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.10), rgba(2, 6, 23, 0.30));
  mix-blend-mode: soft-light;
  opacity: 0.5; /* master intensity */
}

/* 11) SIMPLE DARK-MODE COMMENTS FIX */
body.dark #comments {
  background: #050814 !important;
}
/* Fix the “View comments” button container */
body.dark #comments .commentwrap.comments-hidden {
  background: #050814 !important;
  border: none !important;
  box-shadow: none !important;
}
/* Make sure the button text is readable */
body.dark #comments .commentwrap.comments-hidden .notification {
  background: transparent !important;
  color: #e5e7eb !important;
}
/* Kill any leftover grey decorative bars */
body.dark #comments::before,
body.dark #comments::after {
  background: #050814 !important;
}
/* Remove avatar in comment form */
body #comments .comment-user-avatar {
  display: none !important;
}
/* Make comment textarea match dark background */
body.dark #comments .comment-textarea textarea {
  border: 1.8px solid rgba(255,255,255,0.12); /* subtle neon edge */
}
body.dark #comments .comment-textarea {
  background: transparent !important;
}
/* keep it dark when cursor is inside */
body.dark #comments .comment-textarea textarea:focus {
  background: #050814 !important;
  outline: none;
  border-color: rgba(56, 189, 248, 0.35); /* soft cyan glow */
}

/* 12) Password page: Enter button */
body.dark input[type="submit"][name="Submit"][value="Enter"] {
  background: #050814 !important;
  border: 1.5px solid rgba(56,189,248,0.35) !important;
  border-radius: 8px !important;
  padding: 0.6em 1em !important;
}
/* optional hover glow */
body.dark input[type="submit"][name="Submit"][value="Enter"]:hover {
  box-shadow: 0 0 10px rgba(56,189,248,0.35) !important;
}


