.pageShell {
  position: relative;
  min-height: 100vh;
  padding: 24px;
  z-index: 1;
}

/* ========================= */
/* BACKGROUND */
/* ========================= */

.streamsBg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.30), transparent 24%),
    linear-gradient(180deg, #fff8fc 0%, #ffeef8 40%, #ffddea 100%);
}

.streamsGlow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  animation: glowFloat 14s ease-in-out infinite;
}

.glow1 {
  width: 320px;
  height: 320px;
  background: rgba(255, 150, 205, 0.24);
  left: 8%;
  top: 10%;
}

.glow2 {
  width: 360px;
  height: 360px;
  background: rgba(207, 180, 255, 0.18);
  right: 10%;
  top: 14%;
  animation-delay: 2s;
}

.glow3 {
  width: 380px;
  height: 380px;
  background: rgba(255, 205, 230, 0.34);
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  animation-delay: 4s;
}

@keyframes glowFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -14px) scale(1.06);
  }
}

.streamsGrid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.08;
}

.streamsSpark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.28;
  animation: sparkFloat 8s ease-in-out infinite;
}

.spark1 {
  left: 10%;
  top: 24%;
  font-size: 34px;
  color: #ff9ccc;
}

.spark2 {
  right: 14%;
  top: 18%;
  font-size: 28px;
  color: #ffb8dc;
  animation-delay: 1.8s;
}

.spark3 {
  right: 34%;
  top: 35%;
  font-size: 22px;
  color: #ffc8e6;
  animation-delay: 0.8s;
}

.spark4 {
  left: 18%;
  bottom: 18%;
  font-size: 18px;
  color: #e3a1ff;
  animation-delay: 1.4s;
}

.spark5 {
  right: 20%;
  bottom: 26%;
  font-size: 24px;
  color: #ff91c0;
  animation-delay: 2.2s;
}

@keyframes sparkFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}

/* ========================= */
/* NAV */
/* ========================= */

.topNav {
  max-width: 1320px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow:
    0 16px 36px rgba(255, 154, 206, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navLogoWrap {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(255,255,255,0.48);
  flex-shrink: 0;
  text-decoration: none;
}

.navLogo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.navLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.navButton {
  flex: 1 1 120px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #9a4f7d;
  font-weight: 700;
  background: rgba(255,255,255,0.26);
  border: 1px solid rgba(255,255,255,0.54);
  border-radius: 999px;
  padding: 12px 18px;
  transition: 0.24s ease;
}

.navButton:hover,
.navButton.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 140, 195, 0.82), rgba(211, 176, 255, 0.76));
  box-shadow:
    0 0 20px rgba(255, 166, 210, 0.22),
    inset 0 0 10px rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ========================= */
/* HEADER */
/* ========================= */

.streamsHeader {
  max-width: 1100px;
  margin: 0 auto 18px;
  text-align: center;
  padding: 14px 10px 4px;
}

.streamsTiny {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.40);
  border: 1px solid rgba(255,255,255,0.60);
  color: #c15d94;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.streamsTitle {
  margin: 14px 0 8px;
  font-size: clamp(52px, 8vw, 100px);
  line-height: 0.95;
  background: linear-gradient(180deg, #ff86bf 0%, #ff4ca5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(255, 120, 180, 0.24));
}

.streamsSubtitle {
  margin: 0 auto;
  max-width: 760px;
  color: #b85789;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
}

/* ========================= */
/* SCENE */
/* ========================= */

.streamsScene {
  max-width: 1320px;
  margin: 0 auto;
}

.streamRoom {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 270px;
  gap: 20px;
  align-items: start;
  border-radius: 38px;
  padding: 28px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.11));
  border: 1px solid rgba(255,255,255,0.46);
  box-shadow:
    0 20px 48px rgba(255, 154, 206, 0.10),
    inset 0 0 0 1px rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.leftCard,
.rightColumn,
.centerColumn {
  display: grid;
  gap: 18px;
}

.sideCard,
.mainMonitor,
.widgetCard {
  box-shadow:
    0 18px 34px rgba(255, 154, 206, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}

.sideCard,
.widgetCard {
  padding: 20px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff4fb 0%, #ffe7f5 100%);
  border: 1px solid rgba(255,255,255,0.76);
}

.cardTag,
.widgetTag {
  display: inline-block;
  margin-bottom: 10px;
  color: #c15e93;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.4px;
}

.sideCard h3,
.widgetCard h4 {
  margin: 0 0 10px;
  color: #b44f82;
  line-height: 1.08;
}

.sideCard h3 {
  font-size: 26px;
}

.sideCard p,
.widgetCard p,
.chatModeNote {
  margin: 0;
  color: #8d5374;
  line-height: 1.82;
}

/* ========================= */
/* MAIN MONITOR */
/* ========================= */

.mainMonitor {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.windowBar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.34);
}

.windowDots {
  display: flex;
  gap: 6px;
}

.windowDots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
}

.windowTitle {
  color: #9d5d86;
  font-size: 13px;
  font-weight: 700;
}

.monitorScreen {
  position: relative;
  padding: 16px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.12), transparent 44%),
    linear-gradient(180deg, rgba(255, 233, 244, 0.72), rgba(255, 213, 233, 0.60));
}

.monitorGlow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 140, 195, 0.14), transparent 60%);
  pointer-events: none;
}

.streamTopBar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.liveCluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.liveBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.liveBadge.offline {
  background: rgba(255,255,255,0.44);
  border: 1px solid rgba(255,255,255,0.58);
  color: #a86087;
}

.liveBadge.live {
  background: linear-gradient(135deg, #ff5aa8, #ff8fd0);
  color: white;
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow:
    0 0 18px rgba(255, 80, 150, 0.36),
    0 0 34px rgba(255, 80, 150, 0.18);
  animation: pulseLive 1.8s ease-in-out infinite;
}

@keyframes pulseLive {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.statusText {
  color: #965875;
  font-weight: 700;
}

.streamQuickLinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.deskBtn,
.streamLinkBtn {
  text-decoration: none;
  text-align: center;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  background: #fff0f8;
  color: #a94b7e;
  border: 1px solid rgba(255,255,255,0.74);
  box-shadow: 0 8px 18px rgba(255, 154, 206, 0.10);
  transition: 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.deskBtn.alt,
.streamLinkBtn.alt {
  background: #f2ecff;
  color: #7260b8;
}

.deskBtn.small {
  padding: 9px 12px;
  font-size: 14px;
}

.deskBtn:hover,
.streamLinkBtn:hover {
  transform: translateY(-2px) scale(1.03);
}

.videoFrameWrap {
  position: relative;
  z-index: 2;
}

.videoFrame {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(255,255,255,0.54);
  box-shadow:
    0 0 26px rgba(255,160,210,0.18),
    0 18px 34px rgba(255,154,206,0.12);
}

.videoFrame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
}

.monitorFooter {
  position: relative;
  z-index: 2;
  margin-top: 14px;
}

.monitorPills,
.setupPills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.monitorPills span,
.setupPills span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.46);
  border: 1px solid rgba(255,255,255,0.60);
  color: #a25a81;
  font-size: 12px;
  font-weight: 700;
}

/* ========================= */
/* WIDGETS */
/* ========================= */

.deskWidgets {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.widgetTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.softPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.58);
  color: #a86087;
  font-size: 12px;
  font-weight: 700;
}

.scheduleList {
  display: grid;
  gap: 12px;
}

.scheduleItem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.52);
}

.scheduleDot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
  background: linear-gradient(135deg, #ff89c4, #ffc1e3);
  box-shadow: 0 0 14px rgba(255, 137, 196, 0.38);
  flex-shrink: 0;
}

.scheduleItem h4 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #b44f82;
}

.scheduleItem p {
  margin: 0;
}

.streamChatWrap {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.36);
  border: 1px solid rgba(255,255,255,0.54);
  box-shadow:
    0 0 22px rgba(255,160,210,0.16),
    0 16px 30px rgba(255,154,206,0.10);
}

.streamChatWrap iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  display: block;
  background: white;
}

.chatPreview,
.setupNotes {
  display: grid;
  gap: 12px;
}

.chatToggle {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.chatTab {
  flex: 1;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.35);
  color: #a25a81;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.chatTab.active {
  background: linear-gradient(135deg, #ff7fbf, #d4b3ff);
  color: white;
  box-shadow: 0 0 14px rgba(255,120,180,0.4);
}

.hidden {
  display: none;
}

.chatModeNote {
  margin-top: 12px;
  font-size: 13px;
}

/* ========================= */
/* SIDE INFO */
/* ========================= */

.liveMeta {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.metaLine {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.52);
}

.metaLabel {
  color: #b05b88;
  font-weight: 700;
  text-transform: lowercase;
}

.metaValue {
  color: #8d5374;
  font-weight: 700;
  text-align: right;
}

.thumbnailWrap {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(255,255,255,0.52);
}

.streamThumbnail {
  width: 100%;
  display: block;
}

.linkStack {
  display: grid;
  gap: 10px;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.siteFooter {
  max-width: 1320px;
  margin: 16px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #b05c89;
  font-size: 15px;
}

.footerLinks {
  display: flex;
  gap: 14px;
}

.footerLinks a {
  color: #c06c99;
  text-decoration: none;
}

.footerLinks a:hover {
  text-decoration: underline;
}

/* ========================= */
/* EFFECTS */
/* ========================= */

.floatingCard {
  animation: floaty 4s ease-in-out infinite;
}

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

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay1 { transition-delay: 0.12s; }
.delay2 { transition-delay: 0.24s; }
.delay3 { transition-delay: 0.36s; }
.delay4 { transition-delay: 0.48s; }

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 1240px) {
  .streamRoom {
    grid-template-columns: 1fr;
  }

  .deskWidgets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .pageShell {
    padding: 14px;
  }

  .navButton {
    flex: 1 1 calc(50% - 8px);
  }

  .streamsTitle {
    font-size: clamp(44px, 12vw, 72px);
  }

  .streamsSubtitle {
    font-size: 16px;
  }

  .streamRoom {
    padding: 18px;
    border-radius: 28px;
  }

  .sideCard h3 {
    font-size: 24px;
  }

  .videoFrame iframe {
    min-height: 240px;
  }

  .siteFooter {
    flex-direction: column;
  }
  /* STREAM MODE */

.mainMonitor.liveMode {
  box-shadow:
    0 0 60px rgba(255, 120, 200, 0.45),
    0 0 120px rgba(255, 120, 200, 0.2);
  transform: scale(1.01);
}

.mainMonitor.liveMode .monitorGlow {
  background: radial-gradient(circle, rgba(255, 90, 170, 0.3), transparent 60%);
}

.mainMonitor.liveMode .videoFrame {
  box-shadow:
    0 0 30px rgba(255, 120, 200, 0.5),
    0 0 60px rgba(255, 120, 200, 0.2);
}

/* OPTIONAL: background dim */

.mainMonitor.liveMode ~ * {
  opacity: 0.9;
}
  /* ========================= */
/* LIVE MODE ENHANCEMENT PATCH */
/* ========================= */

.mainMonitor.liveMode {
  box-shadow:
    0 0 60px rgba(255, 120, 200, 0.45),
    0 0 120px rgba(255, 120, 200, 0.25),
    0 0 200px rgba(255, 120, 200, 0.12);
  transform: scale(1.015);
  transition: all 0.4s ease;
}

.mainMonitor.liveMode .monitorGlow {
  background: radial-gradient(
    circle at center,
    rgba(255, 90, 170, 0.35),
    rgba(255, 120, 200, 0.18),
    transparent 70%
  );
}

.mainMonitor.liveMode .videoFrame {
  box-shadow:
    0 0 30px rgba(255, 120, 200, 0.55),
    0 0 80px rgba(255, 120, 200, 0.25);
}

/* smoother iframe rendering */
.videoFrame iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* slight hover polish */
.mainMonitor:hover {
  transform: scale(1.01);
  transition: 0.25s ease;
}
}
