/* ========================================================
   SHIFT CLAN - Lineage 2 Theme
   Цветовая палитра:
   - Фирменное золото/янтарь с логотипа: #f5b700, #d4af37, #ffcf33
   - Темный мистический фон L2: #08090c, #0e1117, #151a24
   - Металлический отблеск и серебро: #b3c0d1, #e6edf8
   ======================================================== */

:root {
  --bg-deep: #07080b;
  --bg-dark: #0a0c10;
  --bg-card: rgba(18, 22, 31, 0.82);
  --bg-card-hover: rgba(26, 32, 46, 0.95);

  /* Фирменные золотые и благородные оттенки L2Eigis Odyssey & SHIFT */
  --gold-primary: #d5b386;
  --gold-bright: #f6d776;
  --gold-deep: #a88448;
  --gold-glow: rgba(213, 179, 134, 0.45);
  --gold-glow-subtle: rgba(213, 179, 134, 0.15);

  --text-main: #f0f4f8;
  --text-dim: #a0a5af;
  --text-muted: #8b92a5;

  --border-gold: rgba(213, 179, 134, 0.28);
  --border-gold-bright: rgba(246, 215, 118, 0.65);
  --border-dark: rgba(255, 255, 255, 0.08);

  --tg-color: #24A1DE;
  
  --font-heading: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #07080b;
  background-image: 
    radial-gradient(ellipse at 50% 25%, transparent 0%, rgba(7, 8, 11, 0.45) 60%, rgba(7, 8, 11, 0.9) 100%),
    linear-gradient(180deg, transparent 0%, transparent 15%, rgba(7, 8, 11, 0.4) 45%, rgba(7, 8, 11, 0.88) 100%),
    url('assets/shift-siege-bg.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Декоративная сетка / искры на фоне */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background-image: radial-gradient(rgba(245, 183, 0, 0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  z-index: 0;
}

/* ========================================================
   Верхняя плашка анонса старта
   ======================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #1a1200 0%, #3d2c00 50%, #1a1200 100%);
  border-bottom: 1px solid var(--border-gold-bright);
  padding: 8px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-align: center;
  position: relative;
  z-index: 101;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #fff;
}

.announcement-content strong {
  color: var(--gold-bright);
}

.pulse-icon {
  animation: pulseFire 1.5s infinite;
}

@keyframes pulseFire {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.sep-dot {
  color: var(--border-gold-bright);
  font-size: 0.8rem;
}

.countdown-highlight {
  background: rgba(245, 183, 0, 0.18);
  border: 1px solid var(--border-gold-bright);
  padding: 2px 10px;
  border-radius: 4px;
  color: var(--gold-bright);
  font-weight: 700;
  font-family: monospace, sans-serif;
  letter-spacing: 1px;
}

.announcement-link {
  color: var(--gold-bright);
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
  transition: color 0.2s;
}

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

/* ========================================================
   Навигационная панель
   ======================================================== */
/* ========================================================
   Верхняя плашка шапки (Аккуратная, фиксированная, полупрозрачная)
   ======================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 6%;
  background: rgba(6, 8, 12, 0.85);
  border-bottom: 1px solid rgba(213, 179, 134, 0.2);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.crest-wrap {
  width: 72px;
  height: 36px;
  border-radius: 6px;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-bright) 0%, #151a24 50%, var(--gold-deep) 100%);
  box-shadow: 0 0 14px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.crest-wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(245, 183, 0, 0.7);
}

.clan-crest {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  background: #080a0f;
  display: block;
  padding: 2px;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  line-height: 1;
}

.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 3px;
  color: var(--gold-primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Верхние ссылки на страницы (О сервере, Драйверы, Клановый раздел) */
.top-page-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.top-link {
  width: auto !important;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 4px;
  background: rgba(14, 18, 26, 0.6);
  border: 1px solid rgba(213, 179, 134, 0.25);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
  box-sizing: border-box;
}

.top-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.top-link:hover {
  color: #ffffff;
  background: rgba(245, 183, 0, 0.14);
  border-color: var(--gold-bright);
  box-shadow: 0 4px 20px rgba(245, 183, 0, 0.3), inset 0 0 10px rgba(245, 183, 0, 0.1);
  transform: translateY(-1px);
}

.top-link:hover::before {
  opacity: 1;
}

.top-link.active {
  color: var(--gold-bright);
  background: rgba(245, 183, 0, 0.16);
  border-color: var(--gold-bright);
  box-shadow: 0 0 16px rgba(245, 183, 0, 0.35);
  font-weight: 700;
}

.top-link.active::before {
  opacity: 1;
}

/* Правая часть навигации и переключатель языков (RU / US) */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(14, 18, 26, 0.75);
  border: 1px solid rgba(213, 179, 134, 0.3);
  border-radius: 20px;
  padding: 4px 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-switcher:hover {
  border-color: rgba(245, 183, 0, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(245, 183, 0, 0.25);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  cursor: pointer;
  padding: 4px 9px;
  min-width: 34px;
  text-align: center;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}

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

.lang-btn.active {
  color: #07080b;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 100%);
  box-shadow: 0 0 10px rgba(245, 183, 0, 0.45);
}

.lang-divider {
  color: rgba(213, 179, 134, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  user-select: none;
}

/* ========================================================
   Левое плавающее меню (Полностью прозрачный фон с мягким размытием)
   ======================================================== */
nav#navMenu {
  position: fixed;
  left: 32px;
  top: 52%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 12px 10px;
  background: rgba(8, 12, 18, 0.22);
  border: 1px solid rgba(213, 179, 134, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  z-index: 999;
  transition: all 0.25s ease;
}

nav#navMenu:hover {
  background: rgba(8, 12, 18, 0.5);
  border-color: rgba(245, 183, 0, 0.35);
}

#navMenu a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  margin-left: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
  position: relative;
  border-left: 2px solid transparent;
}

/* Эффект при наведении */
#navMenu a:not(.btn-nav):hover {
  color: #fff;
  background: rgba(245, 183, 0, 0.08);
  border-left-color: var(--gold-bright);
  transform: translateX(3px);
}

#navMenu a:not(.btn-nav)::after {
  display: none;
}

#navMenu a.active {
  color: var(--gold-bright) !important;
  font-weight: 700;
  background: rgba(245, 183, 0, 0.12);
  border-left-color: var(--gold-bright) !important;
  text-shadow: 0 0 10px rgba(245, 183, 0, 0.5);
  transform: translateX(3px);
}

.btn-nav {
  margin-top: 4px;
  padding: 7px 12px;
  border: 1px solid rgba(245, 183, 0, 0.6) !important;
  background: rgba(245, 183, 0, 0.12);
  border-radius: 6px;
  color: var(--gold-bright) !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.74rem !important;
  text-align: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(245, 183, 0, 0.2);
  border-left: 1px solid rgba(245, 183, 0, 0.6) !important;
}

.btn-nav:hover,
.btn-nav.active {
  background: var(--gold-primary);
  color: #07080b !important;
  box-shadow: 0 0 20px rgba(245, 183, 0, 0.65);
  transform: translateX(2px);
}

/* Кнопка бургер-меню */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold-bright);
  transition: 0.3s;
}

/* ========================================================
   Главный блок (Hero) — Полноэкранный 1-й экран
   ======================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  min-height: calc(100dvh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 8% 50px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg-art,
.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
}

.hero-crest-badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 4px;
  background: linear-gradient(135deg, #ffd700 0%, #2a200a 50%, #b8860b 100%);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85), 0 0 50px rgba(250, 196, 0, 0.45);
  animation: floatBadge 4s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-crest-badge:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.9), 0 0 65px rgba(250, 196, 0, 0.65);
}

.hero-logo-img {
  width: 220px;
  height: 116px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  background: #080a0f;
  padding: 8px;
}

/* Индикатор скролла к промо-ролику */
.hero-scroll-indicator {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.7);
  transition: all 0.25s ease;
  z-index: 10;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(10, 13, 18, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(250, 196, 0, 0.2);
}

.hero-scroll-indicator:hover {
  color: var(--gold-bright);
  border-color: rgba(250, 196, 0, 0.6);
  background: rgba(16, 21, 30, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(250, 196, 0, 0.3);
  transform: translateX(-50%) translateY(2px);
}

.hero-scroll-indicator .scroll-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-scroll-indicator .scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  animation: scrollChevronBounce 2s infinite ease-in-out;
}

@keyframes scrollChevronBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

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

.badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(245, 183, 0, 0.08);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold-bright);
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(245, 183, 0, 0.18);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1.25;
  margin-bottom: 22px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* ========================================================
   СТИЛЬ 2 (Тактический Cyber-HUD без рамки, белая 1-я строка)
   ======================================================== */
.hero-title-c2 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-title-c2 .title-sub {
  font-family: 'Oxanium', var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-background-clip: border-box !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 12px rgba(255, 255, 255, 0.3) !important;
  filter: none !important;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-title-c2 .title-sub::before,
.hero-title-c2 .title-sub::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
}

.hero-title-c2 .title-sub::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
}

.hero-title-c2 .title-main {
  font-family: 'Oxanium', 'Chakra Petch', var(--font-heading);
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.1;
  display: block;
}

.hero-title-c2 .main-white {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  -webkit-background-clip: border-box;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.25);
}

.hero-title-c2 .main-gold {
  color: #fac400;
  background: none;
  -webkit-text-fill-color: #fac400;
  -webkit-background-clip: border-box;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 24px rgba(250, 196, 0, 0.45);
  display: inline-block;
  font-style: italic;
  transform: skewX(-8deg);
  transform-origin: bottom center;
  padding-right: 6px;
  margin-left: 4px;
}

/* Киберспортивные кнопки со срезанными углами (Chamfer Cut) */
.btn-cyber-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 36px;
  background: linear-gradient(135deg, #ffcf33 0%, #f5b700 50%, #b8860b 100%);
  color: #07080b;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 4px 25px rgba(245, 183, 0, 0.45);
  transition: all 0.25s ease;
  position: relative;
  cursor: pointer;
}

.btn-cyber-primary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #ffcf33 60%, #f5b700 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(245, 183, 0, 0.75);
}

.btn-cyber-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid rgba(36, 161, 222, 0.6);
  color: #7dd3f0;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-cyber-secondary:hover {
  background: #24A1DE;
  color: #fff;
  box-shadow: 0 0 25px rgba(36, 161, 222, 0.6);
  transform: translateY(-2px);
}

.hero-desc {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 35px;
  font-weight: 400;
}

.hero-desc .highlight {
  color: var(--gold-bright);
  font-weight: 700;
}

/* Статистика в Hero */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 1px;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-sep {
  color: var(--border-gold);
  font-size: 0.9rem;
}

/* Декоративный разделитель */
.l2-divider {
  text-align: center;
  position: relative;
  margin: -16px 0 35px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l2-divider::before {
  content: '';
  display: inline-block;
  width: 280px;
  height: 24px;
  background: url('assets/separate.png') center center no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 8px rgba(245, 183, 0, 0.4));
}

.l2-divider span {
  display: none;
}

/* ========================================================
   Кнопки
   ======================================================== */
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  position: relative;
}

.btn.primary {
  background: linear-gradient(180deg, #ffcf33 0%, #f5b700 60%, #b8860b 100%);
  color: #07080b;
  box-shadow: 0 4px 20px rgba(245, 183, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid var(--gold-bright);
}

.btn.primary:hover {
  background: linear-gradient(180deg, #fff 0%, #ffcf33 50%, #f5b700 100%);
  box-shadow: 0 0 30px rgba(245, 183, 0, 0.7);
  transform: translateY(-2px);
}

.btn.secondary {
  background: rgba(16, 20, 29, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(8px);
}

.btn.secondary:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(245, 183, 0, 0.2);
  transform: translateY(-2px);
}

.btn.tg-btn-hero {
  background: rgba(36, 161, 222, 0.12);
  border: 1px solid #24A1DE;
  color: #7dd3f0;
}

.btn.tg-btn-hero:hover {
  background: #24A1DE;
  color: #fff;
  box-shadow: 0 0 20px rgba(36, 161, 222, 0.5);
  transform: translateY(-2px);
}

.btn.tg-btn {
  background: linear-gradient(180deg, #2db2f2 0%, #1f8ec4 100%);
  color: #fff;
  border: 1px solid #45c4ff;
  box-shadow: 0 4px 15px rgba(36, 161, 222, 0.35);
}

.btn.tg-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 22px rgba(36, 161, 222, 0.6);
  transform: translateY(-2px);
}

/* ========================================================
   Блок Сервера L2Eigis Odyssey
   ======================================================== */
.server-banner {
  background: radial-gradient(circle at 50% 10%, rgba(245, 183, 0, 0.12) 0%, transparent 70%),
              linear-gradient(180deg, rgba(20, 25, 36, 0.95) 0%, rgba(10, 13, 18, 0.98) 100%);
  border: 1px solid var(--border-gold-bright);
  border-radius: 12px;
  padding: 45px 40px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 183, 0, 0.15);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.server-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.server-banner-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 35px;
}

.server-badge-pulse {
  display: inline-block;
  background: rgba(245, 183, 0, 0.15);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold-bright);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.server-banner-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 12px;
}

.server-subtitle {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
}

.server-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.srv-feat-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 22px;
  transition: all 0.25s ease;
}

.srv-feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-bright);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 183, 0, 0.2);
}

.feat-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.srv-feat-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.srv-feat-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.server-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 20px;
}

.srv-date-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.srv-date-info span {
  font-size: 0.95rem;
  color: #fff;
}

.srv-date-info strong {
  color: var(--gold-bright);
}

.srv-phase {
  font-size: 0.82rem !important;
  color: #4ade80 !important;
  font-weight: 600;
}

.srv-btn {
  padding: 12px 26px;
  font-size: 0.85rem;
}

/* ========================================================
   Стили отдельной страницы server.html
   ======================================================== */
.active-nav {
  color: var(--gold-bright) !important;
  font-weight: 700 !important;
}

.page-header-hero {
  position: relative;
  padding: 80px 8% 65px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-gold);
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/shift-siege-bg.jpg');
  background-size: cover;
  background-position: center 25%;
  opacity: 0.32;
  filter: saturate(1.15);
  pointer-events: none;
  z-index: 1;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 30%, rgba(7, 8, 11, 0.4) 0%, rgba(7, 8, 11, 0.94) 80%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.6) 0%, rgba(7, 8, 11, 1) 100%);
  z-index: 2;
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.page-header-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 16px;
}

.page-header-hero h1 span {
  color: var(--gold-primary);
  background: linear-gradient(180deg, #f6d776 0%, #d5b386 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(213, 179, 134, 0.4));
}

.page-header-desc {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.server-quick-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(18, 22, 31, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  backdrop-filter: blur(8px);
}

.pill-title {
  font-size: 0.75rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.pill-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
}

/* Сетка карточек деталей сервера */
.server-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 45px;
}

.srv-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 30px 26px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.srv-detail-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-bright);
  box-shadow: 0 12px 35px rgba(0,0,0,0.8), 0 0 20px rgba(213, 179, 134, 0.2);
}

.detail-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-bright);
  background: rgba(245, 183, 0, 0.12);
  border: 1px solid rgba(245, 183, 0, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.detail-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
  letter-spacing: 0.8px;
}

.detail-body p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 10px;
}

.detail-body p.sub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 2px solid var(--border-gold);
  padding-left: 10px;
  margin-top: 10px;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-bullets li {
  font-size: 0.85rem;
  color: var(--text-dim);
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.feature-bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.feature-bullets li strong {
  color: #fff;
}

.card-wiki-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.82rem;
  color: var(--gold-bright);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  border-top: 1px dashed rgba(213, 179, 134, 0.22);
  transition: all 0.25s ease;
}

.card-wiki-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(245, 183, 0, 0.5);
  transform: translateX(3px);
}

.card-wiki-link span.arrow {
  transition: transform 0.2s ease;
}

.card-wiki-link:hover span.arrow {
  transform: translateX(3px);
}

.stat-badge-inline {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(245, 183, 0, 0.15);
  border: 1px solid rgba(245, 183, 0, 0.35);
  border-radius: 4px;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

/* Официальный хаб базы знаний */
.wiki-hub-box {
  background: radial-gradient(circle at 50% 20%, rgba(213, 179, 134, 0.1) 0%, transparent 70%),
              linear-gradient(180deg, rgba(16, 20, 29, 0.95) 0%, rgba(10, 12, 17, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 40px 32px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.8);
  margin-bottom: 20px;
}

.wiki-hub-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 30px;
}

.wiki-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.wiki-hub-card {
  background: rgba(12, 15, 22, 0.7);
  border: 1px solid rgba(213, 179, 134, 0.25);
  border-radius: 8px;
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.wiki-hub-card:hover {
  border-color: var(--border-gold-bright);
  transform: translateY(-3px);
  background: rgba(20, 25, 36, 0.85);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6), 0 0 15px rgba(213, 179, 134, 0.15);
}

.wiki-hub-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.wiki-hub-info {
  flex-grow: 1;
}

.wiki-hub-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.5px;
}

.wiki-hub-info h4 .ext-arrow {
  color: var(--gold-bright);
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.wiki-hub-card:hover .wiki-hub-info h4 .ext-arrow {
  transform: translate(2px, -2px);
  color: #fff;
}

.wiki-hub-info p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
}

/* Баннер призыва на странице сервера */
.server-page-cta {
  background: radial-gradient(circle at 50% 30%, rgba(213, 179, 134, 0.15) 0%, transparent 70%),
              linear-gradient(180deg, rgba(20, 25, 36, 0.95) 0%, rgba(10, 13, 18, 0.98) 100%);
  border: 1px solid var(--border-gold-bright);
  border-radius: 10px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 25px rgba(213, 179, 134, 0.2);
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 30px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Стримы Reaver (Twitch / YouTube) */
.stream-links-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.stream-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 18px 24px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.stream-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

.stream-link.twitch:hover {
  border-color: #9146ff;
  box-shadow: 0 0 20px rgba(145, 70, 255, 0.35);
}

.stream-link.youtube:hover {
  border-color: #ff0000;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.35);
}

.stream-icon {
  font-size: 2rem;
}

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

.stream-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.8px;
}

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

/* Подсветка Reaver в Hero */
.highlight-author {
  color: var(--gold-bright);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(245, 183, 0, 0.4);
}

/* ========================================================
   Секции и заголовки
   ======================================================== */
.container {
  padding: 70px 8%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 12px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin: 12px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 45px;
}

/* ========================================================
   Сетка Видео (Мувики)
   ======================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 28px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  position: relative;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 183, 0, 0.25);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  overflow: hidden;
}

.video-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb-wrap img {
  transform: scale(1.06);
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  background: rgba(7, 8, 11, 0.8);
  border: 2px solid var(--gold-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.video-card:hover .play-badge {
  background: var(--gold-primary);
  color: #07080b;
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 25px var(--gold-glow);
}

.video-info {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.video-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
  transition: color 0.2s;
}

.video-card:hover .video-info h4 {
  color: var(--gold-bright);
}

.video-meta {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================================
   Telegram Feed
   ======================================================== */
.tg-feed-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.tg-channel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(245, 183, 0, 0.2);
  flex-wrap: wrap;
  gap: 12px;
}

.tg-channel-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tg-channel-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.tg-channel-badge {
  background: rgba(245, 183, 0, 0.15);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold-bright);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.tg-channel-link {
  color: var(--gold-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tg-channel-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--gold-glow);
}

.tg-feed-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  min-height: 250px;
}

.tg-cta {
  text-align: center;
  border-top: 1px solid var(--border-gold);
  padding-top: 24px;
}

.tg-cta p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ========================================================
   Форма набора
   ======================================================== */
.form-box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
  position: relative;
  backdrop-filter: blur(12px);
}

/* Угловые орнаменты L2 */
.form-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--gold-bright);
  border-style: solid;
  pointer-events: none;
}
.form-corner.top-left { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.form-corner.top-right { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.form-corner.bottom-left { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.form-corner.bottom-right { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  color: var(--gold-bright);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(8, 10, 14, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 15px rgba(245, 183, 0, 0.25);
  background: rgba(14, 17, 24, 0.95);
}

.full-width {
  width: 100%;
  margin-top: 15px;
  padding: 16px;
  font-size: 0.95rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed !important;
  filter: grayscale(0.7);
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}

.hp-trap-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  white-space: pre-line;
}

/* ========================================================
   Кнопка "Наверх"
   ======================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: rgba(8, 9, 12, 0.88);
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--gold-primary);
  color: #07080b;
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* ========================================================
   Модальное окно плеера
   ======================================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 8, 0.9);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: 90%;
  max-width: 950px;
  z-index: 1001;
}

.modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--gold-bright);
  font-size: 2.4rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.modal-close:hover {
  transform: scale(1.2);
}

.modal-video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
  border: 2px solid var(--border-gold-bright);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(245, 183, 0, 0.35);
}

.modal-video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========================================================
   Баннер Осады Замков (Aden & Giran)
   ======================================================== */
.siege-preview-banner {
  background: linear-gradient(90deg, rgba(7, 8, 11, 0.92) 0%, rgba(7, 8, 11, 0.55) 50%, rgba(7, 8, 11, 0.92) 100%),
              url('assets/shift-siege-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  border: 1px solid var(--border-gold-bright);
  border-radius: 10px;
  padding: 35px 30px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 183, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.siege-tag {
  display: inline-block;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid #ef4444;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.siege-preview-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.siege-preview-text p {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 650px;
}

/* ========================================================
   Подвал (Footer) с фоном
   ======================================================== */
footer {
  border-top: 1px solid var(--border-gold);
  background: rgba(6, 7, 10, 0.96);
  padding: 50px 8% 35px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.footer-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/footer-bg.png');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

.footer-logo-img {
  width: 64px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
  background: #080a0f;
  padding: 2px;
  flex-shrink: 0;
}

.footer-logo span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-bright);
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

footer .copyright {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 10px;
}

/* ========================================================
   Адаптивность (Desktop Средний & Mobile)
   ======================================================== */
@media (max-width: 1150px) {
  .navbar {
    padding: 10px 3%;
  }
  .navbar-left {
    gap: 14px;
  }
  .top-page-links {
    gap: 6px;
  }
  .top-link {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 12px 6%;
    position: relative;
  }

  .crest-wrap {
    width: 68px;
    height: 34px;
  }

  .menu-toggle {
    display: flex;
  }

  .top-page-links {
    display: none;
  }

  nav#navMenu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    transform: none;
    width: 100%;
    background: rgba(8, 9, 12, 0.98);
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 24px 20px;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.9);
  }

  nav#navMenu.active {
    display: flex;
  }

  #navMenu a {
    font-size: 1rem;
    padding: 10px 14px;
    border-left: none;
  }

  .hero {
    padding: 65px 6% 50px;
  }

  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.25;
    letter-spacing: 1px;
  }

  .hero-title-c1 .title-sub {
    font-size: 0.95rem;
    letter-spacing: 2px;
  }

  .hero-title-c1 .title-main {
    font-size: 2.3rem;
    letter-spacing: 1.5px;
  }

  .hero-stats-c1 {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 360px;
    margin-bottom: 30px;
  }

  .stat-card-c1 {
    padding: 12px 14px;
    gap: 12px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-sep {
    display: none;
  }

  .stat-item {
    min-width: 45%;
    margin-bottom: 8px;
  }

  .form-box {
    padding: 25px 20px;
  }
}

/* ========================================================
   Раздел: Поиск & Биржа Драйверов SHIFT
   ======================================================== */
.drivers-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.btn-post-resume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  letter-spacing: 1px;
}

.btn-post-resume span {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

/* Преимущества биржи */
.driver-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

@media (max-width: 900px) {
  .driver-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.driver-benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.driver-benefit-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold-bright);
}

.benefit-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.benefit-text strong {
  display: block;
  font-size: 1rem;
  color: var(--gold-bright);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

/* ========================================================
   Живой статус-баннер биржи драйверов
   ======================================================== */
.driver-status-live-banner {
  background: radial-gradient(circle at 50% 0%, rgba(36, 161, 222, 0.12) 0%, transparent 70%),
              linear-gradient(135deg, rgba(14, 18, 26, 0.95) 0%, rgba(8, 11, 16, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(245, 183, 0, 0.1);
  text-align: center;
}

.status-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ade80;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pulse-indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Желтый статус (Ограниченно / Высокий спрос) */
.status-pulse-badge.busy {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.4);
  color: #facc15;
}
.pulse-indicator-dot.busy {
  background: #facc15;
  box-shadow: 0 0 10px #facc15;
  animation: pulseYellow 1.8s infinite;
}
@keyframes pulseYellow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(250, 204, 21, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

/* Красный статус (Все заняты / Набор приостановлен) */
.status-pulse-badge.closed {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.4);
  color: #f87171;
}
.pulse-indicator-dot.closed {
  background: #f87171;
  box-shadow: 0 0 10px #f87171;
  animation: pulseRed 1.8s infinite;
}
@keyframes pulseRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(248, 113, 113, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); }
}

.status-banner-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.status-tags-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-role-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(213, 179, 134, 0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ========================================================
   Табы координационного центра (Заказ / Резюме)
   ======================================================== */
.hub-tabs-container {
  max-width: 840px;
  margin: 0 auto 50px;
}

.hub-tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.hub-tab-btn {
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  backdrop-filter: blur(10px);
}

.hub-tab-btn:hover {
  background: rgba(26, 32, 46, 0.95);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.hub-tab-btn.active {
  background: linear-gradient(135deg, rgba(36, 44, 62, 0.95) 0%, rgba(18, 22, 32, 0.98) 100%);
  border-color: var(--gold-bright);
  box-shadow: 0 4px 20px rgba(245, 183, 0, 0.25), inset 0 0 15px rgba(245, 183, 0, 0.1);
}

.hub-tab-btn .tab-btn-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.hub-tab-btn .tab-btn-text strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.hub-tab-btn.active .tab-btn-text strong {
  color: var(--gold-bright);
}

.hub-tab-btn .tab-btn-text small {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.hub-tab-panel {
  display: none;
  animation: fadeInTab 0.3s ease;
}

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

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

.hub-form-heading {
  margin-bottom: 24px;
  text-align: center;
}

.hub-form-heading h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-bright);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.hub-form-heading p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 0;
}

.requirements-tags-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.req-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
}

.req-chip:hover {
  background: rgba(245, 183, 0, 0.08);
  border-color: var(--gold-primary);
}

.req-chip input[type="checkbox"] {
  accent-color: var(--gold-bright);
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.form-row .form-group label {
  white-space: nowrap;
}

#orderCustomServerWrap {
  margin-top: -6px;
  margin-bottom: 24px;
  animation: fadeIn 0.25s ease;
}

@media (max-width: 680px) {
  .hub-tabs-nav {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ========================================================
   Блок FAQ & Безопасность
   ======================================================== */
.drivers-faq-wrap {
  max-width: 1000px;
  margin: 40px auto 0;
}

.faq-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-bright);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.driver-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .driver-faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 22px 20px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold-bright);
}

.faq-card .faq-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.faq-card h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.faq-card p {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
}

/* Тизер-баннер перехода в Биржу Драйверов */
.driver-teaser-banner {
  background: radial-gradient(circle at 80% 20%, rgba(213, 179, 134, 0.12) 0%, transparent 60%),
              linear-gradient(135deg, rgba(18, 22, 31, 0.95) 0%, rgba(10, 13, 18, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 10px 35px rgba(0,0,0,0.7);
  transition: border-color 0.3s ease;
}

.driver-teaser-banner:hover {
  border-color: var(--border-gold-bright);
}

.driver-teaser-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.driver-teaser-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}

.driver-teaser-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================================
   Секция: Промо-Ролик 720p & Спойлер с историей КЛа (как в Telegram)
   ======================================================== */
.promo-player-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 720p HD Видеоплеер */
.video-720p-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85), 0 0 35px rgba(213, 179, 134, 0.12);
  position: relative;
}

.video-720p-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Кнопка-спойлер (Точно как в Telegram Desktop посте) */
.tg-spoiler-box {
  background: rgba(14, 18, 26, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease;
}

.tg-spoiler-box:hover {
  border-color: var(--border-gold-bright);
}

.tg-spoiler-btn {
  width: 100%;
  background: rgba(20, 26, 38, 0.85);
  border: none;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  user-select: none;
  transition: all 0.25s ease;
  outline: none;
  border-bottom: 1px solid transparent;
}

.tg-spoiler-btn:hover {
  background: rgba(28, 36, 52, 0.95);
}

.tg-spoiler-btn.active {
  background: rgba(24, 31, 46, 0.95);
  border-bottom-color: var(--border-gold);
}

.tg-spoiler-chevron {
  color: #8ea1b4;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  flex-shrink: 0;
}

.tg-spoiler-btn.active .tg-spoiler-chevron {
  transform: rotate(180deg);
  color: var(--gold-bright);
}

.tg-spoiler-emblem {
  height: 18px !important;
  width: 36px !important;
  max-width: 40px !important;
  max-height: 20px !important;
  aspect-ratio: 2 / 1;
  object-fit: contain !important;
  border-radius: 2px;
  border: 1px solid rgba(246, 215, 118, 0.5);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.tg-spoiler-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  line-height: 1;
}

.tg-spoiler-action-hint {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.tg-spoiler-btn:hover .tg-spoiler-action-hint {
  color: var(--gold-bright);
}

/* Раскрывающийся блок с текстом */
.tg-spoiler-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.tg-spoiler-body.open {
  max-height: 2500px;
  opacity: 1;
  padding: 22px 24px 26px 24px;
}

/* Внутренняя цитата в стиле Telegram */
.tg-quote-content {
  border-left: 3px solid var(--gold-bright);
  padding-left: 18px;
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.65;
}

.quote-sec-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 18px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quote-sec-title:first-child {
  margin-top: 0;
}

.quote-sec-title.danger {
  color: #f87171;
}

.quote-sec-title.gold {
  color: var(--gold-bright);
}

.quote-list {
  margin-left: 20px;
  margin-bottom: 16px;
  color: #cbd5e1;
}

.quote-list li {
  margin-bottom: 6px;
}

.quote-statement {
  background: rgba(246, 215, 118, 0.06);
  border: 1px solid rgba(246, 215, 118, 0.18);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 18px;
  color: #f1f5f9;
}

/* Список бэкграунда КЛа */
.quote-bg-list {
  list-style: none;
  margin: 10px 0 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-bg-item {
  background: rgba(10, 13, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: #e2e8f0;
}

.quote-bg-item.highlight-server {
  border-color: var(--border-gold-bright);
  background: rgba(245, 183, 0, 0.08);
}

.tag-clan {
  color: #93c5fd;
  font-weight: 600;
}

.tag-party {
  color: #e2e8f0;
  font-style: italic;
}

.tag-role {
  color: var(--gold-bright);
  font-weight: 700;
  background: rgba(246, 215, 118, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(246, 215, 118, 0.3);
  font-size: 0.76rem;
}

.tag-role.gold-cl {
  background: rgba(245, 183, 0, 0.22);
  border-color: var(--gold-bright);
  color: #fff;
}

.quote-closing-p {
  color: #94a3b8;
  font-style: italic;
  margin-bottom: 18px;
  font-size: 0.88rem;
}

/* Таргеты набора */
.quote-targets-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.quote-target-chip {
  background: rgba(22, 28, 40, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

/* Контакты */
.quote-contacts-block {
  background: rgba(10, 13, 18, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0 20px 0;
}

.quote-contacts-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.quote-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.quote-contact-line {
  font-size: 0.88rem;
}

.quote-contact-line strong {
  color: var(--gold-bright);
  margin-right: 6px;
}

.quote-contact-line a {
  color: var(--tg-color);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.quote-contact-line a:hover {
  opacity: 0.8;
}

.quote-reality {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 1px;
}

.quote-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 35px 16px 45px;
  }
  .tg-spoiler-body {
    padding: 0 16px;
  }
  .tg-spoiler-body.open {
    padding: 18px 16px;
  }
  .tg-spoiler-action-hint {
    display: none;
  }
  .quote-bg-item {
    font-size: 0.78rem;
  }
  .hero-title-c2 .title-main {
    font-size: 2.5rem;
  }
  .hero-title-c2 .title-sub {
    font-size: 0.95rem;
    letter-spacing: 2px;
    gap: 8px;
  }
  .btn-cyber-primary, .btn-cyber-secondary {
    width: 100%;
  }
  .hero-logo-img {
    width: 170px;
    height: 90px;
  }
  .hero-scroll-indicator {
    position: static;
    transform: none;
    margin-top: 25px;
  }
  .hero-scroll-indicator:hover {
    transform: translateY(2px);
  }
}


/* ========================================================
   Закрытый Клановый Раздел (Discord Auth & Member Stats)
   ======================================================== */
.clan-section {
  padding: 50px 6% 90px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Карточка входа через Discord (Guest State) */
.clan-auth-card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid rgba(213, 179, 134, 0.35);
  border-radius: 16px;
  padding: 45px 40px;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 183, 0, 0.12);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.clan-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), #5865F2, transparent);
}

.clan-discord-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.25) 0%, rgba(14, 18, 26, 0.8) 100%);
  border: 2px solid #5865F2;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.45);
}

.clan-discord-icon-wrap svg {
  width: 44px;
  height: 44px;
  fill: #fff;
}

.clan-auth-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.clan-auth-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn-discord-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #5865F2;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 34px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
  transition: all 0.25s ease;
  text-transform: uppercase;
}

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

.btn-discord-login svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.clan-auth-steps {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(213, 179, 134, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.clan-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.clan-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245, 183, 0, 0.15);
  border: 1px solid var(--gold-bright);
  color: var(--gold-bright);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.clan-demo-btn-wrap {
  margin-top: 24px;
}

.btn-clan-demo {
  background: transparent;
  border: 1px dashed rgba(213, 179, 134, 0.4);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-clan-demo:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  background: rgba(245, 183, 0, 0.08);
}

/* Экран отказа в доступе (Denied State) */
.clan-denied-card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(18, 12, 14, 0.88);
  border: 1px solid rgba(255, 77, 77, 0.45);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 77, 77, 0.15);
}

.clan-denied-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

/* Member Bar (Верхняя плашка авторизованного соклана) */
.clan-member-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid rgba(213, 179, 134, 0.3);
  border-radius: 14px;
  padding: 16px 24px;
  margin-bottom: 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  gap: 16px;
}

.clan-member-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.clan-avatar-box {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold-bright);
  box-shadow: 0 0 12px rgba(245, 183, 0, 0.4);
  overflow: hidden;
  background: #080a0f;
  flex-shrink: 0;
}

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

.clan-member-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.clan-member-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.clan-member-tag {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.clan-member-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clan-role-badge {
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.6);
  color: #2ecc71;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.clan-role-badge.badge-demo {
  background: rgba(245, 183, 0, 0.15);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-clan-logout {
  background: rgba(255, 77, 77, 0.12);
  border: 1px solid rgba(255, 77, 77, 0.4);
  color: #ff6b6b;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-clan-logout:hover {
  background: #ff4d4d;
  color: #fff;
  border-color: #ff4d4d;
  box-shadow: 0 0 15px rgba(255, 77, 77, 0.4);
}

/* Баннер: Раздел в активной разработке */
.clan-dev-banner {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: linear-gradient(135deg, rgba(245, 183, 0, 0.08) 0%, rgba(14, 18, 26, 0.92) 55%, rgba(18, 22, 32, 0.95) 100%);
  border: 1px solid rgba(245, 183, 0, 0.35);
  border-left: 5px solid var(--gold-bright, #f5b700);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 0 25px rgba(245, 183, 0, 0.03);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.clan-dev-banner::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(245, 183, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.clan-dev-banner-icon-wrap {
  flex-shrink: 0;
}

.clan-dev-banner-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(245, 183, 0, 0.12);
  border: 1px solid rgba(245, 183, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright, #f5b700);
  box-shadow: 0 0 18px rgba(245, 183, 0, 0.22);
}

.clan-dev-banner-content {
  flex: 1;
}

.clan-dev-banner-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.clan-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 183, 0, 0.15);
  border: 1px solid rgba(245, 183, 0, 0.45);
  color: var(--gold-bright, #f5b700);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.clan-dev-build-tag {
  font-size: 0.72rem;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.5px;
}

.clan-dev-banner-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.clan-dev-banner-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
  max-width: 950px;
}

@media (max-width: 768px) {
  .clan-dev-banner {
    flex-direction: column;
    padding: 18px 20px;
    gap: 16px;
  }
  
  .clan-dev-banner-icon {
    width: 46px;
    height: 46px;
  }
  
  .clan-dev-banner-title {
    font-size: 1.15rem;
  }
  
  .clan-dev-banner-desc {
    font-size: 0.88rem;
  }
}

/* KPI Grid */
.clan-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 35px;
}

.clan-kpi-card {
  background: rgba(14, 18, 26, 0.7);
  border: 1px solid rgba(213, 179, 134, 0.22);
  border-radius: 12px;
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.clan-kpi-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.clan-kpi-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.clan-kpi-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1.1;
}

.clan-kpi-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 5px;
}

/* Tabs */
.clan-stats-tabs-wrap {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid rgba(213, 179, 134, 0.2);
  padding-bottom: 12px;
  margin-bottom: 25px;
  overflow-x: auto;
}

.clan-stats-tab-btn {
  background: transparent;
  border: 1px solid rgba(213, 179, 134, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.clan-stats-tab-btn:hover {
  color: #fff;
  border-color: var(--gold-bright);
  background: rgba(245, 183, 0, 0.08);
}

.clan-stats-tab-btn.active {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 100%);
  color: #07080b;
  border-color: var(--gold-bright);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(245, 183, 0, 0.35);
}

.clan-stats-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.clan-stats-pane.active {
  display: block;
}

/* Карточки Паков (КП) */
.clan-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.clan-pack-card {
  background: rgba(14, 18, 26, 0.75);
  border: 1px solid rgba(213, 179, 134, 0.25);
  border-radius: 12px;
  padding: 22px;
  transition: all 0.25s ease;
}

.clan-pack-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.clan-pack-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(213, 179, 134, 0.15);
  padding-bottom: 10px;
}

.clan-pack-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.clan-pack-status {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.4);
}

.clan-pack-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
}

.clan-pack-row {
  display: flex;
  justify-content: space-between;
}

.clan-pack-lbl {
  color: rgba(255, 255, 255, 0.5);
}

.clan-pack-val {
  color: var(--gold-bright);
  font-weight: 600;
}

/* Статусный баннер статистики */
.clan-stats-placeholder-box {
  background: rgba(14, 18, 26, 0.6);
  border: 1px dashed rgba(213, 179, 134, 0.35);
  border-radius: 12px;
  padding: 40px 25px;
  text-align: center;
  margin-top: 25px;
}

.clan-stats-placeholder-box h4 {
  font-family: var(--font-heading);
  color: var(--gold-bright);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.clan-stats-placeholder-box p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Загрузка */
.clan-loading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.clan-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(245, 183, 0, 0.2);
  border-top-color: var(--gold-bright);
  border-radius: 50%;
  animation: clanSpin 0.8s linear infinite;
}

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