/* Axura day-mode design layer. */

/* === AxuraDay === */
/* Everything here only applies when NOT in dark mode */
body:not(.dark) {
  color: #111827;
}

/* 1) Header / main nav – keep Axura .yya */
body:not(.dark) .yya {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(254, 243, 199, 0.70) 40%,   /* warm amber */
    rgba(254, 226, 226, 0.70) 60%   /* soft red */
  );
  box-shadow: 0 1px 40px -8px rgba(15, 23, 42, 0.7);
}
/* header links / nav (safe to keep these) */
body:not(.dark) .site-top ul li a,
body:not(.dark) .site-title a {
  color: #111827 !important;   /* near-black text */
}
body:not(.dark) .site-top ul li a:hover,
body:not(.dark) .site-top ul li.current-menu-item > a {
  color: #ef4444 !important;   /* main red accent */
  text-shadow:
    0 0 5px rgba(239, 68, 68, 0.85),
    0 0 8px rgba(34, 211, 238, 0.7);
}
/* user avatar dropdown (top-right) */
body:not(.dark) .header-user-menu {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.12),
    0 0 14px rgba(239, 68, 68, 0.35);
}
body:not(.dark) .header-user-menu a {
  color: #111827 !important;
}
body:not(.dark) .header-user-menu a:hover {
  background: rgba(254, 226, 226, 0.96);
  color: #b91c1c !important;
}

/* 2) Top feature row (Labyrinth / Hacktag / Discord) */
body:not(.dark) .top-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 16px;
  align-items: stretch;
  margin-bottom: 32px;
}
/* Title spanning all columns */
body:not(.dark) .top-feature-row .fes-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  color: #0f172a !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 3px rgba(239, 68, 68, 0.55),
    0 0 7px rgba(34, 211, 238, 0.40);
}
/* subtle underline */
body:not(.dark) .top-feature-row .fes-title::after {
  content: "";
  display: block;
  height: 2px;
  width: 120px;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #f97316, #22d3ee);
}
/* ignore old inline margins, grid handles layout */
body:not(.dark) .top-feature-row .top-feature-v2 {
  margin: 0 !important;
  min-width: 0;
}
/* feature card – neon frame around existing content, no inner changes */
body:not(.dark) .top-feature-row .top-feature-v2 .the-feature.square {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.12),
    0 0 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out;
  cursor: pointer;
  min-width: 0;
}
body:not(.dark) .top-feature-row .top-feature-v2 .the-feature.square a {
  display: block;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}
/* hover */
body:not(.dark) .top-feature-row .top-feature-v2 .the-feature.square:hover {
  transform: translateY(-4px);
  border-color: #ef4444 !important;
  box-shadow:
    0 0 18px rgba(239, 68, 68, 0.75),
    0 0 34px rgba(34, 211, 238, 0.55),
    0 18px 32px rgba(15, 23, 42, 0.24) !important;
}

/* 5) Post list – cyberpunk-tinted cards on index/archive */
body:not(.dark) article.post-list-thumb.post-list-show {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  /* light outline so it still feels like a card, not a box */
  border: 1px solid rgba(229, 231, 235, 0.85);
  /* subtle cyberpunk shade: neutral + faint red/purple/cyan */
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.08),        /* soft depth */
    0 0 14px rgba(239, 68, 68, 0.14),         /* red ambient */
    0 0 18px rgba(168, 85, 247, 0.12),        /* purple ambient */
    0 0 20px rgba(34, 211, 238, 0.10);        /* cyan whisper */

  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;
}
/* aura – stronger neon only visible on hover */
body:not(.dark) article.post-list-thumb.post-list-show::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0 0, rgba(239, 68, 68, 0.30), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.24), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
/* thumb */
body:not(.dark) .post-list-thumb .post-thumb img {
  border-radius: 2px;
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-out;
}
/* content wrap stays transparent so card bg rules above apply */
body:not(.dark) .post-list-thumb .post-content-wrap {
  background: transparent !important;
}
/* titles + meta */
body:not(.dark) .post-list-thumb .post-title h3 {
  color: #0f172a !important;
  text-shadow: 0 0 4px rgba(239, 68, 68, 0.35);
}
body:not(.dark) .post-list-thumb .post-date,
body:not(.dark) .post-list-thumb .post-meta span,
body:not(.dark) .post-list-thumb .post-meta a {
  color: #4b5563 !important;
}
body:not(.dark) .post-list-thumb .post-date i,
body:not(.dark) .post-list-thumb .post-meta i {
  color: #ef4444 !important;
}
body:not(.dark) .post-list-thumb .float-content p {
  color: #374151 !important;
}
/* hover – full neon highlight */
body:not(.dark) article.post-list-thumb.post-list-show:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 1);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.20),
    0 0 26px rgba(239, 68, 68, 0.85),
    0 0 36px rgba(168, 85, 247, 0.70),
    0 0 44px rgba(34, 211, 238, 0.65);
}
body:not(.dark) article.post-list-thumb.post-list-show:hover::before {
  opacity: 1;
}
body:not(.dark) article.post-list-thumb.post-list-show:hover .post-thumb img {
  transform: scale(1.04);
}

/* 6) Dropdown menus (Binex / Writeups, etc.) */
body:not(.dark) .site-top .sub-menu {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.12),
    0 0 14px rgba(239, 68, 68, 0.35);
  padding: 6px 0;
  min-width: 160px;
  z-index: 9999;
}
body:not(.dark) .site-top .sub-menu li {
  border-bottom: 1px solid rgba(229, 231, 235, 0.95);
}
body:not(.dark) .site-top .sub-menu li:last-child {
  border-bottom: none;
}
body:not(.dark) .site-top .sub-menu a {
  display: block;
  padding: 6px 14px;
  color: #111827 !important;
  font-size: 13px;
  white-space: nowrap;
}
body:not(.dark) .site-top .sub-menu a:hover {
  background: linear-gradient(
    90deg,
    rgba(254, 226, 226, 1),
    rgba(254, 243, 199, 1)
  );
  color: #b91c1c !important;
}


/* 7) Search modal – light neon frame */
body:not(.dark) .js-search.search-form--modal .search-form__inner {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.12),
    0 0 14px rgba(239, 68, 68, 0.35);
}
body:not(.dark) .js-search .text-input {
  background: transparent;
  color: #111827;
  border: none;
}
body:not(.dark) .js-search .icon-search {
  color: #ef4444;
}


