/* =========================================================
   White-background variants (index-w1 / index-w2)
   Loaded AFTER style.css to override the yellow theme.
   Hero stays yellow; everything below it is white.
   ========================================================= */

body.theme-white {
  background: #ffffff;
  color: #1a1a1a;
}

/* ===== Hero keeps the signature yellow + confines particles ===== */
.hero-yellow {
  position: relative;
  overflow: hidden;
  background: #E8D520;
}

.hero-yellow #particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-yellow > section {
  position: relative;
  z-index: 1;
}

/* ===== Nav on white ===== */
body.theme-white #site-nav.scrolled {
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

body.theme-white .nav-link {
  color: #1a1a1a;
}

body.theme-white .section-title {
  color: #1a1a1a;
}

/* ===== Comment cards on white (uniform, no poster) ===== */
body.theme-white .comment-card {
  background: #E8D520;
  border: 1px solid rgba(26, 26, 26, 0.12);
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.25);
  border-radius: 0.75rem;
}

body.theme-white .comment-card .opacity-70 {
  opacity: 0.82;
}

body.theme-white .comment-card .opacity-50 {
  opacity: 0.55;
}

/* ===== W1: Character grid showcase ===== */
.char-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .char-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.char-card {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.char-card img {
  display: block;
  width: 100%;
  height: auto;
}

.char-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.38);
}

/* ===== W2: Full-bleed signature-color bands ===== */
.char-band {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
}

.char-band img {
  width: min(80vw, 320px);
  height: auto;
  border-radius: 0.4rem;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.char-band img:hover {
  transform: translateY(-4px);
}

@media (min-width: 768px) {
  .char-band {
    padding: 5rem 2rem;
  }
  .char-band img {
    width: 360px;
  }
}
