:root {
  --bg-deep: #070708;
  --bg: #0c0c0e;
  --bg-raised: #121214;
  --surface: #18181c;
  --surface-hover: #1f1f24;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --muted: #71717a;
  --accent: #8b8ce8;
  --accent-soft: rgba(139, 140, 232, 0.14);
  --accent-glow: rgba(139, 140, 232, 0.45);
  --accent-2: #a5b4fc;
  --success: #86efac;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --header-h: 64px;
  --promo-h: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__gradient {
  position: absolute;
  inset: 0;
  background-color: #09090b;
  background-image: repeating-linear-gradient(
    -40deg,
    transparent 0,
    transparent 11px,
    rgba(255, 255, 255, 0.028) 11px,
    rgba(255, 255, 255, 0.028) 12px
  );
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 7, 8, 0.72);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  transform: translateY(-8px);
  opacity: 0;
  transition:
    transform 0.7s var(--ease-out) 0.06s,
    opacity 0.55s ease 0.06s,
    border-color 0.3s ease,
    background 0.3s ease;
}

body.is-loaded .site-header {
  transform: translateY(0);
  opacity: 1;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.25s ease, transform 0.25s var(--ease-spring);
}

.logo:hover {
  color: var(--accent-2);
  transform: translateY(-1px);
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 4px 24px var(--accent-glow);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  animation: logo-shine 4s ease-in-out infinite;
}

@keyframes logo-shine {
  0% {
    transform: translateX(-100%) rotate(12deg);
  }
  40%,
  100% {
    transform: translateX(200%) rotate(12deg);
  }
}

.nav-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

nav.primary-nav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
}

nav.primary-nav a {
  position: relative;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 999px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.2s var(--ease-spring);
}

nav.primary-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transform: translateY(-1px);
}

nav.primary-nav a.active {
  color: var(--text);
  background: rgba(139, 140, 232, 0.18);
  box-shadow: 0 0 0 1px rgba(139, 140, 232, 0.25);
}

.btn-dashboard {
  flex-shrink: 0;
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s var(--ease-spring),
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    background 0.25s ease;
}

.btn-dashboard:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(139, 140, 232, 0.45);
  box-shadow:
    0 8px 28px rgba(99, 102, 241, 0.2),
    0 0 0 1px rgba(139, 140, 232, 0.15);
}

.shell {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

main,
.main-area {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.reveal,
[data-reveal] {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

html.js .reveal:not(.is-visible),
html.js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}
.reveal--delay-2 {
  transition-delay: 0.16s;
}
.reveal--delay-3 {
  transition-delay: 0.24s;
}
.reveal--delay-4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.is-visible),
  html.js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .reveal,
  [data-reveal] {
    transition: none;
  }
}

.hero {
  padding: clamp(3rem, 10vw, 5.5rem) 0 clamp(4rem, 12vw, 7rem);
}

.hero--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero--split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.hero__inner {
  text-align: center;
}

@media (min-width: 960px) {
  .hero--split .hero__inner {
    text-align: left;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 140, 232, 0.25);
  border-radius: 999px;
  animation: eyebrow-pulse 3s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(139, 140, 232, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(139, 140, 232, 0.08);
  }
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 5.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero__title-gradient {
  background: linear-gradient(135deg, #fff 0%, #e4e4e7 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.sneaky-pulse {
  display: inline-block;
  background: linear-gradient(135deg, #8b8ce8 0%, #a5b4fc 50%, #8b8ce8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: sneaky-gradient-pulse 2s ease-in-out infinite;
}

@keyframes sneaky-gradient-pulse {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 960px) {
  .hero--split .hero__lead {
    margin-left: 0;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 960px) {
  .hero--split .hero__actions {
    justify-content: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.35s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.btn-primary {
  color: #0a0a0b;
  background: linear-gradient(180deg, #e0e7ff 0%, #a5b4fc 45%, #818cf8 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 12px 40px rgba(99, 102, 241, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero__visual {
  perspective: 1200px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  animation: hero-card-float 7s ease-in-out infinite;
  transition: transform 0.5s var(--ease-out), border-color 0.35s ease;
}

.hero-card:hover {
  border-color: rgba(139, 140, 232, 0.35);
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translateY(0) rotateX(6deg) rotateY(-4deg);
  }
  50% {
    transform: translateY(-12px) rotateX(4deg) rotateY(2deg);
  }
}

.hero-card__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.hero-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3f3f46;
}
.hero-card__dot:nth-child(1) {
  background: #f87171;
}
.hero-card__dot:nth-child(2) {
  background: #fbbf24;
}
.hero-card__dot:nth-child(3) {
  background: #4ade80;
}

.hero-card__rows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-card__row {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  animation: row-shimmer 2.5s ease-in-out infinite;
}

.hero-card__row:nth-child(1) {
  width: 75%;
  animation-delay: 0s;
}
.hero-card__row:nth-child(2) {
  width: 92%;
  animation-delay: 0.2s;
}
.hero-card__row:nth-child(3) {
  width: 55%;
  animation-delay: 0.4s;
}

@keyframes row-shimmer {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.hero-card__badge {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(139, 140, 232, 0.2);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.hero-card__badge strong {
  color: var(--success);
  font-weight: 600;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-strip span {
  font-size: 0.8125rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-strip svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  opacity: 0.9;
}

.page-head {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 2rem;
  text-align: center;
}

.page-head--left {
  text-align: left;
}

.page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-intro {
  margin: 0 auto 2.5rem;
  max-width: 38rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.page-head--left .page-intro {
  margin-left: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 140, 232, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: var(--surface-hover);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(139, 140, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  transition: transform 0.35s var(--ease-spring);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.08) rotate(-3deg);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.cta-block {
  text-align: center;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(24, 24, 28, 0.9));
  border: 1px solid rgba(139, 140, 232, 0.22);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.cta-block:hover {
  border-color: rgba(139, 140, 232, 0.35);
  box-shadow: 0 24px 70px rgba(99, 102, 241, 0.12);
}

.cta-block p {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
}

.pricing-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pricing-intro .page-intro {
  margin-bottom: 0;
}

.pricing-section {
  margin-bottom: 3.25rem;
}

.pricing-section:last-of-type {
  margin-bottom: 2rem;
}

.pricing-section__title {
  margin: 0 0 1.35rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-grid--focus .price-card {
  transition:
    filter 0.45s var(--ease-out),
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

.pricing-grid--focus:has(.price-card:hover) .price-card:not(:hover) {
  filter: blur(7px);
  opacity: 0.38;
  transform: scale(0.97);
}

.pricing-grid--focus .price-card:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(139, 140, 232, 0.4);
  box-shadow: 0 20px 56px rgba(99, 102, 241, 0.18);
  z-index: 2;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  position: relative;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.pricing-grid:not(.pricing-grid--focus) .price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 140, 232, 0.35);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.15);
}

.price-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.price-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: -0.02em;
}

.price-card .meta {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.price-card .checkout {
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  transition:
    transform 0.25s var(--ease-spring),
    background 0.25s ease,
    border-color 0.25s ease;
}

.price-card .checkout:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: var(--accent-soft);
  border-color: rgba(139, 140, 232, 0.4);
}

.pricing-notes {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.65;
}

.pricing-notes a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.pricing-notes a:hover {
  border-bottom-color: currentColor;
}

.pricing-notes ul {
  padding-left: 1.2rem;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.config-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.config-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 140, 232, 0.28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.config-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.config-card .author {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.config-card .stats {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.config-card a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
}

.config-card a:hover {
  text-decoration: underline;
}

.discord-panel {
  max-width: 440px;
  margin: 2.5rem auto 0;
  padding: 2.75rem 2rem 2.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(18, 18, 22, 0.94) 45%, rgba(12, 12, 14, 0.98) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.discord-panel:hover {
  border-color: rgba(139, 140, 232, 0.28);
}

.discord-panel__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #5865f2, #4752c4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.35);
  animation: discord-icon-pulse 2.5s ease-in-out infinite;
}

@keyframes discord-icon-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 12px 32px rgba(88, 101, 242, 0.35);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 16px 40px rgba(88, 101, 242, 0.45);
  }
}

.discord-panel__icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.discord-panel__label {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.discord-panel__count {
  display: block;
  margin: 0.25rem 0 1.25rem;
  font-size: clamp(3rem, 12vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: count-pop 0.45s var(--ease-spring);
}

.discord-panel__count.is-tick {
  animation: count-pop 0.45s var(--ease-spring);
}

@keyframes count-pop {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.discord-panel__hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.discord-panel__skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 140, 232, 0.35);
  background: rgba(139, 140, 232, 0.1);
  transition:
    transform 0.25s var(--ease-spring),
    border-color 0.2s ease,
    background 0.2s ease;
}

.discord-panel__skip:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(139, 140, 232, 0.55);
  background: rgba(139, 140, 232, 0.16);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--text-secondary);
}

.prose a {
  color: var(--accent-2);
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #08080a;
  background-image: repeating-linear-gradient(
    38deg,
    transparent 0,
    transparent 11px,
    rgba(255, 255, 255, 0.032) 11px,
    rgba(255, 255, 255, 0.032) 12px
  );
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  justify-content: center;
  align-items: center;
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}

.site-footer a:hover {
  color: var(--text-secondary);
}

.site-footer a:hover::after {
  transform: scaleX(1);
}

.upload-cta {
  margin-top: 2rem;
  text-align: center;
}

.upload-cta a {
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
}

.upload-cta a:hover {
  text-decoration: underline;
}

a {
  color: inherit;
}

.stagger-children > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger-children > *:nth-child(2) {
  transition-delay: 0.1s;
}
.stagger-children > *:nth-child(3) {
  transition-delay: 0.15s;
}
.stagger-children > *:nth-child(4) {
  transition-delay: 0.2s;
}
.stagger-children > *:nth-child(5) {
  transition-delay: 0.25s;
}
.stagger-children > *:nth-child(6) {
  transition-delay: 0.3s;
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    gap: 0.75rem;
  }

  .nav-wrap {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  nav.primary-nav {
    width: 100%;
    justify-content: center;
  }

  .btn-dashboard {
    margin-left: auto;
  }
}

::selection {
  background: rgba(139, 140, 232, 0.35);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.btn:focus-visible,
.btn-dashboard:focus-visible,
nav.primary-nav a:focus-visible {
  outline-offset: 2px;
}

@keyframes footer-link-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.is-loaded .footer-inner a {
  animation: footer-link-in 0.55s var(--ease-out) backwards;
}

body.is-loaded .footer-inner a:nth-child(1) {
  animation-delay: 0.12s;
}
body.is-loaded .footer-inner a:nth-child(2) {
  animation-delay: 0.2s;
}
body.is-loaded .footer-inner a:nth-child(3) {
  animation-delay: 0.28s;
}
body.is-loaded .footer-inner a:nth-child(4) {
  animation-delay: 0.36s;
}
body.is-loaded .footer-inner a:nth-child(5) {
  animation-delay: 0.44s;
}

body.custom-cursor,
body.custom-cursor button,
body.custom-cursor a,
body.custom-cursor input,
body.custom-cursor textarea,
body.custom-cursor select,
body.custom-cursor [role="button"] {
  cursor: none !important;
}

.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.25s ease;
  box-sizing: border-box;
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.custom-cursor.is-cursor-visible .cursor-ring,
body.custom-cursor.is-cursor-visible .cursor-dot {
  opacity: 1;
}

.dashboard-page {
  padding-top: 1.5rem;
}

.dashboard-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.dashboard-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.dashboard-welcome {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

.dashboard-username {
  font-weight: 600;
  color: var(--text);
}

.dashboard-logout {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f87171;
  text-decoration: none;
  border: 1px solid rgba(248, 113, 113, 0.55);
  border-radius: var(--radius-sm);
  background: transparent;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.3s var(--ease-out);
}

.dashboard-logout:hover {
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.75);
  background: rgba(248, 113, 113, 0.08);
  text-decoration: none;
  transform: translateY(-1px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.875rem;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-tile--wide,
  .dash-tile--narrow,
  .dash-tile--third,
  .dash-tile--half {
    grid-column: 1 / -1;
  }
}

@media (min-width: 901px) {
  .dash-tile--full {
    grid-column: 1 / -1;
  }

  .dash-tile--wide {
    grid-column: span 4;
  }

  .dash-tile--narrow {
    grid-column: span 2;
  }

  .dash-tile--third {
    grid-column: span 2;
  }

  .dash-tile--half {
    grid-column: span 3;
  }
}

.dash-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.5rem;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: inherit;
  text-align: left;
  background: rgba(18, 18, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.35s ease;
}

.dash-tile:hover {
  transform: scale(1.025);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(28, 28, 34, 0.88);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  z-index: 2;
  text-decoration: none;
}

.dash-tile--wide {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  min-height: 6.25rem;
}

.dash-tile__icon {
  flex-shrink: 0;
  color: var(--text-secondary);
  opacity: 0.9;
}

.dash-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.dash-tile__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: none;
}

.dash-tile__value {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.dash-tile__value--accent {
  color: #ef4444;
}

.dash-tile__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.dash-tile__desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.dash-tile--full .dash-tile__body {
  gap: 0.5rem;
}

/* ——— Legal pages (Sneaky theme) ——— */
.legal-doc {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-doc h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.legal-doc .legal-updated {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-doc h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.legal-doc p,
.legal-doc li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.legal-doc ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.legal-doc strong {
  color: var(--text);
}

.legal-doc a {
  color: var(--accent-2);
  text-decoration: none;
}

.legal-doc a:hover {
  text-decoration: underline;
}

/* ——— Login page (matches Sneaky / Discord redirect panel) ——— */
.login-page {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.login-card {
  max-width: 420px;
  margin: 2rem auto 0;
  padding: 2.5rem 2rem 2.25rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(18, 18, 22, 0.94) 45%, rgba(12, 12, 14, 0.98) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.login-card:hover {
  border-color: rgba(139, 140, 232, 0.25);
}

.login-card__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 140, 232, 0.25);
  border-radius: 999px;
}

.login-card__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #e4e4e7 45%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-card__lead {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.login-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(180deg, #6b77f5 0%, #5865f2 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.35);
  transition:
    transform 0.25s var(--ease-spring),
    filter 0.2s ease,
    box-shadow 0.25s ease;
}

.login-card__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(88, 101, 242, 0.42);
  text-decoration: none;
  color: #fff;
}

.login-card__fine {
  margin: 1.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.discord-page__head {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto 0.5rem;
}

.discord-page__head .login-card__eyebrow {
  margin-bottom: 0.75rem;
}

.discord-page__title {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
}

.discord-page__head .page-intro {
  margin: 0.75rem auto 0;
  max-width: 26rem;
}
