:root {
  --violet-900: #13082c;
  --violet-700: #5b21b6;
  --violet-500: #8b5cf6;
  --violet-300: #c4b5fd;
  --violet-glow: rgba(139, 92, 246, 0.68);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', sans-serif;
  background: radial-gradient(circle at 10% 20%, #362069 0%, #16082d 45%, #080318 100%);
  min-height: 100vh;
}

.title-font {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
}

.overlay-gradient {
  background: radial-gradient(circle at 25% 25%, rgba(140, 56, 255, 0.25), transparent 55%),
    radial-gradient(circle at 80% 15%, rgba(236, 72, 153, 0.15), transparent 45%),
    linear-gradient(145deg, rgba(27, 16, 52, 0.8), rgba(11, 7, 20, 0.9));
  filter: saturate(115%);
}

.portal-badge {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(140deg, var(--violet-500), #d946ef);
  color: #f8f5ff;
  font-weight: 600;
  letter-spacing: 0.15em;
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.35);
}

.icon-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.15);
  height: 2.25rem;
  width: 2.25rem;
  font-size: 1.1rem;
  box-shadow: inset 0 0 15px rgba(139, 92, 246, 0.28);
}

.glass-card {
  border-radius: 2rem;
  background: rgba(30, 19, 60, 0.55);
  border: 1px solid rgba(196, 181, 253, 0.16);
  box-shadow: 0 25px 55px rgba(64, 22, 132, 0.35);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.15), transparent 55%);
  pointer-events: none;
}

.portal-button,
.portal-button-secondary {
  width: 100%;
  position: relative;
  border-radius: 1.3rem;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: transform 180ms ease, box-shadow 200ms ease;
}

.portal-button {
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.95), rgba(56, 189, 248, 0.85));
  color: #fff;
  box-shadow: 0 18px 35px rgba(56, 189, 248, 0.32);
}

.portal-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 200ms ease;
}

.portal-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(56, 189, 248, 0.35);
}

.portal-button:hover::after {
  opacity: 1;
}

.portal-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--violet-300);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.portal-button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(139, 92, 246, 0.25);
}

@media (max-width: 900px) {
  .glass-card {
    padding: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate__animated {
    animation: none !important;
  }
  .portal-button,
  .portal-button-secondary {
    transition: none;
  }
}
