:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --surface: #f7f7f7;
  --stroke: rgba(0, 0, 0, 0.08);
  --text: #000000;
  --muted: #1b1b1b;
  --accent: #000000;
  --accent-soft: #f2f2f2;
  --cta-text: #ffffff;
  --topbar-bg: rgba(255, 255, 255, 0.92);
  --radius: 12px;
  --font-base: "Geist", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0b;
  --panel: #121212;
  --surface: #161616;
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #f5f5f5;
  --muted: #c9c9c9;
  --accent: #f5f5f5;
  --accent-soft: rgba(255, 255, 255, 0.14);
  --cta-text: #000000;
  --topbar-bg: rgba(10, 10, 10, 0.9);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-base);
  font-size: 135%;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  text-align: left;
}

a {
  color: inherit;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-color: var(--bg);
}

body::after {
  background-image: none;
  opacity: 0;
  animation: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 14px 6vw;
  background: var(--topbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}

.logo {
  font-size: 1.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
  transform: translateY(-4%);
  justify-self: start;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 1.05rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
  justify-self: center;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a.nav__premium {
  color: #f2b400;
  font-weight: 600;
  text-shadow: -6px 0 14px rgba(242, 180, 0, 0.35), 6px 0 14px rgba(255, 215, 0, 0.35);
  animation: premium-glow 3s ease-in-out infinite;
}

.nav a.nav__premium:hover,
.nav a.nav__premium:focus,
.nav a.nav__premium:visited {
  color: #f2b400;
}

@keyframes premium-glow {
  0%,
  100% {
    text-shadow: -6px 0 14px rgba(242, 180, 0, 0.25), 6px 0 14px rgba(255, 215, 0, 0.25);
  }
  50% {
    text-shadow: -6px 0 18px rgba(242, 180, 0, 0.5), 6px 0 18px rgba(255, 215, 0, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav a.nav__premium {
    animation: none;
  }
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
  justify-self: end;
}

.cta {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--cta-text);
  padding: 10px 18px;
  border-radius: 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, border 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.cta:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.cta--discord {
  background: #f2b400;
  border-color: #f2b400;
}

.cta--dark {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.cta--dark:hover,
.cta--discord:hover {
  filter: brightness(0.92);
}

.ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 0;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.cta--small {
  padding: 8px 14px;
  font-size: 0.95rem;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.theme-toggle:hover,
.theme-toggle:focus {
  background: transparent;
}

.theme-toggle__text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

html[data-theme="light"] .theme-toggle__text {
  color: #000;
}

html[data-theme="dark"] .theme-toggle__text {
  color: #fff;
}

main {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  padding: 24px 6vw 70px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero__content h1 {
  font-size: clamp(5.2rem, 7.6vw, 8.8rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(8rem, 12vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__content {
  max-width: 720px;
}

.hero__media {
  display: none;
}

.hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(4500px, 100%);
  aspect-ratio: 1;
  border-radius: 28px;
  border: none;
  background: transparent;
  box-shadow: none;
  transition: transform 0.3s ease;
  transform: translateX(15%);
  overflow: visible;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, rgba(242, 180, 0, 0.28), rgba(242, 180, 0, 0) 72%);
  filter: blur(64px);
  opacity: 0.6;
  z-index: 0;
  animation: hero-glow 4.6s ease-in-out infinite;
}

.hero__art img {
  position: relative;
  width: 100%;
  height: auto;
  transform: scale(1.8);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimizeQuality;
  filter:
    drop-shadow(0 0 12px rgba(242, 180, 0, 0.4))
    drop-shadow(0 0 26px rgba(242, 180, 0, 0.26))
    drop-shadow(0 0 52px rgba(255, 215, 120, 0.16));
  z-index: 1;
  animation:
    hero-glow-float 4.6s ease-in-out infinite,
    hero-glow-shimmer 6.2s ease-in-out infinite;
}

.hero__art:hover,
.hero__art:focus-within {
  transform: translate(15%, -4px);
}

@keyframes hero-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0) scale(0.98);
  }
  50% {
    opacity: 0.75;
    transform: translateY(-10px) scale(1.02);
  }
}

@keyframes hero-glow-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes hero-glow-shimmer {
  0%,
  100% {
    filter:
      drop-shadow(0 0 12px rgba(242, 180, 0, 0.35))
      drop-shadow(0 0 26px rgba(242, 180, 0, 0.22))
      drop-shadow(0 0 52px rgba(255, 215, 120, 0.14));
  }
  50% {
    filter:
      drop-shadow(0 0 16px rgba(242, 180, 0, 0.5))
      drop-shadow(0 0 32px rgba(242, 180, 0, 0.32))
      drop-shadow(0 0 64px rgba(255, 215, 120, 0.22));
  }
}

.gradient-text {
  background: linear-gradient(120deg, #f2b400, #ffd54a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 6px 14px rgba(242, 180, 0, 0.35),
    0 0 18px rgba(255, 230, 140, 0.55),
    0 0 40px rgba(255, 210, 80, 0.55);
  animation: neon-flicker 3.8s ease-in-out infinite;
}

@keyframes neon-flicker {
  0%,
  100% {
    text-shadow:
      0 6px 14px rgba(242, 180, 0, 0.35),
      0 0 18px rgba(255, 230, 140, 0.55),
      0 0 40px rgba(255, 210, 80, 0.55);
  }
  45% {
    text-shadow:
      0 8px 16px rgba(242, 180, 0, 0.5),
      0 0 22px rgba(255, 230, 140, 0.75),
      0 0 48px rgba(255, 210, 80, 0.7);
  }
  60% {
    text-shadow:
      0 4px 12px rgba(242, 180, 0, 0.25),
      0 0 14px rgba(255, 230, 140, 0.45),
      0 0 32px rgba(255, 210, 80, 0.45);
  }
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.subhead {
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 520px;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__actions .cta,
.hero__actions .ghost {
  font-size: 1.1rem;
  text-align: center;
}

.invite {
  border-top: none;
  justify-content: center;
}

.invite-card {
  width: min(900px, 100%);
  text-align: center;
  padding: 56px 6vw;
  border-radius: 24px;
  background: linear-gradient(120deg, #ffd76a, #f2b400 55%, #ffea9c);
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.invite-card h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 16px;
}

.invite-card p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.invite-card__actions {
  display: inline-flex;
  flex-wrap: wrap;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.invite-card__button {
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  transition: background 0.3s ease;
}

.invite-card__button:last-child {
  border-right: none;
}

.invite-card__button:hover,
.invite-card__button:focus {
  background: rgba(255, 255, 255, 0.16);
}

.invite-card__button--secondary {
  background: rgba(255, 255, 255, 0.08);
}


.section {
  padding: 80px 6vw;
}

.premium-plans {
  padding-top: 70px;
}

.premium-plans__title {
  text-align: center;
  margin-inline: auto;
}

.premium-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 36px;
}

.premium-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(245, 245, 245, 0.9));
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

html[data-theme="dark"] .premium-card {
  background: linear-gradient(160deg, rgba(24, 24, 24, 0.96), rgba(15, 15, 15, 0.92));
  border-color: rgba(255, 255, 255, 0.1);
}

.premium-card--highlight {
  border: 1px solid rgba(242, 180, 0, 0.5);
  background: linear-gradient(165deg, rgba(255, 249, 230, 0.95), rgba(255, 255, 255, 0.9));
}

html[data-theme="dark"] .premium-card--highlight {
  background: linear-gradient(165deg, rgba(60, 45, 10, 0.95), rgba(24, 18, 6, 0.92));
}

.premium-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.premium-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.premium-card__header h3 {
  font-size: 1.35rem;
}

.premium-card__badge {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

html[data-theme="dark"] .premium-card__badge {
  background: rgba(255, 255, 255, 0.12);
}

.premium-card__badge--highlight {
  background: #f2b400;
  color: #000000;
  box-shadow: 0 10px 24px rgba(242, 180, 0, 0.3);
}

.premium-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 600;
}

.premium-card__amount {
  font-size: 2.3rem;
}

.premium-card__amount--highlight {
  color: #f2b400;
  text-shadow: 0 10px 22px rgba(242, 180, 0, 0.35);
}

.premium-card__cycle {
  color: var(--muted);
}

.premium-card__cycle--highlight {
  color: #f2b400;
}

.premium-card__copy {
  color: var(--muted);
}

.premium-card__list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.premium-card__list li {
  position: relative;
  padding-left: 22px;
}

.premium-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f2b400;
  font-weight: 700;
}

.premium-card__actions {
  margin-top: auto;
}

.premium-card__actions .cta {
  display: inline-flex;
  width: fit-content;
}

.premium-payments {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.premium-payments__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.premium-payments__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.premium-payments__method {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .premium-payments__method {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(22, 22, 22, 0.8);
}

.premium-payments__method svg,
.premium-payments__method img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.premium-card__cta--pulse {
  position: relative;
  animation: premium-cta-pulse 2.6s ease-in-out infinite;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.premium-card__cta--pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 4px;
  border: 1px solid rgba(242, 180, 0, 0.6);
  opacity: 0;
  animation: premium-cta-ring 2.6s ease-in-out infinite;
}

@keyframes premium-cta-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  }
  50% {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 45px rgba(242, 180, 0, 0.3);
  }
}

@keyframes premium-cta-ring {
  0% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found__content {
  max-width: 680px;
}

.not-found__title {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  margin: 12px 0 18px;
}

.not-found__copy {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.status-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.4rem;
  color: var(--muted);
}

.section-title {
  margin-bottom: 40px;
  max-width: 640px;
}

.section-title h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.glass-card {
  background: linear-gradient(135deg, #ffffff 0%, #f2f2f2 45%, #ffffff 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 200px;
  transition:
    transform 0.3s ease,
    border 0.3s ease,
    box-shadow 0.3s ease,
    background-position 0.5s ease;
  background-size: 200% 200%;
  cursor: pointer;
}

html[data-theme="dark"] .glass-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #111111 45%, #1c1c1c 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.25);
  background-position: right 40%;
}

.glass-card:active {
  transform: translateY(-2px) scale(0.99);
}

.badge {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.alt {
  background: var(--surface);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.dashboard-shell {
  padding: 48px 6vw 80px;
  display: grid;
  gap: 40px;
}

.dashboard-auth {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 32px;
}

.dashboard-auth__card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--panel);
  display: grid;
  gap: 20px;
}

.dashboard-auth__details h2 {
  margin-bottom: 12px;
}

.dashboard-auth__details ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.dashboard-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dashboard-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
}

.invite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-top: none;
}

.footer ul {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.footer a {
  text-decoration: none;
  color: inherit;
}

.footer__meta {
  color: var(--muted);
  margin-top: 8px;
}

.invite__content p {
  color: var(--muted);
  margin-top: 8px;
}

.footer {
  padding: 40px 6vw 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  color: var(--muted);
  font-size: 0.8em;
}

@keyframes grid-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-45px, -45px, 0);
  }
  100% {
    transform: translate3d(-90px, -90px, 0);
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .logo {
    transform: none;
    justify-self: center;
  }

  .nav {
    justify-content: center;
    gap: 18px;
    font-size: 1rem;
  }

  .topbar__actions {
    justify-content: center;
  }

  .invite {
    flex-direction: column;
    align-items: center;
  }

  .premium-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .premium-card__badge {
    align-self: flex-start;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 115%;
  }

  .topbar {
    padding: 16px 5vw;
  }

  .topbar__actions {
    width: 100%;
    justify-content: center;
  }

  .topbar__actions .cta {
    width: 100%;
    text-align: center;
  }

  .topbar__actions .theme-toggle {
    width: auto;
    min-width: 88px;
    text-align: center;
  }

  .hero {
    padding-top: 40px;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__content h1 {
    font-size: clamp(3.2rem, 10vw, 4.5rem);
  }

  .hero__title {
    font-size: clamp(4.2rem, 12vw, 6.5rem);
  }

  .hero__content {
    margin-inline: auto;
  }

  .subhead {
    margin-inline: auto;
    font-size: 1.1rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__actions .cta,
  .hero__actions .ghost {
    flex: 1 1 180px;
    justify-content: center;
  }

  .hero__media {
    display: none;
  }

  .invite-card {
    padding: 40px 6vw;
  }

  .invite-card__actions {
    width: 100%;
    border-radius: 18px;
  }

  .invite-card__button {
    flex: 1 1 140px;
    justify-content: center;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.55);
  }

  .invite-card__button:first-child {
    border-top: none;
  }

  .footer {
    text-align: center;
    gap: 32px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 105%;
  }

  .cta,
  .ghost {
    width: 100%;
    text-align: center;
  }

  .invite-card {
    padding: 32px 5vw;
  }

  .premium-card {
    padding: 22px;
  }

  .premium-card__amount {
    font-size: 1.9rem;
  }
}
