/* ===========================
   DEGEN MONK — style.css
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Lora:ital,wght@0,400;0,600;1,400;1,600&family=Share+Tech+Mono&display=swap');

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #0a0a0f;
  --bg-alt:     #1a0a2e;
  --bg-card:    #0f0d1a;
  --purple:     #9d4edd;
  --purple-dim: #5a1e8c;
  --green:      #39ff14;
  --gold:       #ffd700;
  --gold-dim:   #a08800;
  --orange:     #ff6b35;
  --text:       #c9b99a;
  --text-dim:   #6e5f48;
  --text-bright:#e8d5b7;
  --red:        #ff3333;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === Matrix Rain Canvas === */
#matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}

/* === Particles Layer === */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -20px;
  font-size: 14px;
  opacity: 0;
  animation: float-up linear forwards;
  pointer-events: none;
  user-select: none;
}

@keyframes float-up {
  0%   { opacity: 0;   transform: translateY(0) translateX(0) rotate(0deg); }
  10%  { opacity: 0.8; }
  80%  { opacity: 0.5; }
  100% { opacity: 0;   transform: translateY(-100vh) translateX(var(--drift)) rotate(360deg); }
}

/* === Page Layout === */
.site-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === VIEWPORT HERO WRAPPER === */
.viewport-hero {
  display: flex;
  flex-direction: column;
}

/* === HEADER / HERO === */
header {
  position: relative;
  text-align: center;
  padding: 18px 0 14px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}



/* Title */
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--text-bright);
  text-transform: uppercase;
  animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
  0%   { text-shadow: 0 0 20px var(--purple), 0 0 40px var(--purple-dim), 0 0 80px rgba(157, 78, 221, 0.3); }
  50%  { text-shadow: 0 0 30px var(--gold),   0 0 60px var(--gold-dim),   0 0 100px rgba(255, 215, 0, 0.2); }
  100% { text-shadow: 0 0 20px var(--purple), 0 0 40px var(--purple-dim), 0 0 80px rgba(157, 78, 221, 0.3); }
}

.hero-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

.hero-subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: var(--green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-height: 1.5em;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-subtitle.fade-out { opacity: 0; }

.hero-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.scroll-indicator {
  display: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* === MAIN CONTENT === */
main {
  padding: 40px 0 80px;
}

/* === DAILY SCROLL SECTION === */
#daily-scroll {
  position: relative;
  margin: 0 auto;
  max-width: 780px;
}

.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green));
}

.section-label::after {
  background: linear-gradient(90deg, var(--green), transparent);
}

.scroll-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  box-shadow:
    0 0 0 1px var(--purple-dim),
    0 0 30px rgba(157, 78, 221, 0.15),
    inset 0 0 60px rgba(10, 5, 20, 0.8);
  overflow: hidden;
}

.scroll-card-header {
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.12), rgba(26, 10, 46, 0.9));
  border-bottom: 1px solid var(--gold-dim);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.date-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--green);
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.3);
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.1em;
}

.scroll-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  flex: 1;
  text-align: right;
}

.scroll-card-body {
  padding: 36px 40px;
  position: relative;
}

.scroll-card-body::before {
  content: '❧';
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 1.2rem;
  color: var(--gold-dim);
  opacity: 0.4;
}

#scroll-content {
  font-family: 'Lora', serif;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.9;
  color: var(--text-bright);
  white-space: pre-wrap;
  min-height: 120px;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--green);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.scroll-card-footer {
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  padding: 24px 40px;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}

.scroll-card-footer::before,
.scroll-card-footer::after {
  content: '— ✦ —';
  color: var(--gold-dim);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 12px;
}

.scroll-card-footer::after {
  margin-bottom: 0;
  margin-top: 12px;
}

#mantra {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  border: none;
  padding: 0;
  quotes: none;
}

/* Fallback state */
.scroll-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%   { content: '';    }
  25%  { content: '.';   }
  50%  { content: '..';  }
  75%  { content: '...'; }
  100% { content: '';    }
}

/* === FOOTER === */
footer {
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-sigil {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px var(--purple));
  animation: sigil-spin 20s linear infinite;
}

@keyframes sigil-spin {
  from { filter: drop-shadow(0 0 8px var(--purple)); }
  50%  { filter: drop-shadow(0 0 12px var(--gold)); }
  to   { filter: drop-shadow(0 0 8px var(--purple)); }
}

.footer-mantra {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  opacity: 0.5;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .site-wrapper {
    padding: 0 16px;
  }

  .scroll-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .scroll-title {
    text-align: left;
  }

  .scroll-card-body {
    padding: 24px 20px;
  }

  .scroll-card-footer {
    padding: 20px;
  }

  .incense-container {
    display: none;
  }

  .archive-entry {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .today-link {
    font-size: 0.65rem;
  }
}

/* === ARCHIVE SECTION === */
#archive-section {
  position: relative;
  margin: 60px auto 0;
  max-width: 780px;
  padding-bottom: 80px;
}

#archive-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0;
}

.archive-entry {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 10px 16px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
  color: inherit;
  font-family: inherit;
}

.archive-entry:hover {
  background: rgba(157, 78, 221, 0.08);
  border-color: var(--purple-dim);
}

.archive-entry--active {
  background: rgba(255, 215, 0, 0.06);
  border-color: var(--gold-dim);
}

.archive-entry--active .archive-entry-date { color: var(--gold); }
.archive-entry--active .archive-entry-title { color: var(--text-bright); }

.archive-entry-date {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--green);
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.archive-entry-title {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.15s ease;
}

.archive-entry:hover .archive-entry-title { color: var(--text-bright); }

.archive-empty {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 16px 0;
  letter-spacing: 0.1em;
}

.today-link {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.12em;
  border: 1px solid var(--text-dim);
  padding: 3px 10px;
  border-radius: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.today-link:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

/* ===========================
   CAST CAROUSEL
   =========================== */

#cast-carousel {
  position: relative;
  max-width: 900px;
  margin: 60px auto 80px;
  padding: 0 0 20px;
}

.carousel-wrapper {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px var(--purple-dim),
    0 0 40px rgba(157, 78, 221, 0.2),
    inset 0 0 80px rgba(10, 5, 20, 0.8);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: none;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

/* Character Image */
.char-image-wrap {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0520 0%, #1a0a2e 100%);
}

.char-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--bg-card) 100%);
  pointer-events: none;
}

.char-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 420px;
  filter: saturate(1.1) contrast(1.05);
  transition: transform 0.8s ease;
}

.carousel-slide.active .char-image {
  transform: scale(1.02);
}

/* Character Info */
.char-info {
  flex: 1;
  padding: 44px 40px 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.char-number {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--green);
  opacity: 0.7;
}

.char-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-shadow:
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.2);
}

.char-role {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  border-left: 2px solid var(--orange);
  padding-left: 10px;
}

.char-desc {
  font-family: 'Lora', serif;
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  line-height: 1.8;
  color: var(--text);
}

.char-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--purple);
  border: none;
  padding: 0;
  quotes: none;
  text-shadow: 0 0 12px rgba(157, 78, 221, 0.4);
  margin-top: 4px;
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: rgba(157, 78, 221, 0.25);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 16px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-dot--active,
.carousel-dot:hover {
  background: var(--gold);
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Progress bar */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  width: 0%;
  transition: width linear;
  z-index: 5;
}

/* Mobile */
@media (max-width: 680px) {
  .carousel-slide {
    flex-direction: column;
  }

  .char-image-wrap {
    width: 100%;
    height: 260px;
  }

  .char-image-wrap::after {
    background: linear-gradient(180deg, transparent 60%, var(--bg-card) 100%);
  }

  .char-image {
    min-height: 260px;
    object-position: center 20%;
  }

  .char-info {
    padding: 28px 24px 32px;
    gap: 12px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}

/* === UTILITY === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ===========================
   CAST CAROUSEL
   =========================== */

#cast-carousel {
  position: relative;
  max-width: 900px;
  margin: 60px auto 80px;
  padding: 0 0 20px;
}

.carousel-wrapper {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px var(--purple-dim),
    0 0 40px rgba(157, 78, 221, 0.2),
    inset 0 0 80px rgba(10, 5, 20, 0.8);
  overflow: hidden;
}

.carousel-track {
  position: relative;
  min-height: 420px;
}

.carousel-slide {
  display: flex;
  align-items: stretch;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

/* Image */
.char-image-wrap {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0520 0%, #1a0a2e 100%);
}

.char-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--bg-card) 100%);
  pointer-events: none;
}

.char-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 420px;
  filter: saturate(1.15) contrast(1.05);
  transition: transform 8s ease;
}

.carousel-slide.active .char-image {
  transform: scale(1.04);
}

/* Info panel */
.char-info {
  flex: 1;
  padding: 44px 40px 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.char-number {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--green);
  opacity: 0.6;
}

.char-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-shadow:
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.2);
}

.char-role {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  border-left: 2px solid var(--orange);
  padding-left: 10px;
}

.char-desc {
  font-family: 'Lora', serif;
  font-size: clamp(0.86rem, 1.5vw, 0.96rem);
  line-height: 1.85;
  color: var(--text);
}

.char-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  color: var(--purple);
  border: none;
  padding: 0;
  quotes: none;
  text-shadow: 0 0 12px rgba(157, 78, 221, 0.4);
  margin-top: 4px;
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: rgba(157, 78, 221, 0.3);
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
}

.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 16px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.carousel-dot--active,
.carousel-dot:hover {
  background: var(--gold);
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Progress bar */
.carousel-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--orange));
  width: 0%;
  z-index: 5;
  border-radius: 0 2px 2px 0;
}

/* Mobile */
@media (max-width: 680px) {
  .carousel-slide { flex-direction: column; }
  .char-image-wrap {
    width: 100%;
    height: 260px;
  }
  .char-image-wrap::after {
    background: linear-gradient(180deg, transparent 55%, var(--bg-card) 100%);
  }
  .char-image { min-height: 260px; object-position: center 20%; }
  .char-info { padding: 28px 24px 32px; gap: 12px; }
  .carousel-btn { width: 36px; height: 36px; font-size: 1.4rem; }
}

/* ===========================
   COMIC STRIP SECTION
   =========================== */

/* When inside viewport-hero, natural flow (no forced height) */
.viewport-hero #strip-section {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 0 4px;
  position: relative;
  max-width: 100%;
}

.viewport-hero #strip-section .section-label {
  flex: 0 0 auto;
  padding: 0;
  margin: 4px 0 8px;
}

.viewport-hero .strip-card {
  display: block;
  border-radius: 4px;
}

.viewport-hero .strip-image-wrap {
  width: 100%;
  line-height: 0;
  background: var(--bg-card);
}

.viewport-hero #strip-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Strip placeholder — shown when no strip loaded (.strip-empty class) */
.strip-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: 160px;
  color: var(--text-dim);
}

.strip-placeholder span {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 8px var(--purple-dim));
  animation: sigil-spin 20s linear infinite;
}

.strip-placeholder p {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

#strip-section.strip-empty .strip-placeholder { display: flex; }
#strip-section.strip-empty #strip-image      { display: none; }
#strip-section.strip-empty .strip-title      { display: none; }

/* Standalone strip (non-viewport-hero usage, e.g. if ever used standalone) */
#strip-section {
  position: relative;
  max-width: 900px;
  margin: 0 auto 60px;
}

.strip-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px var(--purple-dim),
    0 0 30px rgba(157, 78, 221, 0.15);
  overflow: hidden;
}

.strip-image-wrap {
  width: 100%;
  line-height: 0;
}

.strip-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.strip-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  text-align: center;
  padding: 14px 20px;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,215,0,0.1);
  text-transform: uppercase;
  margin: 0;
}

/* === DONATION BUTTON (trigger) === */
.donate-btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  background: transparent;
  border: 1px solid var(--gold-dim);
  padding: 5px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.donate-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}
.donate-btn--header {
  position: absolute;
  top: 16px;
  right: 0;
  font-size: 0.65rem;
  padding: 4px 10px;
}
.donate-btn--footer { font-size: 0.75rem; padding: 7px 16px; }

/* === DONATION MODAL === */
.donate-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donate-modal[hidden] { display: none; }

.donate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.donate-modal-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(157, 78, 221, 0.3), 0 0 0 1px var(--purple-dim);
  padding: 32px 28px 24px;
  width: min(440px, calc(100vw - 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.donate-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
.donate-modal-close:hover { color: var(--text-bright); }

.donate-modal-label {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0;
}

.donate-modal-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin: 0;
}

.donate-modal-address {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--purple-dim);
  border-radius: 3px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
}

.donate-modal-address code {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  color: var(--text);
  word-break: break-all;
  flex: 1;
  text-align: left;
}

.donate-copy-btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--green);
  border: 1px solid var(--green);
  background: transparent;
  padding: 4px 10px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.donate-copy-btn:hover { background: rgba(0, 255, 136, 0.08); }
.donate-copy-btn.copied { color: var(--gold); border-color: var(--gold); }

.donate-wallet-btn {
  display: block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--bg-dark);
  background: var(--gold-dim);
  padding: 10px 24px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.donate-wallet-btn:hover { background: var(--gold); }

.donate-modal-note {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin: 0;
  opacity: 0.7;
}

/* Mobile strip */
@media (max-width: 600px) {
  #strip-section { margin-bottom: 40px; }
  .strip-title { font-size: 0.72rem; padding: 12px 16px; }
  .donate-btn--header { font-size: 0.6rem; padding: 3px 8px; }
}
