/* Webdogital açılış animasyonu */
html.wd-boot-lock,
html.wd-boot-lock body {
  overflow: hidden !important;
}

html.wd-boot-skip .wd-boot-overlay {
  display: none !important;
}

.wd-boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(176, 84, 241, 0.30), transparent 34%),
    radial-gradient(circle at 20% 15%, rgba(142, 197, 252, 0.18), transparent 30%),
    linear-gradient(135deg, #10051d 0%, #24103a 48%, #09040f 100%);
  color: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.wd-boot-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wd-boot-card {
  width: min(460px, 92vw);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  position: relative;
}

.wd-boot-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.20), transparent 42%);
  transform: translateX(-100%);
  animation: wdBootShine 1.55s ease-in-out infinite;
}

.wd-boot-logo-wrap {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 48px rgba(176, 84, 241, 0.34);
  position: relative;
  z-index: 1;
  animation: wdBootFloat 2.1s ease-in-out infinite;
}

.wd-boot-logo-wrap img {
  width: 112px;
  max-height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(220, 177, 255, 0.45));
}

.wd-boot-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(176, 84, 241, 0.16);
  border: 1px solid rgba(220, 177, 255, 0.22);
  color: #e9d2ff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wd-boot-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.3rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #ffffff, #e0c3fc, #8ec5fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wd-boot-subtitle {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 330px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

.wd-boot-progress {
  position: relative;
  z-index: 1;
  width: min(320px, 70vw);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.wd-boot-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8ec5fc, #b054f1, #e0c3fc);
  animation: wdBootProgress 1.45s ease-in-out forwards;
}

.wd-boot-status {
  position: relative;
  z-index: 1;
  min-height: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.83rem;
}

@keyframes wdBootProgress {
  0% { transform: translateX(-110%); width: 48%; }
  55% { width: 72%; }
  100% { transform: translateX(132%); width: 62%; }
}

@keyframes wdBootFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.025); }
}

@keyframes wdBootShine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

@media (max-width: 768px) {
  .wd-boot-overlay {
    align-items: flex-start;
    padding-top: max(54px, env(safe-area-inset-top));
  }
  .wd-boot-card {
    width: min(390px, 94vw);
    min-height: 430px;
    border-radius: 24px;
    gap: 16px;
  }
  .wd-boot-logo-wrap {
    width: 132px;
    height: 132px;
    border-radius: 30px;
  }
  .wd-boot-logo-wrap img {
    width: 98px;
    max-height: 98px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wd-boot-card::before,
  .wd-boot-logo-wrap,
  .wd-boot-progress span {
    animation: none !important;
  }
}
