/* ===================================================
   CYBER NEON DARK THEME — STYLES
   =================================================== */

:root {
  --bg-main: #06070a;
  --bg-surface: #0c0f17;
  --bg-card: rgba(16, 21, 34, 0.75);
  --bg-card-hover: rgba(22, 29, 48, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.35);
  
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.4);
  --neon-purple: #a855f7;
  --neon-purple-glow: rgba(168, 85, 247, 0.4);
  --neon-green: #00ff88;
  --neon-green-glow: rgba(0, 255, 136, 0.4);
  --neon-pink: #f43f5e;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-head: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* Фоновый Canvas и световые шары */
#cyberCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
  top: -150px;
  left: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
  top: 40%;
  right: -200px;
  animation-duration: 22s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  bottom: 5%;
  left: 20%;
  animation-duration: 16s;
}

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

/* Контейнеры */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
  scroll-margin-top: 90px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.badge-sub {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-head);
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Типографика и Градиенты */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 50%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0099ff 100%);
  color: #040914;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--neon-cyan-glow);
}

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

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

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

.btn-xl {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-glow:hover::after {
  transform: rotate(30deg) translateY(100%);
}

/* ===================================================
   НАВИГАЦИЯ (HEADER)
   =================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 7, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
}

.logo-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.logo-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 2px 7px;
  border-radius: 6px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

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

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px var(--neon-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.status-title {
  color: var(--text-muted);
}

.status-value {
  color: var(--neon-green);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

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

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

.btn-community {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(0, 136, 204, 0.12);
  color: #29b6f6;
  border: 1px solid rgba(41, 182, 246, 0.3);
  transition: var(--transition);
}

.btn-community:hover {
  background: rgba(0, 136, 204, 0.22);
  border-color: #29b6f6;
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

/* ===================================================
   HERO СЕКЦИЯ
   =================================================== */
.hero-section {
  padding: 90px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  justify-content: center;
}

.hero-stats {
  max-width: 760px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.tag-sparkle {
  color: var(--neon-cyan);
}

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

.tag-accent {
  color: var(--neon-purple);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: #fff;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================
   АКТУАЛЬНАЯ ПРЕЗЕНТАЦИЯ ЧИТА (CLICKGUI SHOWCASE)
   =================================================== */
:root {
  --gui-theme: #b829ea;
  --gui-theme-glow: rgba(184, 41, 234, 0.45);
}

.gui-showcase-section {
  position: relative;
  padding: 50px 0 80px;
}

.gui-showcase-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.gui-showcase-wrapper .preview-mode-bar {
  margin: 0 auto 20px;
}

.gui-showcase-wrapper .clickgui-modules-container {
  max-height: 440px;
  gap: 10px;
}

.hero-visual {
  position: relative;
  width: 100%;
}

/* Переключатель режимов презентации */
.preview-mode-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  background: rgba(10, 14, 24, 0.7);
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  width: fit-content;
}

.preview-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.preview-mode-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.preview-mode-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.preview-mode-btn .btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gui-theme);
  box-shadow: 0 0 8px var(--gui-theme);
}

/* Водяной знак в игре (In-Game Watermark) */
.in-game-watermark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
  margin-bottom: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.wm-k-box {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--gui-theme);
  box-shadow: 0 0 10px var(--gui-theme-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  transition: all 0.3s ease;
}

.wm-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.wm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
}

.wm-chip.fps {
  color: var(--neon-green);
}

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

.wm-chip.role {
  color: #fbbf24;
  font-weight: 700;
  background: rgba(251, 191, 36, 0.1);
}

/* Верхняя плашка выбора тем оформления (Theme Bar) */
.clickgui-theme-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 18, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 8px 14px;
  backdrop-filter: blur(20px);
}

.theme-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.theme-k-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--gui-theme);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  transition: all 0.3s ease;
}

.theme-title {
  font-weight: 700;
  color: var(--text-secondary);
}

.theme-sep {
  color: rgba(255, 255, 255, 0.2);
}

.theme-sub {
  color: #fff;
  font-weight: 600;
}

.theme-palette {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--c);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-dot:hover {
  transform: scale(1.25);
  box-shadow: 0 0 10px var(--c);
}

.theme-dot.active {
  border-color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 10px var(--c);
}

/* Главное окно ClickGUI */
.actual-clickgui {
  background: rgba(12, 15, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  backdrop-filter: blur(30px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px var(--gui-theme-glow);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.clickgui-layout {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  min-height: 330px;
}

/* Сайдбар ClickGUI */
.clickgui-sidebar {
  background: rgba(8, 10, 16, 0.8);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 12px 6px;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* Квадратный логотип «K» в верхнем левом углу */
.sidebar-k-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--gui-theme);
  box-shadow: 0 0 14px var(--gui-theme-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  user-select: none;
  transition: all 0.3s ease;
}

.sidebar-divider {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  align-items: center;
}

.cat-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.cat-btn .cat-icon {
  font-size: 1.1rem;
}

.cat-btn .cat-label {
  display: none;
}

.cat-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.cat-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gui-theme);
  color: #fff;
  box-shadow: 0 0 12px var(--gui-theme-glow);
}

/* Аватарка в нижнем левом углу ClickGUI */
.sidebar-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clickgui-avatar-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 2px;
  border: 2px solid var(--gui-theme);
  box-shadow: 0 0 10px var(--gui-theme-glow);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clickgui-avatar-box:hover {
  transform: scale(1.1);
}

.clickgui-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-online-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  border: 1.5px solid #080a10;
  box-shadow: 0 0 6px var(--neon-green);
}

/* Основное пространство ClickGUI */
.clickgui-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.clickgui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(10, 13, 20, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
  overflow: hidden;
}

.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  min-width: 0;
  flex: 1 1 auto;
}

.breadcrumb-k {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: var(--gui-theme);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.breadcrumb-client {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.breadcrumb-arrow {
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.breadcrumb-cat {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 4px 8px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.header-search input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 0.75rem;
  color: #fff;
  width: 120px;
}

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

/* Двухколоночный грид модулей */
.clickgui-modules-container {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(68px, auto);
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
  align-content: start;
  min-width: 0;
}

.clickgui-modules-container::-webkit-scrollbar {
  width: 4px;
}
.clickgui-modules-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.clickgui-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 68px;
  transition: all 0.2s ease;
  min-width: 0;
}

.clickgui-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.035);
}

.clickgui-card.active {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--gui-theme);
  box-shadow: 0 0 10px var(--gui-theme-glow);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 8px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.card-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-bind {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-desc {
  font-family: var(--font-main);
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-secondary);
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

/* Переключатели (Toggle Switch) */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 18px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--gui-theme);
  box-shadow: 0 0 10px var(--gui-theme-glow);
}

input:checked + .slider:before {
  transform: translateX(18px);
  background-color: #040914;
}

/* Нижний TargetHUD */
.clickgui-footer {
  margin-top: auto;
  padding: 8px 14px;
  background: rgba(8, 10, 16, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.target-hud-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.th-label {
  color: var(--gui-theme);
  font-weight: 700;
}

.th-name {
  color: #fff;
  font-weight: 600;
}

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

.th-dist {
  color: var(--text-muted);
}

.th-bypass {
  margin-left: auto;
  color: var(--neon-cyan);
}

.gui-glow-shadow {
  position: absolute;
  bottom: -20px;
  left: 5%;
  width: 90%;
  height: 40px;
  background: var(--gui-theme);
  filter: blur(45px);
  opacity: 0.25;
  z-index: -1;
  transition: background 0.3s ease;
}

/* Карточки со скриншотами и 3D превью */
.screenshot-card {
  background: rgba(12, 15, 24, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
}

.screenshot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(8, 10, 16, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sh-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sh-badge-live {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.sh-badge-menu {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.sh-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.btn-open-full {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.btn-open-full:hover {
  color: var(--neon-cyan);
}

.screenshot-img-box {
  position: relative;
  overflow: hidden;
}

.real-mc-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Интерактивные пины на скриншоте */
.screenshot-pin {
  position: absolute;
  cursor: pointer;
}

.screenshot-pin .pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-cyan);
  border: 2px solid #fff;
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: pulseDot 2s infinite;
}

.screenshot-pin .pin-popup {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 10, 16, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--neon-cyan);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.screenshot-pin:hover .pin-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.pin-watermark {
  top: 5%;
  left: 6%;
}

.pin-potions {
  top: 32%;
  left: 48%;
}

.pin-esp {
  top: 42%;
  left: 68%;
}

@keyframes pulseDot {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

@media (max-width: 640px) {
  .clickgui-modules-container {
    grid-template-columns: 1fr;
  }
  .preview-mode-bar {
    width: 100%;
    overflow-x: auto;
  }
}

/* ===================================================
   СЕКЦИЯ ПРЕИМУЩЕСТВ (FEATURES)
   =================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
  background: var(--bg-card-hover);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.feature-icon-box.cyan {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.feature-icon-box.purple {
  background: rgba(168, 85, 247, 0.1);
  color: var(--neon-purple);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.feature-icon-box.green {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.25);
}

.feature-icon-box.pink {
  background: rgba(244, 63, 94, 0.1);
  color: var(--neon-pink);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

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

.card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover .card-glow {
  opacity: 1;
}

/* ===================================================
   СЕКЦИЯ МОДУЛЕЙ (MODULES SHOWCASE)
   =================================================== */
.module-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.filter-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.mod-card {
  background: rgba(14, 18, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mod-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(20, 26, 42, 0.85);
}

.mod-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mod-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.mod-cat-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.mod-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===================================================
   ТАРИФЫ (PRICING)
   =================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-bottom: 50px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  position: relative;
  transition: var(--transition);
}

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

.pricing-card.popular {
  border-color: rgba(0, 240, 255, 0.5);
  background: linear-gradient(180deg, rgba(16, 26, 46, 0.85) 0%, rgba(10, 14, 24, 0.9) 100%);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.2);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #0099ff 100%);
  color: #040914;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px var(--neon-cyan-glow);
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 24px;
  text-align: center;
}

.plan-name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.plan-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--neon-purple);
  font-family: var(--font-mono);
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price {
  font-size: 2.7rem;
  font-weight: 900;
  font-family: var(--font-head);
  color: #fff;
  line-height: 1;
}

.plan-currency {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--neon-cyan);
}

.plan-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.plan-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--neon-green);
}

.pricing-card .btn {
  width: 100%;
}

.payment-methods-banner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.methods-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.methods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pay-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ===================================================
   FAQ (АККОРДЕОН)
   =================================================== */
.faq-container {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(18, 24, 38, 0.85);
}

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

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

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

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
  transition: max-height 0.35s ease-in-out;
}

/* ===================================================
   CTA ФИНАЛЬНЫЙ БАННЕР
   =================================================== */
.cta-banner-section {
  padding-bottom: 110px;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(20, 28, 48, 0.9) 0%, rgba(10, 15, 26, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.15);
}

.cta-content {
  max-width: 650px;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.01em;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.energy-circle {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

/* ===================================================
   ПОДВАЛ (FOOTER)
   =================================================== */
.footer {
  background: #040508;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.disclaimer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ===================================================
   МОДАЛЬНОЕ ОКНО ПОКУПКИ (MODAL)
   =================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0d121f;
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.modal-price-tag {
  font-size: 1rem;
  color: var(--text-secondary);
}

.modal-price {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--neon-cyan);
  font-size: 1.3rem;
}

.modal-instructions {
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 20px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}

.tg-option {
  background: rgba(41, 182, 246, 0.08);
  border-color: rgba(41, 182, 246, 0.25);
  color: #fff;
}

.tg-option:hover {
  background: rgba(41, 182, 246, 0.18);
  border-color: #29b6f6;
  transform: translateX(4px);
}

.ds-option {
  background: rgba(114, 137, 218, 0.08);
  border-color: rgba(114, 137, 218, 0.25);
  color: #fff;
}

.ds-option:hover {
  background: rgba(114, 137, 218, 0.18);
  border-color: #7289da;
  transform: translateX(4px);
}

.pay-option-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-option .pay-option-icon {
  background: #29b6f6;
  color: #051329;
}

.ds-option .pay-option-icon {
  background: #5865f2;
  color: #fff;
}

.pay-option-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pay-option-text strong {
  font-size: 1rem;
}

.pay-option-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pay-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.modal-footer-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: var(--radius-sm);
}

/* ===================================================
   АДАПТИВНОСТЬ (RESPONSIVE)
   =================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    max-width: 600px;
    margin: 0 auto;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .status-pill, .btn-community {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner {
    padding: 40px 24px;
    text-align: center;
  }
  .cta-buttons {
    justify-content: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .gui-body {
    grid-template-columns: 85px 1fr;
  }
}
