/* World-Class Ultra-Clean Presentation Styles */

body.screen-body {
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #1c2b47 0%, #101828 50%, #090e17 100%);
  color: #FFFFFF;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
  font-family: 'Outfit', 'Montserrat', -apple-system, sans-serif;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.screen-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 16px 24px;
}

/* Minimalist Clean Floating Header */
.screen-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  margin-bottom: 4px;
}

/* Floating Top-Right Controls Dock (QR, Sound FX, Fullscreen) */
.top-controls-dock {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 23, 38, 0.75);
  border: 1px solid rgba(233, 178, 30, 0.35);
  border-radius: 30px;
  padding: 6px 8px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(233, 178, 30, 0.12);
  transition: all 0.25s ease;
}

.top-controls-dock:hover {
  border-color: rgba(233, 178, 30, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 28px rgba(233, 178, 30, 0.25);
}

.dock-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
}

.dock-btn.icon-only {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.15rem;
}

.dock-btn.qr-dock-btn {
  background: linear-gradient(135deg, rgba(233, 178, 30, 0.22), rgba(233, 178, 30, 0.08));
  border-color: rgba(233, 178, 30, 0.5);
  color: #FFD25F;
}

.dock-btn:hover {
  background: rgba(233, 178, 30, 0.28);
  border-color: #E9B21E;
  color: #FFFFFF;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 0 14px rgba(233, 178, 30, 0.4);
}

.dock-btn:active {
  transform: translateY(1px) scale(0.97);
}

.dock-btn.muted {
  opacity: 0.6;
  border-color: rgba(130, 155, 179, 0.3);
}

.dock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dock-svg {
  width: 17px;
  height: 17px;
  display: block;
}

.dock-btn.icon-only .dock-svg {
  width: 18px;
  height: 18px;
}

.link-svg {
  width: 15px;
  height: 15px;
  stroke: #FFD25F;
}

.dock-label {
  font-size: 0.86rem;
  letter-spacing: 0.4px;
}

/* Live Holographic Entry Burst (Pure Glowing Typography - No Sticker / No Card Box) */
.entry-burst-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1200;
  pointer-events: none;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.entry-burst-overlay.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.burst-radial-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 178, 30, 0.28) 0%, rgba(50, 66, 102, 0.15) 50%, rgba(10, 16, 26, 0) 70%);
  filter: blur(24px);
  pointer-events: none;
  animation: pulse-glow-expand 2s infinite ease-out;
}

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

.burst-pulse-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(233, 178, 30, 0.7);
  animation: pulse-ring-expand 2.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: none;
}

.burst-pulse-ring.ring-2 {
  animation-delay: 0.7s;
  border-color: rgba(130, 155, 179, 0.5);
}

@keyframes pulse-ring-expand {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.burst-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.burst-title {
  font-size: 4rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-shadow: 0 0 35px rgba(233, 178, 30, 0.95), 0 0 70px rgba(233, 178, 30, 0.6), 0 0 100px rgba(233, 178, 30, 0.3);
  font-family: 'Montserrat', sans-serif;
}

.burst-sub {
  font-size: 1.6rem;
  color: #E9B21E;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(233, 178, 30, 0.8);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.official-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(130, 155, 179, 0.2);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-main-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  line-height: 1.1;
}

.brand-main-title span {
  color: var(--brand-gold);
}

.brand-sub-title {
  font-size: 0.72rem;
  font-weight: 500;
  color: #829BB3;
  letter-spacing: 0.03em;
}

/* Question Navigation Tabs */
.screen-nav-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.screen-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 28, 46, 0.7);
  border: 1px solid rgba(130, 155, 179, 0.25);
  padding: 8px 18px;
  border-radius: 30px;
  color: #829BB3;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

.screen-tab-btn:hover {
  color: #FFFFFF;
  border-color: rgba(233, 178, 30, 0.4);
}

.screen-tab-btn.active {
  background: rgba(233, 178, 30, 0.15);
  border-color: #E9B21E;
  color: #E9B21E;
  box-shadow: 0 0 16px rgba(233, 178, 30, 0.25);
}

.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6A829C;
  transition: background 0.2s ease;
}

.screen-tab-btn.active .tab-dot {
  background: #E9B21E;
  box-shadow: 0 0 8px #E9B21E;
}

.tab-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
}

.screen-tab-btn.active .tab-badge {
  background: #E9B21E;
  color: #0B111C;
}

/* Main Display Stage: Single Fullscreen Stage with Views */
.stage-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: calc(100vh - 84px);
  position: relative;
}

.stage-view {
  display: none;
  flex: 1;
  flex-direction: column;
  height: 100%;
  position: relative;
  min-height: 0;
}

.stage-view.active {
  display: flex;
}

.wordcloud-canvas-wrap {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

/* Floating Live Ticker for Question 1 */
.ideas-ticker {
  position: absolute;
  bottom: 16px;
  left: 10px;
  right: 280px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 22, 36, 0.88);
  border: 1px solid rgba(233, 178, 30, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  z-index: 50;
  overflow: hidden;
}

.ticker-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #E9B21E;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.ticker-track {
  display: inline-flex;
  gap: 14px;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(130, 155, 179, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticker-item:hover {
  border-color: #E9B21E;
  background: rgba(233, 178, 30, 0.18);
  color: #E9B21E;
}

.ticker-item strong {
  color: #E9B21E;
}

/* Ideas Wall View */
.ideas-wall-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  margin-bottom: 12px;
}

.ideas-wall-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #E9B21E;
  letter-spacing: 0.08em;
}

.ideas-wall-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 2px;
}

.ideas-total-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: #829BB3;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(130, 155, 179, 0.2);
}

.ideas-grid {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding: 8px 6px 90px 6px;
}

.idea-card {
  background: linear-gradient(145deg, rgba(28, 43, 71, 0.8), rgba(15, 23, 38, 0.9));
  border: 1px solid rgba(130, 155, 179, 0.25);
  border-radius: 16px;
  padding: 18px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.idea-card:hover {
  transform: translateY(-4px);
  border-color: #E9B21E;
  box-shadow: 0 16px 36px rgba(233, 178, 30, 0.2);
}

.idea-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(130, 155, 179, 0.15);
  color: #829BB3;
  letter-spacing: 0.03em;
}

.role-badge.rector {
  background: rgba(233, 178, 30, 0.2);
  color: #E9B21E;
  border: 1px solid rgba(233, 178, 30, 0.4);
}

.idea-time {
  font-size: 0.75rem;
  color: #6A829C;
}

.idea-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.idea-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(130, 155, 179, 0.15);
  padding-top: 10px;
}

.wish-tag {
  font-size: 0.8rem;
  color: #829BB3;
}

.wish-tag strong {
  color: #E9B21E;
  font-weight: 800;
  margin-left: 4px;
}

.click-to-focus {
  font-size: 0.75rem;
  color: #E9B21E;
  font-weight: 700;
}

/* Floating Corner QR Code Card */
.corner-qr-card {
  position: fixed;
  bottom: 24px;
  right: 40px;
  z-index: 100;
  background: rgba(15, 23, 38, 0.94);
  border: 1.5px solid rgba(233, 178, 30, 0.7);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.corner-qr-card:hover {
  transform: translateY(-2px);
}

.corner-qr-box {
  background: #FFFFFF;
  padding: 4px;
  border-radius: 8px;
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.corner-qr-box canvas, .corner-qr-box img {
  width: 100% !important;
  height: 100% !important;
}

.corner-qr-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.corner-qr-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #E9B21E;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.corner-qr-subtitle {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.corner-qr-url {
  font-size: 0.68rem;
  color: #829BB3;
}

/* Spotlight Big Focus Modal */
.spotlight-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spotlight-overlay.active {
  display: flex;
  opacity: 1;
}

.spotlight-card {
  max-width: 760px;
  width: 90%;
  background: radial-gradient(circle at 50% 0%, #1c2e4f, #0d1524 85%);
  border: 1.5px solid rgba(233, 178, 30, 0.55);
  border-radius: 28px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(233, 178, 30, 0.25);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.modal-close-btn:hover {
  background: #E9B21E;
  color: #0B111C;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 16px rgba(233, 178, 30, 0.6);
}

.spotlight-badge {
  margin-bottom: 16px;
}

.spotlight-content {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.spotlight-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 1.15rem;
  color: #E9B21E;
  font-weight: 700;
}

/* Big QR Modal */
.qr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 10, 18, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qr-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.qr-modal-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #1c2e4f, #0d1524 85%);
  border: 1.5px solid rgba(233, 178, 30, 0.55);
  border-radius: 28px;
  padding: 40px 36px 36px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(233, 178, 30, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.modal-ambient-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(233, 178, 30, 0.25), transparent 70%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
}

.qr-badge {
  position: relative;
  z-index: 1;
  background: rgba(233, 178, 30, 0.15);
  border: 1px solid rgba(233, 178, 30, 0.5);
  color: #FFD25F;
  font-size: 0.76rem;
  letter-spacing: 1.8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 12px;
}

.qr-modal-title {
  position: relative;
  z-index: 1;
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 4px 0 8px;
  letter-spacing: -0.3px;
}

.qr-modal-desc {
  position: relative;
  z-index: 1;
  color: #94A9C2;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 20px;
  font-weight: 500;
}

.qr-frame-wrapper {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: linear-gradient(135deg, rgba(233, 178, 30, 0.4), rgba(0, 229, 255, 0.3));
  padding: 3px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(233, 178, 30, 0.28);
}

.big-qr-box {
  background: #FFFFFF;
  padding: 14px;
  border-radius: 17px;
  width: 230px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-qr-box canvas, .big-qr-box img {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.qr-url-pill {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(233, 178, 30, 0.35);
  border-radius: 24px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qr-url-icon {
  font-size: 0.9rem;
}

.qr-url-text {
  color: #FFD25F;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}
