/* ========================================================
   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: 'Cinzel', serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #07080b;
  background-image: 
    linear-gradient(180deg, rgba(7, 8, 11, 0.72) 0%, rgba(10, 13, 18, 0.82) 40%, rgba(7, 8, 11, 0.92) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(213, 179, 134, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(245, 183, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 65%, rgba(213, 179, 134, 0.08) 0%, transparent 45%),
    url('assets/eigis-v1-bg.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto, auto, auto, auto, 1920px auto;
  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: 14px 8%;
  background: rgba(8, 9, 12, 0.92);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(245, 183, 0, 0.15);
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  z-index: 100;
}

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

.crest-wrap {
  width: 80px;
  height: 40px;
  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: #000;
  display: block;
}

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

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

.logo-sub {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
}

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

nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  position: relative;
}

nav a:not(.btn-nav):hover {
  color: var(--gold-bright);
  text-shadow: 0 0 12px var(--gold-glow);
}

nav a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transition: width 0.25s ease;
}

nav a:not(.btn-nav):hover::after {
  width: 100%;
}

nav a.active {
  color: var(--gold-bright) !important;
  font-weight: 700;
  text-shadow: 0 0 12px var(--gold-glow);
}

nav a.active::after {
  width: 100% !important;
}

.btn-nav {
  padding: 8px 18px;
  border: 1px solid var(--gold-primary) !important;
  background: rgba(245, 183, 0, 0.08);
  border-radius: 4px;
  color: var(--gold-bright) !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem !important;
  box-shadow: 0 0 10px rgba(245, 183, 0, 0.15);
}

.btn-nav:hover {
  background: var(--gold-primary);
  color: #07080b !important;
  box-shadow: 0 0 18px var(--gold-glow);
  transform: translateY(-1px);
}

/* Кнопка бургер-меню */
.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)
   ======================================================== */
.hero {
  position: relative;
  padding: 95px 8% 80px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-gold);
}

.hero-bg-art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/eigis-hero.png');
  background-size: cover;
  background-position: center 25%;
  opacity: 0.22;
  filter: saturate(1.2) contrast(1.15);
  pointer-events: none;
  z-index: 1;
}

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

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

.hero-crest-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold-bright), #222, var(--gold-deep));
  border-radius: 12px;
  box-shadow: 0 0 35px rgba(245, 183, 0, 0.35);
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-logo-img {
  width: 140px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  background: #000;
}

@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: 3.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 22px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero h1 span {
  color: var(--gold-primary);
  background: linear-gradient(180deg, #ffea85 0%, #f5b700 60%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(245, 183, 0, 0.45));
}

.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/eigis-hero.png');
  background-size: cover;
  background-position: center 20%;
  opacity: 0.24;
  filter: saturate(1.2);
  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;
}

/* Баннер призыва на странице сервера */
.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;
}

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  text-align: center;
  font-weight: 600;
}

/* ========================================================
   Кнопка "Наверх"
   ======================================================== */
.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.95) 0%, rgba(7, 8, 11, 0.6) 50%, rgba(7, 8, 11, 0.95) 100%),
              url('assets/castle-siege.png');
  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: #000;
  padding: 1px;
  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;
}

/* ========================================================
   Адаптивность (Mobile)
   ======================================================== */
@media (max-width: 900px) {
  .navbar {
    padding: 12px 6%;
    position: relative;
  }

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

  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 9, 12, 0.98);
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 20px 0;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin-left: 0;
    font-size: 1rem;
    padding: 8px 0;
  }

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

  .hero h1 {
    font-size: 2.2rem;
  }

  .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(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.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;
}

/* Фильтры */
.drivers-filter-bar {
  background: rgba(14, 18, 25, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 22px 24px;
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 140px;
}

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

.chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

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

.chip.active {
  background: linear-gradient(135deg, rgba(246, 215, 118, 0.25), rgba(213, 179, 134, 0.12));
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 12px rgba(246, 215, 118, 0.25);
}

/* Сетка карточек драйверов */
.drivers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.driver-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.driver-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.25);
}

.driver-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.driver-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), #1c2331);
  padding: 2px;
  box-shadow: 0 0 14px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.driver-avatar-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #090c12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.driver-meta {
  flex: 1;
}

.driver-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.driver-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.driver-verified-badge {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.5);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.driver-rating {
  font-size: 0.8rem;
  color: var(--gold-bright);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.driver-status-pill {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.driver-status-pill.free {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.driver-status-pill.part {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.driver-classes-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.class-pill {
  background: rgba(213, 179, 134, 0.12);
  border: 1px solid rgba(213, 179, 134, 0.3);
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.driver-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.driver-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  gap: 10px;
}

.driver-info-item .info-label {
  color: var(--text-muted);
}

.driver-info-item .info-val {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.driver-info-item .info-val.salary {
  color: var(--gold-bright);
  font-family: var(--font-heading);
}

.driver-desc {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--border-gold);
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
}

.driver-hardware-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.driver-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-contact-tg {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #24A1DE;
  color: #fff !important;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-contact-tg:hover {
  background: #1b8ec7;
  box-shadow: 0 0 15px rgba(36, 161, 222, 0.45);
  transform: translateY(-1px);
}

.btn-copy-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #c7cdfc;
  padding: 9px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-copy-discord:hover {
  background: rgba(88, 101, 242, 0.35);
  color: #fff;
  border-color: #5865F2;
}

/* Модальное окно резюме драйвера */
.driver-modal-dialog {
  max-width: 720px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

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

.driver-modal-header .modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold-bright);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.driver-modal-header .modal-sub {
  color: var(--text-dim);
  font-size: 0.88rem;
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 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;
  width: auto;
  max-width: 40px;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 2px;
  border: 1px solid rgba(246, 215, 118, 0.5);
  display: inline-block;
  vertical-align: middle;
}

.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) {
  .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;
  }
}