  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --red: #e8192c;
    --red-dark: #a50f1f;
    --red-glow: rgba(232,25,44,0.35);
    --black: #0a0a0a;
    --black2: #111111;
    --black3: #1a1a1a;
    --black4: #222222;
    --white: #f5f0eb;
    --white-muted: rgba(245,240,235,0.7);
    --white-faint: rgba(245,240,235,0.12);
    --gold: #c9922a;
    --font-display: 'Cinzel Decorative', serif;
    --font-title: 'Bebas Neue', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-h: 70px;
    --radius: 6px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
  }

  /* ─── Loader wrapper ─── */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s;
}

/* ─── Hide loader ─── */
#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ─── Inner container ─── */
.loader-inner {
  position: relative;
  width: 120px;
  height: 120px;
}

/* ─── Logo ─── */
.loader-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: pulse 2s infinite ease-in-out;
  z-index: 2;
  position: relative;
}

/* ─── Rotating ring ─── */
.ring {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 140px;
  height: 140px;
  border: 3px solid transparent;
  border-top: 3px solid #ff2e2e;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

/* ─── Animations ─── */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}
  /* ─── SCROLLBAR ─── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--black2); }
  ::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

  /* ─── SELECTION ─── */
  ::selection { background: var(--red); color: #fff; }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(1rem, 4vw, 3rem);
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(232,25,44,0.2);
    transition: var(--transition);
  }
  nav.scrolled { border-bottom-color: var(--red); }

  .nav-logo {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 900;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--white);
    white-space: nowrap;
  }
  .nav-logo span { color: var(--red); font-style: italic; }

  .nav-links {
    display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
    list-style: none;
  }
  .nav-links a {
    font-family: var(--font-body); font-size: 13px; font-weight: 500;
    text-decoration: none; color: var(--white-muted); letter-spacing: 0.8px;
    text-transform: uppercase; transition: color var(--transition);
    position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 1.5px; background: var(--red);
    transform: scaleX(0); transition: transform var(--transition);
    transform-origin: left;
  }
  .nav-links a:hover { color: var(--white); }
  .nav-links a:hover::after { transform: scaleX(1); }

  .nav-right { display: flex; align-items: center; gap: 1rem; }

  .nav-search {
    background: none; border: 1px solid rgba(245,240,235,0.15); color: var(--white);
    padding: 6px 14px; border-radius: 20px; font-size: 13px; font-family: var(--font-body);
    cursor: pointer; transition: var(--transition); width: 36px; overflow: hidden;
    white-space: nowrap;
  }
  .nav-search:focus { outline: none; border-color: var(--red); width: 160px; }

  .btn-subscribe {
    background: var(--red); color: #fff; border: none;
    padding: 8px 20px; border-radius: var(--radius); font-size: 13px;
    font-weight: 600; letter-spacing: 0.5px; cursor: pointer;
    transition: var(--transition); text-decoration: none; white-space: nowrap;
  }
  .btn-subscribe:hover { background: var(--red-dark); transform: translateY(-1px); }

  .hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 4px;
  }
  .hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--white); border-radius: 2px; transition: var(--transition);
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
    background: rgba(10,10,10,0.98); backdrop-filter: blur(20px);
    padding: 1.5rem; transform: translateY(-100%); opacity: 0;
    transition: var(--transition); border-bottom: 1px solid var(--red);
    display: none;
  }
  .mobile-menu.open { transform: translateY(0); opacity: 1; }
  .mobile-menu a {
    display: block; padding: 14px 0; font-size: 15px; color: var(--white-muted);
    text-decoration: none; border-bottom: 1px solid var(--white-faint);
    font-weight: 500; letter-spacing: 0.5px; transition: color var(--transition);
  }
  .mobile-menu a:hover { color: var(--red); }

  /* ─── HERO SLIDER ─── */
  .hero {
    position: relative; width: 100%; height: 100vh; min-height: 560px;
    overflow: hidden; padding-top: var(--nav-h);
  }

  /* Petal particles */
  .hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; }
  .petal {
    position: absolute; opacity: 0;
    animation: petalFall linear infinite;
    border-radius: 50% 0 50% 0;
  }
  @keyframes petalFall {
    0%   { transform: translateY(-60px) translateX(0) rotate(0deg);   opacity: 0.8; }
    30%  { transform: translateY(30vh)  translateX(20px) rotate(180deg); opacity: 0.6; }
    70%  { transform: translateY(70vh)  translateX(-15px) rotate(360deg); opacity: 0.3; }
    100% { transform: translateY(115vh) translateX(10px) rotate(540deg); opacity: 0; }
  }

  /* ── Slides track ── */
  .slider-track {
    display: flex; 
    /* height: 100%; */
    transition: transform 0.9s cubic-bezier(0.77,0,0.18,1);
    will-change: transform;
  }

  .slide {
    flex: 0 0 100%; width: 100%; height: 100%;
    position: relative; overflow: hidden;
  }

  /* Animated background per slide */
  .slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.08);
    transition: transform 8s ease-out;
  }
  .slide.active .slide-bg { transform: scale(1); }

  .slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg,
      rgba(10,10,10,0.92) 0%,
      rgba(10,10,10,0.65) 45%,
      rgba(10,10,10,0.15) 100%);
    z-index: 1;
  }

  /* ── Slide content ── */
  .slide-content {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0 clamp(1.5rem, 7vw, 9rem);
    padding-bottom: 5rem;
  }

  .slide-eyebrow {
    font-family: var(--font-jp); font-size: 11px; letter-spacing: 4px;
    color: var(--red); text-transform: uppercase; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 10px;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.55s ease 0.1s, transform 0.55s ease 0.1s;
  }
  .slide-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--red); }
  .slide.active .slide-eyebrow { opacity: 1; transform: translateY(0); }

  .slide-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6.5vw, 88px);
    font-weight: 900; line-height: 0.95;
    letter-spacing: -2px; max-width: 760px;
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease 0.22s, transform 0.6s ease 0.22s;
  }
  .slide-title .accent { color: var(--red); font-style: italic; }
  .slide.active .slide-title { opacity: 1; transform: translateY(0); }

  .slide-tagline {
    font-family: var(--font-jp); font-size: 13px; letter-spacing: 6px;
    color: var(--white-muted); text-transform: uppercase; margin: 1.25rem 0 0.75rem;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.55s ease 0.34s, transform 0.55s ease 0.34s;
  }
  .slide-tagline .jp { color: rgba(232,25,44,0.7); font-size: 11px; display: block; margin-top: 3px; }
  .slide.active .slide-tagline { opacity: 1; transform: translateY(0); }

  .slide-desc {
    font-size: clamp(13px, 1.5vw, 15px); color: var(--white-muted);
    max-width: 440px; line-height: 1.8; margin-bottom: 2rem;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.55s ease 0.44s, transform 0.55s ease 0.44s;
  }
  .slide.active .slide-desc { opacity: 1; transform: translateY(0); }

  .slide-btns {
    display: flex; gap: 1rem; flex-wrap: wrap;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s ease 0.54s, transform 0.5s ease 0.54s;
  }
  .slide.active .slide-btns { opacity: 1; transform: translateY(0); }

  .slide-stats {
    display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s ease 0.64s, transform 0.5s ease 0.64s;
  }
  .slide.active .slide-stats { opacity: 1; transform: translateY(0); }

  .stat-num { font-family: var(--font-title); font-size: 34px; color: var(--red); line-height: 1; }
  .stat-label { font-size: 11px; color: var(--white-muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }

  /* Slide decorative orb */
  .slide-orb {
    position: absolute; right: clamp(-100px, -5%, 0px); top: 50%;
    transform: translateY(-50%);
    width: clamp(260px, 45vw, 640px); aspect-ratio: 1;
    border-radius: 50%; pointer-events: none; z-index: 1;
    opacity: 0; transition: opacity 1s ease 0.2s;
  }
  .slide.active .slide-orb { opacity: 1; }
  .slide-orb-inner {
    width: 100%; height: 100%; border-radius: 50%;
    animation: orbPulse 5s ease-in-out infinite;
  }
  @keyframes orbPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

  /* Slide number strip */
  .slide-num-strip {
    position: absolute; right: clamp(1rem, 3vw, 3rem); top: 50%;
    transform: translateY(-50%); z-index: 10;
    display: flex; flex-direction: column; gap: 12px; align-items: center;
  }
  .slide-num-item {
    font-family: var(--font-title); font-size: 11px; letter-spacing: 2px;
    color: rgba(245,240,235,0.25); cursor: pointer; transition: color 0.3s;
    writing-mode: vertical-rl; text-orientation: mixed;
    padding: 6px 0;
  }
  .slide-num-item.active { color: var(--red); }
  .slide-num-item:hover { color: var(--white); }

  /* ── Slider controls ── */
  .slider-controls {
    position: absolute; bottom: clamp(1.5rem, 4vh, 3rem);
    left: clamp(1.5rem, 7vw, 9rem); z-index: 10;
    display: flex; align-items: center; gap: 1.25rem;
  }

  .slider-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(245,240,235,0.06);
    border: 1px solid rgba(245,240,235,0.15);
    color: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: var(--transition);
  }
  .slider-btn:hover { background: var(--red); border-color: var(--red); transform: scale(1.1); }

  .slider-dots {
    display: flex; align-items: center; gap: 8px;
  }
  .slider-dot {
    cursor: pointer; transition: all 0.4s ease;
    height: 3px; border-radius: 2px;
    background: rgba(245,240,235,0.3);
    width: 20px;
  }
  .slider-dot.active { background: var(--red); width: 40px; }

  .slider-play {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--red); border: none;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; transition: var(--transition); margin-left: 4px;
  }
  .slider-play:hover { background: var(--red-dark); transform: scale(1.1); }

  /* Progress line */
  .slider-progress {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; z-index: 10; background: rgba(255,255,255,0.06);
  }
  .slider-progress-bar {
    height: 100%; background: var(--red);
    width: 0%; transition: width linear;
  }

  /* Scroll hint */
  .hero-scroll {
    position: absolute; bottom: clamp(1.5rem, 3vh, 2.5rem);
    left: 50%; transform: translateX(-50%); z-index: 10;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(245,240,235,0.35);
    animation: scrollBounce 2.5s ease-in-out infinite;
  }
  .hero-scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--red), transparent); }
  @keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
  }

  /* Buttons */
  .btn-primary {
    background: var(--red); color: #fff;
    padding: 13px 30px; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
    text-decoration: none; transition: var(--transition);
    position: relative; overflow: hidden; border: 2px solid transparent;
    white-space: nowrap;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--red-glow); }

  .btn-ghost {
    background: transparent; color: var(--white);
    padding: 13px 30px; border-radius: var(--radius);
    font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
    text-decoration: none; transition: var(--transition);
    border: 1.5px solid rgba(245,240,235,0.25); white-space: nowrap;
  }
  .btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

  /* Mobile slider tweaks */
  @media (max-width: 600px) {
    .slide-num-strip { display: none; }
    .slider-controls { left: 1.5rem; }
    .slide-stats { gap: 1.5rem; }
    .stat-num { font-size: 28px; }
  }

  /* ─── AD BANNER (AdSense Ready) ─── */
  .ad-banner {
    background: var(--black2);
    border-top: 1px solid rgba(232,25,44,0.1);
    border-bottom: 1px solid rgba(232,25,44,0.1);
    padding: 16px clamp(1.5rem, 5vw, 5rem);
    text-align: center;
    min-height: 100px;
    display: flex; align-items: center; justify-content: center;
  }
  .ad-placeholder {
    background: var(--black3); border: 1px dashed rgba(232,25,44,0.2);
    border-radius: var(--radius); padding: 20px 40px;
    color: var(--white-muted); font-size: 12px; letter-spacing: 1px;
    width: 100%; max-width: 728px; min-height: 90px;
    display: flex; align-items: center; justify-content: center;
  }

  /* ─── SECTIONS ─── */
  section { padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 5rem); }

  .section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 2.5rem; gap: 1rem;
  }
  .section-title {
    font-family: var(--font-title); font-size: clamp(28px, 4vw, 44px);
    letter-spacing: 1px; line-height: 1;
    position: relative;
  }
  .section-title::before {
    content: ''; display: block; width: 40px; height: 3px;
    background: var(--red); margin-bottom: 8px; border-radius: 2px;
  }

  .browse-all {
    font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--red); text-decoration: none; white-space: nowrap;
    transition: opacity var(--transition); display: flex; align-items: center; gap: 6px;
  }
  .browse-all:hover { opacity: 0.7; }
  .browse-all::after { content: '→'; font-size: 14px; }

  /* ─── FEATURED POST ─── */
  .featured {
    background: var(--black2);
    border-top: 1px solid rgba(232,25,44,0.1);
  }

  .featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: var(--radius); overflow: hidden;
  }

  .featured-main {
    grid-row: span 2;
    position: relative; overflow: hidden; min-height: 480px;
    cursor: pointer;
  }
  .featured-main-img {
    width: 100%; height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #1a0510, #2d0a15, #1a0510);
    position: absolute; inset: 0;
    transition: transform 0.6s ease;
  }
  .featured-main:hover .featured-main-img { transform: scale(1.04); }

  .featured-main-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem;
  }
  .post-category {
    display: inline-block; background: var(--red); color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 4px 10px; border-radius: 3px;
    margin-bottom: 0.75rem; width: fit-content;
  }
  .featured-main-title {
    font-family: var(--font-title); font-size: clamp(22px, 3.5vw, 36px);
    line-height: 1.1; margin-bottom: 0.75rem; color: var(--white);
  }
  .post-meta {
    display: flex; align-items: center; gap: 12px; font-size: 12px;
    color: var(--white-muted);
  }
  .post-meta-dot { width: 3px; height: 3px; background: var(--red); border-radius: 50%; }

  .featured-side {
    position: relative; overflow: hidden; min-height: 234px; cursor: pointer;
  }
  .featured-side-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a0a20, #200510, #0a1a20);
    transition: transform 0.6s ease;
  }
  .featured-side:hover .featured-side-bg { transform: scale(1.04); }
  .featured-side:nth-child(2) .featured-side-bg { background: linear-gradient(135deg, #0a1a10, #0a1020, #150a1a); }

  .featured-side-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.25rem;
  }
  .featured-side-title {
    font-family: var(--font-title); font-size: clamp(16px, 2vw, 22px);
    line-height: 1.15; margin-bottom: 0.5rem;
  }

  /* ─── LATEST POSTS ─── */
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .post-card {
    background: var(--black2); border-radius: var(--radius);
    overflow: hidden; cursor: pointer; transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.04);
    position: relative;
  }
  .post-card:hover { transform: translateY(-4px); border-color: rgba(232,25,44,0.3); }
  .post-card:hover .post-thumb { transform: scale(1.05); }

  .post-thumb-wrap { overflow: hidden; aspect-ratio: 16/9; }
  .post-thumb {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
  }

  /* Anime-style colorful bg for post cards without real images */
  .bg-anime-1 { background: linear-gradient(135deg, #1a0510 0%, #2d1020 40%, #0a0a1a 100%); }
  .bg-anime-2 { background: linear-gradient(135deg, #0a1520 0%, #0a2030 40%, #100520 100%); }
  .bg-anime-3 { background: linear-gradient(135deg, #1a1008 0%, #201510 40%, #080a1a 100%); }
  .bg-anime-4 { background: linear-gradient(135deg, #0a200a 0%, #0a1a20 40%, #200a10 100%); }
  .bg-anime-5 { background: linear-gradient(135deg, #200a20 0%, #100520 40%, #0a1820 100%); }
  .bg-anime-6 { background: linear-gradient(135deg, #1a0a05 0%, #251005 40%, #0a1025 100%); }

  .post-thumb-inner {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .post-thumb-inner::before {
    content: ''; position: absolute;
    width: 80%; height: 80%; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,25,44,0.15) 0%, transparent 70%);
  }
  .post-thumb-icon {
    font-size: 48px; opacity: 0.3; position: relative; z-index: 1;
  }

  .post-card-body { padding: 1.25rem; }
  .post-card-title {
    font-family: var(--font-title); font-size: 18px; line-height: 1.2;
    margin: 0.5rem 0 0.75rem; transition: color var(--transition);
  }
  .post-card:hover .post-card-title { color: var(--red); }
  .post-card-excerpt { font-size: 13px; color: var(--white-muted); line-height: 1.7; margin-bottom: 1rem; }

  .post-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px; color: var(--white-muted); padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .read-time { display: flex; align-items: center; gap: 4px; }

  /* ─── AD RECTANGLE (AdSense ready) ─── */
  .ad-mid {
    padding: 2rem clamp(1.5rem, 5vw, 5rem);
    background: var(--black);
    display: flex; justify-content: center;
  }
  .ad-rect {
    background: var(--black3); border: 1px dashed rgba(232,25,44,0.15);
    border-radius: var(--radius); min-height: 250px; width: 100%; max-width: 300px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white-muted); font-size: 12px; letter-spacing: 1px;
  }
  @media (min-width: 768px) {
    .ad-mid { }
    .ad-rect { max-width: 728px; min-height: 90px; }
  }

  /* ─── CATEGORIES ─── */
  .categories-bg { background: var(--black2); }
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  .category-card {
    position: relative; overflow: hidden; border-radius: var(--radius);
    aspect-ratio: 4/3; cursor: pointer; transition: var(--transition);
  }
  .category-card:hover { transform: scale(1.03); }
  .category-card:hover .cat-bg { transform: scale(1.1); }

  .cat-bg {
    position: absolute; inset: 0;
    transition: transform 0.5s ease;
  }
  .cat-reviews { background: linear-gradient(135deg, #1a0510, #3d0f1f, #1a0a05); }
  .cat-news { background: linear-gradient(135deg, #0a1020, #1a2040, #0a1530); }
  .cat-episodes { background: linear-gradient(135deg, #100a20, #201035, #0a1020); }
  .cat-guides { background: linear-gradient(135deg, #0a1a05, #152510, #0a0a20); }

  .cat-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(0,0,0,0.2) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.25rem; gap: 4px;
  }
  .cat-icon { font-size: 28px; margin-bottom: 4px; }
  .cat-name {
    font-family: var(--font-title); font-size: 22px; letter-spacing: 1px;
  }
  .cat-count { font-size: 11px; color: var(--white-muted); letter-spacing: 0.5px; }
  .cat-desc { font-size: 12px; color: var(--white-muted); margin-top: 4px; line-height: 1.5; }

  /* ─── NEWSLETTER ─── */
  .newsletter {
    background: var(--black);
    position: relative; overflow: hidden;
  }
  .newsletter::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 80% at 50% 0%, rgba(232,25,44,0.08) 0%, transparent 70%);
  }
  .newsletter-inner {
    position: relative; max-width: 600px; margin: 0 auto; text-align: center;
  }
  .newsletter-jp {
    font-family: var(--font-jp); font-size: 11px; letter-spacing: 5px;
    color: var(--red); text-transform: uppercase; margin-bottom: 1rem;
  }
  .newsletter-title {
    font-family: var(--font-title); font-size: clamp(32px, 5vw, 56px);
    line-height: 1; margin-bottom: 1rem;
  }
  .newsletter-sub { color: var(--white-muted); font-size: 14px; margin-bottom: 2rem; }
  .newsletter-form {
    display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
  }
  .newsletter-input {
    flex: 1; min-width: 220px; background: var(--black3);
    border: 1px solid rgba(232,25,44,0.25); border-radius: var(--radius);
    color: var(--white); padding: 12px 18px; font-size: 14px; font-family: var(--font-body);
    transition: border-color var(--transition);
  }
  .newsletter-input:focus { outline: none; border-color: var(--red); }
  .newsletter-input::placeholder { color: rgba(245,240,235,0.3); }
  .newsletter-note { font-size: 11px; color: rgba(245,240,235,0.3); margin-top: 1rem; }

  /* ─── TRENDING ─── */
  .trending-list { display: flex; flex-direction: column; gap: 1px; }
  .trending-item {
    display: flex; gap: 1rem; align-items: center;
    padding: 1rem; background: var(--black2); border-radius: var(--radius);
    cursor: pointer; transition: var(--transition); margin-bottom: 2px;
    border: 1px solid transparent;
  }
  .trending-item:hover { border-color: rgba(232,25,44,0.2); background: var(--black3); }
  .trending-num {
    font-family: var(--font-title); font-size: 36px; color: rgba(232,25,44,0.2);
    min-width: 40px; line-height: 1;
  }
  .trending-item:hover .trending-num { color: var(--red); }
  .trending-thumb {
    width: 80px; height: 60px; border-radius: 4px; object-fit: cover;
    flex-shrink: 0; overflow: hidden;
  }
  .trending-thumb-inner {
    width: 100%; height: 100%; border-radius: 4px;
  }
  .trending-info { flex: 1; min-width: 0; }
  .trending-title {
    font-family: var(--font-title); font-size: 16px; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .trending-meta { font-size: 11px; color: var(--white-muted); margin-top: 4px; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--black2);
    border-top: 1px solid rgba(232,25,44,0.2);
    padding: 4rem clamp(1.5rem, 5vw, 5rem) 2rem;
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem; margin-bottom: 3rem;
  }
  .footer-logo {
    font-family: var(--font-display); font-size: 22px; font-weight: 900;
    color: var(--white); margin-bottom: 1rem; display: block;
  }
  .footer-logo span { color: var(--red); font-style: italic; }
  .footer-about { font-size: 13px; color: var(--white-muted); line-height: 1.8; }

  .footer-heading {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--red); margin-bottom: 1.25rem; font-weight: 600;
  }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
  .footer-links a { font-size: 13px; color: var(--white-muted); text-decoration: none; transition: color var(--transition); }
  .footer-links a:hover { color: var(--white); }

  .social-row { display: flex; gap: 10px; margin-top: 0.5rem; }
  .social-btn {
    width: 36px; height: 36px; background: var(--black3);
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--white-muted); font-size: 14px; cursor: pointer;
    transition: var(--transition); text-decoration: none;
  }
  .social-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
    font-size: 12px; color: var(--white-muted);
  }
  .footer-bottom-links { display: flex; gap: 1.5rem; }
  .footer-bottom-links a { color: var(--white-muted); text-decoration: none; transition: color var(--transition); }
  .footer-bottom-links a:hover { color: var(--red); }

  /* ─── BACK TO TOP ─── */
  .back-top {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
    width: 44px; height: 44px; background: var(--red);
    border: none; border-radius: var(--radius); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; opacity: 0; pointer-events: none;
    transition: var(--transition); transform: translateY(10px);
  }
  .back-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
  .back-top:hover { background: var(--red-dark); transform: translateY(-2px); }

  /* ─── ANIMATIONS ─── */
  .fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1024px) {
    .featured-grid { grid-template-columns: 1fr; }
    .featured-main { grid-row: span 1; min-height: 360px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 768px) {
    :root { --nav-h: 60px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
    .nav-search { display: none; }
    .hero-circle { opacity: 0.4; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .posts-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .featured-side { min-height: 180px; }
    .hero-stats { gap: 1.5rem; }
  }

  @media (max-width: 480px) {
    .hero-btns { flex-direction: column; }
    .btn-primary, .btn-ghost { text-align: center; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .categories-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-input { min-width: unset; width: 100%; }
  }

  /* ─── READING PROGRESS BAR ─── */
  #progress-bar {
    position: fixed; top: 0; left: 0; z-index: 1001;
    height: 3px; background: var(--red);
    transition: width 0.1s linear; width: 0%;
  }
  
/* ==========================================================================
   Crunchypen Article Body Content - Complete Typography & Table Fix
   ========================================================================== */

/* Main wrapper class ka text color fixed */
.article-body-content {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.15rem !important;
    line-height: 1.85 !important;
    color: #ffffff !important; /* Pure White for Main Content */
}

/* Force rule: Text ke andar jitne bhi inline span, p tags hain, sabko readable grey karo */
.article-body-content *,
.article-body-content p,
.article-body-content span {
    color: #888 !important; /* Readable light grey/white color for all paragraphs */
    background-color: transparent !important; /* Background transparent taake black screen saaf dikhe */
}

/* 🔴 Strong tags ka color red hi rahega jaisa aapne set kiya tha */
.article-body-content strong {
    color: #e8192c !important;
}

/* Headings Level 2 (H2) - e.g., "What Is Wistoria: Wand and Sword?" */
.article-body-content h2,
.article-body-content h2 *,
.article-body-content h2 strong {
    color: #ffffff !important;
    background-color: transparent !important;
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    margin-top: 45px !important;
    margin-bottom: 20px !important;
    display: block !important;
}

/* Headings Level 3 (H3) */
.article-body-content h3,
.article-body-content h3 *,
.article-body-content h3 strong {
    color: #ffffff !important;
    background-color: transparent !important;
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    margin-top: 35px !important;
    margin-bottom: 15px !important;
    display: block !important;
}

/* 📊 Merged Table Rules: Frontend Tables Professional Border Styling */
.article-body-content table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    margin: 30px 0 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    background-color: #161b22 !important; /* Table body ka dark premium background */
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #30363d !important; /* Outer subtle border box */
}

/* Table Header (Th) - Jaise No. Episode Title, Air Date */
.article-body-content table th,
.article-body-content table th * {
    background-color: #21262d !important; 
    color: #ffffff !important; /* Headers text pure white block */
    font-weight: 700 !important;
    text-align: left !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid #30363d !important;
}

/* Table Data Cells (Td) - Override rule jo table content ko grey se sahi dikhayega */
.article-body-content table td,
.article-body-content table td * {
    padding: 12px 16px !important;
    color: #e2e8f0 !important; /* Table ke andar ka text readable white/grey */
}

/* Inner borders/grid lines for columns and rows */
.article-body-content table td,
.article-body-content table th {
    border: 1px solid #30363d !important; 
}

/* Zebra striping for table rows background tint */
.article-body-content table tr:nth-child(even) {
    background-color: #1f242c !important;
}

/* Mobile responsive protection block */
@media (max-width: 768px) {
    .article-body-content {
        overflow-x: auto !important;
    }
    .article-body-content table {
        min-width: 500px !important;
    }
}