@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --gold: #d4af37;
  --gold-bright: #ffd700;
  --gold-deep: #b8860b;
  --gold-pale: #fff4cc;
  --background: #0b0b0d;
  --surface: #101012;
  --surface-2: #151518;
  --surface-hover: #1c1c20;
  --foreground: #f7f5ef;
  --muted-foreground: #b8b4a8;
  --text-dim: #817d72;
  --card: #151518;
  --card-foreground: #f7f5ef;
  --border: rgba(212, 175, 55, 0.16);
  --border-hover: rgba(212, 175, 55, 0.35);
  --input-border: rgba(212, 175, 55, 0.22);
  --primary: #d4af37;
  --primary-foreground: #1a1405;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.14);
  --success-border: rgba(34, 197, 94, 0.4);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.14);
  --warning-border: rgba(245, 158, 11, 0.4);
  --destructive: #ef4444;
  --destructive-bg: rgba(239, 68, 68, 0.14);
  --discord: #5865f2;

  --gradient-gold: linear-gradient(135deg, var(--gold-deep), var(--gold) 50%, var(--gold-bright));
  --gradient-text: linear-gradient(100deg, var(--gold-pale), var(--gold-bright) 55%, var(--gold));
  --gradient-surface: linear-gradient(180deg, var(--surface-2), #181510);
  --glow-ambient: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.18), transparent 65%);
  --shadow-gold: 0 10px 40px -12px rgba(212, 175, 55, 0.55);
}

/* Base resets & typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--background);
  color: var(--foreground);
}

body {
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--foreground);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.45);
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.text-gold { color: var(--gold); }
.text-gold-bright { color: var(--gold-bright); }
.text-gold-pale { color: var(--gold-pale); }
.text-muted { color: var(--muted-foreground); }
.text-dim { color: var(--text-dim); }

.text-gold-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  background-image: var(--gradient-gold);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-gold);
  padding: 0.875rem 2.25rem;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 50px -10px rgba(255, 215, 0, 0.6);
}
.btn-gold:active {
  transform: translateY(0) scale(0.98);
}
.btn-gold:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  background: var(--surface-2);
  color: var(--gold-pale);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.875rem 2.25rem;
  font-size: 1rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn-ghost-gold:hover {
  background: var(--surface-hover);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-ghost-gold:active {
  transform: scale(0.98);
}
.btn-ghost-gold:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--discord);
  color: #ffffff;
  font-weight: 600;
  padding: 1rem 2rem;
  font-size: 1rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-discord:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}
.btn-discord:active {
  transform: scale(0.98);
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-glow {
  0%, 100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -20px) scale(1.06);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.animate-shimmer {
  background-size: 200% auto;
  animation: shimmer 6s linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grid & ambient background */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  pointer-events: none;
}

.bg-ambient {
  background-image: var(--glow-ambient);
  pointer-events: none;
}

/* Section Header Component */
.section-head {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  font-size: 2.25rem;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .section-head h2 {
    font-size: 3rem;
  }
}
.section-head p {
  margin-top: 1rem;
  color: rgba(255, 244, 204, 0.65);
  font-size: 1.05rem;
}

/* Navigation Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background-color: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-container {
  display: flex;
  height: 4.5rem;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: "Sora", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}
.brand-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-menu {
  display: none;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
  background: rgba(16, 16, 18, 0.65);
  border: 1px solid var(--border);
  padding: 0.25rem;
  border-radius: var(--radius-full);
}
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu a {
  display: block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--muted-foreground);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-menu a:hover {
  color: var(--gold-pale);
}
.nav-menu a.active {
  background: var(--surface-hover);
  color: var(--gold-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-login-btn {
  display: none;
}
@media (min-width: 640px) {
  .nav-login-btn {
    display: inline-flex;
  }
}

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--gold-pale);
}
@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(11, 11, 13, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  margin: 0.75rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-10px);
  transition: transform 0.25s ease;
}
.mobile-nav-backdrop.open .mobile-nav-drawer {
  transform: translateY(0);
}

.mobile-nav-drawer a {
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--gold-pale);
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.mobile-nav-drawer a:hover {
  background: var(--surface-hover);
}
.mobile-nav-drawer .btn-gold {
  margin-top: 0.5rem;
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 4rem;
  text-align: center;
}

.hero-glow-orb {
  position: absolute;
  left: 50%;
  top: 20%;
  width: 900px;
  max-width: 150vw;
  height: 520px;
  animation: float-glow 9s ease-in-out infinite;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(16, 16, 18, 0.75);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 244, 204, 0.85);
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--gold-pale);
}
@media (min-width: 640px) {
  .hero-title { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 5.375rem; }
}

.hero-subtitle {
  margin-top: 1.5rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  color: rgba(255, 244, 204, 0.65);
}
@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

/* Highlights Section */
.highlights-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.highlight-card {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .highlight-card {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
  .highlight-card:last-child {
    border-right: none;
  }
}
.highlight-card:hover {
  background: rgba(28, 28, 32, 0.3);
}
.highlight-icon {
  color: var(--gold-bright);
  width: 24px;
  height: 24px;
}
.highlight-title {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.highlight-desc {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Modules Catalog Section */
.modules-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.modules-stat {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.modules-stat-count {
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.modules-container {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .modules-container {
    grid-template-columns: 240px 1fr;
  }
}

.modules-mobile-select {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 0.75rem 1rem;
  color: var(--gold-pale);
  font-size: 0.95rem;
  outline: none;
}
@media (min-width: 768px) {
  .modules-mobile-select {
    display: none;
  }
}

.modules-category-nav {
  display: none;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
}
@media (min-width: 768px) {
  .modules-category-nav {
    display: block;
  }
}

.category-tab-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}
.category-tab-btn:hover {
  background: var(--surface-2);
  color: var(--gold-pale);
}
.category-tab-btn.active {
  background: var(--surface-hover);
  color: var(--gold-bright);
  font-weight: 600;
}
.category-tab-btn.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 4px;
  background: var(--gold-bright);
}
.category-count {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.modules-viewer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.modules-search-bar {
  position: relative;
  padding: 0.875rem;
  border-bottom: 1px solid var(--border);
}
.search-icon {
  position: absolute;
  left: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}
.modules-search-input {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 0.625rem 2.5rem 0.625rem 2.5rem;
  color: var(--foreground);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.modules-search-input:focus {
  border-color: var(--gold);
}
.modules-search-input::placeholder {
  color: var(--text-dim);
}
.search-clear-btn {
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  display: none;
}
.search-clear-btn:hover {
  color: var(--gold-pale);
}

.modules-table-header {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.modules-list {
  list-style: none;
  max-height: 560px;
  overflow-y: auto;
}

.module-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.module-item:last-child {
  border-bottom: none;
}
.module-item:hover {
  background-color: var(--surface-hover);
  padding-left: 1.75rem;
}

.module-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-size: 0.875rem;
}
.module-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.module-category-pill {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: capitalize;
  display: none;
}
@media (min-width: 640px) {
  .module-category-pill {
    display: inline;
  }
}

.module-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.badge-enabled {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--success-border);
  background: var(--success-bg);
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--success);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.badge-undetectable {
  border-radius: var(--radius-full);
  border: 1px solid var(--success-border);
  background: var(--success-bg);
  padding: 0.125rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--success);
}

.badge-detectable {
  border-radius: var(--radius-full);
  background: var(--warning);
  padding: 0.125rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #1a1405;
}

.modules-empty {
  padding: 4rem 1.5rem;
  text-align: center;
}
.modules-empty h4 {
  font-size: 1.125rem;
  font-weight: 600;
}
.modules-empty p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Pricing Section */
.pricing-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.pricing-glow-orb {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
}

.pricing-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  position: relative;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  padding: 2rem;
  background: var(--surface-2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
@media (min-width: 768px) {
  .pricing-card {
    padding: 2.5rem;
  }
}
.pricing-card:hover {
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: rgba(212, 175, 55, 0.6);
  background-image: var(--gradient-surface);
  box-shadow: var(--shadow-gold);
}

.pricing-tag {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-pale);
}

.pricing-price {
  margin-top: 1rem;
  font-family: "Sora", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-bill {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.pricing-features {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.875rem;
}
.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.feature-icon-check {
  color: var(--success);
  flex-shrink: 0;
}
.feature-icon-cross {
  color: var(--destructive);
  flex-shrink: 0;
}

.pricing-card .btn-gold {
  margin-top: 2.5rem;
  width: 100%;
}

/* Reviews / Testimonials Section */
.reviews-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.reviews-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 1.5rem;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  background: var(--surface-hover);
  box-shadow: var(--shadow-gold);
}

.review-stars {
  display: flex;
  gap: 0.125rem;
  color: var(--gold-bright);
}

.review-quote {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 244, 204, 0.85);
}

/* Discord CTA Section */
.discord-section {
  padding-bottom: 7rem;
}

.discord-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .discord-card {
    flex-direction: row;
    justify-content: space-between;
    padding: 3.5rem;
    text-align: left;
  }
}

.discord-glow {
  position: absolute;
  left: -160px;
  top: 50%;
  width: 600px;
  height: 400px;
  transform: translateY(-50%);
}

.discord-content {
  position: relative;
}
.discord-content h2 {
  font-size: 2rem;
}
@media (min-width: 768px) {
  .discord-content h2 {
    font-size: 2.25rem;
  }
}
.discord-content p {
  margin-top: 0.75rem;
  max-width: 28rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.faq-list {
  margin-top: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-pale);
  transition: color 0.2s ease;
}
.faq-button:hover {
  color: var(--gold);
}
.faq-button.open {
  color: var(--gold-bright);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-button.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.faq-answer-wrapper.open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer-content {
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.footer-desc {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.footer-column-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}

.footer-links {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.footer-links a:hover {
  color: var(--gold-pale);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  pointer-events: none;
}
.toast-item {
  pointer-events: auto;
  border-radius: var(--radius);
  background: #18181b;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast-item.toast-out {
  opacity: 0;
  transform: translateY(10px);
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.toast-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold-pale);
}
.toast-desc {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* Simple Pages (Login, Terms, Privacy, Refund) */
.simple-page-main {
  position: relative;
  min-height: 70vh;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding: 9rem 1.25rem 5rem 1.25rem;
}
.simple-page-title {
  font-size: 2.25rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .simple-page-title {
    font-size: 3rem;
  }
}
.simple-page-content {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.login-form-card {
  max-width: 28rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gold-pale);
}
.form-input {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 1rem;
  color: var(--foreground);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus {
  border-color: var(--gold);
}
.form-status-msg {
  font-size: 0.875rem;
  color: rgba(255, 244, 204, 0.85);
  line-height: 1.5;
}
