/* ===================================================================
   SCRIPTIFY.WORLD - LUSION-INSPIRED ULTRA ANIMATED GAMING STYLESHEET
   Deep Space Cyberpunk Aesthetic | Fluid Physics | 3D Tilts | Glassmorphism
   =================================================================== */

:root {
  /* Color Palette - Pure Dark Black Gaming Stealth */
  --bg-dark: #000000;
  --bg-card: #08090d;
  --bg-card-hover: #0e1017;
  --bg-surface: #0a0b10;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.4);
  --border-purple-glow: rgba(0, 255, 136, 0.4);

  /* Tactical Neon Accents */
  --neon-cyan: #00f0ff;
  --neon-purple: #38bdf8;
  --neon-pink: #f43f5e;
  --neon-green: #00ff88;
  --neon-amber: #fbbf24;
  --neon-blue: #0284c7;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Sharp High-Contrast Gradients */
  --grad-cyan-purple: linear-gradient(135deg, #00f0ff 0%, #00ff88 100%);
  --grad-sunset: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
  --grad-emerald: linear-gradient(135deg, #00ff88 0%, #00f0ff 100%);
  --grad-card-border: linear-gradient(135deg, rgba(0, 240, 255, 0.4), rgba(0, 255, 136, 0.3), transparent);

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-code: 'JetBrains Mono', 'Fira Code', monospace;

  /* Smooth Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: #000000;
  background-image: 
    radial-gradient(circle at 50% 0%, #080a12 0%, #000000 65%),
    radial-gradient(ellipse at 80% 80%, #040508 0%, #000000 70%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Selection Highlight */
::selection {
  background: rgba(0, 240, 255, 0.3);
  color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* ===================================================================
   LUSION BACKGROUND CANVAS & MOUSE SPOTLIGHT (INTERACTIVE PHYSICS)
   =================================================================== */
#lusion-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Dynamic Cursor Glow Following Mouse */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    700px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh),
    rgba(0, 240, 255, 0.06),
    rgba(168, 85, 247, 0.035) 40%,
    transparent 70%
  );
  transition: opacity 0.3s ease;
}

/* Glowing Ambient Floating Orbs - Deep Stealth */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  animation: floatOrbs 24s ease-in-out infinite alternate;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: #00f0ff;
  top: -100px;
  left: 10%;
  animation-duration: 20s;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: #00ff88;
  top: 35%;
  right: -100px;
  animation-duration: 28s;
  animation-delay: -5s;
}

.glow-3 {
  width: 450px;
  height: 450px;
  background: #00f0ff;
  bottom: 5%;
  left: 15%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes floatOrbs {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.15); }
  100% { transform: translate(-40px, -60px) scale(0.9); }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ===================================================================
   TOP ANNOUNCEMENT BAR
   =================================================================== */
.top-announcement {
  position: relative;
  z-index: 10;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(168, 85, 247, 0.15), rgba(0, 240, 255, 0.1));
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  padding: 10px 16px;
  text-align: center;
  backdrop-filter: blur(12px);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-primary);
  flex-wrap: wrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--neon-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulseDot 1.8s infinite;
}

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

.mini-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.mini-btn:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* ===================================================================
   NAVBAR (GLASSMORPHISM)
   =================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 14, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(168, 85, 247, 0.3));
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transition: var(--transition-spring);
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
  transition: var(--transition-spring);
  display: block;
}

.logo:hover .logo-icon {
  transform: rotate(8deg) scale(1.08);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.logo:hover .logo-img {
  transform: rotate(6deg) scale(1.1);
  filter: drop-shadow(0 0 22px rgba(0, 240, 255, 0.85));
}

.logo-accent {
  background: var(--grad-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #000 !important;
  background: linear-gradient(135deg, #00f0ff, #00ff88) !important;
  border: 1px solid #00f0ff !important;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.5) !important;
  font-weight: 800 !important;
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.5);
}

/* ===================================================================
   HERO SECTION (COMPACT & HIGH-EFFICIENCY LAYOUT)
   =================================================================== */
.hero-section {
  padding: 34px 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.badge-wrapper {
  margin-bottom: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  background: rgba(0, 255, 157, 0.08);
  border: 1px solid rgba(0, 255, 157, 0.25);
  border-radius: 999px;
  color: var(--neon-green);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 0 16px rgba(0, 255, 157, 0.12);
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hero-title {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 25%, #38bdf8 65%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.35);
}

.hero-subtitle {
  font-size: clamp(0.86rem, 1.3vw, 0.98rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

/* ===================================================================
   SEARCH BOX & TRENDING TAGS
   =================================================================== */
.search-box-wrapper {
  max-width: 620px;
  margin: 0 auto 14px;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #08090d;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 3px 14px;
  transition: var(--transition-fast);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.search-input-box:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), inset 0 0 12px rgba(0, 240, 255, 0.05);
  transform: translateY(-2px);
}

.search-icon {
  font-size: 1rem;
  color: var(--text-muted);
  margin-right: 10px;
}

.search-input-box:focus-within .search-icon {
  color: var(--neon-cyan);
}

.search-input-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.92rem;
  font-family: var(--font-main);
  padding: 10px 0;
}

.search-input-box input::placeholder {
  color: var(--text-muted);
}

.clear-search-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 6px;
  transition: var(--transition-fast);
}

.clear-search-btn:hover {
  color: #fff;
}

/* Trending Tags */
.trending-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tag-pill:hover, .tag-pill.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.2);
}

/* Compact Stats Counter Pill Strip */
.stats-row {
  display: inline-flex;
  align-items: center;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 20px;
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.stat-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}

.stat-num {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0;
}

.stat-divider {
  width: 1px;
  height: 15px;
  background: var(--border-glass);
}

.live-online {
  color: var(--neon-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ping-circle {
  width: 7px;
  height: 7px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulseDot 1.4s infinite;
}

/* ===================================================================
   ADSTERRA AD SLOTS (STREAMLINED & HIGH ENGAGEMENT)
   =================================================================== */
.ad-wrapper {
  margin: 16px auto;
}

.ad-container {
  position: relative;
  z-index: 2;
  background: rgba(13, 17, 28, 0.96);
  backdrop-filter: blur(16px);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 18px 24px;
  text-align: center;
  transition: var(--transition-fast);
}

.ad-container:hover {
  border-color: rgba(0, 240, 255, 0.25);
}

.ad-tag {
  position: absolute;
  top: -9px;
  left: 20px;
  background: rgba(6, 8, 14, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.ad-placeholder-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 60px;
}

.ad-placeholder-content i {
  font-size: 1.3rem;
  color: var(--neon-cyan);
}

/* ===================================================================
   SCRIPTS EXPLORER SECTION & CATEGORY BUTTONS
   =================================================================== */
.section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-header.text-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 6px;
}

.filter-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.category-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.category-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(168, 85, 247, 0.15));
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

/* ===================================================================
   LUSION-STYLE 3D SCRIPT CARDS (SPOTLIGHT & TILT)
   =================================================================== */
.scripts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.script-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Dynamic Spotlight Hover Following Mouse */
.script-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background: radial-gradient(
    380px circle at var(--card-x, 50%) var(--card-y, 50%),
    rgba(0, 240, 255, 0.12),
    rgba(168, 85, 247, 0.06) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.script-card:hover::before {
  opacity: 1;
}

.script-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.15);
  transform: translateY(-6px) scale(1.01);
}

/* Card Thumbnail */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090e1a;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.script-card:hover .card-media img {
  transform: scale(1.08);
}

.card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 18, 30, 0.95) 100%);
  z-index: 1;
}

.card-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.game-badge {
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 157, 0.12);
  border: 1px solid rgba(0, 255, 157, 0.3);
  color: var(--neon-green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.status-pill .dot {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-green);
}

.key-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.key-pill.keyless {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
}

.key-pill.keyed {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

/* Card Body Content - Compact & Sleek */
.card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
  transition: color var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.script-card:hover .card-title {
  color: var(--neon-cyan);
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feature Tags List */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 6px;
}

/* Card Footer & Action Buttons */
.card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-get-script {
  flex: 1;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 255, 136, 0.2));
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-get-script:hover {
  background: linear-gradient(135deg, #00f0ff, #00ff88);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.btn-quick-copy {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-quick-copy:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: scale(1.08);
}

/* No Results State */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: rgba(14, 18, 30, 0.4);
  border-radius: 20px;
  border: 1px dashed var(--border-glass);
}

.no-results i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.no-results h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.btn-primary {
  background: var(--neon-cyan);
  color: #000;
  border: none;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

/* ===================================================================
   EXECUTORS COMPATIBILITY SECTION
   =================================================================== */
.executors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.executor-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.executor-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.exec-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.exec-icon.delta {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.exec-icon.fluxus {
  background: rgba(245, 158, 11, 0.15);
  color: var(--neon-amber);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.exec-icon.codex {
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.exec-icon.solara {
  background: rgba(251, 191, 36, 0.15);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.25);
}

.exec-icon.wave {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.exec-icon.celery {
  background: rgba(0, 255, 136, 0.15);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
}

.exec-icon.hydrogen {
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.exec-icon.arceus {
  background: rgba(244, 63, 94, 0.15);
  color: var(--neon-pink);
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.25);
}

.executor-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.executor-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 157, 0.1);
  color: var(--neon-green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-arrow {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--neon-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px;
}

/* ===================================================================
   SCRIPT MODAL & CODE VIEWER (LUSION POP-IN ANIMATION)
   =================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 11, 0.85);
  backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #0d1222;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 650px;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
}

.modal-game-badge {
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.modal-body {
  padding: 24px;
}

.modal-meta-row {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.modal-meta-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.text-success { color: var(--neon-green); }

/* Code Box */
.code-box-wrapper {
  background: #060913;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.code-box-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-lang {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.code-pre {
  padding: 16px;
  overflow-x: auto;
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: #38bdf8;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 140px;
}

/* Modal In-App Ad Slot */
.modal-ad-slot {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  margin-bottom: 20px;
}

.ad-mini-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Modal Actions */
.modal-actions {
  display: flex;
  gap: 12px;
}

.btn-copy {
  flex: 1;
  background: linear-gradient(135deg, #00f0ff, #a855f7);
  color: #000;
  border: none;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-copy:hover {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.btn-key-link {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.btn-key-link:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.btn-direct-link {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-direct-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ===================================================================
   TOAST NOTIFICATION (ANIMATED SUCCESS)
   =================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 21, 37, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--neon-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 157, 0.3);
  padding: 14px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1000;
  transform: translateY(100px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

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

.toast-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 255, 157, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  font-size: 1.2rem;
}

.toast-text {
  display: flex;
  flex-direction: column;
}

.toast-text strong {
  font-size: 0.95rem;
  color: #fff;
}

.toast-text span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(4, 6, 11, 0.9);
  padding: 60px 0 30px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-top: 14px;
  max-width: 380px;
}

.footer-links h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #fff;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--neon-cyan);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.bottom-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.text-danger { color: #f43f5e; }

/* ===================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET OPTIMIZED)
   =================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .scripts-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
  .footer-content { grid-template-columns: 1fr; gap: 30px; }
  .stats-row { gap: 16px; padding: 12px 18px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.1rem; }
  .stats-row { flex-direction: column; width: 100%; }
  .stat-divider { display: none; }
  .modal-actions { flex-direction: column; }
  .toast { right: 14px; left: 14px; bottom: 14px; }
}
