:root {
  --bg: #080a11;
  --card: rgba(18, 22, 32, 0.86);
  --ink: #ffffff;
  --muted: #b9c3e0;
  --soft: #6b728c;
  --gold: #f5b042;
  --gold-light: #ffe6b0;
  --gold-deep: #d4af37;
  --green: #6effa8;
  --line: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(145deg, #0a0c12 0%, #0f1219 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 74% 18%, rgba(80, 160, 255, 0.06) 0%, transparent 42%);
  pointer-events: none;
  z-index: 0;
}

.redirect-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  isolation: isolate;
}

.storm {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.bolt {
  position: absolute;
  width: 74px;
  height: 270px;
  opacity: 0;
  filter: drop-shadow(0 0 12px rgba(245, 176, 66, 0.42));
  animation: strike 6s infinite ease-out;
}

.bolt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, #fff0a8 16%, var(--gold) 52%, rgba(245, 176, 66, 0.1) 100%);
  clip-path: polygon(47% 0, 78% 0, 58% 38%, 86% 38%, 35% 100%, 47% 55%, 18% 55%);
}

.bolt-one {
  left: 12%;
  top: -24px;
  transform: rotate(-14deg) scale(0.92);
}

.bolt-two {
  right: 13%;
  top: 6%;
  transform: rotate(15deg) scale(0.7);
  animation-delay: 1.7s;
}

.bolt-three {
  left: 64%;
  bottom: -84px;
  transform: rotate(196deg) scale(0.62);
  animation-delay: 3.2s;
}

.redirect-card {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  padding: 2.5rem 2rem 3rem;
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 64px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.energy-icon {
  display: inline-block;
  width: 74px;
  height: 94px;
  background: linear-gradient(180deg, #fff6c6 0%, var(--gold) 58%, #b8751d 100%);
  clip-path: polygon(46% 0, 82% 0, 59% 39%, 90% 39%, 30% 100%, 44% 55%, 12% 55%);
  filter: drop-shadow(0 0 12px rgba(245, 176, 66, 0.55));
  animation: pulseBolt 3s infinite ease-in-out;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 16px;
}

.main-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.2rem;
  border: 0.5px solid rgba(255, 200, 100, 0.4);
  border-radius: 100px;
  color: #ffdb8e;
  background: rgba(245, 176, 66, 0.18);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 7vw, 3.35rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 6px rgba(255, 200, 80, 0.16);
}

.description {
  max-width: 560px;
  margin: 1.2rem auto 0.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin: 1.2rem 0 2rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(80, 200, 120, 0.3);
  border-radius: 60px;
  color: #a6f0c2;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  backdrop-filter: blur(4px);
}

.secure-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(110, 255, 168, 0.75);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.2rem 0 1.6rem;
}

.offer-item {
  display: grid;
  gap: 0.35rem;
  min-height: 104px;
  padding: 1rem 0.75rem;
  border: 1px solid rgba(255, 215, 0, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(245, 176, 66, 0.1), rgba(255, 255, 255, 0.035));
  align-content: center;
}

.offer-item strong {
  color: var(--gold-light);
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 900;
  line-height: 1.05;
}

.offer-item span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.35;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.game-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 230px;
  min-height: 64px;
  padding: 1rem 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 3px solid var(--gold-deep);
  border-right: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 80px;
  color: #ffffff;
  background: linear-gradient(115deg, #2c1e2f 0%, #1a1220 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1), filter 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
}

.game-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.game-btn:hover::before {
  transform: translateX(100%);
}

.game-btn:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.58);
  filter: brightness(1.08);
  box-shadow: 0 18px 30px -8px rgba(0, 0, 0, 0.5), 0 0 24px rgba(245, 176, 66, 0.18);
}

.game-btn:active {
  transform: translateY(2px);
}

.game-btn.is-missing {
  opacity: 0.72;
  cursor: not-allowed;
}

.btn-icon {
  width: 18px;
  height: 24px;
  background: var(--gold);
  clip-path: polygon(46% 0, 80% 0, 58% 40%, 88% 40%, 30% 100%, 43% 56%, 14% 56%);
  filter: drop-shadow(0 0 8px rgba(245, 176, 66, 0.55));
}

.btn-text {
  font-size: 1.25rem;
  font-weight: 900;
}

.btn-arrow {
  color: var(--gold-light);
  font-size: 1.5rem;
  line-height: 1;
}

.info-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.info-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.info-footer span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245, 176, 66, 0.72);
}

@keyframes pulseBolt {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(8deg) scale(1.06);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes strike {
  0%,
  72%,
  100% {
    opacity: 0;
  }

  73%,
  74.5% {
    opacity: 0.58;
  }

  75.5% {
    opacity: 0.12;
  }

  77% {
    opacity: 0.38;
  }

  79% {
    opacity: 0;
  }
}

@media (max-width: 550px) {
  .redirect-page {
    padding: 1.1rem;
  }

  .redirect-card {
    padding: 2rem 1.2rem 2.5rem;
    border-radius: 48px;
  }

  .game-btn {
    min-width: 180px;
    padding: 0.8rem 1.2rem;
    gap: 10px;
  }

  .btn-text {
    font-size: 1.1rem;
  }

  .button-group {
    gap: 1.2rem;
  }

  .description {
    font-size: 1rem;
  }

  .secure-note {
    border-radius: 30px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-item {
    min-height: 78px;
  }
}

@media (max-width: 440px) {
  .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .game-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
