/* ============================================
   PRISM — Living in Color
   Room + PrismTV Video Player
   ============================================ */

:root {
  --cream: #f7f0e8;
  --warm-white: #faf6f1;
  --deep-brown: #2c1e14;
  --gold: #c9a06c;
  --soft-gold: #e8d5b5;
  --lavender: #9b7bb8;
  --text: #2a1f17;
  --text-soft: #5c4a3a;
  --shadow: rgba(30, 18, 10, 0.45);
  --panel-bg: rgba(250, 246, 241, 0.97);
}

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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  background: #1a120c;
  color: var(--text);
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(20, 12, 8, 0.28) 100%);
  z-index: 2;
}

.room {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.room-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.9rem;
  pointer-events: none;
}

.top-bar .pill-btn { pointer-events: auto; }

.logo-area {
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.pill-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f5ebe0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.pill-btn.gold {
  background: rgba(201, 160, 108, 0.28);
  border-color: rgba(201, 160, 108, 0.55);
}

.pill-btn.gold:hover {
  background: rgba(201, 160, 108, 0.45);
}

/* Category hotspots */
.tapestry {
  position: absolute;
  top: 16%;
  height: 58%;
  width: 18.5%;
  z-index: 15;
  display: flex;
  flex-direction: column;
}

.left-tapestry { left: 5.5%; }
.right-tapestry { right: 5.5%; }

.category-list {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.cat-btn {
  flex: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  border-radius: 6px;
  transition: background 0.2s ease;
  min-height: 0;
}

.cat-btn:hover {
  background: rgba(255, 235, 200, 0.13);
}

.cat-btn::after {
  content: '';
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 230, 180, 0);
  transition: all 0.25s ease;
}

.cat-btn:hover::after {
  background: rgba(255, 230, 180, 0.95);
  box-shadow: 0 0 12px rgba(255, 220, 150, 0.75);
}

/* TV HOTSPOT */
.tv-hotspot {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 42%;
  z-index: 16;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.tv-hotspot:hover {
  background: rgba(0, 0, 0, 0.15);
}

.tv-play-hint {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s ease;
  pointer-events: none;
}

.tv-hotspot:hover .tv-play-hint {
  opacity: 1;
  transform: scale(1);
}

/* BOTTOM NAV */
.bottom-nav {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(18, 12, 8, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 230, 200, 0.14);
  border-radius: 18px;
  padding: 0.45rem 0.5rem;
  max-width: 92vw;
}

.nav-item {
  background: transparent;
  border: none;
  color: rgba(255, 240, 220, 0.85);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  text-align: left;
  min-width: 0;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.home {
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  color: #f8e8c8;
}

.nav-item.home .prism-icon {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.nav-item.home.active {
  background: rgba(201, 160, 108, 0.2);
}

.nav-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.1rem;
}

.nav-sub {
  font-size: 0.62rem;
  color: rgba(255, 230, 200, 0.55);
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.nav-cta {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--soft-gold);
  font-weight: 500;
}

.light-candle {
  position: absolute;
  bottom: 1.35rem;
  right: 1.5rem;
  z-index: 20;
  background: rgba(20, 12, 8, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 220, 160, 0.22);
  color: #f5e6c8;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.light-candle:hover {
  background: rgba(40, 25, 15, 0.8);
  border-color: rgba(255, 220, 160, 0.45);
}

/* ========== VIDEO MODAL ========== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(12, 8, 5, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 1.5rem;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-inner {
  width: min(920px, 96vw);
  max-height: 92vh;
  background: #14100c;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-modal.open .video-modal-inner {
  transform: translateY(0) scale(1);
}

.close-video {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.close-video:hover {
  background: rgba(0, 0, 0, 0.8);
}

.player-shell {
  display: flex;
  flex-direction: column;
}

.player-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0806;
  overflow: hidden;
}

.player-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.main-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: none;
}

.main-video.playing {
  display: block;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 45%);
  transition: opacity 0.3s;
}

.player-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.big-play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  margin-bottom: 1.2rem;
}

.big-play:hover {
  background: rgba(201, 160, 108, 0.35);
  border-color: #f0d9a8;
  transform: scale(1.06);
}

.now-playing-info {
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
}

.np-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 0.35rem;
}

.np-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.np-meta {
  font-size: 0.88rem;
  color: rgba(255, 240, 220, 0.75);
}

.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.55) 60%, transparent);
  opacity: 1;
}

.ctrl-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.ctrl-btn:hover {
  background: rgba(201, 160, 108, 0.35);
  border-color: rgba(240, 217, 168, 0.65);
  transform: scale(1.06);
}

#stopBtn {
  font-size: 0.85rem;
}

.progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  min-width: 72px;
}

.more-videos {
  padding: 1.1rem 1.25rem 1.4rem;
  background: #1a1410;
}

.more-videos h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: #f5ebe0;
  margin-bottom: 0.85rem;
}

.video-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
}

.video-thumb {
  flex: 0 0 160px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2018;
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.video-thumb img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}

.video-thumb .v-title {
  padding: 0.5rem 0.6rem 0.65rem;
  font-size: 0.72rem;
  color: #e8dcc8;
  line-height: 1.3;
}

/* SECTION PANEL */
.section-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(540px, 100%);
  height: 100%;
  z-index: 50;
  transform: translateX(105%);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--panel-bg);
  box-shadow: -16px 0 50px var(--shadow);
  overflow: hidden;
}

.section-panel.open { transform: translateX(0); }

.section-panel.from-left {
  right: auto;
  left: 0;
  transform: translateX(-105%);
  box-shadow: 16px 0 50px var(--shadow);
}

.section-panel.from-left.open { transform: translateX(0); }

.panel-inner {
  height: 100%;
  overflow-y: auto;
  padding: 2.1rem 1.85rem 3.2rem;
  position: relative;
}

.close-panel {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--text-soft);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.close-panel:hover { background: rgba(0,0,0,0.07); }

.panel-header { margin-bottom: 1.9rem; padding-right: 2.2rem; }
.color-bar { height: 5px; width: 52px; border-radius: 3px; margin-bottom: 1.05rem; }
.panel-side { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.3rem; }
.panel-title { font-family: 'Cormorant Garamond', serif; font-size: 2.15rem; font-weight: 600; color: var(--deep-brown); line-height: 1.12; margin-bottom: 0.75rem; }
.panel-intro { font-size: 0.96rem; line-height: 1.58; color: var(--text-soft); }
.panel-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.28rem; font-weight: 600; margin-bottom: 0.9rem; color: var(--deep-brown); }
.panel-body h4 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.55rem; }

.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.9rem; }
.topic-chip { background: rgba(44, 30, 20, 0.055); border: 1px solid rgba(44, 30, 20, 0.07); padding: 0.55rem 0.75rem; border-radius: 8px; font-size: 0.82rem; color: var(--text); line-height: 1.3; }
.topic-chip:hover { background: rgba(44, 30, 20, 0.1); }

.content-blocks { display: grid; gap: 1.5rem; margin-bottom: 1.9rem; }
.content-blocks ul { list-style: none; }
.content-blocks li { padding: 0.48rem 0; border-bottom: 1px solid rgba(44, 30, 20, 0.07); font-size: 0.91rem; color: var(--text); cursor: pointer; }
.content-blocks li:hover { color: var(--lavender); }

.recommend { display: flex; flex-direction: column; gap: 0.35rem; }
.rec-item { font-size: 0.88rem; color: var(--text-soft); padding: 0.28rem 0; }

.products-tease { margin-bottom: 2.1rem; }
.product-row { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.4rem; }
.product-card { flex: 0 0 138px; background: #fff; border-radius: 11px; padding: 0.95rem 0.75rem; box-shadow: 0 3px 12px rgba(0,0,0,0.06); text-align: center; }
.product-card .emoji { font-size: 1.55rem; margin-bottom: 0.4rem; }
.product-card .name { font-size: 0.78rem; font-weight: 500; color: var(--deep-brown); margin-bottom: 0.25rem; line-height: 1.25; }
.product-card .price { font-size: 0.72rem; color: var(--text-soft); }

.ask-box { background: rgba(155, 123, 184, 0.075); border: 1px solid rgba(155, 123, 184, 0.16); border-radius: 13px; padding: 1.3rem; }
.ask-box h3 { margin-bottom: 0.3rem; }
.ask-box > p { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 0.95rem; }
.ask-form textarea { width: 100%; border: 1px solid rgba(44, 30, 20, 0.12); border-radius: 9px; padding: 0.75rem 0.9rem; font-family: inherit; font-size: 0.9rem; resize: vertical; background: #fff; margin-bottom: 0.65rem; }
.ask-form textarea:focus { outline: none; border-color: var(--lavender); box-shadow: 0 0 0 3px rgba(155, 123, 184, 0.12); }
.ask-form button { background: var(--deep-brown); color: #f7f0e8; border: none; padding: 0.65rem 1.25rem; border-radius: 9px; font-size: 0.86rem; cursor: pointer; }
.ask-form button:hover { background: #3d2a1f; }
.ask-note { font-size: 0.72rem; color: var(--text-soft); margin-top: 0.75rem; opacity: 0.85; }

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 10, 6, 0.74);
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.open { opacity: 1; visibility: visible; }

.modal-content {
  background: var(--warm-white);
  border-radius: 18px;
  padding: 2.3rem 2.1rem;
  max-width: 490px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,0.38);
  transform: translateY(20px);
  transition: transform 0.38s ease;
}

.modal.open .modal-content { transform: translateY(0); }

.close-modal {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--text-soft);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.close-modal:hover { background: rgba(0,0,0,0.06); }

.modal-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.95rem; margin-bottom: 1rem; color: var(--deep-brown); }
.lead { font-size: 1.05rem; line-height: 1.55; color: var(--text); margin-bottom: 1.1rem; }
.about-content p { font-size: 0.95rem; line-height: 1.55; color: var(--text-soft); margin-bottom: 0.9rem; }
.about-content ul { margin: 0.85rem 0 1.25rem 1.2rem; color: var(--text-soft); }
.about-content li { margin-bottom: 0.4rem; font-size: 0.92rem; }

.primary-btn {
  background: var(--deep-brown);
  color: #f7f0e8;
  border: none;
  padding: 0.75rem 1.55rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 0.4rem;
}

.primary-btn:hover { background: #3d2a1f; }

.join-perks { margin: 1.25rem 0; }
.perk { padding: 0.48rem 0; font-size: 0.92rem; color: var(--text); border-bottom: 1px solid rgba(44,30,20,0.06); }
.coming { font-size: 0.88rem; color: var(--text-soft); margin: 1.25rem 0 0.85rem; }

.join-form { display: flex; gap: 0.5rem; }
.join-form input { flex: 1; border: 1px solid rgba(44,30,20,0.15); border-radius: 9px; padding: 0.7rem 0.95rem; font-size: 0.9rem; }
.join-form button { background: var(--gold); color: var(--deep-brown); border: none; padding: 0.7rem 1.15rem; border-radius: 9px; font-weight: 600; cursor: pointer; white-space: nowrap; }

.toast {
  position: fixed;
  bottom: 5.8rem;
  left: 50%;
  transform: translateX(-50%) translateY(22px);
  background: rgba(28, 16, 8, 0.94);
  color: #f5e6c8;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  max-width: 90%;
  text-align: center;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .tapestry { width: 22%; }
  .left-tapestry { left: 3%; }
  .right-tapestry { right: 3%; }
  .tv-hotspot { width: 44%; height: 36%; top: 16%; }
  .nav-sub { display: none; }
  .nav-item { padding: 0.5rem 0.8rem; }
}

@media (max-width: 640px) {
  .tapestry { display: none; }
  .tv-hotspot { width: 70%; height: 32%; top: 18%; }
  .bottom-nav { width: calc(100% - 1.4rem); bottom: 0.8rem; }
  .light-candle { bottom: 4.2rem; right: 0.8rem; font-size: 0.58rem; }
  .np-title { font-size: 1.25rem; }
  .video-modal { padding: 0.5rem; }
}

/* ========== WELCOME LAYER (standing Prism) ========== */
.welcome-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
  background: rgba(10, 6, 4, 0.35);
  transition: opacity 0.65s ease, visibility 0.65s;
}

.welcome-layer.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none;
}

.prism-standing-wrap {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 26;
  pointer-events: none;
}

.prism-standing {
  height: min(78vh, 720px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.65));
  user-select: none;
}

.welcome-bubble {
  position: absolute;
  left: 58%;
  bottom: 38%;
  width: 300px;
  background: rgba(22, 14, 10, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 220, 170, 0.32);
  border-radius: 18px 18px 18px 4px;
  padding: 1.45rem 1.5rem 1.3rem;
  color: #f7efe4;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  z-index: 27;
  animation: softIn 0.9s ease 0.25s both;
}

@keyframes softIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.welcome-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #e8d5b5;
  margin-bottom: 0.3rem;
}

.welcome-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.55rem;
  color: #fff8ee;
}

.welcome-sub {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 240, 220, 0.82);
  margin-bottom: 0.75rem;
}

.welcome-close {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #f0d9a8;
  margin-bottom: 1.05rem;
}

.enter-btn {
  background: rgba(201, 160, 108, 0.28);
  border: 1px solid rgba(201, 160, 108, 0.6);
  color: #f5e6c8;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
}

.enter-btn:hover {
  background: rgba(201, 160, 108, 0.5);
  border-color: rgba(201, 160, 108, 0.9);
  transform: translateY(-1px);
}

/* While welcome is up, soft dim the room behind a bit */
body.welcome-active .room-bg {
  filter: brightness(0.82);
  transition: filter 0.7s ease;
}

body:not(.welcome-active) .room-bg {
  filter: brightness(1);
  transition: filter 0.7s ease;
}

@media (max-width: 900px) {
  .prism-standing {
    height: min(68vh, 580px);
  }
  .welcome-bubble {
    width: 260px;
    left: 52%;
    bottom: 32%;
    padding: 1.2rem 1.25rem;
  }
  .welcome-main {
    font-size: 1.4rem;
  }
}

@media (max-width: 640px) {
  .prism-standing {
    height: min(55vh, 420px);
  }
  .welcome-bubble {
    left: 50%;
    bottom: 18%;
    transform: translateX(-50%);
    width: min(300px, 88vw);
    border-radius: 16px;
  }
}
