/* ==========================================================================
   MELLOW HUB — MODERN STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS RESET & VARIABLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

button, a, input, select {
  touch-action: manipulation;
}

img, svg, picture, video {
  max-width: 100%;
  display: block;
}

:root {
  /* Surfaces & Darks */
  --bg-dark: #07080c;
  --bg-surface: #0e1017;
  --bg-card: #131622;
  --bg-card-hover: #191d2c;
  --bg-card-subtle: rgba(19, 22, 34, 0.65);
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(139, 92, 246, 0.45);

  /* Accent Colors */
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-dark: #6d28d9;
  --accent-glow: rgba(139, 92, 246, 0.28);

  --cyan: #06b6d4;
  --cyan-light: #38bdf8;
  --cyan-glow: rgba(6, 182, 212, 0.22);

  --pink: #ec4899;
  --pink-light: #f472b6;
  --pink-glow: rgba(236, 72, 153, 0.22);

  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.25);

  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.25);

  --discord: #5865f2;
  --discord-hover: #4752c4;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Layout */
  --nav-height: 72px;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   2. BACKGROUND EFFECTS & GRID
   -------------------------------------------------------------------------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 20% -10%, rgba(139, 92, 246, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 85% 25%, rgba(6, 182, 212, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 105%, rgba(236, 72, 153, 0.14) 0%, transparent 60%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
}

/* --------------------------------------------------------------------------
   3. NAVBAR
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 16px var(--accent-glow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition-fast);
}

.nav-logo:hover .logo-img {
  transform: scale(1.05) rotate(-3deg);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.version-tag {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--accent-light);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.2rem;
}

.accent {
  color: var(--accent-light);
}

.accent-gradient {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(19, 22, 34, 0.8);
  padding: 0.3rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--text-sub);
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
  color: var(--text-white);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2);
}

.nav-icon {
  width: 16px;
  height: 16px;
}

.nav-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.nav-count {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--discord);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 12px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
  background: var(--discord-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.45);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-light);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   3.1 MOBILE NAVIGATION DRAWER & SIDEBAR
   -------------------------------------------------------------------------- */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.sidebar-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  height: 100dvh;
  height: 100svh;
  background: rgba(13, 16, 24, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-light);
  box-shadow: -14px 0 45px rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.15rem 1.5rem;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-sidebar.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 12px var(--accent-glow);
}

.sidebar-brand-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.sidebar-brand-ver {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.sidebar-close-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  border-color: var(--border-light);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.sidebar-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.sidebar-nav-btn:hover,
.sidebar-nav-btn.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.35);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.12);
}

.sidebar-nav-btn.active .nav-icon {
  color: var(--accent-light);
}

.sidebar-nav-btn .nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.sidebar-nav-btn .nav-badge,
.sidebar-nav-btn .nav-count {
  margin-left: auto;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.sidebar-discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 48px;
  background: var(--discord);
  color: #ffffff;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
  transition: all var(--transition-fast);
}

.sidebar-discord-btn:hover {
  background: var(--discord-hover);
}

.sidebar-key-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all var(--transition-fast);
}

.sidebar-key-btn:hover {
  filter: brightness(1.1);
}

/* --------------------------------------------------------------------------
   4. MAIN CONTAINER & PAGES
   -------------------------------------------------------------------------- */
.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

.page {
  display: none;
}

.page.active {
  display: block;
  animation: pageFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   5. HERO HEADINGS
   -------------------------------------------------------------------------- */
.hero-container {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 1.25rem;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite ease-in-out;
}

.pulsing-dot.green {
  background: #34d399;
  box-shadow: 0 0 10px #10b981;
}

.pulsing-dot.blue {
  background: var(--cyan-light);
  box-shadow: 0 0 10px var(--cyan);
}

.pulsing-dot.purple {
  background: #c084fc;
  box-shadow: 0 0 10px #8b5cf6;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hero-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. PAGE 1: LOADER SHOWCASE
   -------------------------------------------------------------------------- */
.loader-showcase {
  max-width: 900px;
  margin: 0 auto;
}

.script-window {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.08);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: border-color var(--transition-fast);
}

.script-window:hover {
  border-color: rgba(139, 92, 246, 0.35);
}

.script-window-header {
  background: rgba(19, 22, 34, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.win-btn {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.win-close { background: #ff5f56; }
.win-min { background: #ffbd2e; }
.win-max { background: #27c93f; }

.window-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.lang-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan-light);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.script-body {
  padding: 1.5rem 1.75rem;
  background: rgba(10, 11, 16, 0.95);
  overflow-x: auto;
}

.script-pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

.script-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: #38bdf8;
  line-height: 1.7;
}

.script-footer {
  padding: 1rem 1.5rem;
  background: rgba(19, 22, 34, 0.75);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.script-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-sub);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.text-green {
  color: #34d399;
}

.script-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-color: var(--border-light);
}

.primary-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all var(--transition-fast);
}

.primary-copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  filter: brightness(1.1);
}

.primary-copy-btn.copied {
  background: #10b981;
  box-shadow: 0 4px 16px var(--green-glow);
}

/* Key Redirect Card */
.key-redirect-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
}

.key-redirect-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.redirect-icon-box {
  font-size: 2rem;
  background: rgba(139, 92, 246, 0.15);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.redirect-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.redirect-sub {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.gradient-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--accent) 0%, #ec4899 100%);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.75rem 1.45rem;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
  transition: all var(--transition-fast);
}

.gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45);
  filter: brightness(1.1);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.feature-box:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.feature-icon-wrapper.purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.feature-icon-wrapper.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.feature-icon-wrapper.pink {
  background: rgba(236, 72, 153, 0.15);
  color: var(--pink-light);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.55;
}

/* Quickstart Section */
.quickstart-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.3);
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: rgba(139, 92, 246, 0.4);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.step-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. PAGE 2: GET KEY (FLOWAUTH GATEWAY)
   -------------------------------------------------------------------------- */
.key-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.key-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.free-gateway-card {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.free-gateway-card:hover {
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.12);
}

.premium-gateway-card {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.premium-gateway-card:hover {
  border-color: rgba(245, 158, 11, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.12);
}

.key-card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.gateway-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.badge-free {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.badge-premium {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.card-subtitle {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.flow-pill-banner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.flow-pill-icon {
  font-size: 1.15rem;
}

.flowauth-choice-container {
  background: rgba(10, 11, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.choice-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.choice-cards-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.choice-card {
  flex: 1;
  min-width: 150px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.choice-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.choice-card-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.choice-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.choice-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.choice-steps {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.choice-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.choice-card:hover .choice-arrow {
  color: var(--accent-light);
  transform: translateX(3px);
}

.choice-or-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.choice-verification-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.45;
}

.perks-list strong {
  color: var(--text-white);
}

.premium-highlight-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 1.15rem;
  margin-bottom: 1.5rem;
}

.prem-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.prem-sub {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.flowauth-main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 1.75rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-fast);
}

.flowauth-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
  filter: brightness(1.1);
}

.premium-main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 1.75rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transition: all var(--transition-fast);
}

.premium-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
  filter: brightness(1.1);
}

.btn-caption {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.65rem;
}

/* Walkthrough Section */
.walkthrough-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.walkthrough-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
}

.timeline-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.timeline-step {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-number {
  width: 44px;
  height: 44px;
  background: rgba(139, 92, 246, 0.15);
  border: 2px solid var(--accent);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.45;
}

.timeline-connector {
  flex: 0 0 40px;
  height: 2px;
  background: var(--border-light);
  margin-bottom: 2.5rem;
}

/* Tips Box */
.tips-box {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tips-icon {
  font-size: 1.5rem;
}

.tips-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan-light);
  margin-bottom: 0.25rem;
}

.tips-body p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. PAGE 3: SUPPORTED GAMES
   -------------------------------------------------------------------------- */
.games-filter-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.search-input-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 3rem 1rem 3.25rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-white);
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.search-clear-btn {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-sub);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.search-clear-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.cat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cat-pill:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.cat-pill.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 10px var(--accent-glow);
}

.games-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.stat-dot.green {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.stat-update {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.game-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(139, 92, 246, 0.12);
}

.game-card-banner {
  height: 145px;
  position: relative;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.game-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.25) 0%, rgba(14, 16, 23, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}

.game-card-banner > * {
  position: relative;
  z-index: 2;
}

.game-icon-badge {
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.game-roblox-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-game-banner {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-subtle);
  display: block;
}

.game-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.game-card-content {
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.game-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}

.game-genre {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.game-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 1.15rem;
  flex: 1;
}

.game-features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.game-feat-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.game-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.game-run-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--accent-light);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.game-run-btn:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.game-info-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.game-info-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

/* Empty State */
.empty-games {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 3.5rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-games h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.empty-games p {
  color: var(--text-sub);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* Request Banner */
.request-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
}

.request-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.request-icon {
  font-size: 2.2rem;
  background: rgba(6, 182, 212, 0.15);
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.request-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.request-sub {
  font-size: 0.92rem;
  color: var(--text-sub);
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   9. PAGE 4: FAQ & COMMUNITY
   -------------------------------------------------------------------------- */
.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  text-align: left;
}

.faq-arrow {
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-light);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.discord-hero-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(88, 101, 242, 0.05) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.discord-hero-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.discord-bubble-icon {
  width: 64px;
  height: 64px;
  background: var(--discord);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
  flex-shrink: 0;
}

.discord-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.discord-hero-sub {
  font-size: 0.95rem;
  color: var(--text-sub);
  max-width: 500px;
}

.discord-large-btn {
  background: var(--discord);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.discord-large-btn:hover {
  background: var(--discord-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.55);
}

/* --------------------------------------------------------------------------
   10. SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 8, 12, 0.95);
  padding: 4rem 1.5rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  max-width: 360px;
  line-height: 1.55;
}

.footer-group-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: 0.05em;
  margin-bottom: 1.15rem;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 0;
}

.footer-link:hover {
  color: var(--accent-light);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  color: #34d399;
}

/* --------------------------------------------------------------------------
   11. TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: rgba(19, 22, 34, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  width: 22px;
  height: 22px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.toast-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   12. MODAL SYSTEM
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
  animation: modalFadeIn 0.25s ease-out forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-sub);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   -------------------------------------------------------------------------- */

@keyframes slideDownMobile {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- TABLET & MEDIUM SCREENS (<= 900px) --- */
@media (max-width: 900px) {
  .hero-heading {
    font-size: clamp(2.2rem, 5vw, 2.75rem);
  }
  
  .timeline-steps {
    flex-direction: column;
    gap: 1.5rem;
  }

  .timeline-connector {
    width: 2px;
    height: 24px;
    margin: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- MOBILE SCREENS (<= 768px) --- */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .site-main {
    padding: 1.5rem 1rem 4rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Navbar Mobile Layout */
  .navbar {
    padding: 0 1rem;
    height: var(--nav-height);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .nav-logo {
    gap: 0.65rem;
    flex-shrink: 0;
  }

  .logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .logo-title {
    font-size: 1.18rem;
  }

  .logo-sub {
    display: none !important;
  }

  .nav-logo .version-tag {
    display: none !important;
  }

  .nav-links {
    display: none !important;
  }

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

  .discord-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .discord-btn-text {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0.25rem;
  }

  /* Hero Section */
  .hero-container {
    margin-bottom: 2rem;
    padding: 0 0.25rem;
  }

  .hero-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-heading {
    font-size: clamp(2rem, 6.5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .hero-subtext {
    font-size: 0.95rem;
    line-height: 1.55;
    padding: 0 0.5rem;
  }

  /* Script Window (Loader Showcase) */
  .loader-showcase {
    max-width: 100%;
  }

  .script-window {
    border-radius: 16px;
    margin-bottom: 1.75rem;
  }

  .script-window-header {
    padding: 0.75rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .window-tab {
    max-width: 175px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
  }

  .lang-tag {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
    flex-shrink: 0;
  }

  .script-body {
    padding: 1.15rem 1rem;
    overflow-x: auto;
  }

  .script-pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .script-code {
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .script-footer {
    padding: 1.15rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .script-status {
    justify-content: center;
    font-size: 0.84rem;
    text-align: center;
  }

  .script-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .primary-copy-btn {
    width: 100%;
    min-height: 52px;
    font-size: 1.02rem;
    font-weight: 700;
    white-space: nowrap;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
    order: 1;
  }

  .secondary-btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.92rem;
    font-weight: 600;
    justify-content: center;
    border-radius: 12px;
    order: 2;
  }

  /* Get Key Page & Gateways */
  .key-options-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .gateway-card {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }

  .key-card-header {
    gap: 0.85rem;
    margin-bottom: 1.15rem;
  }

  .gateway-icon-wrap,
  .premium-icon-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.5rem;
    border-radius: 12px;
  }

  .card-name {
    font-size: 1.25rem;
  }

  .flow-pill-banner {
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
  }

  .flowauth-choice-container {
    padding: 1rem 0.85rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
  }

  .choice-cards-row {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
  }

  .choice-card {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .choice-or-pill {
    align-self: center;
    margin: 0.15rem 0;
  }

  .flowauth-main-btn,
  .premium-main-btn {
    width: 100%;
    min-height: 52px;
    font-size: 1.02rem;
    justify-content: center;
    border-radius: 14px;
  }

  .btn-caption {
    font-size: 0.78rem;
    text-align: center;
  }

  /* Timeline Steps (How to Get Your Key) */
  .timeline-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline-step {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
  }

  .timeline-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  .timeline-connector {
    display: none;
  }

  /* Supported Games Page */
  .games-filter-container {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .search-input {
    min-height: 48px;
    font-size: 16px;
    padding: 0.85rem 2.75rem 0.85rem 3rem;
  }

  .search-clear-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 0.85rem;
  }

  .category-pills {
    gap: 0.45rem;
    padding-bottom: 0.35rem;
  }

  .cat-pill {
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .game-card {
    border-radius: 16px;
  }

  .game-card-content {
    padding: 1.15rem 1rem;
  }

  .game-card-actions {
    flex-direction: column;
    gap: 0.65rem;
  }

  .game-run-btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
    justify-content: center;
    border-radius: 12px;
  }

  .game-info-btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.9rem;
    justify-content: center;
    border-radius: 12px;
  }

  .request-banner {
    padding: 1.35rem 1.15rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
    text-align: left;
    border-radius: 18px;
  }

  .request-left {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
  }

  .request-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.8rem;
    border-radius: 12px;
  }

  .gradient-btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
  }

  /* FAQ & Community */
  .faq-item {
    border-radius: 12px;
  }

  .faq-question {
    min-height: 52px;
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.9rem;
  }

  .discord-hero-card {
    padding: 1.5rem 1.15rem;
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .discord-hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .discord-bubble-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
  }

  .discord-hero-title {
    font-size: 1.25rem;
  }

  .discord-large-btn {
    width: 100%;
    min-height: 50px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    text-align: center;
  }

  /* Modal Dialog */
  .modal-backdrop {
    padding: 1rem;
  }

  .modal-content {
    padding: 1.35rem 1.1rem;
    border-radius: 18px;
    max-height: 88dvh;
    width: 100%;
  }

  .modal-close-btn {
    min-width: 44px;
    min-height: 44px;
    top: 0.85rem;
    right: 0.85rem;
  }

  /* Toast */
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1.25rem;
    max-width: calc(100vw - 2rem);
  }
}

/* --- COMPACT MOBILE SCREENS (<= 480px) --- */
@media (max-width: 480px) {
  .site-main {
    padding: 1.25rem 0.75rem 3.5rem;
  }

  .discord-btn-text {
    display: none;
  }

  .discord-btn {
    padding: 0.5rem;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
  }

  .hero-heading {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.18;
  }

  .hero-subtext {
    font-size: 0.88rem;
    padding: 0;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  .script-window-header {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .window-tab {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
  }

  .lang-tag {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
  }

  .step-card {
    padding: 1.15rem 0.95rem;
  }

  .footer-inner {
    padding: 2rem 0.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-status-pill {
    align-self: center;
  }
}

/* --- EXTRA COMPACT SCREENS (<= 360px) --- */
@media (max-width: 360px) {
  .logo-title {
    font-size: 1rem;
  }

  .version-tag {
    display: none;
  }

  .gateway-card {
    padding: 1.1rem 0.85rem;
  }
}

/* ==========================================================================
   PAGE 3.5: UPDATE LOGS & CHANGELOG
   ========================================================================== */
.updates-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.updates-feed {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.update-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.update-card.latest {
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(249, 115, 22, 0.12);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.06) 0%, rgba(19, 22, 34, 0.96) 28%);
}

.update-card:hover {
  border-color: var(--border-light);
}

.update-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.update-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.update-version-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.update-game-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-light);
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.update-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.update-status-badge.badge-latest {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.18);
  border-color: rgba(249, 115, 22, 0.45);
}

.update-flow-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.update-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.update-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.update-summary {
  font-size: 0.98rem;
  color: var(--text-sub);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.update-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.update-section-box {
  background: rgba(10, 11, 16, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.25rem;
}

.update-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.8rem;
}

.update-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.update-items-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.update-bullet {
  color: var(--accent-light);
  font-size: 0.82rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.update-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.update-footer-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-sub);
}

@media (max-width: 768px) {
  .update-card {
    padding: 1.35rem 1.1rem;
  }
  .update-title {
    font-size: 1.3rem;
  }
  .update-sections-grid {
    grid-template-columns: 1fr;
  }
}
