:root {
  /* ============================================================
     1. Design System Tokens (UI/UX Pro Max & main.luau Theme)
     ============================================================ */
  --theme-bg: #0f1116;
  --theme-sidebar: #0c0e12;
  --theme-header: #11141a;
  --theme-card: #12151c;
  --theme-card-hover: #151922;
  --theme-card-stroke: #1c212c;
  --theme-card-stroke-hover: #2a3344;
  --theme-nav-active: #161b24;
  --theme-nav-hover: #12161e;
  --theme-nav-text: #8c94a5;
  --theme-text-primary: #f0f3fa;
  --theme-text-secondary: #8591a5;
  --theme-text-muted: #525d70;
  --theme-accent-blue: #3882f5;
  --theme-accent-blue-glow: rgba(56, 130, 245, 0.25);
  --theme-accent-green: #22c55e;
  --theme-toggle-off: #1a1e28;
  --theme-toggle-knob: #dce1eb;
  --theme-slider-track: #191d26;

  /* Global OLED Canvas Palette */
  --site-bg: #06080d;
  --site-surface: #0a0d14;
  --site-border: rgba(255, 255, 255, 0.06);
  --site-border-hover: rgba(255, 255, 255, 0.14);

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

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.22s var(--ease);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--site-bg);
  color: var(--theme-text-primary);
  font-family: var(--font-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--theme-accent-blue);
  outline-offset: 2px;
}

/* ============================================================
   Atmospheric Background System (High Performance GPU Canvas)
   ============================================================ */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  contain: strict;
  background-color: #06080d;
  background-image:
    /* Top horizontal illumination */
    radial-gradient(ellipse 65% 22% at 50% 0%, rgba(56, 130, 245, 0.16) 0%, transparent 80%),
    /* Hero Interactive Window Glow Spotlight */
    radial-gradient(circle 380px at 76% 36%, rgba(56, 130, 245, 0.12) 0%, rgba(37, 99, 235, 0.035) 50%, transparent 100%),
    /* Left Presentation Text Glow Aura */
    radial-gradient(circle 340px at 20% 40%, rgba(99, 102, 241, 0.07) 0%, rgba(56, 130, 245, 0.02) 50%, transparent 100%),
    /* Bottom Executor Section Subtle Glow */
    radial-gradient(ellipse 55% 25% at 50% 92%, rgba(14, 165, 233, 0.04) 0%, transparent 100%),
    /* Base canvas gradient */
    radial-gradient(circle at 50% 0%, #0d121c 0%, #06080d 70%);
}

/* Linear-style Horizon Beam at top */
.bg-horizon-beam {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 130, 245, 0.05) 15%,
    rgba(56, 130, 245, 0.45) 35%,
    rgba(99, 102, 241, 0.55) 50%,
    rgba(56, 130, 245, 0.45) 65%,
    rgba(56, 130, 245, 0.05) 85%,
    transparent 100%
  );
  pointer-events: none;
}

/* Tactical Hairline Grid (Static, 1 GPU layer, zero repaint cost) */
.bg-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, black 15%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, black 15%, transparent 85%);
  pointer-events: none;
}

/* ============================================================
   Cinematic Compositor Entrance Animations (Zero-Latency, Anti-FOUC, Bulletproof)
   ============================================================ */
@keyframes heroFadeDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroFadeLeft {
  0% {
    opacity: 0;
    transform: translate3d(-20px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroWindowBloom {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.top-nav {
  animation: heroFadeDown 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.04s both;
}

.hero-text-col {
  animation: heroFadeLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.luau-window-wrapper {
  animation: heroWindowBloom 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.copy-bar-container {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.executors-marquee-section {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

/* ============================================================
   Full-Width Site Container (Spacious, No Cramping)
   ============================================================ */
.site-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 36px 36px 80px;
  display: flex;
  flex-direction: column;
  gap: 68px;
}

/* ============================================================
   1. Top Navigation Bar (Full Width)
   ============================================================ */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--theme-card-stroke);
  will-change: transform, opacity;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-activate-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(56, 130, 245, 0.08);
  border: 1px solid rgba(56, 130, 245, 0.28);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn-activate-nav:hover {
  background: rgba(56, 130, 245, 0.18);
  border-color: rgba(56, 130, 245, 0.6);
  transform: translateY(-1px);
}

.nav-link {
  color: var(--theme-text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}

.nav-link:hover {
  color: #ffffff;
}

/* ============================================================
   2. Split Hero Section: Left Text + Right 1:1 GUI Window
   ============================================================ */
.hero-split-section {
  display: grid;
  grid-template-columns: 1fr 615px;
  align-items: center;
  gap: 52px;
  width: 100%;
  will-change: transform, opacity;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 12px;
}

.hero-statement {
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  color: #dbe2ef;
  letter-spacing: -0.015em;
}

.highlight-quote {
  color: #ffffff;
  font-weight: 600;
}

.hero-slogan {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--theme-text-secondary);
  letter-spacing: 0.01em;
}

.hero-gui-col {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.luau-window-wrapper {
  width: 615px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.luau-window {
  display: flex;
  width: 615px;
  max-width: 100%;
  height: 560px;
  background: var(--theme-bg);
  border: 1px solid var(--theme-card-stroke);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
  position: relative;
  margin: 0 auto;
  transform-style: preserve-3d;
  will-change: transform;
}

.luau-window:hover {
  border-color: rgba(56, 130, 245, 0.45);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 130, 245, 0.12);
}

/* Sidebar (strictly 167px from main.luau line 470) */
.luau-sidebar {
  width: 167px;
  min-width: 167px;
  max-width: 167px;
  background: var(--theme-sidebar);
  border-right: 1px solid var(--theme-card-stroke);
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
  user-select: none;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-brand-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 6px 14px;
  border-bottom: 1px solid rgba(28, 33, 44, 0.6);
  margin-bottom: 12px;
}

.side-brand-meta {
  display: flex;
  flex-direction: column;
}

.side-brand-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.side-brand-ver {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--theme-text-secondary);
}

.luau-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
}

.nav-section-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--theme-text-muted);
  letter-spacing: 0.07em;
  padding: 8px 8px 4px;
}

.nav-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--theme-nav-text);
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  text-align: left;
}

.nav-tab-btn:hover {
  background: var(--theme-nav-hover);
  color: #ffffff;
}

.nav-tab-btn.active {
  background: var(--theme-nav-active);
  border-color: rgba(56, 130, 245, 0.2);
  color: #ffffff;
}

.nav-tab-btn.active svg {
  stroke: var(--theme-accent-blue);
}

/* Content Area */
.luau-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--theme-bg);
  position: relative;
  overflow: hidden;
}

/* Header */
.luau-header {
  height: 48px;
  background: var(--theme-header);
  border-bottom: 1px solid var(--theme-card-stroke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  user-select: none;
}

.header-breadcrumb {
  font-size: 13px;
  font-weight: 500;
  color: var(--theme-text-secondary);
  font-family: var(--font-main);
  transition: color 0.2s var(--ease);
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #181c24;
  border: 1px solid var(--theme-card-stroke);
  border-radius: 6px;
  padding: 4px 10px;
  width: 180px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--theme-accent-blue);
  box-shadow: 0 0 10px rgba(56, 130, 245, 0.2);
}

.search-input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 11.5px;
  color: var(--theme-text-primary);
  width: 100%;
}

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

.header-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #181c24;
  border: 1px solid #242a36;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pages Area */
.luau-pages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  position: relative;
}

.luau-pages::-webkit-scrollbar,
.luau-sidebar::-webkit-scrollbar {
  width: 5px;
}

.luau-pages::-webkit-scrollbar-track,
.luau-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.luau-pages::-webkit-scrollbar-thumb,
.luau-sidebar::-webkit-scrollbar-thumb {
  background: #1c212c;
  border-radius: 4px;
}

.luau-pages::-webkit-scrollbar-thumb:hover,
.luau-sidebar::-webkit-scrollbar-thumb:hover {
  background: #2a3344;
}

.luau-page {
  display: none;
  opacity: 0;
  will-change: transform, opacity;
}

.luau-page.active {
  display: block;
  opacity: 1;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cards-grid.single-col {
  grid-template-columns: 1fr;
}

/* Setting Cards */
.settings-card {
  background: var(--theme-card);
  border: 1px solid var(--theme-card-stroke);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.settings-card:hover {
  background: var(--theme-card-hover);
  border-color: var(--theme-card-stroke-hover);
}

.card-header-bar {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--theme-card-stroke);
}

.card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-text-primary);
  letter-spacing: 0.01em;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.control-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--theme-text-primary);
}

/* Authentic Toggle Button (from main.luau createToggle) */
.luau-toggle {
  position: relative;
  width: 36px;
  height: 18px;
  background-color: var(--theme-toggle-off);
  border: 1px solid var(--theme-card-stroke);
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
  flex-shrink: 0;
}

.luau-knob {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 12px;
  height: 12px;
  background-color: var(--theme-toggle-knob);
  border-radius: 50%;
  will-change: transform;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.luau-toggle.active {
  background-color: var(--theme-accent-blue);
  border-color: var(--theme-accent-blue);
}

.luau-toggle.active .luau-knob {
  transform: translateX(16px);
  background-color: #ffffff;
}

/* Slider Block */
.slider-block {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.readout-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--theme-text-secondary);
}

.luau-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--theme-slider-track);
  border-radius: 999px;
  outline: none;
  margin: 4px 0;
}

.luau-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--theme-accent-blue);
  cursor: pointer;
  transition: transform 0.16s var(--ease);
}

.luau-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Role Selector */
.role-selector {
  display: flex;
  gap: 4px;
}

.role-btn {
  padding: 3px 8px;
  background: #181c24;
  border: 1px solid var(--theme-card-stroke);
  border-radius: 4px;
  font-size: 11px;
  color: var(--theme-text-secondary);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.role-btn.active {
  background: var(--theme-nav-active);
  border-color: var(--theme-accent-blue);
  color: #ffffff;
}

/* Telemetry Grid */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.telemetry-cell {
  background: #0d1017;
  border: 1px solid var(--theme-card-stroke);
  border-radius: 4px;
  padding: 6px 8px;
  text-align: center;
}

.telemetry-key {
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--theme-text-secondary);
  display: block;
}

.telemetry-data {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
}

.telemetry-data.cyan {
  color: #38bdf8;
}

/* Control Helpers & Readouts */
.readout-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--theme-accent-blue);
  text-decoration: none;
  transition: var(--transition);
}

.readout-link:hover {
  text-decoration: underline;
  color: #60a5fa;
}

.text-green {
  color: var(--theme-accent-green) !important;
}

.highlight-gold {
  color: #fbbf24 !important;
}

.highlight-cyan {
  color: #38bdf8 !important;
}

.keybind-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: #181c24;
  border: 1px solid var(--theme-card-stroke);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--theme-text-primary);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: rgba(56, 130, 245, 0.08);
  border: 1px solid rgba(56, 130, 245, 0.28);
  border-radius: 5px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.action-btn:hover {
  background: rgba(56, 130, 245, 0.2);
  border-color: rgba(56, 130, 245, 0.55);
  transform: translateY(-1px);
}

/* Authentic HUD Status Widget (from main.luau line 518) */
.luau-hud-widget {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0e1016;
  border: 1.2px solid #282b32;
  border-radius: 18px;
  padding: 5px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  z-index: 50;
  user-select: none;
  white-space: nowrap;
  width: max-content;
}

.hud-brand {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  flex-shrink: 0;
}

.hud-highlight {
  color: #6bb5eb;
}

.hud-metric {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--theme-text-secondary);
  flex-shrink: 0;
}

.hud-avatar-circle {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.hud-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   3. Script Loader Copy Bar (Spans directly under the window)
   ============================================================ */
.copy-bar-container {
  width: 100%;
  will-change: transform, opacity;
}

.copy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--theme-header);
  border: 1px solid var(--theme-card-stroke);
  border-radius: 8px;
  padding: 8px 10px 8px 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.copy-bar:hover, .copy-bar:focus-within {
  border-color: rgba(56, 130, 245, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.code-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.terminal-prefix {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--theme-accent-blue);
  user-select: none;
}

.terminal-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #c9d1d9;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: text;
}

.terminal-input::selection {
  background: rgba(56, 130, 245, 0.3);
  color: #ffffff;
}

.btn-copy-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(56, 130, 245, 0.12);
  border: 1px solid rgba(56, 130, 245, 0.3);
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  transition: var(--transition);
  user-select: none;
}

.btn-copy-code:hover {
  background: rgba(56, 130, 245, 0.22);
  border-color: rgba(56, 130, 245, 0.6);
}

.btn-copy-code:active {
  transform: scale(0.97);
}

.btn-copy-code.copied {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.hidden {
  display: none !important;
}

/* ============================================================
   5. Compatible Executors Conveyor Marquee (Infinite Motion)
   ============================================================ */
.executors-marquee-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  overflow: hidden;
  will-change: transform, opacity;
}

.executors-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--theme-text-secondary);
}

.marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  contain: content;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 6px 0;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
  animation: marquee-conveyor 26s linear infinite;
}

@keyframes marquee-conveyor {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-100% / 3), 0, 0);
  }
}

/* Executor Pills */
.exec-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--theme-card);
  border: 1px solid var(--theme-card-stroke);
  border-radius: 8px;
  padding: 12px 24px;
  min-width: 200px;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  user-select: none;
}

.exec-pill:hover {
  background: var(--theme-card-hover);
  border-color: rgba(56, 130, 245, 0.4);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(56, 130, 245, 0.08);
}

.exec-logo-circle {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #0d1017;
  border: 1px solid var(--theme-card-stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--transition);
}

.exec-pill:hover .exec-logo-circle {
  border-color: rgba(56, 130, 245, 0.4);
}

.exec-img-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exec-img-logo.delta-img {
  object-fit: contain;
  padding: 3px;
}

.exec-info {
  display: flex;
  align-items: center;
}

.exec-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ============================================================
   6. Full-Width Footer
   ============================================================ */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--theme-card-stroke);
  will-change: transform, opacity;
}

.btn-activate-subtle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--theme-card-stroke);
  border-radius: 6px;
  color: var(--theme-text-primary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn-activate-subtle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--site-border-hover);
  color: #ffffff;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-link {
  font-size: 12.5px;
  color: var(--theme-text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.foot-link:hover {
  color: #ffffff;
}

.foot-dot {
  font-size: 8px;
  color: var(--theme-card-stroke);
}

/* Minimal Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #0e121a;
  border: 1px solid rgba(56, 130, 245, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 16px rgba(56, 130, 245, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-accent-green);
}

/* ============================================================
   Responsive Design
   ============================================================ */
@media (max-width: 1140px) {
  .hero-split-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-gui-col {
    justify-content: center;
  }

  .hero-text-col {
    padding-right: 0;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-container {
    padding: 20px 16px 60px;
    gap: 40px;
  }

  .luau-window-wrapper {
    width: 100%;
  }

  .luau-window {
    width: 100%;
    height: auto;
    flex-direction: column;
  }

  .luau-sidebar {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--theme-card-stroke);
  }

  .luau-nav-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
  }

  .nav-section-label {
    display: none;
  }

  .luau-pages {
    height: auto;
    max-height: 480px;
  }

  .luau-hud-widget {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 12px auto;
  }

  .marquee-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-nav,
  .hero-text-col,
  .luau-window-wrapper,
  .copy-bar-container,
  .executors-marquee-section {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee-track {
    animation-play-state: paused !important;
  }
}


