html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(37, 46, 105, 0.34), transparent 62%),
    linear-gradient(180deg, #070a1b 0%, #101735 100%);
}

.fireworks-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.fireworks-overlay canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.portrait-stage {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
  pointer-events: none;
}

.portrait-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 100%;
}

.portrait-frame {
  padding: 5px;
  border: 4px solid #d6b66e;
  background: #171326;
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.6), 0 0 36px rgba(214, 182, 110, 0.28);
  animation: portrait-reveal 4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes portrait-reveal {
  from {
    opacity: 0;
    transform: scale(0.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.portrait-frame img {
  display: block;
  max-width: calc(100vw - 66px);
  max-height: calc(100vh - 66px);
  width: auto;
  height: auto;
}

.coming-soon {
  margin: 0;
  color: #fff4d6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 18px rgba(214, 182, 110, 0.55);
}

.visit-again {
  margin: -12px 0 0;
  color: #e4e9ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .portrait-frame {
    animation: none;
  }
}
