/* ==========================================================================
   HAMO LIVE STAGE WALL STYLES
   Signage Loop Design: Calm, elegant, high-contrast, stage-safe.
   ========================================================================== */

:root {
  --bg-stage: #07080B;
  --bg-card: rgba(18, 20, 28, 0.75);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-accent: #E63946;
  --text-main: #FFFFFF;
  --text-sub: #9E A3 B5;
  --text-muted: #5F6478;
  --accent-red: #E63946;
  --accent-gold: #F1C40F;
  --accent-cyan: #00F0FF;
  --glow-spotlight: rgba(230, 57, 70, 0.18);
  --font-sans: 'Geist', 'Inter', -apple-system, sans-serif;
  --font-mono: 'Geist Mono', monospace;
  --font-thai: 'Prompt', sans-serif;
}

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

body {
  background-color: var(--bg-stage);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Stage Spotlight Atmosphere */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 90vh;
  background: radial-gradient(circle at 50% 20%, rgba(230, 57, 70, 0.08) 0%, rgba(10, 15, 30, 0.03) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.stage-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 32px 48px;
  justify-content: space-between;
}

/* Header */
.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.stage-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stage-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(230, 57, 70, 0.4));
}

.stage-supertitle {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent-red);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.stage-main-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FFFFFF;
}

.stage-live-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
}

.live-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-red);
  animation: pulseLive 2s infinite ease-in-out;
}

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

.live-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFFFFF;
}

/* Main Spotlight Workspace */
.stage-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 20px 0;
}

.spotlight-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-height: 58vh;
}

.spotlight-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 60px var(--glow-spotlight);
  display: flex;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card.fade-out {
  opacity: 0;
  transform: scale(0.96);
}

.spotlight-card.fade-in {
  opacity: 1;
  transform: scale(1);
}

.card-inner {
  display: flex;
  align-items: center;
  gap: 36px;
}

.stage-photo-frame {
  position: relative;
  width: 440px;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  background: #0D0E14;
}

.stage-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Corner framing brackets */
.stage-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent-red);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}

.stage-corner.tl { top: 12px; left: 12px; border-top-width: 3px; border-left-width: 3px; }
.stage-corner.tr { top: 12px; right: 12px; border-top-width: 3px; border-right-width: 3px; }
.stage-corner.bl { bottom: 12px; left: 12px; border-bottom-width: 3px; border-left-width: 3px; }
.stage-corner.br { bottom: 12px; right: 12px; border-bottom-width: 3px; border-right-width: 3px; }

/* Spotlight Meta */
.stage-card-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 380px;
}

.meta-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.stage-theme-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #07080B;
  background: var(--accent-gold);
  padding: 6px 14px;
  border-radius: 8px;
}

.stage-time-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-red);
}

.stage-guest-name {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.stage-event-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-muted);
}

/* Recent Moments Bottom Ribbon */
.recent-ribbon-bar {
  width: 100%;
  max-width: 900px;
  margin-top: 24px;
}

.ribbon-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.ribbon-count {
  color: var(--accent-red);
}

.ribbon-track {
  display: flex;
  gap: 14px;
  overflow-x: hidden;
  padding: 4px;
}

.ribbon-item {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
  background: #111218;
}

.ribbon-item.active {
  border-color: var(--accent-red);
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.5);
}

.ribbon-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer CTA Bar */
.stage-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 17, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 28px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-icon {
  font-size: 32px;
}

.cta-text h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.cta-text p {
  font-size: 13px;
  color: var(--text-sub);
}

.cta-qr-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qr-label {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.qr-label span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.qr-label strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-red);
}

.stage-qr-img {
  width: 60px;
  height: 60px;
  background: #FFFFFF;
  padding: 4px;
  border-radius: 8px;
}
