
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: system-ui, -apple-system, sans-serif;

  /* Цвет для верхних/нижних белых зон */
  background-color: #140028;

  /* Основной фон */
  background-image:
    linear-gradient(
      rgba(20,0,40,0.18),
      rgba(10,0,25,0.48)
    ),
    url('olympus-bg.webp');

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* DIVINE ATMOSPHERIC OVERLAY */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,215,0,0.06), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(140,0,255,0.08), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.03), transparent 40%);
  animation: mistMove 14s ease-in-out infinite alternate;
  z-index: 0;
}



/* ПРОЗРАЧНАЯ ТЕМНАЯ WRAPPER БЕЗ BLUR */

.wrapper {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 520px;
  padding: 36px 24px 48px;
  overflow: hidden;

  background: linear-gradient(
    180deg,
    rgba(12,6,30,0.62) 0%,
    rgba(8,4,22,0.74) 45%,
    rgba(4,2,14,0.84) 100%
  );

  border-radius: 34px;
  border: 1.5px solid rgba(255,215,0,0.22);

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  box-shadow:
    0 0 0 1px rgba(255,215,0,0.04) inset,
    0 0 24px rgba(255,215,0,0.06),
    0 18px 55px rgba(0,0,0,0.46),
    inset 0 0 18px rgba(255,215,0,0.01);

  animation: fadeInScale 0.9s ease-out;
}
.wrapper::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 26px;
  border: 1px solid rgba(255,215,0,0.08);
  pointer-events: none;
}

.wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 34px;

  background: linear-gradient(
    130deg,
    transparent 0%,
    rgba(255,255,255,0.018) 38%,
    rgba(255,215,0,0.018) 50%,
    rgba(255,255,255,0.012) 62%,
    transparent 100%
  );

  opacity: 0.35;

  animation: none;
}

.bonus-image {
  width: 190px;
  height: 190px;
  object-fit: contain;
  margin-bottom: 26px;
  animation: float 3.4s ease-in-out infinite;
  filter:
    drop-shadow(0 0 18px rgba(255,215,0,0.65))
    drop-shadow(0 0 45px rgba(255,180,0,0.28));
}

.spinner {
  display: none;
  width: 82px;
  height: 82px;
  margin: 0 auto 26px;
  border-radius: 50%;
  position: relative;

  background: conic-gradient(
    from 0deg,
    rgba(120,0,255,0.12) 0deg,
    rgba(120,0,255,0.18) 180deg,
    #8c1dff 240deg,
    #d946ff 295deg,
    #ffd700 340deg,
    #ffae00 360deg
  );

  box-shadow:
    0 0 25px rgba(170,70,255,0.35),
    0 0 18px rgba(255,215,0,0.42),
    0 0 55px rgba(255,215,0,0.18);

  animation: spin 1.25s linear infinite;
}

.spinner::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      rgba(20,0,40,0.92) 0%,
      rgba(8,0,25,0.97) 70%
    );
}

.spinner::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.12);
  box-shadow:
    0 0 22px rgba(255,215,0,0.12),
    0 0 45px rgba(180,80,255,0.08);
  animation: spinReverse 3.2s linear infinite;
}

.headline {
  font-family: 'Cinzel', serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;

  background: linear-gradient(
    180deg,
    #fdf3c4 0%,
    #f6d76a 18%,
    #e0b22e 42%,
    #b97a00 72%,
    #8a5400 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  text-shadow:
    0 1px 0 rgba(255,248,210,0.35),
    0 2px 0 #d19a1e,
    0 3px 0 #9b6400,
    0 4px 4px rgba(0,0,0,0.26),
    0 0 6px rgba(255,200,0,0.12);
}

.subtext {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  max-width: 360px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* PREMIUM PROGRESS BAR */
.progress {
  position: relative;
  width: 92%;
  height: 14px;
  margin: 28px auto 0;
  padding: 2px;

  border-radius: 999px;
  overflow: hidden;
  box-sizing: border-box;

  background: linear-gradient(
    180deg,
    rgba(40,10,60,0.52),
    rgba(10,0,24,0.68)
  );

  border: 2px solid rgba(255,215,0,0.68);

  box-shadow:
    inset 0 0 8px rgba(255,255,255,0.03),
    inset 0 0 14px rgba(255,215,0,0.04),
    0 0 14px rgba(255,215,0,0.08);

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* ПОЛНОСТЬЮ УДАЛЯЕМ БОКОВЫЕ ПАЛКИ */

.progress::before,
.progress::after {
  display: none !important;
}

.progress::before { left: -4px; }
.progress::after { right: -4px; }

.progress-bar {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  overflow: hidden;

  background: linear-gradient(
    90deg,
    #4d00ff 0%,
    #7f00ff 22%,
    #b100ff 46%,
    #ff38ff 70%,
    #ffd700 100%
  );

  box-shadow:
    0 0 14px rgba(160,60,255,0.72),
    0 0 22px rgba(255,215,0,0.32),
    inset 0 0 8px rgba(255,255,255,0.18);

  animation:
    loadingBar 2.2s ease-in-out infinite,
    pulseGlow 1.6s ease-in-out infinite;
}

.progress-bar::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -160%;
  width: 90%;
  height: 180%;
  border-radius: 50%;

  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0.02) 24%,
    rgba(255,255,255,0.12) 42%,
    rgba(255,255,255,0.38) 50%,
    rgba(255,255,255,0.12) 58%,
    rgba(255,255,255,0.02) 76%,
    transparent 100%
  );

  filter: blur(7px);
  mix-blend-mode: screen;
  opacity: 0.9;

  animation: ultraShineSmooth 2.6s linear infinite;
}

.progress-bar::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    #fff7c2 0%,
    #ffd700 35%,
    #ff8a00 72%,
    rgba(255,120,0,0.04) 100%
  );

  box-shadow:
    0 0 14px rgba(255,215,0,0.75),
    0 0 24px rgba(255,140,0,0.32);

  animation: orbPulse 1.2s ease-in-out infinite;
}

/* ANIMATIONS */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes loadingBar {
  0% { width: 0%; }
  50% { width: 72%; }
  100% { width: 100%; }
}

@keyframes shine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes pulseGlow {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

@keyframes orbPulse {
  0%,100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.15); }
}

@keyframes divineSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes mistMove {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-20px) scale(1.08); }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.965);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .wrapper {
    width: calc(100% - 32px);
    max-width: 430px;

    padding: 32px 20px 40px;

    margin: 16px auto;

    border-radius: 30px;
    box-sizing: border-box;
  }

  .wrapper::before {
    inset: 12px;
    border-radius: 22px;
  }

  .wrapper::after {
    border-radius: 30px;
  }

  .bonus-image {
    width: 150px;
    height: 150px;
  }

  .spinner {
    width: 68px;
    height: 68px;
  }

  .headline {
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: 0.65px;

    background: linear-gradient(
      180deg,
      #f8df7a 0%,
      #e7bc38 45%,
      #c98a12 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    text-shadow:
      0 1px 0 rgba(255,248,210,0.22),
      0 2px 3px rgba(155,100,0,0.30),
      0 3px 6px rgba(0,0,0,0.18),
      0 0 5px rgba(255,200,0,0.08);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  .subtext {
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .wrapper {
    width: calc(100% - 24px);
    max-width: 390px;

    padding: 28px 18px 36px;

    margin: 12px auto;

    border-radius: 28px;
  }

  .wrapper::before {
    inset: 10px;
    border-radius: 20px;
  }

  .wrapper::after {
    border-radius: 28px;
  }

  .headline {
    font-size: 20px;
    line-height: 1.24;
    letter-spacing: 0.45px;

    background: linear-gradient(
      180deg,
      #f8df7a 0%,
      #e7bc38 45%,
      #c98a12 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    text-shadow:
      0 1px 0 rgba(255,248,210,0.18),
      0 1px 2px rgba(155,100,0,0.28),
      0 2px 4px rgba(0,0,0,0.16);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  .bonus-image {
    width: 120px;
    height: 120px;
  }

  .spinner {
    width: 58px;
    height: 58px;
  }

  .subtext {
    font-size: 13px;
    line-height: 1.5;
  }
}