:root {
  --bg-color: #0b1428;
  --glass-bg: rgba(18, 26, 44, 0.55);
  --glass-bg-hover: rgba(22, 34, 56, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(155, 89, 182, 0.35);
  --purple-accent: #9b59b6;
  --purple-glow: rgba(155, 89, 182, 0.25);
  --text-main: #ffffff;
  --text-muted: #98a8c8;
  --radius: 18px;
  --shadow-glass: 0 8px 40px rgba(0, 0, 0, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 120px;
}

/* === Фоновое свечение === */
body::before, body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
body::before {
  top: -30%;
  left: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(155, 89, 182, 0.2), transparent 70%);
}
body::after {
  bottom: -20%;
  right: -20%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(52, 152, 219, 0.14), transparent 70%);
}

/* --- Верхняя панель --- */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn-admin {
  padding: 0.5rem 1.2rem;
  background: var(--purple-accent);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-admin:hover {
  background: #8e4ca8;
}

/* --- Основная сетка страницы --- */
.page-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

/* Стиль "стекло" */
.glass-block {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* --- Левое меню --- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar .glass-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: none;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.menu-item {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: all 0.25s ease;
}

.menu-item:hover,
.menu-item.active {
  background: rgba(155, 89, 182, 0.12);
  border: 1px solid rgba(155, 89, 182, 0.3);
  color: var(--purple-accent);
  box-shadow: 0 0 12px rgba(155, 89, 182, 0.2);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Центральная область: плеер + правая панель --- */
/* === ИЗМЕНЕНО: фиксированная ширина чата 340px === */
.main-area {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
}

/* === ИЗМЕНЕНО: размеры чата 340x640 === */
.chat-wrap {
  width: 340px;
  height: 640px;
}

/* --- Плеер --- */
.player-wrapper {
  width: 100%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 0;
  background: #000;
  overflow: hidden;
  padding: 0;
  border: none;
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.player-info {
  padding: 0.8rem 1.2rem;
  background: rgba(0, 0, 0, 0.4);
}

/* --- Счётчик зрителей --- */
.viewers-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  z-index: 10;
  pointer-events: none;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e74c3c;
  animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(231, 76, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* --- Кастомные контролы --- */
.custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 10;
}

.ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.ctrl-btn svg {
  width: 20px;
  height: 20px;
}

.ctrl-btn:hover {
  background: rgba(155, 89, 182, 0.25);
  color: var(--purple-accent);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple-accent);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(155, 89, 182, 0.5);
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple-accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 6px rgba(155, 89, 182, 0.5);
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

/* --- Оверлей рекламы эфира --- */
.live-ad-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-ad-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.live-ad-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.live-ad-countdown {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  font-size: 0.8rem;
  color: #fff;
}

/* --- Сброс рамок в полноэкранном режиме --- */
.player-wrapper:fullscreen {
  border-radius: 0;
  border: none;
  box-shadow: none;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
}

.player-wrapper:-webkit-full-screen {
  border-radius: 0;
  border: none;
  box-shadow: none;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
}

.player-wrapper:-moz-full-screen {
  border-radius: 0;
  border: none;
  box-shadow: none;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
}

.player-wrapper:fullscreen .video-placeholder,
.player-wrapper:-webkit-full-screen .video-placeholder,
.player-wrapper:-moz-full-screen .video-placeholder {
  aspect-ratio: unset;
  width: 100%;
  height: 100%;
  flex: 1;
}

.player-wrapper:fullscreen #mainPlayer,
.player-wrapper:-webkit-full-screen #mainPlayer,
.player-wrapper:-moz-full-screen #mainPlayer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* --- Правая панель: Недавно загружено --- */
.right {
  align-self: start;
  height: fit-content;
}

.recent-list-header {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: white;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recent-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.recent-item:hover {
  background: rgba(155, 89, 182, 0.12);
  border: 1px solid rgba(155, 89, 182, 0.3);
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(155, 89, 182, 0.15);
}

.recent-item:hover .thumb-wrapper {
  box-shadow: 0 0 12px rgba(155, 89, 182, 0.4);
}

.recent-item:hover .info h4 {
  color: #c0c8e0;
}

.recent-item:hover .info p {
  color: #c0c8e0;
}

/* === СТИЛИ ДЛЯ ОБЛОЖЕК === */

.thumb-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background: #2a3650;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.25s ease;
}

.thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease, transform 0.3s ease;
  filter: brightness(0.9);
}

.thumb-wrapper:hover img {
  filter: brightness(1.1) saturate(1.1);
  transform: scale(1.05);
}

.recent-item .thumb-wrapper {
  width: 80px;
  height: 45px;
  aspect-ratio: unset;
  flex-shrink: 0;
  border-radius: 8px;
}

.video-card .thumb-wrapper {
  border-radius: 16px;
}

/* === Блок информации в "Недавно загружено" === */
.recent-item .info {
  min-width: 0;
  overflow: hidden;
}

.info h4 {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  transition: color 0.25s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-views {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Онлайн счетчик --- */
.online-number {
  display: inline-block;
  font-weight: 700;
  color: #9b59b6;
  text-shadow: 0 0 10px rgba(155, 89, 182, 0.5);
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- Рекламный блок --- */
.ad-block {
  grid-column: 1 / -1;
  max-width: 1400px;
  margin: 2rem auto;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a2a45 0%, #0b1428 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  position: relative;
  overflow: hidden;
}

.ad-placeholder {
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem;
  border: 1px dashed #444;
  border-radius: 12px;
}

/* --- Блок "Все видео" --- */
.all-videos-section {
  grid-column: 1 / -1;
  margin-top: 2rem;
}

.videos-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  max-height: 680px;
  overflow-y: auto;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
}

.videos-loader {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.videos-list::-webkit-scrollbar {
  width: 6px;
}

.videos-list::-webkit-scrollbar-track {
  background: transparent;
}

.videos-list::-webkit-scrollbar-thumb {
  background: rgba(155, 89, 182, 0.3);
  border-radius: 3px;
}

.videos-list::-webkit-scrollbar-thumb:hover {
  background: rgba(155, 89, 182, 0.5);
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-card:hover .thumb-wrapper {
  box-shadow: 0 0 16px rgba(155, 89, 182, 0.35);
}

.video-card:hover .thumb-wrapper img {
  filter: brightness(1.1) saturate(1.1);
  transform: scale(1.05);
}

.card-info h3 {
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.25s ease;
}

.video-card:hover .card-info h3 {
  color: var(--purple-accent);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-stat-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  flex-shrink: 0;
}

/* --- Адаптив для мобильных --- */
@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .main-area {
    grid-template-columns: 1fr;
  }
  .chat-wrap {
    width: 100%;
    height: 500px;
  }
  .right {
    order: 3;
    margin-top: 1rem;
    width: 100%;
  }
  .video-placeholder {
    aspect-ratio: 16/9;
  }
  .search-container {
    display: none;
  }
}

/* ========================================================= */
/* === АВТОРИЗАЦИЯ, МОДАЛЬНЫЕ ОКНА === */
/* ========================================================= */

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-auth {
  padding: 0.5rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.25s ease;
}

.btn-auth:hover {
  background: rgba(155, 89, 182, 0.12);
  border: 1px solid rgba(155, 89, 182, 0.3);
  color: var(--purple-accent);
  box-shadow: 0 0 12px rgba(155, 89, 182, 0.2);
}

.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.auth-modal.open {
  display: flex;
}

.auth-modal-content {
  background: rgba(20, 25, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(155, 89, 182, 0.2);
  border-radius: 20px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  position: relative;
}

.auth-modal-content h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-modal .form-group {
  margin-bottom: 1rem;
}

.auth-modal .form-label {
  display: block;
  color: #ccc;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.auth-modal .form-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: rgba(10, 15, 25, 0.8);
  border: 1px solid rgba(155, 89, 182, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.25s ease;
}

.auth-modal .form-input:focus {
  outline: none;
  border-color: rgba(155, 89, 182, 0.5);
}

.auth-modal .form-file {
  width: 100%;
  padding: 0.4rem;
  background: rgba(10, 15, 25, 0.8);
  border: 1px solid rgba(155, 89, 182, 0.15);
  border-radius: 12px;
  color: #ccc;
  font-size: 0.85rem;
  box-sizing: border-box;
}

.auth-modal .btn-primary {
  width: 100%;
  padding: 0.7rem;
  background: rgba(155, 89, 182, 0.2);
  border: 1px solid rgba(155, 89, 182, 0.4);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
}

.auth-modal .btn-primary:hover {
  background: rgba(155, 89, 182, 0.35);
  box-shadow: 0 0 16px rgba(155, 89, 182, 0.3);
}

.auth-modal .btn-cancel {
  margin-top: 0.75rem;
  width: 100%;
  background: transparent;
  color: #888;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.auth-modal .btn-cancel:hover {
  color: #aaa;
}

.auth-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: none;
}

.edit-profile-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.edit-profile-nickname {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.edit-profile-avatar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.edit-profile-avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(155, 89, 182, 0.3);
  background: #2a3650;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.edit-profile-avatar-label {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.edit-profile-avatar-hint {
  color: #666;
  font-size: 0.78rem;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: transparent;
  color: #888;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(231, 76, 60, 0.15);
  border-color: rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

/* ========================================================= */
/* === ПОИСК === */
/* ========================================================= */

.search-container {
  position: relative;
  flex: 1;
  max-width: 420px;
  margin: 0 2rem;
}

.search-box {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(155, 89, 182, 0.5);
  border-radius: 9999px;
  padding: 0.5rem 1.1rem;
  box-shadow: 0 0 10px rgba(155, 89, 182, 0.25);
  transition: all 0.25s ease;
}

.search-box:focus-within {
  border-color: var(--purple-accent);
  box-shadow: 0 0 18px rgba(155, 89, 182, 0.5);
}

.search-icon {
  color: rgba(155, 89, 182, 0.8);
  margin-right: 0.55rem;
  flex-shrink: 0;
}

#globalSearch {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  width: 100%;
  font-size: 0.9rem;
  font-family: inherit;
}

#globalSearch::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: rgba(20, 25, 40, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(155, 89, 182, 0.25);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 16px rgba(155, 89, 182, 0.15);
  z-index: 1000;
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.search-result-item:hover {
  background: rgba(155, 89, 182, 0.12);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-thumb {
  width: 80px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(155, 89, 182, 0.15);
}

.search-result-info {
  flex: 1;
  overflow: hidden;
}

.search-result-artist {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}

.search-no-results {
  padding: 1.2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-dropdown::-webkit-scrollbar {
  width: 6px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: rgba(155, 89, 182, 0.3);
  border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(155, 89, 182, 0.5);
}

/* ========================================================= */
/* === ФУТЕР === */
/* ========================================================= */

.footer-bar {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 2rem 0 0;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(20, 25, 40, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(155, 89, 182, 0.5);
  border-radius: 9999px;
  box-shadow: 0 0 18px rgba(155, 89, 182, 0.5), 0 0 10px rgba(155, 89, 182, 0.25);
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 8px rgba(155, 89, 182, 0.6);
}

.footer-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--purple-accent);
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-link:hover {
  color: #b370c7;
  text-shadow: 0 0 12px rgba(155, 89, 182, 0.8);
}

/* Пункт меню «Трансляции» с огоньком */
.menu-item-live {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item-live .live-dot {
  width: 10px;
  height: 10px;
  background-color: #ff4757;
  border: 2px solid rgba(255, 71, 87, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 71, 87, 0.7);
  animation: pulse-dot 1.5s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 6px rgba(255, 71, 87, 0.5);
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 14px rgba(255, 71, 87, 0.9);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 6px rgba(255, 71, 87, 0.5);
  }
}
