/* theater.css - Fullscreen 3D Globe Theater Mode Styles
   Calm Commerce Deep Dark Ambient Theme */

.theater-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #0D0517;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.theater-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.theater-header {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 11, 34, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  z-index: 2010;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.theater-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #FAF8FD;
}

.theater-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.theater-counters {
  display: flex;
  align-items: center;
  gap: 24px;
}

.theater-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.theater-stat .stat-label {
  font-size: 10px;
  font-weight: 600;
  color: #A094B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theater-stat .stat-val {
  font-size: 16px;
  font-weight: 700;
  color: #FAF8FD;
  font-variant-numeric: tabular-nums;
}

.theater-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF8FD;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.theater-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.05);
}

.theater-canvas-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

#theaterCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.theater-pill-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.pulse-pill {
  position: absolute;
  background: rgba(43, 27, 62, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #FAF8FD;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.pulse-pill .pill-amt {
  color: #5CE1A0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .theater-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .theater-counters {
    justify-content: space-between;
  }
}
