* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #000; overflow: hidden; width: 100%; height: 100%;
  font-family: 'Space Grotesk', sans-serif; color: #f7eeff;
}

#drCanvas {
  position: fixed; inset: 0; width: 100%; height: 100%; display: block;
}

/* ---------- entry overlay ---------- */
.dr-entry {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: #000; cursor: pointer;
  transition: opacity 1.2s ease;
}
.dr-entry.hidden { opacity: 0; pointer-events: none; }

.dr-entry-inner { text-align: center; user-select: none; }
.dr-entry-title {
  font-family: 'Epilogue', sans-serif; font-weight: 900;
  font-size: clamp(2rem, 6vw, 4rem); letter-spacing: 0.06em;
  background: linear-gradient(135deg, #9b5bff, #5dfdff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.dr-entry-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.35); letter-spacing: 0.18em;
  text-transform: uppercase; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 0.8; } }

/* ---------- quotes ---------- */
.dr-quote {
  position: fixed; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem; text-align: center; pointer-events: none;
  opacity: 0; transition: opacity 1.5s ease;
}
.dr-quote.visible { opacity: 1; }

.dr-quote-text {
  font-size: clamp(1rem, 2.5vw, 1.5rem); font-style: italic;
  color: rgba(247, 238, 255, 0.82); line-height: 1.7;
  max-width: 680px; text-shadow: 0 0 40px rgba(155,91,255,0.4);
}
.dr-quote-author {
  display: block; margin-top: 1.1rem;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(155, 91, 255, 0.65);
}

/* ---------- corner controls ---------- */
.dr-back {
  position: fixed; top: 1.1rem; left: 1.3rem; z-index: 50;
  color: rgba(255,255,255,0.25); text-decoration: none; font-size: 0.8rem;
  letter-spacing: 0.06em; transition: color 0.2s;
}
.dr-back:hover { color: rgba(255,255,255,0.65); }

.dr-mute {
  position: fixed; top: 0.85rem; right: 1.2rem; z-index: 50;
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; opacity: 0.3; transition: opacity 0.2s;
}
.dr-mute:hover { opacity: 0.8; }
.dr-mute.muted { opacity: 0.5; }
