/* ============================================
   cherry.css — Cherry's Miscellaneous Stuff
   Aesthetic: blood-red cabinet of curiosities
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=IM+Fell+English:ital@0;1&display=swap');

:root {
  --cherry-bg:       #0c0405;
  --cherry-panel:    #150608;
  --cherry-red:      #c0182a;
  --cherry-red-glow: rgba(192,24,42,0.35);
  --cherry-crimson:  #8b0000;
  --cherry-rose:     #e05070;
  --cherry-bone:     #d8c9b8;
  --cherry-muted:    #7a5a5a;
  --cherry-border:   #3a1010;
}

/* ── Override body for this page ── */
body.cherry-body {
  background-color: var(--cherry-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(140,0,0,0.25) 0%, transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 3px,
      rgba(0,0,0,0.12) 3px,
      rgba(0,0,0,0.12) 4px
    );
  color: var(--cherry-bone);
  font-family: 'IM Fell English', Georgia, serif;
  position: relative;
  overflow-x: hidden;
}

/* ── Vignette overlay ── */
.cherry-vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── Floating blood particles ── */
.cherry-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cherry-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--cherry-red);
  border-radius: 50%;
  opacity: 0;
  animation: drift var(--dur, 12s) var(--delay, 0s) infinite ease-in-out;
  left: var(--x, 50%);
  box-shadow: 0 0 6px var(--cherry-red);
}

.cherry-particles span:nth-child(1)  { --x: 10%; --dur: 14s; --delay: 0s;   width: 3px; height: 3px; }
.cherry-particles span:nth-child(2)  { --x: 25%; --dur: 11s; --delay: 2s;   width: 5px; height: 5px; }
.cherry-particles span:nth-child(3)  { --x: 40%; --dur: 16s; --delay: 1s; }
.cherry-particles span:nth-child(4)  { --x: 55%; --dur: 13s; --delay: 4s;   width: 2px; height: 2px; }
.cherry-particles span:nth-child(5)  { --x: 68%; --dur: 10s; --delay: 0.5s; width: 4px; height: 4px; }
.cherry-particles span:nth-child(6)  { --x: 78%; --dur: 18s; --delay: 3s;   width: 3px; height: 3px; }
.cherry-particles span:nth-child(7)  { --x: 88%; --dur: 12s; --delay: 6s;   width: 5px; height: 5px; }
.cherry-particles span:nth-child(8)  { --x: 5%;  --dur: 15s; --delay: 2.5s; width: 2px; height: 2px; }

@keyframes drift {
  0%   { transform: translateY(110vh) scale(1);   opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
}

/* ── Header ── */
.cherry-header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem 2rem 2rem;
  background: none;
  border-bottom: 1px solid var(--cherry-border);
}

.cherry-header::after {
  background: linear-gradient(90deg, transparent, var(--cherry-red), transparent);
}

.cherry-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cherry-muted);
  margin-bottom: 1.2rem;
}

.cherry-title {
  font-family: 'Cinzel Decorative', serif !important;
  font-size: clamp(2rem, 7vw, 4.5rem) !important;
  color: var(--cherry-red) !important;
  text-shadow:
    0 0 20px var(--cherry-red-glow),
    0 0 60px rgba(140,0,0,0.2),
    2px 2px 0 #000;
  line-height: 1.15 !important;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

/* no blinking cursor on this title */
.cherry-title::after { display: none !important; }

.cherry-subtitle {
  font-family: 'IM Fell English', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cherry-rose);
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
}

/* nav inherits from styles.css .shinyer but gets cherry tint */
.cherry-header nav.shinyer a,
.cherry-footer nav.shinyer a {
  color: var(--cherry-bone);
}

.cherry-header nav.shinyer a:hover,
.cherry-footer nav.shinyer a:hover {
  color: var(--cherry-rose);
  border-color: var(--cherry-red);
  background: rgba(192,24,42,0.1);
  text-shadow: 0 0 8px var(--cherry-red-glow);
}

/* ── Main container ── */
.cherry-container {
  position: relative;
  z-index: 10;
  max-width: 780px;
  margin: 2.5rem auto;
  padding: 0 2rem;
}

/* ── Q&A section ── */
section.cherry-qna {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

section.cherry-qna::before { display: none; }

/* ── Cards ── */
.cherry-card {
  position: relative;
  background: var(--cherry-panel);
  border: 1px solid var(--cherry-border);
  border-left: 3px solid var(--cherry-red);
  padding: 1.4rem 1.6rem 1.4rem 1.8rem;
  border-radius: 0 4px 4px 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.cherry-card:hover {
  border-left-color: var(--cherry-rose);
  box-shadow: -4px 0 20px var(--cherry-red-glow), 0 0 30px rgba(0,0,0,0.5);
}

.cherry-card-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--cherry-crimson);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cherry-card h3 {
  font-family: 'IM Fell English', Georgia, serif !important;
  font-style: italic;
  font-size: 1.05rem !important;
  color: var(--cherry-rose) !important;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.cherry-card p {
  font-size: 0.97rem;
  color: var(--cherry-bone);
  line-height: 1.8;
  margin: 0;
}

/* ── Footer ── */
.cherry-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  border-top: 1px solid var(--cherry-border);
  padding: 1.5rem 2rem 1rem;
  background: none;
}

.cherry-footer-seal {
  font-size: 1.4rem;
  color: var(--cherry-red);
  text-shadow: 0 0 12px var(--cherry-red-glow);
  margin-bottom: 0.8rem;
  animation: pulse-heart 2s ease-in-out infinite;
}

@keyframes pulse-heart {
  0%, 100% { transform: scale(1);    opacity: 0.8; }
  50%       { transform: scale(1.15); opacity: 1;   }
}

.cherry-footer nav.shinyer {
  justify-content: center;
  padding-bottom: 0.5rem;
}

.cherry-footer h5 {
  color: var(--cherry-muted);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .cherry-header  { padding: 2rem 1rem 1.5rem; }
  .cherry-container { padding: 0 1rem; }
  .cherry-card    { padding: 1rem 1rem 1rem 1.2rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .cherry-particles span,
  .cherry-footer-seal {
    animation: none;
  }
}
