* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  font-family: "Arial", sans-serif;
}

.background {
  position: fixed;
  inset: 0;
  background: url("source/background.webp") center / cover no-repeat;
  filter: blur(5px) brightness(0.8);
  transform: scale(1.05);
  z-index: 0;
}

.page {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-progress {
  position: relative;
  width: min(70vw, 260px);
  height: min(70vw, 260px);
  display: grid;
  place-items: center;
}

.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 6;
}

.progress-bar {
  fill: none;
  stroke: url(#progress-gradient);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 352;
  stroke-dashoffset: 352;
  transition: stroke-dashoffset 0.1s linear;
}

.progress-center {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

.progress-value {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 1px;
}

.progress-label {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 100;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
  color: #fff;
}

.play-button {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 30% 30%, #7ad0ff, #2b8fd8);
  box-shadow: 0 0 24px rgba(122, 208, 255, 0.5);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  animation: play-pulse 1.6s ease-in-out infinite;
}

.play-button .play-icon {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #fff;
  margin-left: 3px;
}

.loader.loaded .play-button {
  opacity: 1;
  pointer-events: auto;
}

.loader.loaded .progress-label {
  opacity: 0;
}

.loader.loaded .progress-value {
  opacity: 0;
}

.prompt {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.prompt.visible {
  opacity: 1;
  pointer-events: auto;
}

.prompt img {
    width: min(70vw, 60px);
    height: auto;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.4));
    top: 130px;
    position: relative;
    opacity: 0.42;
    animation: play-pulse1 1.6s ease-in-out infinite;
}

.media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.media.active {
  opacity: 1;
  pointer-events: auto;
}

@keyframes play-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 24px rgba(122, 208, 255, 0.5);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 0 34px rgba(122, 208, 255, 0.75);
  }
}
  @keyframes play-pulse1 {
  0%,
  100% {
    transform: translate(0%, -6%) scale(1); 
  }
  
  50% {
    transform: translate(0%, -11%) scale(1.13);
  }

  
}
