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

:root {
  --bg: #050816;
  --accent: #5865f2;
  --accent-soft: rgba(88, 101, 242, 0.35);
  --accent-strong: rgba(88, 101, 242, 0.85);
  --text: #f9fafb;
  --muted: #9ca3af;
  --card-bg: rgba(15, 23, 42, 0.85);
  --border-glow: rgba(96, 165, 250, 0.35);
  --shadow-soft: 0 18px 55px rgba(15, 23, 42, 0.8);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
  overflow: hidden;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.card {
  position: relative;
  max-width: 520px;
  width: 100%;
  padding: 32px 28px 28px;
  background: radial-gradient(circle at top left, rgba(148, 163, 253, 0.28), rgba(15, 23, 42, 0.9));
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 253, 0.35);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  text-align: center;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.9), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.7), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0.5;
  pointer-events: none;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.discord-logo {
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 0 18px rgba(88, 101, 242, 0.8));
  animation: float 4s ease-in-out infinite, glowPulse 3.5s ease-in-out infinite;
}

.discord-logo #discordGradient stop:nth-child(1) {
  stop-color: #6366f1;
}
.discord-logo #discordGradient stop:nth-child(2) {
  stop-color: #8b5cf6;
}
.discord-logo #discordGradient stop:nth-child(3) {
  stop-color: #22d3ee;
}

h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.25rem);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 26px;
  line-height: 1.6;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.6);
  background: radial-gradient(circle at top left, var(--accent-strong), var(--accent-soft));
  box-shadow:
    0 12px 25px rgba(37, 99, 235, 0.55),
    0 0 20px rgba(56, 189, 248, 0.45);
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.24s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}

.discord-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 18px 35px rgba(37, 99, 235, 0.75),
    0 0 40px rgba(56, 189, 248, 0.6);
  filter: brightness(1.08);
  border-color: #e5e7eb;
}

.discord-btn:active {
  transform: translateY(0px) scale(0.99);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.9),
    0 0 16px rgba(56, 189, 248, 0.4);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2));
  box-shadow: 0 0 12px rgba(15, 23, 42, 0.7);
}

.btn-icon svg {
  width: 16px;
  height: 16px;
  fill: #e5e7eb;
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.85;
}

/* Floating neon orbits in the background */
.bg-orbit {
  position: fixed;
  border-radius: 999px;
  filter: blur(75px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.orbit-1 {
  width: 340px;
  height: 340px;
  background: rgba(129, 140, 248, 0.9);
  top: -80px;
  left: -60px;
  animation: driftOne 28s linear infinite alternate;
}

.orbit-2 {
  width: 300px;
  height: 300px;
  background: rgba(56, 189, 248, 0.85);
  bottom: -100px;
  right: -60px;
  animation: driftTwo 32s linear infinite alternate;
}

.orbit-3 {
  width: 260px;
  height: 260px;
  background: rgba(147, 51, 234, 0.9);
  top: 40%;
  left: 65%;
  animation: driftThree 36s linear infinite alternate;
  opacity: 0.35;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.04);
  }
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 18px rgba(88, 101, 242, 0.9));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(56, 189, 248, 1));
  }
}

@keyframes driftOne {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(120px, 160px) rotate(15deg); }
}

@keyframes driftTwo {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-120px, -120px) rotate(-18deg); }
}

@keyframes driftThree {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-80px, 60px) rotate(10deg); }
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .card {
    padding: 26px 20px 22px;
  }
  .discord-logo {
    width: 110px;
    height: 110px;
  }
  .subtitle {
    font-size: 0.92rem;
  }
  .discord-btn {
    width: 100%;
  }
}
