/* ==========================================================================
   RECOILSMITH // ELITE GAMING SUITE // STYLE ARCHITECTURE
   ========================================================================== */

:root {
  --bg-primary: #060608;
  --bg-secondary: #0b0b10;
  --bg-card: rgba(16, 17, 24, 0.55);
  --bg-card-hover: rgba(26, 27, 38, 0.72);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.15);
  --border-purple: rgba(148, 163, 184, 0.14);

  --neon-cyan: #ffffff;
  --neon-purple: #94a3b8;
  --neon-green: #10b981;
  --neon-yellow: #f59e0b;
  --neon-red: #ef4444;

  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-glow-cyan: 0 0 25px rgba(255, 255, 255, 0.05);
  --shadow-glow-purple: 0 0 35px rgba(255, 255, 255, 0.03);
}

/* RESET & CORE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* AMBIENT BACKGROUND GLOW */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.bg-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  top: -120px;
  left: 20%;
}

.bg-glow-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.08) 0%, rgba(148, 163, 184, 0) 70%);
  top: 40%;
  right: -120px;
  animation-duration: 30s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 60px) scale(1.1); }
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* NAVBAR */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(6, 6, 8, 0.8);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.brand-logo-gem {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  display: block;
  flex-shrink: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.brand-accent {
  background: linear-gradient(180deg, #ffffff 10%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.brand-version-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

.nav-toggles-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.compact-pill {
  padding: 5px 10px;
  font-size: 0.8rem;
  background: transparent;
  border: none;
}

.compact-pill:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* PILL TOGGLES */
.pill-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.pill-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.pill-active, .active-lang {
  color: var(--neon-cyan);
  font-weight: 700;
}

.pill-inactive {
  color: var(--text-dim);
}

.pill-divider {
  color: var(--border-subtle);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary-glow {
  background: #ffffff;
  color: #060608;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn-primary-glow:hover {
  background: #f3f4f6;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.24);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(14px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-neon-nav {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.88rem;
  backdrop-filter: blur(12px);
}

.btn-neon-nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-outline-glow {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.btn-outline-glow:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.w-full {
  width: 100%;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  z-index: 2;
  padding: 70px 24px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  margin-bottom: 45px;
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(12px);
}

.badge-accent {
  color: #fff;
  font-weight: 800;
}

.badge-slash {
  color: var(--border-subtle);
  font-weight: 300;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
  animation: pulseAnim 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  text-align: left;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 25%, #d1d5db 60%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 30px;
  text-align: left;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-features-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.chip-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* HERO RIGHT VISUAL (3D FLOATING WINDOW) */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  perspective: 1200px;
}

.hero-perspective-card {
  position: relative;
  width: 100%;
  transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
}

.hero-perspective-card:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.hero-card-ambient-glow {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(148, 163, 184, 0.03) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: cardGlowPulse 5s infinite alternate ease-in-out;
}

@keyframes cardGlowPulse {
  0% { opacity: 0.35; transform: scale(0.97); }
  100% { opacity: 0.55; transform: scale(1.02); }
}

.app-window-frame.hero-window {
  position: relative;
  z-index: 1;
  background: rgba(12, 13, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  backdrop-filter: blur(24px);
}

.hero-menu-container {
  position: relative;
  overflow: hidden;
  background: #050609;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-screen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-perspective-card:hover .hero-screen-img {
  transform: scale(1.015);
}

.hero-hologram-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
  background-size: 100% 6px;
  pointer-events: none;
  opacity: 0.5;
}

.cyber-floating-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: rgba(14, 15, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  color: #f3f4f6;
  pointer-events: none;
}

.badge-top {
  top: 20px;
  right: -12px;
  animation: floatBadge1 3s infinite ease-in-out alternate;
}

.badge-bot {
  bottom: 24px;
  left: -12px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  animation: floatBadge2 3.5s infinite ease-in-out alternate;
}

@keyframes floatBadge1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

@keyframes floatBadge2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(7px); }
}

.hud-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulseAnim 1.5s infinite;
}

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

/* METRICS BAR */
.metrics-bar {
  display: flex;
  align-items: center;
  gap: 36px;
  background: rgba(14, 15, 22, 0.55);
  border: 1px solid var(--border-subtle);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 36px;
  border-radius: var(--radius-xl);
  margin-bottom: 60px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
}

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

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 35px;
  background: var(--border-subtle);
}

/* MOCKUP WINDOW */
.hero-mockup-wrapper {
  width: 100%;
  max-width: 960px;
  perspective: 1200px;
}

.app-window-frame {
  background: rgba(12, 13, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transform: rotateX(4deg);
  transition: transform 0.4s ease;
}

.app-window-frame:hover {
  transform: rotateX(0deg);
}

.window-header {
  height: 44px;
  background: rgba(18, 19, 28, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

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

.control-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

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

.window-title {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.window-status-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-green);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}

.window-body {
  display: flex;
  min-height: 280px;
}

.mockup-sidebar {
  width: 180px;
  background: rgba(8, 8, 14, 0.7);
  border-right: 1px solid var(--border-subtle);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.mockup-content {
  flex: 1;
  padding: 24px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mock-card {
  background: rgba(18, 18, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
}

.mock-card-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.mock-weapon-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.weapon-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.weapon-badge {
  font-size: 0.65rem;
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.mock-slider-group {
  margin-bottom: 12px;
}

.mock-slider-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mock-val {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

.mock-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  border-radius: var(--radius-pill);
}

.recoil-canvas-box {
  height: 160px;
  background: #040406;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crosshair-center {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.4rem;
}

.bullet-cluster {
  position: relative;
  width: 24px;
  height: 24px;
}

.bullet-point {
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  position: absolute;
}

.p1 { top: 4px; left: 10px; }
.p2 { top: 12px; left: 8px; }
.p3 { top: 8px; left: 14px; }
.p4 { top: 15px; left: 12px; }
.p5 { top: 10px; left: 10px; }

.accuracy-tag {
  position: absolute;
  bottom: 8px;
  font-size: 0.7rem;
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #e2e8f0;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* LIVE STATUS SECTION */
.status-section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 16, 0.6) 50%, transparent 100%);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.status-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.border-green:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.1);
}

.border-purple:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.05);
}

.status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: var(--font-mono);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-purple {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulseGreen 2s infinite;
}

.pulse-dot-purple {
  width: 7px;
  height: 7px;
  background: #e2e8f0;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  animation: pulsePurple 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulsePurple {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.status-version {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}

.status-product-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.status-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 44px;
}

.status-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.status-shield {
  color: #e2e8f0;
  font-weight: 600;
}

/* BEFORE / AFTER SLIDER & WEAPON SPRAY SHOWCASE */
.showcase-section {
  padding: 80px 24px;
  position: relative;
  z-index: 2;
}

/* WEAPON SELECTOR TABS */
.weapon-selector-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.weapon-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 15, 22, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

.weapon-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.weapon-tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.weapon-tab-icon {
  font-size: 1.15rem;
}

.weapon-tab-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.weapon-tab-name {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.weapon-tab-type {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 500;
}

.weapon-tab-btn.active .weapon-tab-type {
  color: var(--neon-cyan);
}

/* WEAPON STATS STRIP */
.weapon-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(10, 11, 18, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 10px 20px;
  max-width: 900px;
  margin: 0 auto 24px;
  backdrop-filter: blur(12px);
}

.stat-pill {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-pill strong {
  color: #fff;
  font-family: var(--font-mono);
}

.stat-pill-danger strong {
  color: var(--neon-red);
}

.stat-pill-success strong {
  color: var(--neon-green);
}

.btn-simulate-spray {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 6px;
}

.btn-simulate-spray:hover {
  background: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
  transform: translateY(-1px);
}

/* SLIDER COMPARISON CONTAINER */
.slider-comparison-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 420px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  user-select: none;
  cursor: ew-resize;
  background: #07070a;
  backdrop-filter: blur(20px);
}

.comparison-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.side-after {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, #08080c 70%);
}

.side-before {
  background: radial-gradient(circle at center, rgba(239, 68, 68, 0.05) 0%, #060608 70%);
  width: 50%;
  border-right: 1.5px solid rgba(255, 255, 255, 0.4);
}

.comparison-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 900px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TARGET BOARD & SVG SPRAY CANVAS */
.target-board {
  position: relative;
  width: 400px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.spray-canvas {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}

.comp-label {
  position: absolute;
  top: 20px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(12px);
}

.label-after {
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.label-before {
  left: 20px;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.accuracy-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-left: 6px;
}

.badge-err {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.danger-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  display: inline-block;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-handle-line {
  width: 2px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.slider-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0e0f16;
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.2);
}

/* BENTO FEATURES GRID */
.features-section {
  padding: 90px 24px;
  position: relative;
  z-index: 2;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  position: relative;
}

.bento-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.bento-wide {
  grid-column: span 2;
}

.bento-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.bento-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bento-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neon-green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* PRICING SECTION */
.pricing-section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin: 0 auto;
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: rgba(12, 13, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(24px) saturate(180%);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(16, 17, 24, 0.85);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.04);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(20, 21, 30, 0.88) 0%, rgba(12, 13, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 255, 255, 0.06);
}

.pricing-card.featured:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.35);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #060608;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.8px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.card-tier-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.card-tier-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  min-height: 40px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 28px;
  font-family: var(--font-mono);
}

.currency-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-right: 4px;
}

.price-val {
  font-size: 3.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-left: 6px;
  font-family: var(--font-main);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features .dimmed {
  color: var(--text-dim);
  text-decoration: line-through;
}

/* FAQ SECTION */
.faq-section {
  padding: 90px 24px;
  position: relative;
  z-index: 2;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
}

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

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-main);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--neon-cyan);
  transition: transform 0.25s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
}

/* CTA BANNER */
.cta-section {
  padding: 60px 24px 100px;
  position: relative;
  z-index: 2;
}

.cta-box {
  background: rgba(14, 15, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.03);
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER */
.footer-wrapper {
  border-top: 1px solid var(--border-subtle);
  background: #040407;
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 40px;
}

.footer-left {
  max-width: 360px;
}

.footer-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 12px 0 20px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-right {
  display: flex;
  gap: 60px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col strong {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.footer-links-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links-col a:hover {
  color: var(--neon-cyan);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-split-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content-col { align-items: center; text-align: center; }
  .hero-title { font-size: 2.6rem; text-align: center; }
  .hero-subtitle { text-align: center; }
  .hero-cta-group { justify-content: center; }
  .hero-features-chips { justify-content: center; }
  .hero-perspective-card { transform: none; }
  .hero-perspective-card:hover { transform: none; }
  .badge-top { right: 8px; }
  .badge-bot { left: 8px; }
  .status-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: scale(1); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .mockup-grid { grid-template-columns: 1fr; }
  .metrics-bar { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .metric-divider { display: none; }
  .rev2-showcase-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .cyber-floating-badge { font-size: 0.68rem; padding: 6px 10px; }
  .badge-top { top: 10px; right: 6px; }
  .badge-bot { bottom: 10px; left: 6px; }
  .footer-content { flex-direction: column; }
  .footer-right { gap: 30px; }
  .slider-comparison-container { height: 350px; }
  .comparison-content { height: 350px; }
  .target-board { width: 330px; height: 300px; }
  .weapon-selector-tabs { gap: 8px; }
  .weapon-tab-btn { padding: 6px 12px; }
  .weapon-tab-name { font-size: 0.82rem; }
  .weapon-stats-strip { padding: 8px 12px; gap: 8px; font-size: 0.75rem; }
  .stat-pill { padding: 3px 8px; font-size: 0.72rem; }
  .comp-label { font-size: 0.72rem; padding: 6px 12px; top: 12px; }
  .label-after { right: 8px; }
  .label-before { left: 8px; }
}

/* ==========================================================================
   DISCORD SYNC & TICKET MODAL STYLES
   ========================================================================== */

.discord-sync-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #5865f2;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.discord-sync-btn:hover {
  background: rgba(88, 101, 242, 0.25);
  border-color: #5865f2;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.35);
  transform: translateY(-1px);
}

.discord-sync-btn.synced {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.4);
  color: var(--neon-green);
}

.discord-sync-btn.synced:hover {
  background: rgba(0, 255, 136, 0.2);
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* REV2 IN-GAME MENU SHOWCASE */
.rev2-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.rev2-showcase-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-top: 40px;
}

.rev2-image-card {
  background: rgba(14, 14, 22, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.15);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rev2-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(0, 240, 255, 0.25);
}

.rev2-card-glow {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100px;
  background: radial-gradient(ellipse, rgba(0, 240, 255, 0.3), transparent 70%);
  pointer-events: none;
}

.rev2-img-wrap {
  position: relative;
  padding: 16px;
  background: #08080d;
}

.rev2-menu-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rev2-img-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.rev2-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rev2-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.rev2-feat-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateX(4px);
}

.rev2-feat-icon {
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(0, 240, 255, 0.08);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.rev2-feat-text h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.rev2-feat-text p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* TICKET MODAL SYSTEM */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 8, 0.88);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease-out;
}

.modal-overlay.active {
  display: flex !important;
}

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

.modal-container {
  background: rgba(14, 15, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(28px);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #7289da;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.modal-title {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.selected-plan-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 22px;
}

.plan-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.8px;
}

.plan-val {
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
}

.price-val-tag {
  background: #ffffff;
  color: #060608;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
}

.input-with-icon {
  display: flex;
  align-items: center;
  background: #14141f;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px 14px;
  transition: border-color 0.2s;
}

.input-with-icon:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.input-prefix {
  color: var(--text-dim);
  font-size: 1.1rem;
  font-weight: 700;
  margin-right: 6px;
}

.input-with-icon input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  padding: 10px 0;
  font-family: inherit;
}

.input-with-icon input::placeholder {
  color: var(--text-dim);
}

.form-hint {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-checkbox input {
  cursor: pointer;
  accent-color: var(--neon-cyan);
}

.modal-alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.4;
}

.alert-error {
  background: rgba(255, 0, 68, 0.12);
  border: 1px solid rgba(255, 0, 68, 0.4);
  color: #ff4d6d;
}

.modal-center-state {
  text-align: center;
  padding: 20px 0 10px;
}

.cyber-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 240, 255, 0.15);
  border-top-color: var(--neon-cyan);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-center-state h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.modal-center-state p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.modal-icon-success {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 12px;
}

.modal-icon-warning {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 12px;
}

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

.text-warning {
  color: #ffaa00;
}

.modal-actions-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #ff0055, #7928ca, #00f0ff);
  background-size: 200% auto;
  animation: gradientShift 6s ease infinite;
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 16px;
  position: relative;
  z-index: 9990;
  box-shadow: 0 2px 15px rgba(255, 0, 85, 0.35);
}

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

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.announcement-pill {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.announcement-msg {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.announcement-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.announcement-link:hover {
  opacity: 0.8;
}

.announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.announcement-close:hover {
  color: #fff;
}

/* ==========================================================================
   FLOATING ADMIN TOP BAR
   ========================================================================== */
.admin-top-bar {
  background: rgba(10, 10, 18, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--neon-cyan);
  box-shadow: 0 4px 25px rgba(0, 240, 255, 0.2);
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 9995;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.admin-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-crown-icon {
  font-size: 1.2rem;
  animation: pulseCrown 2s infinite ease-in-out;
}

@keyframes pulseCrown {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px #ffd700); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 10px #ffd700); }
}

.admin-title-badge {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.5);
  color: var(--neon-cyan);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.admin-role-tag {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.admin-bar-center {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.admin-switch-wrap input {
  display: none;
}

.admin-switch-slider {
  width: 38px;
  height: 20px;
  background: #252538;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  position: relative;
  transition: all 0.3s;
}

.admin-switch-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}

.admin-switch-wrap input:checked + .admin-switch-slider {
  background: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
  border-color: var(--neon-cyan);
}

.admin-switch-wrap input:checked + .admin-switch-slider::after {
  transform: translateX(18px);
  background: #000;
}

.admin-switch-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.btn-save-live-edits {
  background: var(--neon-green);
  color: #000;
  border: none;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  animation: pulseSave 1.5s infinite;
}

@keyframes pulseSave {
  0%, 100% { box-shadow: 0 0 6px rgba(0, 255, 136, 0.4); }
  50% { box-shadow: 0 0 16px rgba(0, 255, 136, 0.9); }
}

.admin-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-admin-hub {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(121, 40, 202, 0.2));
  border-color: rgba(0, 240, 255, 0.5);
  color: #fff;
}

.btn-admin-hub:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), rgba(121, 40, 202, 0.4));
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}

.btn-admin-logout {
  background: rgba(255, 0, 68, 0.15);
  border-color: rgba(255, 0, 68, 0.4);
  color: var(--neon-red);
}

.btn-admin-logout:hover {
  background: rgba(255, 0, 68, 0.3);
  box-shadow: 0 0 14px rgba(255, 0, 68, 0.4);
}

/* Inline Edit Mode highlight */
body.live-edit-active [contenteditable="true"] {
  outline: 2px dashed rgba(0, 240, 255, 0.5) !important;
  outline-offset: 3px;
  border-radius: 4px;
  cursor: text;
  transition: background 0.2s;
}

body.live-edit-active [contenteditable="true"]:hover {
  background: rgba(0, 240, 255, 0.08);
  outline-color: var(--neon-cyan) !important;
}

body.live-edit-active [contenteditable="true"]:focus {
  background: rgba(0, 240, 255, 0.12);
  outline: 2px solid var(--neon-cyan) !important;
}

/* NAVBAR ADMIN DIRECT TRIGGER */
.btn-nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--neon-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-nav-admin:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

/* MODAL CARD BASE & CLOSE BUTTON */
.modal-card {
  position: relative;
  width: 100%;
  margin: auto;
  box-sizing: border-box;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.2s, transform 0.2s;
}

.modal-close:hover {
  color: #fff;
  transform: scale(1.15);
}

.form-input {
  width: 100%;
  background: #0b0c12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   SECRET TERMINAL LOGIN MODAL
   ========================================================================== */
.modal-secret-auth {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: auto;
  background: rgba(12, 13, 19, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 255, 255, 0.04);
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  z-index: 10001;
}

.terminal-top-bar {
  background: #06060a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-head-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.secret-terminal-body {
  padding: 32px 26px;
  text-align: center;
}

.secret-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.secret-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.secret-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.secret-input-wrap {
  display: flex;
  align-items: center;
  position: relative;
}

.secret-input-wrap input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 12px 42px 12px 14px;
  background: #09090e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #fff;
  outline: none;
  transition: all 0.2s;
}

.secret-input-wrap input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.btn-toggle-eye {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.btn-toggle-eye:hover {
  opacity: 1;
}

.secret-error-box {
  margin-top: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 0.82rem;
}

.secret-footer-tips {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.secret-footer-tips kbd {
  background: #14151f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: #fff;
}

.btn-footer-secret {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  opacity: 0.8;
  transition: all 0.2s;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-footer-secret:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ==========================================================================
   MASTER ADMIN CONTROL HUB MODAL
   ========================================================================== */
.modal-admin-hub {
  position: relative;
  max-width: 820px;
  width: 95%;
  max-height: 88vh;
  margin: auto;
  display: flex;
  flex-direction: column;
  background: rgba(13, 14, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(28px);
  z-index: 10001;
}

.admin-hub-header {
  padding: 24px 28px 18px;
  background: linear-gradient(180deg, rgba(22, 23, 32, 0.9) 0%, rgba(13, 14, 20, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-hub-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-hub-crown {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 12px #ffd700);
}

.admin-hub-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.admin-hub-sub {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.badge-status-online {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-weight: 700;
}

.badge-status-online::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

/* Hub Navigation Tabs */
.admin-hub-nav {
  display: flex;
  background: #05050a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 16px;
  gap: 6px;
  overflow-x: auto;
}

.admin-nav-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-nav-btn:hover {
  color: #fff;
}

.admin-nav-btn.active {
  color: #fff;
  border-bottom-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Hub Content */
.admin-hub-content {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.hub-tab-panel {
  display: none;
  animation: fadeInPanel 0.2s ease;
}

.hub-tab-panel.active {
  display: block;
}

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

.hub-panel-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hub-panel-desc {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-bottom: 22px;
}

/* Pricing Grid Tab */
.admin-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-price-card {
  background: rgba(20, 21, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
}

.card-plan-title {
  display: block;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.price-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.price-input-row label {
  width: 50px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 700;
  font-family: var(--font-mono);
}

.form-input-sm {
  width: 100%;
  background: #08080e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 6px 10px;
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.form-input-sm:focus {
  border-color: var(--neon-cyan);
  outline: none;
}

/* Status Settings Tab */
.admin-status-settings {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.status-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #11111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: var(--radius-md);
}

.status-item-info strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.status-item-info span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.form-select {
  background: #08080e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Announcement Config Box */
.announcement-config-box {
  background: #11111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

/* Keys Management Tab */
.key-create-card {
  background: #11111e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.key-create-inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.key-create-inputs .form-input {
  flex: 1;
  min-width: 200px;
}

.keys-table-container {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: #0a0a14;
}

.keys-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.keys-table th {
  background: #06060c;
  color: var(--text-dim);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.keys-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
}

.key-code-pill {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-key {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.btn-copy-key:hover {
  opacity: 1;
}

.btn-del-key {
  background: rgba(255, 0, 68, 0.15);
  border: 1px solid rgba(255, 0, 68, 0.3);
  color: var(--neon-red);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-del-key:hover {
  background: rgba(255, 0, 68, 0.35);
}

/* ==========================================================================
   ADMIN TOAST NOTIFICATIONS
   ========================================================================== */
.admin-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.admin-toast {
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.admin-toast-success {
  border-left: 4px solid var(--neon-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 255, 136, 0.2);
}

.admin-toast-error {
  border-left: 4px solid var(--neon-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 0, 68, 0.2);
}

.admin-toast-info {
  border-left: 4px solid var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 240, 255, 0.2);
}

