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

:root {
  --space-navy: #0a0e27;
  --space-purple: #2a1b5e;
  --gold: #d4af37;
  --gold-light: #f0d878;
  --text-light: #f5f7ff;
}

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

body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text-light);
  background:
    radial-gradient(circle at 20% 20%, rgba(88, 42, 138, 0.35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(26, 92, 138, 0.25), transparent 40%),
    linear-gradient(180deg, var(--space-navy) 0%, #050814 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 39, 0.82);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}

.nav-brand {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  background: rgba(42, 27, 94, 0.65);
  color: var(--gold-light);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
  background: rgba(58, 38, 120, 0.85);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}

.nav-dropdown-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron {
  transform: rotate(-135deg) translateY(1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 240px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 0.75rem;
  background: rgba(12, 16, 40, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.nav-dropdown-menu[hidden] {
  display: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  outline: none;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}

.hero-frame {
  width: min(100%, 1100px);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.2),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(88, 42, 138, 0.2);
}

.hero-gif {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  color: rgba(245, 247, 255, 0.65);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .nav {
    padding-inline: 1rem;
  }

  .hero {
    padding-top: 1.25rem;
  }
}
