body {
  background: #121212;
  min-height: 100vh;
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
  text-align: center;
}

/* Removed haze overlay */

/* Container removed */

#main-title {
  font-size: 4.5rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px #ffb347, 0 0 40px #ffb34777;
  position: relative;
  z-index: 10;
}

#subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  font-style: italic;
  color: #ffd9b3;
  max-width: 600px;
  text-shadow: 0 0 10px rgba(255, 183, 77, 0.3);
  position: relative;
  z-index: 10;
}

#ignite-btn {
  padding: 0.85rem 2.5rem;
  font-size: 1.2rem;
  background: #ffb347;
  border: none;
  border-radius: 8px;
  color: #2d1f33;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 20px rgba(255, 183, 77, 0.5);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

#ignite-btn:hover {
  background: #ff8800;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(255, 183, 77, 0.6);
}


.cozy-glow {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 180px;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 183, 77, 0.15) 0%, rgba(255, 213, 79, 0.07) 40%, rgba(34, 17, 51, 0.01) 80%);
  filter: blur(30px);
  opacity: 0; /* Initial opacity, will be animated by JS */
  will-change: opacity;
  transform: translateZ(0);
}

@keyframes gentle-pulse {
  0% {
    opacity: 0.5;
    filter: blur(20px);
  }
  50% {
    opacity: 0.7;
    filter: blur(18px);
  }
  100% {
    opacity: 0.5;
    filter: blur(20px);
  }
}

/* Embers styling */
.embers-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

.ember {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #ffb347;
  border-radius: 50%;
  filter: blur(1px);
  box-shadow: 0 0 8px 2px rgba(255, 179, 71, 0.9);
  opacity: 0.8; /* Increased opacity for better visibility */
  z-index: 3;
  will-change: transform, opacity;
}

/* Named ember styles */
.named-ember-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  will-change: transform, opacity;
  pointer-events: none;
}

.member-name {
  color: #ffb347;
  font-size: 14px;
  font-weight: 400;
  text-shadow: 0 0 8px rgba(255, 179, 71, 0.8), 0 0 15px rgba(255, 179, 71, 0.5);
  margin-top: 5px;
  white-space: nowrap;
  opacity: 0.9;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.5px;
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

