/**
 * Firework Theme Styles
 * Festive fireworks display over city skyline with reactive lighting
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

.theme-firework {
  background-color: var(--firework-bg, #02020a);
  background-image: 
    linear-gradient(to top, #0a0a20 0%, #02020a 100%);
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Screen Flash Overlay */
.theme-firework .firework-flash {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

/* Skyline Silhouette */
.theme-firework .firework-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15%;
  z-index: 10;
  fill: #000;
  pointer-events: none;
}

/* City Lights */
.theme-firework .city-lights {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15%;
  z-index: 11;
  pointer-events: none;
}

/* Firework Canvas */
.theme-firework .firework-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Text Container */
.theme-firework .firework-content {
  z-index: 15;
  position: relative;
  text-align: center;
}

.theme-firework .firework-content--flow {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: left;
}

/* SIGN mode text */
.theme-firework .firework-sign-text {
  color: var(--firework-color, #fff);
  font-weight: 900;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 200, 50, 0.4);
  transition: text-shadow 0.1s ease-out, transform 0.1s ease-out;
}

/* FLOW mode */
.theme-firework .firework-flow-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.theme-firework .firework-flow-text {
  color: var(--firework-color, #fff);
  font-weight: 900;
  white-space: nowrap;
  padding: 0 0.5em;
  user-select: none;
  flex-shrink: 0;
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 200, 50, 0.4);
}
