html, body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000;
}

#camerafeed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Splash screen */
#splash-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(255, 68, 255, 0.08) 0%, transparent 50%),
              #0a0a14;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#splash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#splash-title {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 68, 255, 0.8), 0 0 40px rgba(255, 68, 255, 0.4);
  margin: 0 0 8px 0;
}

#splash-subtitle {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(0, 255, 255, 0.85);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
  margin: 0 0 48px 0;
}

#start-button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(0, 255, 255, 0.6);
  padding: 14px 48px;
  border-radius: 30px;
  font-size: 1rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.15em;
  cursor: pointer;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.15), inset 0 0 15px rgba(0, 255, 255, 0.05);
  transition: box-shadow 0.3s, border-color 0.3s;
}

#start-button:active {
  border-color: rgba(0, 255, 255, 0.9);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), inset 0 0 20px rgba(0, 255, 255, 0.1);
}

#splash-footer {
  padding-bottom: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

#splash-footer span {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

#splash-footer img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

/* AR logo — top-right corner during camera */
#ar-logo {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 80px;
  z-index: 20;
  pointer-events: none;
  display: none;
}

/* Mute button */
#mute-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

#mute-btn svg {
  width: 24px;
  height: 24px;
}

/* Ghost guide overlay */
#ghost-guide {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 300px;
  z-index: 10;
  pointer-events: none;
  display: none;
  text-align: center;
}

#ghost-guide img {
  width: 100%;
  opacity: 0.5;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

#ghost-guide p {
  color: #fff;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 1rem;
  margin-top: 16px;
  text-shadow: 0 0 5px #000;
}

.hidden {
  display: none;
}
