/* stage.css — desktop stage layout & background */

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #0e1411;
  background-image: radial-gradient(circle at 50% 50%, rgba(45,90,63,0.15), transparent 60%);
  filter: url('#noise-filter');
}

/* noise SVG filter is injected inline in index.html */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* splash */
.splash {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.splash-leaf {
  color: var(--primary);
}

.splash-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.splash-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  opacity: 0;
}

/* stage */
.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 32px 40px;
  z-index: 1;
  opacity: 0;
}

/* brand left */
.stage-brand-left {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-name {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  font-family: "Noto Serif TC", "Noto Sans TC", serif;
}

.brand-divider {
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  margin: 4px 0;
}

.brand-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.brand-taglines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.brand-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  line-height: 1.5;
}

/* mockup container */
.mockup-container {
  flex: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  position: relative;
}

/* brand right (narration) */
.stage-brand-right {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.act-number {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.14em;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.act-name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.act-narration {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 4px;
}

/* act progress dots */
.act-progress {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}

.progress-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,90,63,0.25);
}

.progress-dot:hover:not(.active) {
  border-color: rgba(255,255,255,0.6);
}

/* hint bar */
.hint-bar {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
}

/* tappable */
.tappable {
  transition: transform 0.12s ease, opacity 0.12s ease;
  cursor: pointer;
}

.tappable:active {
  transform: scale(0.97);
  opacity: 0.85;
}
