:root {
  --bg-start: #0a1525;
  --bg-end: #09111b;
  --panel: rgba(19, 33, 52, 0.82);
  --panel-border: rgba(112, 168, 255, 0.16);
  --text-main: #eff7ff;
  --text-soft: #94a9c7;
  --accent-start: #2ea6ff;
  --accent-end: #228be6;
  --accent-glow: rgba(46, 166, 255, 0.35);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, rgba(46, 166, 255, 0.24), transparent 30%),
    linear-gradient(160deg, var(--bg-start), var(--bg-end));
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
  animation: floatGlow 12s ease-in-out infinite;
}

body::before {
  width: 280px;
  height: 280px;
  top: -90px;
  right: -40px;
  background: rgba(46, 166, 255, 0.16);
}

body::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -60px;
  background: rgba(0, 136, 204, 0.14);
  animation-delay: -5s;
}

.shell {
  width: min(100%, 980px);
}

.card {
  position: relative;
  width: min(100%, 580px);
  margin: 0 auto;
  padding: 32px 28px;
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(25, 42, 66, 0.88), var(--panel));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  text-align: center;
  animation: cardReveal 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ed4ff;
  background: rgba(46, 166, 255, 0.12);
  border: 1px solid rgba(158, 212, 255, 0.16);
  animation: badgeGlow 3.4s ease-in-out infinite;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-logo {
  width: clamp(104px, 22vw, 176px);
  height: clamp(104px, 22vw, 176px);
  display: block;
  margin: 8px auto 18px;
  object-fit: contain;
  filter:
    drop-shadow(0 14px 34px rgba(46, 166, 255, 0.2))
    drop-shadow(0 0 18px rgba(46, 166, 255, 0.1));
}

p {
  margin: 18px auto 0;
  max-width: 30rem;
  font-size: clamp(16px, 3.4vw, 18px);
  line-height: 1.6;
  color: var(--text-soft);
}

.proxy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  width: min(100%, 360px);
  min-height: 66px;
  padding: 18px 24px;
  border-radius: 22px;
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow:
    0 18px 45px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
  animation: buttonBreath 3.2s ease-in-out infinite;
}

.sponsors {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(158, 212, 255, 0.08);
}

.sponsors-title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(158, 212, 255, 0.72);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 430px;
  margin: 0 auto;
}

.sponsor-grid a.sponsor-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  text-align: center;
  color: var(--text-main);
  background: linear-gradient(180deg, rgba(35, 55, 82, 0.72), rgba(19, 33, 52, 0.9));
  border: 1px solid rgba(112, 168, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.sponsor-grid a.sponsor-button:hover {
  transform: translateY(-2px);
  border-color: rgba(112, 168, 255, 0.26);
  background: linear-gradient(180deg, rgba(40, 64, 96, 0.84), rgba(24, 40, 62, 0.94));
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sponsor-grid a.sponsor-button:focus-visible {
  outline: 2px solid rgba(158, 212, 255, 0.55);
  outline-offset: 3px;
}

.sponsor-emoji {
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 1;
}

.sponsor-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sponsor-text {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-soft);
}

.proxy-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 24px 54px rgba(46, 166, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  filter: saturate(1.08);
}

.proxy-button:active {
  transform: translateY(0) scale(0.99);
}

.proxy-button:focus-visible {
  outline: 3px solid rgba(158, 212, 255, 0.7);
  outline-offset: 4px;
}

.heart {
  display: inline-block;
  font-size: 1.2em;
  transform-origin: center;
  animation: pulse 1.3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 92, 118, 0));
  }
  50% {
    transform: scale(1.22);
    filter: drop-shadow(0 0 12px rgba(255, 92, 118, 0.55));
  }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, 14px, 0) scale(1.08);
  }
}

@keyframes buttonBreath {
  0%,
  100% {
    box-shadow:
      0 18px 45px var(--accent-glow),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
  50% {
    box-shadow:
      0 24px 60px rgba(46, 166, 255, 0.46),
      inset 0 1px 0 rgba(255, 255, 255, 0.34);
  }
}

@keyframes badgeGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(46, 166, 255, 0);
  }
  50% {
    box-shadow: 0 0 22px rgba(46, 166, 255, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  body {
    padding: 16px;
  }

  .card {
    padding: 24px 18px;
    border-radius: 26px;
  }

  .hero-logo {
    margin-bottom: 16px;
  }

  .proxy-button {
    width: 100%;
    border-radius: 20px;
  }

  .sponsor-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}
