/* Kingdom Live - Scene-Specific Styles */

/* Announcement Scene */
.scene-announcement {
  align-items: center;
  justify-content: center;
}

.announcement-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.3) 0%, rgba(80, 227, 194, 0.3) 100%);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
  max-width: 900px;
}

.announcement-avatar {
  flex-shrink: 0;
}

.announcement-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.announcement-content {
  flex: 1;
}

.announcement-name {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

.announcement-message {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Speech Scene */
.scene-speech {
  flex-direction: column;
  padding: 60px;
}

.speech-container {
  max-width: 1200px;
  width: 100%;
}

.speech-header {
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.speech-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.speech-name {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 5px;
}

.speech-title {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.speech-text {
  font-size: 42px;
  line-height: 1.6;
  color: #fff;
  text-align: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Leaderboard Scene */
.scene-leaderboard {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.leaderboard {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.leaderboard-title {
  font-size: 56px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Top 3 Podium */
.top-three {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 20px;
  height: 400px;
  gap: 20px;
}

.podium-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease;
}

.podium-player.first {
  order: 2;
}

.podium-player.second {
  order: 1;
  margin-top: 40px;
}

.podium-player.third {
  order: 3;
  margin-top: 80px;
}

.profile-picture {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 15px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.podium-player.first .profile-picture {
  width: 130px;
  height: 130px;
  border-color: #ffd700;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.podium-username {
  font-size: 18px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 8px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.podium-player.first .podium-username {
  font-size: 22px;
}

.podium-username.empty-slot {
  opacity: 0.5;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

.podium-stats {
  text-align: center;
}

.podium-score {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.podium-player.first .podium-score {
  font-size: 18px;
  color: #FFD700;
  font-weight: bold;
}

/* Remaining Players (4-10) */
.remaining-players {
  background: rgba(10, 30, 80, 0.5);
  border-radius: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.player-row {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  margin-bottom: 12px;
  background: rgba(10, 30, 80, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: all 0.3s ease;
  justify-content: space-between;
}

.player-row:last-child {
  margin-bottom: 0;
}

.player-row:hover {
  background: rgba(10, 30, 80, 0.75);
  border-color: #FFD700;
}

.player-row.empty-slot {
  opacity: 0.5;
  font-style: italic;
}

.player-position {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  min-width: 50px;
  text-align: center;
}

.player-center {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 15px;
}

.player-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.player-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.player-username {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.player-score {
  font-size: 18px;
  font-weight: bold;
  color: #4CAF50;
  min-width: 100px;
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .top-three {
    height: 300px;
  }

  .profile-picture {
    width: 80px;
    height: 80px;
  }

  .podium-player.first .profile-picture {
    width: 100px;
    height: 100px;
  }

  .podium-player.second {
    margin-top: 20px;
  }

  .podium-player.third {
    margin-top: 40px;
  }
}

/* Reaction Scene */
.scene-reaction {
  align-items: center;
  justify-content: center;
}

.reaction-container {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.reaction-emoji {
  font-size: 120px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.reaction-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.reaction-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.reaction-username {
  font-size: 28px;
  color: #fff;
  font-weight: 600;
}

.reaction-message {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

/* Background Scene */
.scene-background {
  z-index: 0 !important;
}

.background-particles,
.background-gradient,
.background-solid,
.background-image {
  width: 100%;
  height: 100%;
}

.background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* Timer Scene */
.scene-timer {
  padding: 60px;
}

/* Dashboard Scene */
.scene-dashboard {
  z-index: 10 !important;
}

.dashboard-scene {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
}

/* Logo - centered horizontally, responsive */
.dashboard-logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: clamp(120px, 12.5vh, 240px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 100; /* Above all other dashboard elements and static slide */
  transform-origin: top center;
}

.dashboard-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}

/* Event Info - responsive */
.dashboard-event-info {
  position: absolute;
  top: clamp(140px, 13.5vh, 260px);
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  padding: clamp(16px, 1.5vw, 32px);
  padding-left: clamp(16px, 1.5vw, 32px);
  border-top-right-radius: clamp(8px, 0.8vw, 16px);
  border-bottom-right-radius: clamp(8px, 0.8vw, 16px);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  min-width: clamp(300px, 31vw, 600px);
  max-width: clamp(400px, 42vw, 800px);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dashboard-event-title {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: clamp(8px, 0.8vh, 16px);
  line-height: 1.2;
}

.dashboard-event-datetime {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: clamp(10px, 1vh, 20px);
  line-height: 1.3;
}

.dashboard-countdown {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(1.5rem, 2.75vw, 2.75rem);
  font-weight: 700;
  color: #32CD32;
  text-shadow:
    0 0 10px rgba(50, 205, 50, 0.8),
    0 0 20px rgba(50, 205, 50, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.05em;
}

/* QR Code - responsive */
.dashboard-qr {
  position: absolute;
  bottom: clamp(30px, 3.1vh, 60px);
  left: clamp(30px, 3.1vw, 60px);
  z-index: 10;
}

.dashboard-qr img {
  background: white;
  padding: clamp(8px, 0.8vw, 16px);
  border-radius: clamp(6px, 0.6vw, 12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: block;
  width: clamp(150px, 12vw, 233px);
  height: clamp(150px, 12vw, 233px);
}

/* Avatar - positioned on far right, responsive size */
.dashboard-avatar {
  position: absolute;
  bottom: 0;
  right: 0;
  height: min(calc(98vh - clamp(50px, 5vh, 98px)), 98vw);
  width: min(calc(98vh - clamp(50px, 5vh, 98px)), 98vw);
  max-width: 45vw;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.dashboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 1));
}

/* Attendee Info - bottom right, rounded on left only, responsive */
.dashboard-attendee-info {
  position: absolute;
  bottom: clamp(30px, 3.1vh, 60px);
  right: 0;
  width: clamp(400px, 42vw, 800px);
  background: rgba(0, 0, 0, 0.4);
  padding: clamp(16px, 1.5vw, 32px);
  padding-right: clamp(16px, 1.5vw, 32px);
  border-top-left-radius: clamp(8px, 0.8vw, 16px);
  border-bottom-left-radius: clamp(8px, 0.8vw, 16px);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  text-align: left;
  min-width: clamp(300px, 31vw, 600px);
  max-width: clamp(500px, 52vw, 1000px);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.dashboard-attendee-name {
  font-size: clamp(1.75rem, 4vw, 4rem);
  font-weight: 700;
  color: #D4AF37;
  text-shadow:
    0 0 20px rgba(212, 175, 55, 0.8),
    0 0 40px rgba(212, 175, 55, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: clamp(6px, 0.6vh, 12px);
  line-height: 1.1;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 1.1em;
  max-height: 1.1em;
  display: block;
}

.dashboard-attendee-contribution {
  font-size: clamp(1.25rem, 2vw, 2rem);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  max-height: 2.6em;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .dashboard-attendee-info {
    left: auto;
    right: 0;
    max-width: calc(50vw - 20px);
  }
}

@media (max-width: 768px) {
  .dashboard-event-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
  }

  .dashboard-event-datetime {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
  }

  .dashboard-countdown {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }

  .dashboard-event-info {
    top: 16px;
    left: 16px;
    min-width: 300px;
  }

  .dashboard-attendee-info {
    bottom: 16px;
    right: 16px;
    min-width: 300px;
    max-width: 90vw;
  }

  .dashboard-attendee-name {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .dashboard-attendee-contribution {
    font-size: 1.5rem;
    max-height: 3.9em;
  }

  .dashboard-avatar {
    height: calc(100vh - 200px);
    width: calc(100vh - 200px);
    max-width: 80vw;
  }
}

/* Emcee Scene - Pixel Streaming */
.scene-emcee {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.emcee-scene-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.stream-container {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 0;
  margin: 0;
}

/* Make iframe fill container like object-fit: cover */
.emcee-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  /* Scale up to ensure coverage - the iframe content should handle aspect ratio */
  object-fit: cover;
}

.emcee-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  transition: opacity 0.3s ease;
}

.emcee-overlay.hidden {
  display: none;
}

.emcee-status {
  text-align: center;
  padding: 20px;
}

.emcee-status-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: #FFD700;
  animation: emceePulse 2s ease-in-out infinite;
}

.emcee-status-text {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #FFD700;
  color: #FFD700;
  padding: 15px 30px;
  font-size: 14px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 8px;
}

.emcee-status-url {
  font-size: 10px;
  color: rgba(255, 215, 0, 0.6);
  word-break: break-all;
  max-width: 200px;
  font-family: monospace;
  margin: 0 auto;
}

.emcee-overlay.emcee-error .emcee-status-icon {
  color: #ff6b6b;
  animation: none;
}

.emcee-overlay.emcee-error .emcee-status-text {
  border-color: #ff6b6b;
  color: #ff6b6b;
}

.emcee-overlay.emcee-connecting .emcee-status-text {
  animation: emceeBorderPulse 1.5s ease-in-out infinite;
}

@keyframes emceePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.95);
  }
}

@keyframes emceeBorderPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                0 0 30px rgba(255, 215, 0, 0.4);
  }
}

/* Speech Bubble */
.emcee-speech-bubble {
  position: absolute;
  left: 5%;
  top: 10%;
  width: 65%;           /* Left 2/3rds */
  height: 60%;          /* Top 2/3rds */
  background: rgba(0, 0, 0, 0.65);
  border-radius: 30px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;           /* Hidden by default */
  z-index: 102;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Speech bubble tail - triangular pointer at bottom right */
.emcee-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: 80px;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 0px solid transparent;
  border-top: 40px solid rgba(0, 0, 0, 0.65);
  transform: rotate(-15deg);
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
  opacity: var(--tail-opacity, 1);
  transition: opacity 0.3s ease;
}

.emcee-speech-text {
  color: white;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  word-wrap: break-word;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Timer Bar */
.emcee-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  opacity: 0;           /* Hidden by default */
  z-index: 103;
  /* No transition - JavaScript handles smooth animation via requestAnimationFrame */
  box-shadow: 0 -2px 10px rgba(16, 185, 129, 0.5);
  pointer-events: none;
}

/* Responsive sizing */
@media (max-width: 1920px) {
  .emcee-speech-text {
    font-size: 3.5rem;
  }

  .emcee-speech-bubble::after {
    bottom: -25px;
    right: 70px;
    border-left: 35px solid transparent;
    border-top: 35px solid rgba(0, 0, 0, 0.65);
  }
}

@media (max-width: 1280px) {
  .emcee-speech-text {
    font-size: 2.5rem;
  }

  .emcee-speech-bubble {
    padding: 40px;
  }

  .emcee-speech-bubble::after {
    bottom: -20px;
    right: 60px;
    border-left: 30px solid transparent;
    border-top: 30px solid rgba(0, 0, 0, 0.65);
  }
}

/* Announcement Banner Scene */
.scene-announcement-banner {
  z-index: 100 !important;
}

.banner-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
}

.banner {
  width: 100%;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.95) 0%, rgba(21, 101, 192, 0.95) 100%);
  padding: 30px 60px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.banner-title {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
}

/* Unified Announcement Scene - Banner Style (System Announcements) */
.announcement-banner {
  width: 100%;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.95) 0%, rgba(21, 101, 192, 0.95) 100%);
  padding: 30px 60px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.announcement-banner-content {
  width: 100%;
}

.announcement-banner-text {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
}

/* Video Player Scene */
.scene-video-player {
  z-index: 50 !important;
}

.video-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
}

.video-element {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Audio Visualizer Scene */
.scene-audio-visualizer {
  z-index: 30 !important;
}

.audio-visualizer-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.center-visualizer-section {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.album-cover-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.album-cover-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    transparent 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.8) 100%
  );
  border-radius: 50%;
  pointer-events: none;
}

.circular-visualizers {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  z-index: 1;
}

.circular-visualizer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.1s ease, box-shadow 0.05s ease;
}

.circular-visualizer.bass {
  width: 204px;
  height: 204px;
  background: radial-gradient(circle, rgba(142, 36, 170, 0.4), transparent);
  box-shadow: 0 0 20px rgba(142, 36, 170, 0.4);
  z-index: 1;
}

.circular-visualizer.mid {
  width: 272px;
  height: 272px;
  background: radial-gradient(circle, rgba(56, 142, 60, 0.4), transparent);
  box-shadow: 0 0 25px rgba(56, 142, 60, 0.4);
  z-index: 2;
}

.circular-visualizer.treble {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.3), transparent);
  box-shadow: 0 0 20px rgba(211, 47, 47, 0.4);
  z-index: 3;
}

.visualizer-core {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.1s ease;
}

.pulse-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse-grow 2s infinite ease-out;
  pointer-events: none;
}

@keyframes pulse-grow {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

.song-info-box {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(1);
  transform-origin: bottom center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 18px 18px 0 0;
  padding: 25px 30px;
  min-width: 420px;
  max-width: 525px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.current-song {
  text-align: center;
  margin-bottom: 18px;
}

.current-song h3 {
  font-size: 24px;
  margin-bottom: 6px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.current-song p {
  font-size: 18px;
  color: #e0e0e0;
}

.next-song {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.next-song h4 {
  font-size: 17px;
  color: #bbb;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.next-song p {
  font-size: 20px;
  color: #fff;
  opacity: 0.75;
}

/* Particle Background Scene */
.scene-particle-background {
  z-index: 2 !important;
}

.particle-background-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  pointer-events: none;
}

/* Auction Scene */
.scene-auction {
  z-index: 20 !important;
  align-items: center;
  justify-content: center;
}

.auction-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 193, 7, 0.2) 100%);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 193, 7, 0.3);
}

.auction-image {
  flex-shrink: 0;
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.auction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auction-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auction-title {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 15px;
}

.auction-description {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin-bottom: 30px;
}

.auction-bid-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.current-bid {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 30px;
  border-radius: 15px;
  border: 2px solid rgba(255, 193, 7, 0.4);
}

.bid-label {
  display: block;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.bid-amount {
  display: block;
  font-size: 56px;
  font-weight: bold;
  color: #FFD700;
  text-shadow:
    0 0 20px rgba(255, 215, 0, 0.6),
    0 0 40px rgba(255, 215, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 8px;
}

.bidder-name {
  display: block;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.auction-timer {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.timer-label {
  display: block;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timer-value {
  display: block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 48px;
  font-weight: bold;
  color: #4CAF50;
  text-shadow:
    0 0 15px rgba(76, 175, 80, 0.6),
    0 0 30px rgba(76, 175, 80, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.05em;
}

/* Urgency state - last minute */
.auction-urgent .auction-container {
  border-color: rgba(244, 67, 54, 0.5);
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(211, 47, 47, 0.2) 100%);
}

.auction-urgent .timer-value {
  color: #f44336;
  text-shadow:
    0 0 15px rgba(244, 67, 54, 0.8),
    0 0 30px rgba(244, 67, 54, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.8);
  animation: urgent-pulse 1s infinite;
}

.auction-urgent .auction-timer {
  border-color: rgba(244, 67, 54, 0.5);
}

@keyframes urgent-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Auction ended state */
.auction-ended .timer-value {
  color: #9E9E9E;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  animation: none;
}

/* Responsive adjustments for auction */
@media (max-width: 1200px) {
  .auction-container {
    flex-direction: column;
    align-items: center;
  }

  .auction-image {
    width: 100%;
    max-width: 400px;
  }

  .auction-info {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .auction-title {
    font-size: 32px;
  }

  .auction-description {
    font-size: 18px;
  }

  .bid-amount {
    font-size: 40px;
  }

  .timer-value {
    font-size: 36px;
  }
}

/* Countdown Scene Overlay */
.countdown-overlay {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 11; /* Above album cover (z-index: 10) */
}

.countdown-circle {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.countdown-time {
  font-family: 'Impact', 'Arial Black', 'Helvetica', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-minutes {
  text-align: right;
  min-width: 1.8em;
  display: inline-block;
  letter-spacing: 0.1em;
}

.countdown-colon {
  padding: 0 0.15em;
}

.countdown-seconds {
  text-align: left;
  min-width: 1.8em;
  display: inline-block;
  letter-spacing: 0.1em;
}

/* Auction Scene - Extended Styles */

/* Two-column auction layout */
.auction-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: 100%;
  height: 100%;
  padding: 40px 60px;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(30, 30, 50, 0.95), rgba(40, 40, 60, 0.95));
  backdrop-filter: blur(15px);
}

.auction-left-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auction-right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.auction-item-name {
  color: #FFD700;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.auction-item-image-container {
  width: 500px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid rgba(255, 215, 0, 0.5);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.15);
}

.auction-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auction-item-placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  text-align: center;
}

.auction-item-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  max-width: 500px;
  text-align: center;
}

.auction-item-details {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.5;
  max-width: 500px;
  text-align: center;
  margin-bottom: 15px;
}

/* Seller Section */
.auction-seller {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(167, 145, 102, 0.15);
  border-radius: 12px;
  border: 2px solid rgba(167, 145, 102, 0.4);
  margin-top: 10px;
}

.auction-seller.hidden {
  display: none;
}

.auction-seller-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #a79166;
  object-fit: cover;
  flex-shrink: 0;
}

.auction-seller-avatar-placeholder {
  background: rgba(167, 145, 102, 0.3);
}

.auction-seller-info {
  flex: 1;
}

.auction-seller-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.auction-seller-name {
  font-size: 16px;
  font-weight: 600;
  color: #a79166;
}

/* High Bidder Section */
.auction-high-bidder {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  background: rgba(78, 205, 196, 0.15);
  border-radius: 20px;
  border: 3px solid rgba(78, 205, 196, 0.4);
  box-shadow: 0 5px 25px rgba(78, 205, 196, 0.2);
}

.auction-high-bidder.hidden {
  display: none;
}

.auction-high-bidder-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid #4ECDC4;
  object-fit: cover;
  box-shadow: 0 0 50px rgba(78, 205, 196, 0.8);
  flex-shrink: 0;
}

.auction-high-bidder-info {
  flex: 1;
}

.auction-high-bidder-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.auction-high-bidder-name {
  font-size: 36px;
  font-weight: bold;
  color: #4ECDC4;
  text-shadow: 0 0 20px rgba(78, 205, 196, 0.6);
}

/* Person Card (Seller/Bidder in right column) */
.auction-person-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.auction-seller-card,
.auction-bidder-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 20px 30px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  flex: 1;
  min-height: 0;
}

.auction-seller-card {
  border-color: rgba(167, 145, 102, 0.4);
}

.auction-bidder-card {
  border-color: rgba(78, 205, 196, 0.4);
}

.auction-seller-card.hidden,
.auction-bidder-card.hidden {
  display: none;
}

.auction-person-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid #a79166;
  object-fit: cover;
  flex-shrink: 0;
}

.auction-bidder-card .auction-person-avatar {
  border-color: #4ECDC4;
  box-shadow: 0 0 30px rgba(78, 205, 196, 0.5);
}

.auction-avatar-placeholder {
  background: rgba(167, 145, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auction-person-info {
  flex: 1;
}

.auction-person-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.auction-person-name {
  font-size: 36px;
  font-weight: 600;
  color: #a79166;
}

.auction-bidder-card .auction-person-name {
  color: #4ECDC4;
  text-shadow: 0 0 10px rgba(78, 205, 196, 0.4);
}

/* Bidding Section */
.auction-bidding-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 20px 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.auction-bid-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.auction-current-bid {
  color: #4ECDC4;
  font-size: 56px;
  font-weight: bold;
  text-shadow: 0 0 30px rgba(78, 205, 196, 0.5);
}

/* Timer Section */
.auction-timer-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 20px 30px;
  text-align: center;
  border: 2px solid rgba(255, 107, 107, 0.3);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.auction-timer-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
}

.auction-timer-value {
  color: #FF6B6B;
  font-family: 'Courier New', monospace;
  font-size: 56px;
  font-weight: 900;
  text-shadow: 0 0 30px rgba(255, 107, 107, 0.8), 0 0 60px rgba(255, 107, 107, 0.4);
  letter-spacing: 4px;
}

.auction-timer-value.pulse {
  animation: auction-pulse 1s infinite;
}

@keyframes auction-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Winner Celebration */
.auction-winner-celebration {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.3) 0%, rgba(0, 0, 0, 0.95) 70%);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: celebration-fade-in 0.5s ease-out;
}

.auction-winner-celebration.active {
  display: flex;
}

@keyframes celebration-fade-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.auction-winner-crown {
  font-size: 80px;
  animation: crown-bounce 1s ease-in-out infinite;
  margin-bottom: 20px;
}

@keyframes crown-bounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

.auction-winner-avatar-container {
  position: relative;
  margin-bottom: 30px;
}

.auction-winner-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid #FFD700;
  object-fit: cover;
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.8), 0 0 100px rgba(255, 215, 0, 0.4);
  animation: winner-glow 2s ease-in-out infinite alternate;
}

@keyframes winner-glow {
  from { box-shadow: 0 0 60px rgba(255, 215, 0, 0.8), 0 0 100px rgba(255, 215, 0, 0.4); }
  to { box-shadow: 0 0 80px rgba(255, 215, 0, 1), 0 0 120px rgba(255, 215, 0, 0.6); }
}

.auction-winner-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.auction-winner-name {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
  margin-bottom: 15px;
  animation: winner-pulse 2s ease-in-out infinite;
}

@keyframes winner-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.auction-winner-item-name {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.auction-winner-bid-amount {
  font-size: 36px;
  font-weight: bold;
  color: #4ECDC4;
  text-shadow: 0 0 20px rgba(78, 205, 196, 0.6);
}

/* Confetti */
.auction-confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0;
}

@keyframes confetti-fall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .auction-two-column {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .auction-item-image-container {
    width: 350px;
    height: 350px;
  }

  .auction-high-bidder-avatar {
    width: 100px;
    height: 100px;
  }

  .auction-high-bidder-name {
    font-size: 28px;
  }
}

/* Static Slide Scene */
.scene-static-slide {
  z-index: 15 !important; /* Above background (0) and dashboard (10), below video (50) */
}

.static-slide-scene {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end; /* Align to bottom so it doesn't go up */
  justify-content: center;
  background: transparent; /* Let background scene show through */
  padding-bottom: 2vh; /* Small padding from bottom */
}

.static-slide-image {
  width: 85%;
  height: 85%;
  max-height: calc(100vh - 180px); /* Prevent covering the Wild Texas Chain logo at top */
  object-fit: contain;
  border: none;
  outline: none;
  box-shadow: none;
}

/* Player Portrait and Workout scenes use inline styles - see js/scenes/player-portrait.js and js/scenes/workout.js */

/* ============================================================================
   Match Reveal Scene - Friends & Enemies Game
   ============================================================================ */

.scene-match-reveal {
  z-index: 45 !important; /* Above most elements, below video */
}

.match-reveal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.match-reveal-label {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 12px;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* Friend theme - green */
.match-reveal-friend .match-reveal-label {
  color: #10b981;
  text-shadow: 0 0 40px rgba(16, 185, 129, 0.6), 0 4px 20px rgba(0, 0, 0, 0.8);
}

.match-reveal-friend .match-reveal-percent-ring {
  border-color: #10b981;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.5), inset 0 0 30px rgba(16, 185, 129, 0.2);
}

.match-reveal-friend .match-reveal-percent-value {
  color: #10b981;
}

.match-reveal-friend .match-reveal-avatar-wrapper {
  border-color: #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

/* Enemy theme - red */
.match-reveal-enemy .match-reveal-label {
  color: #ef4444;
  text-shadow: 0 0 40px rgba(239, 68, 68, 0.6), 0 4px 20px rgba(0, 0, 0, 0.8);
}

.match-reveal-enemy .match-reveal-percent-ring {
  border-color: #ef4444;
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.5), inset 0 0 30px rgba(239, 68, 68, 0.2);
}

.match-reveal-enemy .match-reveal-percent-value {
  color: #ef4444;
}

.match-reveal-enemy .match-reveal-avatar-wrapper {
  border-color: #ef4444;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.match-reveal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
}

.match-reveal-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.match-reveal-avatar-wrapper {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 6px solid;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.match-reveal-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-reveal-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.match-reveal-name {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  text-align: center;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-reveal-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-reveal-percent-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 8px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.match-reveal-percent-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.match-reveal-percent-number {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
}

.match-reveal-percent-symbol {
  font-size: 36px;
  font-weight: 700;
  margin-left: 4px;
}

.match-reveal-percent-label {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Responsive adjustments for match reveal */
@media (max-width: 1200px) {
  .match-reveal-content {
    gap: 40px;
  }

  .match-reveal-avatar-wrapper {
    width: 200px;
    height: 200px;
  }

  .match-reveal-name {
    font-size: 32px;
  }

  .match-reveal-percent-ring {
    width: 180px;
    height: 180px;
  }

  .match-reveal-percent-number {
    font-size: 56px;
  }

  .match-reveal-label {
    font-size: 48px;
  }
}

/* ============================================================================
   Trivia Question Scene
   ============================================================================ */

.scene-trivia-question {
  z-index: 40 !important;
}

/* Wrapper spans full screen to position timer bar at bottom */
.trivia-question-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.trivia-question-container {
  position: absolute;
  left: 3%;
  top: 5%;
  width: 60%;
  height: 85%;
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 30px;
  border: 3px solid rgba(20, 184, 166, 0.5);
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(20, 184, 166, 0.2);
  pointer-events: auto;
}

/* Header with round info and timer */
.trivia-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.trivia-round {
  font-size: 28px;
  font-weight: 700;
  color: #14b8a6;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Timer text display in header */
.trivia-timer-text-display {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Timer text in header (legacy wrapper name kept for compatibility) */
.trivia-timer-text-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.trivia-timer-text {
  font-family: 'Courier New', monospace;
  font-size: 48px;
  font-weight: 900;
  color: #10b981;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  min-width: 60px;
  text-align: center;
}

/* Timer bar at bottom of SCREEN (spans full width like lobby) */
.trivia-question-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 103;
  overflow: hidden;
  pointer-events: none;
}

.trivia-question-timer-bar .trivia-timer-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #14b8a6 100%);
  transform-origin: left center;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

/* Legacy timer bar style (kept for compatibility) */
.trivia-question-container .trivia-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0 0 27px 27px;
  overflow: hidden;
}

.trivia-timer-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #14b8a6 100%);
  transform-origin: left center;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

/* Question text */
.trivia-question-text {
  flex: 0 0 auto;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Answers grid */
.trivia-answers {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: center;
}

.trivia-answer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.trivia-answer:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.trivia-answer-letter {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.trivia-answer-text {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

/* Answer reveal states */
.trivia-answer.trivia-answer-correct {
  background: rgba(16, 185, 129, 0.3);
  border-color: #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.trivia-answer.trivia-answer-correct .trivia-answer-letter {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* JS uses trivia-answer-wrong, not trivia-answer-incorrect */
.trivia-answer.trivia-answer-wrong {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

.trivia-answer.trivia-answer-wrong .trivia-answer-letter {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* ============================================================================
   Adaptive Answer Sizing - handles many answers or long text
   ============================================================================ */

/* More than 4 answers: use 3-column grid with smaller sizing */
.trivia-question-container.trivia-answers-lg .trivia-answers {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trivia-question-container.trivia-answers-lg .trivia-answer {
  padding: 15px 18px;
  border-radius: 14px;
}

.trivia-question-container.trivia-answers-lg .trivia-answer-text {
  font-size: 22px;
}

.trivia-question-container.trivia-answers-lg .trivia-question-text {
  font-size: 36px;
  padding: 20px 15px;
  margin-bottom: 20px;
}

/* More than 6 answers: even more compact */
.trivia-question-container.trivia-answers-xl .trivia-answers {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.trivia-question-container.trivia-answers-xl .trivia-answer {
  padding: 10px 14px;
  border-radius: 12px;
}

.trivia-question-container.trivia-answers-xl .trivia-answer-text {
  font-size: 18px;
}

.trivia-question-container.trivia-answers-xl .trivia-question-text {
  font-size: 32px;
  padding: 15px 10px;
  margin-bottom: 15px;
}

/* Medium length answers: slightly smaller text */
.trivia-question-container.trivia-answers-medium .trivia-answer {
  padding: 18px 22px;
}

.trivia-question-container.trivia-answers-medium .trivia-answer-text {
  font-size: 24px;
  line-height: 1.25;
}

/* Long answers: compact text to fit */
.trivia-question-container.trivia-answers-long .trivia-answer {
  padding: 14px 18px;
}

.trivia-question-container.trivia-answers-long .trivia-answer-text {
  font-size: 20px;
  line-height: 1.2;
}

.trivia-question-container.trivia-answers-long .trivia-question-text {
  font-size: 36px;
  padding: 20px 15px;
  margin-bottom: 20px;
}

/* Combination: many answers AND long text */
.trivia-question-container.trivia-answers-lg.trivia-answers-long .trivia-answer {
  padding: 10px 14px;
}

.trivia-question-container.trivia-answers-lg.trivia-answers-long .trivia-answer-text {
  font-size: 18px;
  line-height: 1.15;
}

.trivia-question-container.trivia-answers-xl.trivia-answers-long .trivia-answer {
  padding: 8px 12px;
}

.trivia-question-container.trivia-answers-xl.trivia-answers-long .trivia-answer-text {
  font-size: 16px;
  line-height: 1.1;
}

/* ============================================================================
   Trivia Leaderboard Scene
   ============================================================================ */

.scene-trivia-leaderboard {
  z-index: 40 !important;
}

.trivia-leaderboard-container {
  position: absolute;
  left: 3%;
  top: 5%;
  width: 60%;
  height: 90%;
  display: flex;
  flex-direction: column;
  padding: 40px;
  overflow: hidden; /* Prevent scale animations from causing horizontal scroll */
  /* No background - let the scene background show through */
}

.trivia-leaderboard-title {
  font-size: 48px;
  font-weight: 900;
  color: #fbbf24;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.5), 0 4px 15px rgba(0, 0, 0, 0.8);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.trivia-leaderboard-entries {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding-right: 10px;
}

/* Custom scrollbar for leaderboard */
.trivia-leaderboard-entries::-webkit-scrollbar {
  width: 8px;
}

.trivia-leaderboard-entries::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.trivia-leaderboard-entries::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.5);
  border-radius: 4px;
}

.trivia-leaderboard-entry {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(30, 30, 30, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.trivia-leaderboard-entry:hover {
  background: rgba(40, 40, 40, 0.95);
  border-color: rgba(251, 191, 36, 0.4);
}

/* Medal styles for top 3 - more opaque backgrounds */
.trivia-leaderboard-medal-1 {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.85) 0%, rgba(255, 193, 7, 0.75) 100%);
  border-color: rgba(255, 215, 0, 0.9);
}

.trivia-leaderboard-medal-1 .trivia-leaderboard-name,
.trivia-leaderboard-medal-1 .trivia-leaderboard-rank,
.trivia-leaderboard-medal-1 .trivia-leaderboard-score,
.trivia-leaderboard-medal-1 .trivia-leaderboard-correct {
  color: #1a1a1a;
  text-shadow: none;
}

.trivia-leaderboard-medal-2 {
  background: linear-gradient(135deg, rgba(200, 200, 200, 0.9) 0%, rgba(180, 180, 180, 0.85) 100%);
  border-color: rgba(200, 200, 200, 0.9);
}

.trivia-leaderboard-medal-2 .trivia-leaderboard-name,
.trivia-leaderboard-medal-2 .trivia-leaderboard-rank,
.trivia-leaderboard-medal-2 .trivia-leaderboard-score,
.trivia-leaderboard-medal-2 .trivia-leaderboard-correct {
  color: #1a1a1a;
  text-shadow: none;
}

.trivia-leaderboard-medal-3 {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.9) 0%, rgba(184, 115, 51, 0.85) 100%);
  border-color: rgba(205, 127, 50, 0.9);
}

.trivia-leaderboard-medal-3 .trivia-leaderboard-name,
.trivia-leaderboard-medal-3 .trivia-leaderboard-rank,
.trivia-leaderboard-medal-3 .trivia-leaderboard-score,
.trivia-leaderboard-medal-3 .trivia-leaderboard-correct {
  color: #1a1a1a;
  text-shadow: none;
}

.trivia-leaderboard-rank {
  min-width: 50px;
  font-size: 28px;
  font-weight: 900;
  color: #fbbf24;
  text-align: center;
}

.trivia-leaderboard-avatar-wrapper {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.trivia-leaderboard-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.trivia-leaderboard-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.trivia-leaderboard-name {
  flex: 1;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trivia-leaderboard-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.trivia-leaderboard-score {
  font-size: 28px;
  font-weight: 900;
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.trivia-leaderboard-correct {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments for trivia scenes */
@media (max-width: 1600px) {
  .trivia-question-text {
    font-size: 36px;
  }

  .trivia-answer-text {
    font-size: 24px;
  }

  .trivia-answer-letter {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .trivia-leaderboard-name {
    font-size: 22px;
  }

  .trivia-leaderboard-score {
    font-size: 24px;
  }
}

@media (max-width: 1280px) {
  .trivia-question-container,
  .trivia-leaderboard-container {
    width: 65%;
  }

  .trivia-question-text {
    font-size: 30px;
  }

  .trivia-answer-text {
    font-size: 20px;
  }

  .trivia-leaderboard-entry {
    padding: 12px 20px;
  }
}

/* ============================================================================
   FRIENDS & ENEMIES LOBBY SCENE
   ============================================================================ */

.fe-lobby-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  overflow: hidden;
}

/* Splash image wrapper - centered at top */
.fe-splash-wrapper {
  position: absolute;
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 32%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fe-splash-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Player list - horizontal row below splash, left-aligned */
.fe-player-list {
  position: absolute;
  top: 36%;
  left: 0;
  width: 100%;
  height: 160px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
}

/* Hide scrollbar but keep functionality */
.fe-player-list::-webkit-scrollbar {
  display: none;
}

.fe-player-list {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Individual player card */
.fe-lobby-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.fe-lobby-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #10b981;
  box-shadow:
    0 0 20px rgba(16, 185, 129, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  background: rgba(30, 30, 30, 0.8);
}

.fe-lobby-name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* Timer bar - green gradient at very bottom */
.fe-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  z-index: 103;
  box-shadow: 0 -2px 10px rgba(16, 185, 129, 0.5);
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1600px) {
  .fe-splash-wrapper {
    width: 24%;
    height: 28%;
  }

  .fe-lobby-avatar {
    width: 88px;
    height: 88px;
  }

  .fe-lobby-name {
    font-size: 18px;
  }

  .fe-player-list {
    gap: 20px;
  }
}

@media (max-width: 1280px) {
  .fe-splash-wrapper {
    width: 22%;
    height: 26%;
  }

  .fe-lobby-avatar {
    width: 75px;
    height: 75px;
  }

  .fe-lobby-name {
    font-size: 16px;
    max-width: 100px;
  }

  .fe-player-list {
    gap: 16px;
    padding: 0 30px;
    top: 34%;
  }

  .fe-timer-bar {
    height: 10px;
  }
}

/* ============================================================================
   FRIENDS & ENEMIES ANSWER DISPLAY SCENE
   ============================================================================ */

.fe-answers-container {
  position: absolute;
  left: 5%;
  top: 18%;
  width: 55%;
  height: 75%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fe-answer-row {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 15px;
  padding: 15px 20px;
  gap: 20px;
  min-height: 70px;
}

.fe-answer-text {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  flex: 1;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.fe-answer-voters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 40%;
}

.fe-voter-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.fe-voter-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fe-answer-count {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  min-width: 50px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive sizing */
@media (max-width: 1920px) {
  .fe-answer-text {
    font-size: 1.4rem;
  }

  .fe-voter-avatar {
    width: 45px;
    height: 45px;
  }

  .fe-answer-count {
    font-size: 1.8rem;
  }
}

@media (max-width: 1280px) {
  .fe-answers-container {
    width: 60%;
    gap: 10px;
  }

  .fe-answer-row {
    padding: 12px 15px;
    min-height: 60px;
  }

  .fe-answer-text {
    font-size: 1.2rem;
  }

  .fe-voter-avatar {
    width: 40px;
    height: 40px;
    border-width: 2px;
  }

  .fe-answer-count {
    font-size: 1.5rem;
    min-width: 40px;
  }
}

/* ============================================================================
   TRIVIA LOBBY SCENE (Bandit Bonanza)
   ============================================================================ */

.trivia-lobby-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  overflow: hidden;
}

/* Splash image wrapper - centered at top */
.trivia-splash-wrapper {
  position: absolute;
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 32%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trivia-splash-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Player list - horizontal row below splash, left-aligned */
.trivia-player-list {
  position: absolute;
  top: 36%;
  left: 0;
  width: 100%;
  height: 160px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
}

/* Hide scrollbar but keep functionality */
.trivia-player-list::-webkit-scrollbar {
  display: none;
}

.trivia-player-list {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Individual player card */
.trivia-lobby-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.trivia-lobby-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #8b5cf6; /* Purple for trivia */
  box-shadow:
    0 0 20px rgba(139, 92, 246, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  background: rgba(30, 30, 30, 0.8);
}

.trivia-lobby-name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* Timer bar - purple gradient at very bottom for trivia */
.trivia-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%);
  z-index: 103;
  box-shadow: 0 -2px 10px rgba(139, 92, 246, 0.5);
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1600px) {
  .trivia-splash-wrapper {
    width: 24%;
    height: 28%;
  }

  .trivia-lobby-avatar {
    width: 88px;
    height: 88px;
  }

  .trivia-lobby-name {
    font-size: 18px;
  }

  .trivia-player-list {
    gap: 20px;
  }
}

@media (max-width: 1280px) {
  .trivia-splash-wrapper {
    width: 22%;
    height: 26%;
  }

  .trivia-lobby-avatar {
    width: 75px;
    height: 75px;
  }

  .trivia-lobby-name {
    font-size: 16px;
    max-width: 100px;
  }

  .trivia-player-list {
    gap: 16px;
    padding: 0 30px;
    top: 34%;
  }

  .trivia-timer-bar {
    height: 10px;
  }
}

/* ============================================
   INTRO OVERLAY SCENE
   ============================================ */

.intro-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

/* Black background that fades out to reveal underlying background */
.intro-black-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 0;
}

/* Quote wrapper - centered on screen */
.intro-quote-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px;
  max-width: 80%;
  z-index: 1;
}

/* Quote text - large, elegant serif font */
.intro-quote-text {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-size: 64px;
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
  max-width: 1200px;
}

/* Quote author - smaller, clean styling */
.intro-quote-author {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 40px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Logo wrapper - centered on screen */
.intro-logo-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Logo image - large, centered */
.intro-logo-image {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.4));
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1280px) {
  .intro-quote-text {
    font-size: 48px;
  }

  .intro-quote-author {
    font-size: 24px;
    margin-top: 30px;
  }

  .intro-logo-image {
    max-width: 70%;
    max-height: 70%;
  }
}

@media (max-width: 768px) {
  .intro-quote-wrapper {
    padding: 30px;
  }

  .intro-quote-text {
    font-size: 32px;
  }

  .intro-quote-author {
    font-size: 18px;
    margin-top: 20px;
  }

  .intro-logo-image {
    max-width: 80%;
    max-height: 80%;
  }
}