* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #16051d;
}
body {
  font-family: Inter, Arial, sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.page {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #833ab4, #e1306c 45%, #f77737);
}
.bg-video,
.fallback-bg,
.overlay,
.noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bg-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.45s;
}
.bg-video.is-ready {
  opacity: 1;
}
.fallback-bg {
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, #fcaf45, transparent 32%),
    radial-gradient(circle at 80% 30%, #e1306c, transparent 35%),
    radial-gradient(circle at 50% 90%, #833ab4, transparent 45%),
    linear-gradient(135deg, #4c0b6e, #b81762 48%, #fb7b31);
}
.overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.6));
}
.noise {
  z-index: 2;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px max(10vh, env(safe-area-inset-bottom) + 7vh);
}
.continue-btn {
  position: relative;
  width: min(430px, 86vw);
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(
    105deg,
    #833ab4,
    #e1306c 46%,
    #fd1d1d 72%,
    #f77737
  );
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.36), 0 0 30px rgba(225, 48, 108, 0.34);
  font: 900 16px/1 Inter, Arial, sans-serif;
  letter-spacing: 1.8px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.continue-btn:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42), 0 0 42px rgba(225, 48, 108, 0.5);
}
.continue-btn:active {
  transform: translateY(1px) scale(0.985);
}
.btn-content {
  position: relative;
  z-index: 2;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}
.btn-content i {
  font-size: 15px;
  transition: transform 0.25s;
}
.continue-btn:hover .btn-content i {
  transform: translateX(4px);
}
.btn-shine {
  position: absolute;
  z-index: 1;
  top: -80%;
  left: -35%;
  width: 30%;
  height: 260%;
  transform: rotate(24deg);
  background: rgba(255, 255, 255, 0.36);
  filter: blur(5px);
  animation: shine 3.2s ease-in-out infinite;
}
.loading {
  pointer-events: none;
}
.loading .btn-shine {
  display: none;
}
.loading .btn-content i {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  font-size: 0;
  animation: spin 0.7s linear infinite;
}
@keyframes shine {
  0%,
  18% {
    left: -35%;
    opacity: 0;
  }
  28% {
    opacity: 1;
  }
  48%,
  100% {
    left: 120%;
    opacity: 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 600px) {
  .content {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: max(8vh, env(safe-area-inset-bottom) + 6vh);
  }
  .continue-btn {
    width: 88vw;
    min-height: 58px;
  }
  .btn-content {
    min-height: 58px;
  }
}
@media (max-width: 380px) {
  .continue-btn {
    width: 92vw;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .content {
    padding-bottom: max(7vh, env(safe-area-inset-bottom) + 5vh);
  }
  .continue-btn,
  .btn-content {
    min-height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-shine {
    animation: none;
  }
}
