@charset "UTF-8";
.light-theme .card-custom {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.light-theme .card-custom:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}
.light-theme .section-dark {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.light-theme .section-black {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}
.light-theme .schedule-day {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.light-theme .schedule-day:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.light-theme .lesson-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.light-theme .lesson-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.light-theme .filter-btn {
  font-weight: 600;
}
.light-theme .filter-btn:hover, .light-theme .filter-btn.active {
  font-weight: 700;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --red: #e53935;
  --red-dark: #c62828;
  --red-light: #ff5252;
  --gray-dark: #1a1a1a;
  --gray-light: #f8f9fa;
}

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

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #000000;
}
.light-theme body {
  background: #eef4f9;
}
body {
  line-height: 1.6;
  overflow-x: hidden;
  color: #cccccc;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme {
  color: #2f3f4b;
  background: #000000;
}
.light-theme body.light-theme {
  background: #eef4f9;
}

h1, h2, h3, h4, h5, h6 {
  color: #cccccc;
}
.light-theme h1, .light-theme h2, .light-theme h3, .light-theme h4, .light-theme h5, .light-theme h6 {
  color: #2f3f4b;
}

.card-icon i.fas, .playlist-icon i.fas {
  color: #fff;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/montserrat-300.woff") format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/montserrat-400.woff") format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/montserrat-600.woff") format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/montserrat-700.woff") format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/montserrat-800.woff") format("woff");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/playfair-400.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/playfair-700.woff2") format("woff2");
}
/* Стили для кнопки поиска в навигации */
.btn-search {
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #e53935;
  position: relative;
}
.btn-search svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}
.btn-search:hover {
  color: #ff5252;
  transform: scale(1.05);
}
.btn-search:hover svg {
  transform: scale(1.1);
}
.btn-search:active {
  transform: scale(0.95);
}
.btn-search.active {
  color: #c62828;
}
.btn-search.active::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: #c62828;
  border-radius: 50%;
}

/* Темная тема - дополнительные эффекты */
:not(.light-theme) .btn-search:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Светлая тема - дополнительные эффекты */
.light-theme .btn-search:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Модальное окно поиска */
#searchModal .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1a1a;
}
.light-theme #searchModal .modal-content {
  background: #ffffff;
}
#searchModal .modal-content .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}
#searchModal .modal-content .modal-header .btn-close {
  transition: opacity 0.3s ease;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}
#searchModal .modal-content .modal-header .btn-close:hover {
  opacity: 1;
}
#searchModal .modal-content .modal-title {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}
.light-theme #searchModal .modal-content .modal-title {
  color: #121820;
}

/* Светлая тема модалки */
.light-theme #searchModal .modal-content {
  border: 1px solid #bfc9d3;
}
.light-theme #searchModal .modal-content .modal-header .btn-close {
  filter: none;
}

/* Поле поиска в модалке */
.search-input {
  border: 2px solid;
  background: transparent;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: 100%;
  color: #ffffff !important;
}
.light-theme .search-input {
  color: #121820 !important;
}
.search-input {
  border-color: rgba(255, 255, 255, 0.2) !important !important;
}
.light-theme .search-input {
  border-color: #c7d0da !important;
}
.search-input {
  background: rgba(0, 0, 0, 0.3) !important !important;
}
.light-theme .search-input {
  background: #ffffff !important;
}
.search-input:focus {
  outline: none;
  border-color: #e53935;
}
.light-theme .search-input:focus {
  border-color: #e53935;
}
.search-input:focus {
  background: rgba(0, 0, 0, 0.5) !important;
}
.light-theme .search-input:focus {
  background: #ffffff;
}
.search-input:focus {
  box-shadow: 0 0 0 3px;
  box-shadow-color: rgba(229, 57, 53, 0.2) !important;
}
.light-theme .search-input:focus {
  box-shadow-color: rgba(229, 57, 53, 0.18) !important;
}
.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.light-theme .search-input::placeholder {
  color: #6f7b88;
}

/* Кнопка поиска в модалке */
.btn-search-modal {
  border: 2px solid;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 10px;
  color: #e53935;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.light-theme .btn-search-modal {
  border-color: #c7d0da;
}
.btn-search-modal {
  background: rgba(0, 0, 0, 0.3) !important;
}
.light-theme .btn-search-modal {
  background: #ffffff;
}
.btn-search-modal svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.btn-search-modal:hover {
  color: #ffffff;
  background: #e53935;
  border-color: #e53935;
  transform: scale(1.05);
}
.btn-search-modal:active {
  transform: scale(0.95);
}

/* Быстрые ссылки в модалке */
.quick-links {
  margin-top: 2.5rem;
}
.quick-links h6 {
  margin-bottom: 1rem;
  color: #cccccc;
}
.light-theme .quick-links h6 {
  color: #2f3f4b;
}
.quick-links .btn-outline-primary {
  border: 2px solid;
  border-radius: 50px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  font-weight: 500;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.light-theme .quick-links .btn-outline-primary {
  border-color: #c7d0da;
}
.quick-links .btn-outline-primary {
  color: #cccccc;
}
.light-theme .quick-links .btn-outline-primary {
  color: #2f3f4b;
}
.quick-links .btn-outline-primary {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .quick-links .btn-outline-primary {
  background: #fafaf8;
}
.quick-links .btn-outline-primary:hover {
  border-color: #e53935;
  color: #e53935;
  background: rgba(255, 255, 255, 0.08);
}
.light-theme .quick-links .btn-outline-primary:hover {
  background: #f2f6fb;
}
.quick-links .btn-outline-primary:hover {
  transform: translateY(-2px);
}

/* Подсказки поиска */
.search-hints {
  margin-top: 1rem;
}
.search-hints small {
  color: #999999;
}
.light-theme .search-hints small {
  color: #617388;
}
.search-hints a {
  transition: all 0.3s ease;
  margin: 0 5px;
  text-decoration: underline;
  color: #ff5252;
}
.search-hints a:hover {
  text-decoration: none;
  color: #e53935;
}

/* Адаптивность */
@media (max-width: 768px) {
  .btn-search {
    width: 40px;
    height: 40px;
  }
  .btn-search svg {
    width: 18px;
    height: 18px;
  }
  #searchModal .modal-dialog {
    margin: 10px;
  }
  #searchModal .search-input {
    font-size: 1rem;
    padding: 12px 20px;
  }
  #searchModal .btn-search-modal {
    width: 50px;
    height: 50px;
  }
  #searchModal .btn-search-modal svg {
    width: 20px;
    height: 20px;
  }
  #searchModal .modal-title {
    font-size: 1.5rem;
  }
  #searchModal .quick-links .btn-outline-primary {
    padding: 6px 16px;
    font-size: 0.875rem;
  }
}
/* Анимация появления модалки */
@keyframes searchModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
#searchModal .modal-dialog {
  animation: searchModalFadeIn 0.3s ease-out;
}

/* Миксанимация для иконки поиска */
@keyframes searchIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.btn-search:focus {
  animation: searchIconPulse 0.6s ease;
}

/* Для фокуса на поле поиска при открытии модалки */
.search-input:focus-visible {
  outline: none;
}

/* Дополнительные улучшения для контейнера поиска */
.search-form {
  position: relative;
}
.search-form .input-group {
  position: relative;
}

/* Для лучшей видимости в светлой теме */
.light-theme .search-input::placeholder {
  opacity: 0.7;
}

/* Для лучшей видимости в темной теме */
:not(.light-theme) .search-input::placeholder {
  opacity: 0.6;
}

.navbar {
  background: rgba(0, 0, 0, 0.5);
}
.light-theme .navbar {
  background: rgba(255, 255, 255, 0.97);
}
.navbar {
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #e53935;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.navbar.navbar-dark {
  background: rgba(0, 0, 0, 0.5);
}
.light-theme .navbar.navbar-dark {
  background: rgba(255, 255, 255, 0.97);
}
.navbar.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
}
.light-theme .navbar.navbar-dark .navbar-nav .nav-link {
  color: #121820;
}
.navbar.navbar-dark .navbar-nav .nav-link:hover, .navbar.navbar-dark .navbar-nav .nav-link:focus, .navbar.navbar-dark .navbar-nav .nav-link.active {
  color: #ffffff;
}
.light-theme .navbar.navbar-dark .navbar-nav .nav-link:hover, .light-theme .navbar.navbar-dark .navbar-nav .nav-link:focus, .light-theme .navbar.navbar-dark .navbar-nav .nav-link.active {
  color: #121820;
}
.navbar.navbar-dark .navbar-nav .nav-link:hover, .navbar.navbar-dark .navbar-nav .nav-link:focus, .navbar.navbar-dark .navbar-nav .nav-link.active {
  background: #e53935;
}
.navbar.navbar-dark .navbar-toggler {
  border-color: #ffffff;
}
.light-theme .navbar.navbar-dark .navbar-toggler {
  border-color: #121820;
}
.navbar.navbar-dark .navbar-toggler {
  color: #ffffff;
}
.light-theme .navbar.navbar-dark .navbar-toggler {
  color: #121820;
}
.navbar.navbar-dark .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.25);
}
.light-theme .navbar.navbar-dark .navbar-toggler {
  border-color: #334155 !important;
  color: #334155 !important;
}
.light-theme .navbar.navbar-dark .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23334155' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar.navbar-dark .light-theme .navbar.navbar-dark .navbar-toggler {
  border-color: #334155 !important;
}
.navbar.navbar-dark .light-theme .navbar.navbar-dark .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23334155' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
@media (max-width: 768px) {
  .navbar {
    background: rgba(0, 0, 0, 0.95) !important;
  }
  .light-theme .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
  }
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.8rem;
  color: #ffffff;
}
.light-theme .navbar-brand {
  color: #121820;
}
.navbar-brand {
  text-transform: uppercase;
  letter-spacing: 3px;
}
.navbar-brand span {
  color: #e53935;
}

.nav-link {
  color: #ffffff;
}
.light-theme .nav-link {
  color: #121820;
}
.nav-link {
  font-weight: 600;
  margin: 0 0.5rem;
  padding: 0.5rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  background: #e53935;
  color: #ffffff !important;
  transform: translateY(-2px);
}
.nav-link::after {
  border-top: 0.5em solid #e53935;
  border-right: 0.5em solid transparent;
  border-bottom: 0;
  border-left: 0.5em solid transparent;
}

.navbar-nav .dropdown:hover > .dropdown-menu,
.navbar-nav .dropend:hover > .dropdown-menu {
  display: block;
}

.dropend > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -10px;
  margin-left: 0;
}

.dropdown-toggle::after {
  margin-left: 10px;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  background: #1a1a1a;
}
.light-theme .dropdown-menu {
  background: #ffffff;
}
.dropdown-menu {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .dropdown-menu {
  border: #bfc9d3;
}

.dropdown-item {
  padding: 8px 20px;
  color: #ffffff;
}
.light-theme .dropdown-item {
  color: #121820;
}
.dropdown-item {
  transition: all 0.3s ease;
}
.dropdown-item:hover {
  background-color: rgba(229, 57, 53, 0.1);
  color: #e53935;
  padding-left: 25px;
}

.dropdown-divider {
  margin: 8px 0;
  border-color: rgba(248, 246, 246, 0.5);
}
.light-theme .dropdown-divider {
  border-color: #bfc9d3;
}

.header-logo-container {
  position: relative;
}

.romantiki-circus-logo {
  max-width: 200px;
}

.header-logo-container .logo-text {
  color: #d2b685 !important;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: auto;
}

.light-theme .navbar.navbar-dark {
  background: rgba(255, 255, 255, 0.95) !important;
}
.light-theme .navbar.navbar-dark .navbar-nav .nav-link {
  color: #000000;
}
.light-theme .navbar.navbar-dark .navbar-nav .nav-link:hover, .light-theme .navbar.navbar-dark .navbar-nav .nav-link:focus, .light-theme .navbar.navbar-dark .navbar-nav .nav-link.active {
  color: #ffffff;
}

.theme-switcher-container {
  position: absolute;
  top: 8%;
  right: 1rem;
  z-index: 1000;
}
@media (max-width: 576px) {
  .theme-switcher-container {
    top: 8px;
  }
}

.theme-switcher {
  position: relative;
}
.theme-switcher-checkbox {
  display: none;
}
.theme-switcher-checkbox:checked + .theme-switcher-label {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.theme-switcher-checkbox:checked + .theme-switcher-label .theme-switcher-ball {
  transform: translateX(31px);
  background: #ffffff;
}
.theme-switcher-checkbox:checked + .theme-switcher-label .theme-switcher-moon {
  opacity: 0;
  transform: rotate(90deg);
}
.theme-switcher-checkbox:checked + .theme-switcher-label .theme-switcher-sun {
  opacity: 1;
  transform: rotate(0);
}
.theme-switcher-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 60px;
  height: 30px;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  border-radius: 50px;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.theme-switcher-label:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.light-theme .theme-switcher-label {
  background: linear-gradient(135deg, #cbd5e0 0%, #e2e8f0 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.theme-switcher-moon, .theme-switcher-sun {
  font-size: 14px;
  transition: all 0.3s ease;
  z-index: 1;
}
.theme-switcher-moon {
  opacity: 1;
  transform: rotate(0);
}
.theme-switcher-sun {
  opacity: 0;
  transform: rotate(-90deg);
}
.theme-switcher-ball {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}
.light-theme .hero {
  background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
}
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(229, 57, 53, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(229, 57, 53, 0.05) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: #e53935;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: #ffffff;
}
.light-theme .hero-title {
  color: #121820;
}
.hero-title span {
  color: #e53935;
  position: relative;
}
.hero-title span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: #e53935;
  opacity: 0.3;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #cccccc;
}
.light-theme .hero-subtitle {
  color: #2f3f4b;
}
.hero-subtitle {
  margin-bottom: 3rem;
  max-width: 600px;
}

.btn-hero {
  background: #e53935;
  color: #ffffff;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.btn-hero:hover::before {
  left: 100%;
}
.btn-hero:hover {
  background: #c62828;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(229, 57, 53, 0.4);
}

.btn-outline-hero {
  background: transparent;
  color: #ffffff;
}
.light-theme .btn-outline-hero {
  color: #121820;
}
.btn-outline-hero {
  padding: 1rem 2.5rem;
  border: 2px solid #e53935;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.btn-outline-hero:hover {
  background: #e53935;
  color: #ffffff;
  transform: translateY(-3px);
}

.hero-circle {
  z-index: -1;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-logo {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-width: 100%;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero {
    min-height: 65vh;
  }
}
@media (max-width: 575px) {
  .hero-title {
    font-size: 2.5rem;
  }
}
.playlist-container {
  background: rgba(255, 255, 255, 0.11);
}
.light-theme .playlist-container {
  background: #ffffff;
}
.playlist-container {
  border-radius: 20px;
  padding: 1.5rem;
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .playlist-container {
  border: #bfc9d3;
}

.playlist-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.playlist-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .playlist-item {
  background: rgba(0, 0, 0, 0.05);
}
.playlist-item {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .playlist-item {
  border: #bfc9d3;
}
.playlist-item {
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 5px;
}
.playlist-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #e53935;
  transition: width 0.3s ease;
}
.playlist-item:hover::before, .playlist-item.active::before {
  width: 4px;
}
.playlist-item:hover, .playlist-item.active {
  background: rgba(229, 57, 53, 0.1);
  border-color: #e53935;
  border: 1px solid #e53935;
  transform: translateX(5px);
}
.playlist-item.active {
  background: rgba(229, 57, 53, 0.15);
}

.playlist-icon {
  width: 40px;
  height: 40px;
  background: #e53935;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.playlist-title {
  font-weight: 700;
  color: #ffffff;
}
.light-theme .playlist-title {
  color: #121820;
}
.playlist-title {
  margin-bottom: 0.2rem;
  line-height: 120%;
}

.playlist-count {
  font-size: 0.8rem;
  color: #cccccc;
}
.light-theme .playlist-count {
  color: #2f3f4b;
}

.playlist-content {
  min-height: 400px;
}

.playlist-pane {
  display: none;
}
.playlist-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.playlist-header {
  border-bottom: 2px solid #e53935;
  padding-bottom: 1rem;
}

.playlist-pane-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}
.light-theme .playlist-pane-title {
  color: #121820;
}
.playlist-pane-title {
  margin-bottom: 0.5rem;
}

.playlist-pane-subtitle {
  color: #cccccc;
}
.light-theme .playlist-pane-subtitle {
  color: #2f3f4b;
}
.playlist-pane-subtitle {
  font-size: 1rem;
  line-height: 120%;
}

.playlist-select-container {
  position: relative;
  margin-bottom: 1rem;
  display: none;
}

.playlist-select-header {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .playlist-select-header {
  background: #fafaf8;
}
.playlist-select-header {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .playlist-select-header {
  border: #bfc9d3;
}
.playlist-select-header {
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.playlist-select-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #e53935;
  transition: width 0.3s ease;
}
.playlist-select-header:hover {
  background: rgba(229, 57, 53, 0.1);
  border-color: #e53935;
}

.playlist-select-current {
  flex: 1;
  display: flex;
  align-items: center;
}

.playlist-select-icon {
  margin-left: 10px;
  color: #e53935;
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.playlist-select-container.open .playlist-select-icon {
  transform: rotate(180deg);
}

.playlist-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .playlist-select-dropdown {
  background: #fafaf8;
}
.playlist-select-dropdown {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .playlist-select-dropdown {
  border: #bfc9d3;
}
.playlist-select-dropdown {
  border-radius: 15px;
  margin-top: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  backdrop-filter: blur(10px);
}

.playlist-select-container.open .playlist-select-dropdown {
  display: block;
  animation: fadeIn 0.3s ease;
}

.playlist-select-option {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e53935;
  position: relative;
  overflow: hidden;
}
.playlist-select-option:last-child {
  border-bottom: none;
}
.playlist-select-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #e53935;
  transition: width 0.3s ease;
}
.playlist-select-option:hover::before {
  width: 4px;
}
.playlist-select-option:hover {
  background: rgba(229, 57, 53, 0.1);
  transform: translateX(5px);
}

.playlist-select-option .playlist-icon,
.playlist-select-current .playlist-icon {
  width: 28px;
  height: 28px;
  background: #e53935;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.playlist-select-option .playlist-title,
.playlist-select-current .playlist-title {
  font-weight: 700;
  color: #ffffff;
}
.light-theme .playlist-select-option .playlist-title,
.light-theme .playlist-select-current .playlist-title {
  color: #121820;
}
.playlist-select-option .playlist-title,
.playlist-select-current .playlist-title {
  margin-bottom: 0.2rem;
}
.playlist-select-option .playlist-count,
.playlist-select-current .playlist-count {
  font-size: 0.8rem;
  color: #cccccc;
}
.light-theme .playlist-select-option .playlist-count,
.light-theme .playlist-select-current .playlist-count {
  color: #2f3f4b;
}
.playlist-select-option .playlist-info,
.playlist-select-current .playlist-info {
  flex: 1;
}

@media (max-width: 991.98px) {
  .playlist-select-container {
    display: block;
  }
  .playlist-nav {
    display: none !important;
  }
  .playlist-container {
    padding: 1.5rem;
  }
}
.playlist-select {
  display: none !important;
}

.video-card-custom {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .video-card-custom {
  background: rgba(0, 0, 0, 0.05);
}
.video-card-custom {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .video-card-custom {
  border: #bfc9d3;
}
.video-card-custom {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}
.video-card-custom:hover {
  transform: translateY(-5px);
  border-color: #e53935;
  box-shadow: 0 10px 30px rgba(229, 57, 53, 0.2);
}

.video-thumb-container {
  position: relative;
}
.video-thumb-container iframe {
  border-radius: 15px 15px 0 0;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

.video-info {
  padding: 1.5rem;
}

.video-title {
  font-weight: 700;
  color: #ffffff;
}
.light-theme .video-title {
  color: #121820;
}
.video-title {
  margin-bottom: 0.5rem;
  line-height: 1.3;
  font-size: 1rem;
}

.video-author {
  color: #e53935;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #cccccc;
}
.light-theme .video-meta {
  color: #2f3f4b;
}

.video-date,
.video-views {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.playlist-scroll {
  min-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 12px;
}
.playlist-scroll::-webkit-scrollbar {
  width: 12px;
}
.playlist-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 4px 0;
}
.light-theme .playlist-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
.playlist-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #e53935, #ff3333);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.playlist-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #d40000, #ff1a1a);
  background-clip: content-box;
}
.playlist-scroll::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #b30000, #e60000);
  background-clip: content-box;
}

@media (max-width: 992px) {
  .playlist-scroll {
    max-height: 65dvh;
  }
}
@supports (scrollbar-color: red transparent) {
  .playlist-scroll {
    scrollbar-width: thin;
    scrollbar-color: #e53935 rgba(0, 0, 0, 0.1);
  }
}
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-modal.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.video-modal-content {
  background: #1a1a1a;
}
.light-theme .video-modal-content {
  background: #ffffff;
}
.video-modal-content {
  border: 3px solid #e53935;
  border-radius: 12px;
  width: 95%;
  max-width: 1200px;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(229, 57, 53, 0.3);
  animation: videoModalAppear 0.3s ease-out;
  overflow-y: auto;
  /* Кастомный скроллбар */
}
.video-modal-content::-webkit-scrollbar {
  width: 12px;
}
.video-modal-content::-webkit-scrollbar-track {
  background: rgba(229, 57, 53, 0.1);
  border-radius: 0 8px 8px 0;
}
.video-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #e53935, #c62828);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.video-modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #c62828, #c62828, 10%);
}
.video-modal-content::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #c62828, 10%, #c62828, 15%);
}
.video-modal-content {
  /* Для Firefox */
  scrollbar-width: thin;
  scrollbar-color: #e53935 rgba(229, 57, 53, 0.1);
}

/* Для старых браузеров - fallback */
.video-modal-content {
  scrollbar-face-color: #e53935;
  scrollbar-track-color: rgba(229, 57, 53, 0.1);
  scrollbar-arrow-color: #e53935;
  scrollbar-shadow-color: #c62828;
}

@keyframes videoModalAppear {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.video-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: rgba(248, 246, 246, 0.5);
}
.light-theme .video-modal-header {
  border-bottom: #bfc9d3;
}
.video-modal-header {
  background: rgba(0, 0, 0, 0.8);
}
.light-theme .video-modal-header {
  background: #f6f9fc;
}

.video-modal-title {
  color: #ffffff;
}
.light-theme .video-modal-title {
  color: #121820;
}
.video-modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.video-modal-close {
  background: #e53935;
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}
.video-modal-close:hover {
  background: #ff3333;
  transform: rotate(90deg);
}

.video-modal-body {
  flex: 1;
  padding: 0;
  position: relative;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-footer {
  padding: 20px 30px;
  border-top: rgba(248, 246, 246, 0.5);
}
.light-theme .video-modal-footer {
  border-top: #bfc9d3;
}
.video-modal-footer {
  background: #1a1a1a;
}
.light-theme .video-modal-footer {
  background: #ffffff;
}

.video-info .video-author {
  color: #ffffff;
}
.light-theme .video-info .video-author {
  color: #121820;
}
.video-info .video-author {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.video-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.video-meta span {
  color: #cccccc;
}
.light-theme .video-meta span {
  color: #2f3f4b;
}
.video-meta span {
  font-size: 0.9rem;
}
.video-meta .video-duration {
  color: #e53935;
  font-weight: 600;
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 98%;
    margin: 10px;
    max-height: 95vh;
  }
  .video-modal-header {
    padding: 15px 20px;
  }
  .video-modal-title {
    font-size: 1.2rem;
  }
  .video-modal-footer {
    padding: 10px;
  }
  .video-meta {
    gap: 10px;
  }
}
.video-card-custom {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.video-card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(229, 57, 53, 0.2);
}

.video-thumb-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.video-thumb-container .ratio {
  position: relative;
}

.video-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px 15px 0 0;
  cursor: pointer;
}

.video-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.video-card-custom:hover .video-thumb-overlay {
  opacity: 1;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: #e53935;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(229, 57, 53, 0.3);
  cursor: pointer;
}

.video-card-custom:hover .video-play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-custom .ratio iframe {
  display: none !important;
}

a.playlists-link {
  color: #ffffff;
}
.light-theme a.playlists-link {
  color: #121820;
}

.coach-card {
  padding: 0 !important;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border-color: rgba(248, 246, 246, 0.5);
}
.light-theme .coach-card {
  border-color: #bfc9d3;
}
.coach-card {
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.05);
}
.light-theme .coach-card {
  background-color: #fafaf8;
}
.coach-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.08);
}
.light-theme .coach-card:hover {
  background-color: #f2f6fb;
}

.coach-image-wrapper {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.coach-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.coach-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.coach-card:hover .coach-image {
  transform: scale(1.1);
}

.coach-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.coach-card:hover .coach-overlay {
  opacity: 1;
}

.coach-quote {
  color: #ffffff;
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
  line-height: 1.4;
}

.coach-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e53935;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  font-weight: 500;
}
.light-theme .coach-badge {
  background: #c62828;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.2);
}

.coach-content {
  padding: 25px;
}

.coach-name {
  color: #ffffff;
}
.light-theme .coach-name {
  color: #121820;
}
.coach-name {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.coach-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.coach-experience,
.coach-specialty {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #cccccc;
}
.light-theme .coach-experience,
.light-theme .coach-specialty {
  color: #2f3f4b;
}

.coach-experience i,
.coach-specialty i {
  color: #e53935;
}
.light-theme .coach-experience i,
.light-theme .coach-specialty i {
  color: #c62828;
}

.coach-description {
  color: #cccccc;
}
.light-theme .coach-description {
  color: #2f3f4b;
}
.coach-description {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.coach-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.skill-tag {
  background-color: rgba(255, 255, 255, 0.05);
}
.light-theme .skill-tag {
  background-color: #fafaf8;
}
.skill-tag {
  color: #ffffff;
}
.light-theme .skill-tag {
  color: #121820;
}
.skill-tag {
  border-color: rgba(248, 246, 246, 0.5);
}
.light-theme .skill-tag {
  border-color: #bfc9d3;
}
.skill-tag {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}
.skill-tag:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.light-theme .skill-tag:hover {
  background-color: #f2f6fb;
}
.skill-tag:hover {
  transform: translateY(-2px);
}
.light-theme .skill-tag {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.coach-achievements {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
}
.coach-achievements {
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 10px;
}

.achievement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #cccccc;
}
.light-theme .achievement {
  color: #2f3f4b;
}
.achievement i {
  color: #e53935;
}
.light-theme .achievement i {
  color: #c62828;
}
.achievement span {
  font-weight: 500;
  color: #ffffff;
}
.light-theme .achievement span {
  color: #121820;
}

#coaches {
  background-color: #000000;
}
.light-theme #coaches {
  background-color: #eef4f9;
}
#coaches {
  position: relative;
  overflow: hidden;
}
#coaches .section-title {
  color: #ffffff;
}
.light-theme #coaches .section-title {
  color: #121820;
}
#coaches .section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
@media (max-width: 768px) {
  #coaches .section-title {
    font-size: 2rem;
  }
}
#coaches .section-subtitle {
  color: #cccccc;
}
.light-theme #coaches .section-subtitle {
  color: #2f3f4b;
}
#coaches .section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.row.g-4.justify-content-center {
  margin-top: 2rem;
}
.row.g-4.justify-content-center .col-md-6.col-lg-4 {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .coach-image-wrapper {
    height: 300px;
  }
  .coach-content {
    padding: 20px;
  }
  .coach-name {
    font-size: 1.3rem;
  }
  .coach-description {
    font-size: 0.9rem;
  }
  #coaches .section-title {
    font-size: 2rem;
  }
  #coaches .section-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }
}
@media (max-width: 576px) {
  .coach-image-wrapper {
    height: 300px;
  }
  .coach-meta {
    flex-direction: column;
    gap: 8px;
  }
  .coach-achievements {
    flex-direction: column;
    gap: 15px;
  }
  .coach-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .coach-skills {
    gap: 6px;
  }
  .skill-tag {
    font-size: 0.8rem;
    padding: 4px 10px;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.coach-card {
  animation: fadeInUp 0.6s ease forwards;
}
.coach-card:nth-child(1) {
  animation-delay: 0.2s;
}
.coach-card:nth-child(2) {
  animation-delay: 0.3s;
}
.coach-card:nth-child(3) {
  animation-delay: 0.4s;
}
.coach-card:nth-child(4) {
  animation-delay: 0.5s;
}
.coach-card:nth-child(5) {
  animation-delay: 0.6s;
}
.coach-card:nth-child(6) {
  animation-delay: 0.7s;
}
.coach-card:nth-child(7) {
  animation-delay: 0.8s;
}
.coach-card:nth-child(8) {
  animation-delay: 0.9s;
}
.coach-card:nth-child(9) {
  animation-delay: 1s;
}
.coach-card:nth-child(10) {
  animation-delay: 1.1s;
}
.coach-card:nth-child(11) {
  animation-delay: 1.2s;
}
.coach-card:nth-child(12) {
  animation-delay: 1.3s;
}

.coach-badge[data-role=main] {
  background: linear-gradient(135deg, #d2b685 0%, rgb(189.3862275449, 148.5598802395, 77.1137724551) 100%);
}
.light-theme .coach-badge[data-role=main] {
  background: linear-gradient(135deg, #d2b685 0%, rgb(176.0598802395, 135.6526946108, 64.9401197605) 100%);
}
.coach-badge[data-role=choreographer] {
  background: linear-gradient(135deg, #2196F3 0%, rgb(10.2307692308, 109.9807692308, 189.2692307692) 100%);
}
.light-theme .coach-badge[data-role=choreographer] {
  background: linear-gradient(135deg, #2196F3 0%, rgb(8.9230769231, 95.9230769231, 165.0769230769) 100%);
}
.coach-badge[data-role=art-director] {
  background: linear-gradient(135deg, #8B5CF6 0%, rgb(87.4069767442, 19.5029069767, 241.9970930233) 100%);
}
.light-theme .coach-badge[data-role=art-director] {
  background: linear-gradient(135deg, #8B5CF6 0%, rgb(76.8372093023, 12.3488372093, 223.6511627907) 100%);
}

.coach-card {
  position: relative;
}
.coach-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.3);
}
.light-theme .coach-card::after {
  box-shadow: rgba(0, 0, 0, 0.09);
}
.coach-card::after {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
  pointer-events: none;
  z-index: -1;
}
.coach-card:hover::after {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.light-theme .coach-card:hover::after {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.gallery-nav-btn {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .gallery-nav-btn {
  background: rgba(241, 239, 239, 0.97);
}
.gallery-nav-btn {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .gallery-nav-btn {
  border: #bfc9d3;
}
.gallery-nav-btn {
  color: #cccccc;
}
.light-theme .gallery-nav-btn {
  color: #2f3f4b;
}
.gallery-nav-btn {
  padding: 0.5rem 0.8rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.gallery-nav-btn:hover, .gallery-nav-btn.active {
  background: #e53935;
  color: #ffffff;
  border-color: #e53935;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.gallery-select-container {
  position: relative;
  margin-bottom: 2rem;
  display: none;
}

.gallery-select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .gallery-select-header {
  background: #fafaf8;
}
.gallery-select-header {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .gallery-select-header {
  border: #bfc9d3;
}
.gallery-select-header {
  color: #cccccc;
}
.light-theme .gallery-select-header {
  color: #2f3f4b;
}
.gallery-select-header {
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.gallery-select-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #e53935;
  transition: width 0.3s ease;
}
.gallery-select-header:hover {
  background: rgba(229, 57, 53, 0.1);
  border-color: #e53935;
}

.gallery-select-current {
  display: flex;
  align-items: center;
  flex: 1;
}

.gallery-select-icon {
  margin-left: 10px;
  color: #e53935;
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.gallery-select-container.open .gallery-select-icon {
  transform: rotate(180deg);
}

.gallery-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .gallery-select-dropdown {
  background: #fafaf8;
}
.gallery-select-dropdown {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .gallery-select-dropdown {
  border: #bfc9d3;
}
.gallery-select-dropdown {
  border-radius: 15px;
  margin-top: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  backdrop-filter: blur(10px);
}

.gallery-select-container.open .gallery-select-dropdown {
  display: block;
  animation: fadeIn 0.3s ease;
}

.gallery-select-option {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: rgba(248, 246, 246, 0.5);
}
.light-theme .gallery-select-option {
  border-bottom: #bfc9d3;
}
.gallery-select-option {
  color: #cccccc;
}
.light-theme .gallery-select-option {
  color: #2f3f4b;
}
.gallery-select-option {
  font-weight: 600;
}
.gallery-select-option:last-child {
  border-bottom: none;
}
.gallery-select-option:hover {
  background: rgba(229, 57, 53, 0.1);
  color: #ffffff;
}
.light-theme .gallery-select-option:hover {
  color: #121820;
}
.gallery-select-option.active {
  background: #e53935;
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
  justify-content: center;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gallery-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .gallery-card {
  background: #fafaf8;
}
.gallery-card {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .gallery-card {
  border: #bfc9d3;
}
.gallery-card {
  transition: all 0.3s ease;
}
.gallery-card:hover {
  transform: translateY(-10px);
  border-color: #e53935;
  box-shadow: 0 20px 40px rgba(229, 57, 53, 0.2);
}

.gallery-img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
}
.light-theme .gallery-overlay {
  background: linear-gradient(to bottom, transparent 40%, rgba(255, 255, 255, 0.95) 100%);
}
.gallery-overlay {
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  width: 100%;
}

.gallery-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.gallery-badge.training {
  background: #e53935;
  color: #ffffff;
}
.gallery-badge.performance {
  background: #ffd700;
  color: #000000;
}
.gallery-badge.events {
  background: #00bcd4;
  color: #ffffff;
}
.gallery-badge.anonsy {
  background: #2196F3;
  color: #ffffff;
}
.gallery-badge.novosti {
  background: #ffffff;
  color: #e53935;
}
.gallery-badge.vystupleniya {
  background: #8B5CF6;
  color: #ffffff;
}
.gallery-badge.dostizheniya {
  background: #FF9800;
  color: #ffffff;
}
.gallery-badge.sobytiya {
  background: #14B8A6;
  color: #ffffff;
}
.gallery-badge.trenirovki {
  background: #e53935;
  color: #ffffff;
}
.gallery-badge.stars {
  background: rgb(255, 215, 0);
  color: #e53935;
}

.gallery-title {
  font-weight: 700;
  color: #ffffff;
}
.light-theme .gallery-title {
  color: #121820;
}
.gallery-title {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.gallery-desc {
  color: #cccccc;
}
.light-theme .gallery-desc {
  color: #2f3f4b;
}
.gallery-desc {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.gallery-actions {
  display: flex;
  gap: 0.5rem;
}

.gallery-action-btn {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-action-btn:hover {
  background: #e53935;
  transform: scale(1.1);
}

.gallery-modal {
  display: none;
  position: fixed;
  top: 55px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.gallery-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  background: #1a1a1a;
}
.light-theme .modal-content {
  background: #ffffff;
}
.modal-content {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #e53935;
  width: 100%;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
.modal-close:hover {
  background: #e53935;
  transform: rotate(90deg);
}

.modal-image-container {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.modal-info {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.8);
}
.light-theme .modal-info {
  background: rgba(255, 255, 255, 0.9);
}

.modal-title {
  color: #ffffff;
}
.light-theme .modal-title {
  color: #121820;
}
.modal-title {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.modal-desc {
  color: #cccccc;
}
.light-theme .modal-desc {
  color: #2f3f4b;
}
.modal-desc {
  margin: 0;
}

.modal-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 5;
}

.modal-nav-btn {
  width: 50px;
  height: 50px;
  background: rgba(229, 57, 53, 0.8);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-nav-btn:hover {
  background: #e53935;
  transform: scale(1.1);
}
.modal-nav-btn:disabled {
  background: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  transform: scale(1);
}

.modal-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .gallery-select-container {
    display: block;
  }
  .gallery-nav {
    display: flex !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding: 0 0.5rem;
  }
}
@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-select-header {
    padding: 0.7rem 1.2rem;
  }
  .gallery-select-option {
    padding: 0.7rem 1.2rem;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gallery-scroll {
  min-width: 100%;
  max-height: 80dvh;
  overflow-y: auto;
  padding-right: 12px;
}
.gallery-scroll::-webkit-scrollbar {
  width: 12px;
}
.gallery-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 4px 0;
}
.light-theme .gallery-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
.gallery-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #e53935, #ff3333);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.gallery-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #d40000, #ff1a1a);
  background-clip: content-box;
}
.gallery-scroll::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #b30000, #e60000);
  background-clip: content-box;
}

@media (max-width: 992px) {
  .gallery-scroll {
    max-height: 65dvh;
  }
}
@supports (scrollbar-color: red transparent) {
  .gallery-scroll {
    scrollbar-width: thin;
    scrollbar-color: #e53935 rgba(0, 0, 0, 0.1);
  }
}
.stars-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.stars-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  padding: 1rem 0;
}

.star-card {
  flex: 0 0 390px;
  border: 1px solid;
  background: rgba(255, 255, 255, 0.11);
}
.light-theme .star-card {
  background: rgba(0, 0, 0, 0.02);
}
.star-card {
  border-color: rgba(255, 255, 255, 0.11);
}
.light-theme .star-card {
  border-color: rgba(0, 0, 0, 0.15);
}
.star-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  min-height: 100%;
}
.star-card:hover:hover {
  background: rgba(255, 255, 255, 0.08);
}
.light-theme .star-card:hover:hover {
  background: #f2f6fb;
}
.star-card:hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.star-image {
  position: relative;
  height: 340px;
  overflow: hidden;
}
.star-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.star-card:hover .star-image img {
  transform: scale(1.1);
}

.star-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
}
.light-theme .star-overlay {
  background: linear-gradient(to bottom, transparent 40%, rgba(255, 255, 255, 0.95) 100%);
}
.star-overlay {
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.star-card:hover .star-overlay {
  opacity: 1;
}

.star-achievements {
  display: flex;
  gap: 1rem;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 57, 53, 0.9);
  padding: 0.5rem;
  border-radius: 20px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 100%;
}
.achievement-item i {
  font-size: 0.8rem;
}

.star-content {
  padding: 1.5rem;
}

.star-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}
.light-theme .star-name {
  color: #121820;
}
.star-name {
  margin-bottom: 0.5rem;
}

.star-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.star-age,
.star-experience {
  color: #e53935;
  font-weight: 600;
  font-size: 0.9rem;
}

.star-description {
  color: #cccccc;
}
.light-theme .star-description {
  color: #2f3f4b;
}
.star-description {
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.star-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skill-tag {
  background: rgba(229, 57, 53, 0.2);
  color: #e53935;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(229, 57, 53, 0.3);
  text-decoration: none;
}

.star-social {
  display: flex;
  gap: 0.5rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}
.light-theme .social-btn {
  background: rgba(18, 24, 32, 0.06);
}
.social-btn {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .social-btn {
  border: #bfc9d3;
}
.social-btn {
  border-radius: 50%;
  color: #ffffff;
}
.light-theme .social-btn {
  color: #121820;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.social-btn:hover {
  background: #e53935;
  border-color: #e53935;
  transform: scale(1.1);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.carousel-nav .nav-btn {
  width: 50px;
  height: 50px;
  background: #e53935;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-nav .nav-btn:hover {
  background: #c62828;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.carousel-nav .nav-btn.prev {
  margin-left: 0;
}

.carousel-nav .nav-btn.next {
  margin-right: 0;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #e53935;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.indicator.active {
  background: #e53935;
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .stars-carousel {
    padding: 0 1rem;
  }
  .star-card {
    flex: 0 0 320px;
    min-width: 100%;
  }
  .carousel-nav .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .star-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .stars-track {
    gap: 1rem;
  }
}
.stars-track {
  cursor: grab;
}
.stars-track:active {
  cursor: grabbing;
}

.fancybox-toolbar {
  right: 0;
  top: 40px !important;
}

.fancybox-infobar {
  top: 40px !important;
}

.stars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 30px;
}

.star-single-header {
  text-align: center;
  margin-bottom: 3rem;
}
.star-single-title {
  color: #ffffff;
}
.light-theme .star-single-title {
  color: #121820;
}
.star-single-title {
  margin-bottom: 1rem;
  font-weight: 700;
}

.star-meta-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.star-meta-item {
  color: #cccccc;
}
.light-theme .star-meta-item {
  color: #2f3f4b;
}
.star-meta-item {
  font-size: 1.1rem;
}
.star-meta-item i {
  color: #e53935;
}

.star-achievements-header {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.achievement-badge {
  background: rgba(229, 57, 53, 0.1);
  border: 1px solid rgba(229, 57, 53, 0.3);
  color: #e53935;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.achievement-badge.main-achievement {
  background: rgba(229, 57, 53, 0.15);
  border-color: rgba(229, 57, 53, 0.5);
}
.achievement-badge i {
  margin-right: 0.5rem;
}
.achievement-item-detailed {
  color: #cccccc;
}
.light-theme .achievement-item-detailed {
  color: #2f3f4b;
}
.achievement-item-detailed {
  padding: 0.75rem 0;
  border-bottom: 1px solid;
  border-bottom-color: rgba(248, 246, 246, 0.5);
}
.light-theme .achievement-item-detailed {
  border-bottom-color: #bfc9d3;
}
.achievement-item-detailed:last-child {
  border-bottom: none;
}
.achievement-item-detailed i {
  color: #e53935;
}

.star-photo-section {
  position: sticky;
  top: 2rem;
}
.star-photo-main {
  margin-bottom: 2rem;
}
.star-photo-photo {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.star-social-links {
  margin-bottom: 2rem;
}
.star-social-links h5 {
  color: #ffffff;
}
.light-theme .star-social-links h5 {
  color: #121820;
}
.star-social-links h5 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.social-btn-large {
  background: rgba(255, 255, 255, 0.1);
}
.light-theme .social-btn-large {
  background: rgba(18, 24, 32, 0.06);
}
.social-btn-large {
  color: #ffffff;
}
.light-theme .social-btn-large {
  color: #121820;
}
.social-btn-large {
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.7rem;
  transition: all 0.3s ease;
  border: 1px solid;
  border-color: rgba(248, 246, 246, 0.5);
}
.light-theme .social-btn-large {
  border-color: #bfc9d3;
}
.social-btn-large {
  display: inline-flex;
  align-items: center;
}
.social-btn-large:hover {
  background: #e53935;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}
.social-btn-large i {
  margin-right: 0.5rem;
}

.skills-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.skills-grid .skill-tag {
  background: rgba(229, 57, 53, 0.2);
  color: #e53935;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 2px solid rgba(229, 57, 53, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}
.skills-grid .skill-tag:hover {
  transform: translateY(-2px);
  background: rgba(229, 57, 53, 0.3);
  border-color: rgba(229, 57, 53, 0.5);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
}

.star-card-custom {
  background: rgba(255, 255, 255, 0.11);
}
.light-theme .star-card-custom {
  background: rgba(0, 0, 0, 0.02);
}
.star-card-custom {
  border-color: rgba(255, 255, 255, 0.11);
}
.light-theme .star-card-custom {
  border-color: rgba(0, 0, 0, 0.15);
}
.star-card-custom {
  border: 1px solid;
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.star-social-links h1, .star-social-links h2, .star-social-links h3, .star-social-links h4, .star-social-links h5, .star-social-links h6, .star-skills-section h1, .star-skills-section h2, .star-skills-section h3, .star-skills-section h4, .star-skills-section h5, .star-skills-section h6, .star-card-custom h1, .star-card-custom h2, .star-card-custom h3, .star-card-custom h4, .star-card-custom h5, .star-card-custom h6 {
  color: #cccccc;
}
.light-theme .star-social-links h1, .light-theme .star-social-links h2, .light-theme .star-social-links h3, .light-theme .star-social-links h4, .light-theme .star-social-links h5, .light-theme .star-social-links h6, .light-theme .star-skills-section h1, .light-theme .star-skills-section h2, .light-theme .star-skills-section h3, .light-theme .star-skills-section h4, .light-theme .star-skills-section h5, .light-theme .star-skills-section h6, .light-theme .star-card-custom h1, .light-theme .star-card-custom h2, .light-theme .star-card-custom h3, .light-theme .star-card-custom h4, .light-theme .star-card-custom h5, .light-theme .star-card-custom h6 {
  color: #2f3f4b;
}

.star-content-wrapper {
  color: #cccccc;
}
.light-theme .star-content-wrapper {
  color: #2f3f4b;
}
.star-content-wrapper {
  line-height: 1.7;
  font-size: 1.1rem;
}
.star-content-wrapper h2, .star-content-wrapper h3, .star-content-wrapper h4 {
  color: #ffffff;
}
.light-theme .star-content-wrapper h2, .light-theme .star-content-wrapper h3, .light-theme .star-content-wrapper h4 {
  color: #121820;
}
.star-content-wrapper h2, .star-content-wrapper h3, .star-content-wrapper h4 {
  margin: 2rem 0 1rem 0;
}
.star-content-wrapper p {
  margin-bottom: 1.5rem;
}
.star-content-wrapper ul, .star-content-wrapper ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
.star-content-wrapper li {
  margin-bottom: 0.5rem;
}

.star-achievements-detailed .card-custom h4 {
  color: #ffffff;
}
.light-theme .star-achievements-detailed .card-custom h4 {
  color: #121820;
}
.star-achievements-detailed .card-custom h4 {
  font-weight: 600;
}

.achievements-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.star-navigation {
  margin-top: 3rem;
}

.star-nav-link {
  text-decoration: none;
  display: block;
  height: 100%;
}
.star-nav-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.star-nav-link:hover .card-custom {
  background: rgba(255, 255, 255, 0.08);
}
.light-theme .star-nav-link:hover .card-custom {
  background: #f2f6fb;
}
.star-nav-link.prev .card-custom, .star-nav-link.next .card-custom {
  transition: all 0.3s ease;
  height: 100%;
}
.star-nav-info {
  flex: 1;
}
.star-nav-label {
  color: #999999;
}
.light-theme .star-nav-label {
  color: #617388;
}
.star-nav-label {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.star-nav-title {
  color: #ffffff;
}
.light-theme .star-nav-title {
  color: #121820;
}
.star-nav-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.related-stars {
  margin-top: 4rem;
}
.related-stars .section-title {
  color: #ffffff;
}
.light-theme .related-stars .section-title {
  color: #121820;
}
.related-stars .section-title {
  margin-bottom: 2rem;
}

.star-card {
  background: rgba(255, 255, 255, 0.11);
}
.light-theme .star-card {
  background: rgba(0, 0, 0, 0.02);
}
.star-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 100%;
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.11);
}
.light-theme .star-card {
  border-color: rgba(0, 0, 0, 0.15);
}
.star-card:hover {
  background: rgba(255, 255, 255, 0.08);
}
.light-theme .star-card:hover {
  background: #f2f6fb;
}
.star-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.star-card .star-image {
  height: 450px;
  overflow: hidden;
  position: relative;
}
.star-card .star-image .star-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.star-card .star-image .star-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}
.star-card .star-image .star-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
}
.star-card .star-image .star-achievements .achievement-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(229, 57, 53, 0.9);
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
}
.star-card .star-image .star-achievements .achievement-item i {
  font-size: 0.6rem;
}
.star-card:hover .star-img {
  transform: scale(1.05);
}
.star-card .star-content {
  padding: 1.5rem;
}
.star-card .star-content .star-name {
  color: #ffffff;
}
.light-theme .star-card .star-content .star-name {
  color: #121820;
}
.star-card .star-content .star-name {
  margin-bottom: 1rem;
  font-weight: 700;
}
.star-card .star-content .star-name a {
  color: #ffffff;
}
.light-theme .star-card .star-content .star-name a {
  color: #121820;
}
.star-card .star-content .star-name a {
  text-decoration: none;
}
.star-card .star-content .star-name a:hover {
  color: #e53935;
}
.star-card .star-content .star-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.star-card .star-content .star-meta span {
  color: #999999;
}
.light-theme .star-card .star-content .star-meta span {
  color: #617388;
}
.star-card .star-content .star-meta span {
  font-size: 0.9rem;
}
.star-card .star-content .star-excerpt {
  color: #cccccc;
}
.light-theme .star-card .star-content .star-excerpt {
  color: #2f3f4b;
}
.star-card .star-content .star-excerpt {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.star-card .star-content .star-link {
  color: #e53935;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.star-card .star-content .star-link:hover {
  text-decoration: underline;
}
.star-card .star-content .star-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}
.star-card .star-content .star-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 991.98px) {
  .star-main-photo {
    display: flex;
    justify-content: center;
  }
  .star-photo-section {
    position: static;
    margin-bottom: 2rem;
  }
  .star-meta-info {
    gap: 1rem;
  }
  .achievement-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}
@media (max-width: 767.98px) {
  .star-single-header {
    margin-bottom: 2rem;
  }
  .star-single-title {
    font-size: 2rem;
  }
  .star-meta-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .star-achievements-header {
    gap: 0.5rem;
  }
  .skills-grid {
    gap: 0.5rem;
  }
  .social-btn-large {
    padding: 0.5rem;
    font-size: 0.7rem;
  }
  .star-card .star-content {
    padding: 1rem;
  }
  .star-card .star-image .star-achievements .achievement-item {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
}
@media (max-width: 575.98px) {
  .star-single-title {
    font-size: 1.75rem;
  }
  .star-content-wrapper {
    font-size: 1.2rem;
  }
  .achievement-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
  .skill-tag-large {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}
.page-stars .stars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
}

.star-card-small {
  background: rgba(255, 255, 255, 0.11);
}
.light-theme .star-card-small {
  background: rgba(0, 0, 0, 0.02);
}
.star-card-small {
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 100%;
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.11);
}
.light-theme .star-card-small {
  border-color: rgba(0, 0, 0, 0.15);
}
.star-card-small:hover {
  background: rgba(255, 255, 255, 0.08);
}
.light-theme .star-card-small:hover {
  background: #f2f6fb;
}
.star-card-small:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.star-card-small .star-image {
  height: 450px;
  overflow: hidden;
  position: relative;
}
.star-card-small .star-image .star-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.star-card-small .star-image .star-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}
.star-card-small .star-image .star-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
}
.star-card-small .star-image .star-achievements .achievement-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(229, 57, 53, 0.9);
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
}
.star-card-small .star-image .star-achievements .achievement-item i {
  font-size: 0.6rem;
}
.star-card-small:hover .star-img {
  transform: scale(1.05);
}

.premiere-card {
  background: rgba(255, 255, 255, 0.11);
}
.light-theme .premiere-card {
  background: #ffffff;
}
.premiere-card {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .premiere-card {
  border: #bfc9d3;
}
.premiere-card {
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.premiere-card:hover {
  border-color: #e53935;
  box-shadow: 0 20px 40px rgba(229, 57, 53, 0.2);
  transform: translateY(-5px);
}

.premiere-content {
  position: relative;
  z-index: 2;
}

.premiere-badge {
  background: #e53935;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.premiere-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}
.light-theme .premiere-title {
  color: #121820;
}
.premiere-title {
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.premiere-description {
  font-size: 1.1rem;
  color: #cccccc;
}
.light-theme .premiere-description {
  color: #2f3f4b;
}
.premiere-description {
  line-height: 1.6;
  margin-bottom: 2rem;
}

.premiere-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: #e53935;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
}

.feature-text {
  color: #ffffff;
}
.light-theme .feature-text {
  color: #121820;
}
.feature-text {
  font-weight: 600;
}

.premiere-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-premiere-primary {
  background: #e53935;
  color: #ffffff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
.btn-premiere-primary:hover {
  background: #c62828;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(229, 57, 53, 0.3);
}

.btn-premiere-outline {
  background: transparent;
  color: #ffffff;
}
.light-theme .btn-premiere-outline {
  color: #121820;
}
.btn-premiere-outline {
  padding: 1rem 2rem;
  border: 2px solid #e53935;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.btn-premiere-outline:hover {
  background: #e53935;
  color: #ffffff;
  transform: translateY(-2px);
}

.premiere-image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.premiere-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.news-single-hero .premiere-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.premiere-image-container:hover .premiere-image {
  transform: scale(1.05);
}

.premiere-rating {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.rating-badge {
  background: rgba(255, 193, 7, 0.9);
  color: #000000;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.premiere-price {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.price-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.light-theme .price-card {
  background: rgba(0, 0, 0, 0.95);
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: #e53935;
  line-height: 1;
}

.price-label {
  font-size: 0.8rem;
  color: #999999;
}
.light-theme .price-label {
  color: #617388;
}
.price-label {
  margin-top: 0.2rem;
}

.premiere-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-element-1 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.bg-element-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.trailer-modal-content {
  background: #1a1a1a;
}
.light-theme .trailer-modal-content {
  background: #ffffff;
}
.trailer-modal-content {
  border: 2px solid #e53935;
  border-radius: 20px;
  overflow: hidden;
}

.trailer-modal-header {
  background: rgba(0, 0, 0, 0.8);
}
.light-theme .trailer-modal-header {
  background: #f6f9fc;
}
.trailer-modal-header {
  border-bottom: rgba(248, 246, 246, 0.5);
}
.light-theme .trailer-modal-header {
  border-bottom: #bfc9d3;
}
.trailer-modal-header {
  padding: 1.5rem;
}
.trailer-modal-header .modal-title {
  color: #ffffff;
}
.light-theme .trailer-modal-header .modal-title {
  color: #121820;
}
.trailer-modal-header .modal-title {
  font-weight: 700;
  font-size: 1.3rem;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}
.light-theme .btn-close-white {
  filter: none;
}

@media (max-width: 768px) {
  .premiere-card {
    padding: 2rem;
  }
  .premiere-title {
    font-size: 1.2rem;
  }
  .premiere-actions {
    flex-direction: column;
  }
  .btn-premiere-primary,
  .btn-premiere-outline {
    width: 100%;
    justify-content: center;
  }
  .premiere-image {
    height: 300px;
  }
  .premiere-features {
    gap: 0.8rem;
  }
  .feature-item {
    gap: 0.8rem;
  }
  .feature-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}
@media (max-width: 576px) {
  .premiere-card {
    padding: 1.5rem;
  }
  .premiere-title {
    font-size: 1.2rem;
  }
  .premiere-description {
    font-size: 1rem;
  }
  .price-card {
    padding: 0.8rem 1.2rem;
  }
  .price-amount {
    font-size: 1.3rem;
  }
}
.news-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.news-nav-btn {
  background: rgba(255, 255, 255, 0.11);
}
.light-theme .news-nav-btn {
  background: rgba(204, 204, 204, 0.568627451);
}
.news-nav-btn {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .news-nav-btn {
  border: #bfc9d3;
}
.news-nav-btn {
  color: #cccccc;
}
.light-theme .news-nav-btn {
  color: #2f3f4b;
}
.news-nav-btn {
  padding: 0.5rem 0.8rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.news-nav-btn:hover, .news-nav-btn.active {
  background: #e53935;
  color: #ffffff;
  border-color: #e53935;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.news-select-container {
  position: relative;
  margin-bottom: 2rem;
  display: none;
}

.news-select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .news-select-header {
  background: #fafaf8;
}
.news-select-header {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .news-select-header {
  border: #bfc9d3;
}
.news-select-header {
  color: #cccccc;
}
.light-theme .news-select-header {
  color: #2f3f4b;
}
.news-select-header {
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.news-select-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #e53935;
  transition: width 0.3s ease;
}
.news-select-header:hover {
  background: rgba(229, 57, 53, 0.1);
  border-color: #e53935;
}

.news-select-current {
  display: flex;
  align-items: center;
  flex: 1;
}

.news-select-icon {
  margin-left: 10px;
  color: #e53935;
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.news-select-container.open .news-select-icon {
  transform: rotate(180deg);
}

.news-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .news-select-dropdown {
  background: #fafaf8;
}
.news-select-dropdown {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .news-select-dropdown {
  border: #bfc9d3;
}
.news-select-dropdown {
  border-radius: 15px;
  margin-top: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  backdrop-filter: blur(10px);
}

.news-select-container.open .news-select-dropdown {
  display: block;
  animation: fadeIn 0.3s ease;
}

.news-select-option {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: rgba(248, 246, 246, 0.5);
}
.light-theme .news-select-option {
  border-bottom: #bfc9d3;
}
.news-select-option {
  color: #cccccc;
}
.light-theme .news-select-option {
  color: #2f3f4b;
}
.news-select-option {
  font-weight: 600;
}
.news-select-option:last-child {
  border-bottom: none;
}
.news-select-option:hover {
  background: rgba(229, 57, 53, 0.1);
  color: #ffffff;
}
.light-theme .news-select-option:hover {
  color: #121820;
}
.news-select-option.active {
  background: #e53935;
  color: #ffffff;
}

.news-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 2rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: center !important; /* Центрирует колонки */
  align-self: stretch;
  height: 100%;
}

.news-item {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
  display: flex;
  padding: 0;
  border-radius: 25px;
  font-weight: 600;
}
.news-item.hidden {
  opacity: 0;
  transform: translateY(20px);
  position: absolute;
  visibility: hidden;
}

.news-card {
  background: rgba(255, 255, 255, 0.11);
}
.light-theme .news-card {
  background: #ffffff;
}
.news-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  align-self: stretch;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}
.light-theme .news-card:hover {
  background: rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .news-card {
    width: 95vw;
  }
}

.news-img-container {
  position: relative;
  overflow: hidden;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-color: rgba(0, 0, 0, 0.5);
}
.light-theme .news-img-container {
  border-color: rgba(246, 243, 243, 0.71);
}
.light-theme .news-img-container {
  background: rgba(0, 0, 0, 0.08);
}

.news-img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
@media (max-width: 768px) {
  .news-img {
    object-fit: contain;
  }
}

.news-card:hover .news-img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-badge.events {
  background: #4CAF50;
  color: #ffffff;
}
.news-badge.achievements {
  background: #FF9800;
  color: #ffffff;
}
.news-badge.announcements {
  background: #2196F3;
  color: #ffffff;
}
.news-badge.anonsy {
  background: #2196F3;
  color: #ffffff;
}
.news-badge.novosti {
  background: #ffffff;
  color: #e53935;
}
.news-badge.vystupleniya {
  background: #8B5CF6;
  color: #ffffff;
}
.news-badge.dostizheniya {
  background: #FF9800;
  color: #ffffff;
}
.news-badge.sobytiya {
  background: #14B8A6;
  color: #ffffff;
}
.news-badge.trenirovki {
  background: #e53935;
  color: #ffffff;
}

.news-badges-container {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 2;
}
.news-badges-container .news-badge {
  position: static;
  margin: 0;
  transition: transform 0.3s ease;
}

.news-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #cccccc;
}
.light-theme .news-meta {
  color: #2f3f4b;
}

.news-date,
.news-views {
  display: flex;
  align-items: center;
}

.news-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}
.light-theme .news-title {
  color: #121820;
}
.news-title {
  line-height: 120%;
}

.news-excerpt {
  color: #cccccc;
}
.light-theme .news-excerpt {
  color: #2f3f4b;
}
.news-excerpt {
  margin-bottom: 1.5rem;
  line-height: 1.2;
  flex-grow: 1;
}

.news-link {
  color: #e53935;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
}
.news-link:hover {
  color: #ffffff;
}
.light-theme .news-link:hover {
  color: #121820;
}
.news-link:hover {
  transform: translateX(5px);
}

@media (max-width: 991.98px) {
  .news-select-container {
    display: block;
  }
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-select-header {
    padding: 0.7rem 1.2rem;
  }
  .news-select-option {
    padding: 0.7rem 1.2rem;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 991.98px) {
  .nav-tabs {
    display: none !important;
  }
  .news-select-container {
    display: block;
  }
  .news-tabs-wrapper.news-nav {
    display: flex !important;
  }
  .news-tabs-wrapper .tab-content .tab-pane {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
.tab-pane {
  display: none;
}

.tab-pane.show {
  display: block;
}

.tab-pane.active {
  display: block;
}

.tab-pane.fade {
  transition: opacity 0.15s linear;
}

.tab-pane.fade:not(.show) {
  display: none !important;
}

.tab-pane.fade.show {
  display: block !important;
}

.news-single-content {
  font-size: 1.2rem;
}

.schedule-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .filter-btn {
  background: rgba(0, 0, 0, 0.05);
}
.filter-btn {
  border: rgba(255, 255, 255, 0.1);
}
.light-theme .filter-btn {
  border: rgba(0, 0, 0, 0.1);
}
.filter-btn {
  color: #cccccc;
}
.light-theme .filter-btn {
  color: #2f3f4b;
}
.filter-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: #e53935;
  color: #ffffff;
  border-color: #e53935;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.schedule-container {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.schedule-day {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .schedule-day {
  background: rgba(0, 0, 0, 0.05);
}
.schedule-day {
  border: rgba(255, 255, 255, 0.1);
}
.light-theme .schedule-day {
  border: rgba(0, 0, 0, 0.1);
}
.schedule-day {
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.schedule-day:hover {
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: rgba(255, 255, 255, 0.1);
}
.light-theme .day-header {
  border-bottom: rgba(0, 0, 0, 0.1);
}

.day-title {
  color: #ffffff;
}
.light-theme .day-title {
  color: #121820;
}
.day-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.day-badge {
  background: #e53935;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.lessons-list {
  display: grid;
  gap: 1rem;
}

.lesson-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
}
.light-theme .lesson-card {
  background: rgb(255, 255, 255);
}
.lesson-card {
  border: rgba(255, 255, 255, 0.05);
}
.light-theme .lesson-card {
  border: rgba(0, 0, 0, 0.05);
}
.lesson-card {
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.lesson-card:hover {
  border-color: rgba(229, 57, 53, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.lesson-card.highlight {
  border: 4px solid #e53935;
}

.lesson-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.time-start,
.time-end {
  font-weight: 700;
  color: #ffffff;
}
.light-theme .time-start,
.light-theme .time-end {
  color: #121820;
}

.time-start {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.time-end {
  font-size: 0.9rem;
  color: #e53935;
}

.lesson-info {
  flex: 1;
}

.lesson-title {
  color: #ffffff;
}
.light-theme .lesson-title {
  color: #121820;
}
.lesson-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.lesson-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.lesson-group,
.lesson-duration {
  background: rgba(255, 255, 255, 0.1);
}
.light-theme .lesson-group,
.light-theme .lesson-duration {
  background: rgba(18, 24, 32, 0.05);
}
.lesson-group,
.lesson-duration {
  color: #cccccc;
}
.light-theme .lesson-group,
.light-theme .lesson-duration {
  color: #617388;
}
.lesson-group,
.lesson-duration {
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.8rem;
}

.lesson-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e53935;
  font-size: 0.9rem;
  font-weight: 600;
}

.lesson-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.lesson-status.available {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}
.lesson-status.new {
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.schedule-info {
  max-width: 600px;
  margin: 0 auto;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
}
.light-theme .info-card {
  background: rgba(0, 0, 0, 0.1);
}
.info-card {
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid #e53935;
}

.info-card i {
  color: #e53935;
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.info-content h4 {
  color: #ffffff;
}
.light-theme .info-content h4 {
  color: #121820;
}
.info-content h4 {
  margin: 0 0 0.5rem 0;
}

.info-content p {
  color: #cccccc;
}
.light-theme .info-content p {
  color: #2f3f4b;
}
.info-content p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .schedule-filter {
    gap: 0.3rem;
  }
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .schedule-day {
    padding: 1.5rem;
  }
  .lesson-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  .lesson-time {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
  }
  .lesson-meta {
    justify-content: center;
  }
  .day-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .schedule-filter {
    flex-direction: column;
    align-items: center;
  }
  .filter-btn {
    width: 100%;
    max-width: 250px;
  }
}
/* Стили для красивой пагинации */
.custom-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  min-width: 44px;
  height: 44px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid;
  /* Темная тема по умолчанию */
  background-color: rgba(255, 255, 255, 0.05);
}
.light-theme .pagination-link {
  background-color: #fafaf8;
}
.pagination-link {
  border-color: rgba(248, 246, 246, 0.5);
}
.light-theme .pagination-link {
  border-color: #bfc9d3;
}
.pagination-link {
  color: #cccccc;
}
.light-theme .pagination-link {
  color: #2f3f4b;
}
.pagination-link:hover:not(.disabled) {
  background-color: rgba(255, 255, 255, 0.08);
}
.light-theme .pagination-link:hover:not(.disabled) {
  background-color: #f2f6fb;
}
.pagination-link:hover:not(.disabled) {
  border-color: #e53935;
  color: #ffffff;
}
.light-theme .pagination-link:hover:not(.disabled) {
  color: #121820;
}
.pagination-link:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
}
.pagination-link:focus {
  outline: none;
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.pagination-item .active .pagination-link, .active > .page-link, .page-link.active {
  background: linear-gradient(135deg, #e53935, #c62828) !important;
  border-color: #e53935;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}
.pagination-item .active .pagination-link:hover, .active > .page-link:hover, .page-link.active:hover {
  background: linear-gradient(135deg, #c62828, #c62828, 10%);
  border-color: #c62828;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.4);
}

.pagination-item.disabled .pagination-link {
  opacity: 0.5;
  cursor: not-allowed;
}
.pagination-item.disabled .pagination-link:hover {
  transform: none;
  background-color: rgba(255, 255, 255, 0.05);
}
.light-theme .pagination-item.disabled .pagination-link:hover {
  background-color: #fafaf8;
}
.pagination-item.disabled .pagination-link:hover {
  border-color: rgba(248, 246, 246, 0.5);
}
.light-theme .pagination-item.disabled .pagination-link:hover {
  border-color: #bfc9d3;
}
.pagination-item.disabled .pagination-link:hover {
  color: #cccccc;
}
.light-theme .pagination-item.disabled .pagination-link:hover {
  color: #2f3f4b;
}
.pagination-item.disabled .pagination-link:hover {
  box-shadow: none;
}

.pagination-prev .pagination-link,
.pagination-next .pagination-link {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

.pagination-ellipsis {
  padding: 0.75rem 0.5rem;
}
.pagination-ellipsis span {
  color: #999999;
}
.light-theme .pagination-ellipsis span {
  color: #617388;
}
.pagination-ellipsis span {
  font-weight: 600;
}

.pagination-info {
  color: #999999;
}
.light-theme .pagination-info {
  color: #617388;
}
.pagination-info {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
  .pagination-list {
    gap: 0.25rem;
  }
  .pagination-link {
    padding: 0.1rem;
    min-width: 28px;
    height: 31px;
    font-size: 0.85rem;
  }
  .pagination-prev .pagination-link,
  .pagination-next .pagination-link {
    padding: 0.1rem;
  }
  .pagination-prev .pagination-link span,
  .pagination-next .pagination-link span {
    display: none;
  }
  .pagination-info {
    font-size: 0.8rem;
  }
}
/* Анимации */
@keyframes paginationFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.custom-pagination {
  animation: paginationFadeIn 0.5s ease;
}

/* Специфичные стили для светлой темы */
.light-theme .pagination-link {
  background: #fafaf8;
  border-color: #bfc9d3;
  color: #2f3f4b;
}
.light-theme .pagination-link:hover:not(.disabled) {
  background: #f2f6fb;
  border-color: #e53935;
  color: #121820;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.18);
}

.light-theme .pagination-item.active .pagination-link {
  background: linear-gradient(135deg, #e53935, #c62828);
  border-color: #e53935;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.25);
}
.light-theme .pagination-item.active .pagination-link:hover {
  background: linear-gradient(135deg, #c62828, #c62828, 10%);
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.35);
}

.footer {
  background: #1a1a1a;
}
.light-theme .footer {
  background: #ffffff;
}
.footer {
  border-top: 2px solid #e53935;
  padding: 4rem 0 2rem;
}
.footer, .footer p, .footer h5, .footer a:not(.social-link) {
  color: #ffffff;
}
.light-theme .footer, .light-theme .footer p, .light-theme .footer h5, .light-theme .footer a:not(.social-link) {
  color: #121820;
}
.footer a:not(.social-link) {
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer a:not(.social-link):hover {
  color: #e53935 !important;
  transform: translateX(5px);
}
.footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}
.footer h5::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #e53935;
}
.footer h5.text-center.text-sm-start {
  text-align: center;
}
@media (min-width: 576px) {
  .footer h5.text-center.text-sm-start {
    text-align: left;
  }
}
.footer p {
  color: #cccccc;
}
.light-theme .footer p {
  color: #2f3f4b;
}
.footer p {
  line-height: 1.6;
}
.footer p.text-center.text-sm-start {
  text-align: center;
}
@media (min-width: 576px) {
  .footer p.text-center.text-sm-start {
    text-align: left;
  }
}
.footer-brand {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
}
.light-theme .footer-brand {
  color: #121820;
}
.footer-brand {
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}
.footer-brand span {
  color: #e53935;
}
.footer-logo-container {
  position: relative;
  max-width: 210px;
  margin: 0 auto;
}
@media (min-width: 576px) {
  .footer-logo-container {
    margin: 0;
  }
}
.footer-logo-container .logo-text {
  color: #d2b685 !important;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-52%);
  margin: 0;
  width: auto;
}

.romantiki-circus-logo-footer {
  max-width: 200px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}
@media (min-width: 576px) {
  .social-links {
    justify-content: flex-start;
  }
}
.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
}
.light-theme .social-link {
  background: rgba(18, 24, 32, 0.06);
}
.social-link {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.light-theme .social-link {
  color: #121820;
}
.social-link {
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-link:hover {
  background: #e53935;
  transform: translateY(-3px);
}

.footer .border-top {
  border-color: rgba(248, 246, 246, 0.5) !important;
}
.light-theme .footer .border-top {
  border-color: #bfc9d3 !important;
}

.footer .d-flex.flex-column a {
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}
.footer .d-flex.flex-column a:last-child {
  margin-bottom: 0;
}
.footer .d-flex.flex-column a:hover {
  color: #e53935 !important;
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
  .footer-brand {
    font-size: 1.5rem;
  }
}
@media (max-width: 576px) {
  .footer {
    text-align: center;
  }
  .footer .text-sm-start {
    text-align: center !important;
  }
  .footer .justify-content-lg-start {
    justify-content: center !important;
  }
  .footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
.entry-content {
  color: #ffffff;
}
.light-theme .entry-content {
  color: #121820;
}
.entry-content {
  line-height: 1.7;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  color: #ffffff;
}
.light-theme .entry-content h1, .light-theme .entry-content h2, .light-theme .entry-content h3, .light-theme .entry-content h4, .light-theme .entry-content h5, .light-theme .entry-content h6 {
  color: #121820;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  font-weight: 700;
  margin: 2rem 0 1rem;
  line-height: 1.3;
}
.entry-content h1:first-child, .entry-content h2:first-child, .entry-content h3:first-child, .entry-content h4:first-child, .entry-content h5:first-child, .entry-content h6:first-child {
  margin-top: 0;
}
.entry-content h1 {
  font-size: 2.5rem;
  border-bottom: 3px solid #e53935;
  padding-bottom: 0.5rem;
}
.entry-content h2 {
  font-size: 2rem;
  border-bottom: 2px solid #e53935;
  padding-bottom: 0.5rem;
}
.entry-content h3 {
  font-size: 1.75rem;
  color: #e53935;
}
.entry-content h4 {
  font-size: 1.5rem;
}
.entry-content h5 {
  font-size: 1.25rem;
}
.entry-content h6 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.entry-content p {
  margin-bottom: 1.5rem;
  color: #cccccc;
}
.light-theme .entry-content p {
  color: #2f3f4b;
}
.entry-content p:last-child {
  margin-bottom: 0;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  color: #ffffff !important;
}
.light-theme .entry-content h1, .light-theme .entry-content h2, .light-theme .entry-content h3, .light-theme .entry-content h4, .light-theme .entry-content h5, .light-theme .entry-content h6 {
  color: #121820 !important;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  font-weight: 700;
  margin: 2rem 0 1rem;
  line-height: 1.3;
}
.entry-content h1:first-child, .entry-content h2:first-child, .entry-content h3:first-child, .entry-content h4:first-child, .entry-content h5:first-child, .entry-content h6:first-child {
  margin-top: 0;
}
.entry-content a {
  color: #e53935;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.entry-content a:hover {
  color: #c62828;
  border-bottom-color: #e53935;
}
.entry-content ul, .entry-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: #cccccc;
}
.light-theme .entry-content ul, .light-theme .entry-content ol {
  color: #2f3f4b;
}
.entry-content ul li, .entry-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.entry-content ul {
  list-style-type: disc;
}
.entry-content ul ul {
  list-style-type: circle;
  margin: 0.5rem 0;
}
.entry-content ul ul ul {
  list-style-type: square;
}
.entry-content ol {
  list-style-type: decimal;
}
.entry-content ol ol {
  list-style-type: lower-alpha;
  margin: 0.5rem 0;
}
.entry-content ol ol ol {
  list-style-type: lower-roman;
}
.entry-content blockquote {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .entry-content blockquote {
  background: #fafaf8;
}
.entry-content blockquote {
  border-left: rgba(248, 246, 246, 0.5);
}
.light-theme .entry-content blockquote {
  border-left: #bfc9d3;
}
.entry-content blockquote {
  border-left: 4px solid #e53935;
  padding: 2rem;
  margin: 2rem 0;
  font-style: italic;
  position: relative;
}
.entry-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: #e53935;
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}
.entry-content blockquote p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.entry-content blockquote p:last-child {
  margin-bottom: 0;
}
.entry-content blockquote cite {
  display: block;
  text-align: right;
  font-style: normal;
  font-weight: 600;
  color: #e53935;
  margin-top: 1rem;
}
.entry-content blockquote cite::before {
  content: "— ";
}
.entry-content code {
  background: rgba(229, 57, 53, 0.1);
  color: #e53935;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}
.entry-content pre {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .entry-content pre {
  background: #fafaf8;
}
.entry-content pre {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .entry-content pre {
  border: #bfc9d3;
}
.entry-content pre {
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  line-height: 1.5;
}
.entry-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}
.entry-content hr {
  border: none;
  height: 2px;
  background: rgba(248, 246, 246, 0.5);
}
.light-theme .entry-content hr {
  background: #bfc9d3;
}
.entry-content hr {
  margin: 2rem 0;
  position: relative;
}
.entry-content hr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 2px;
  background: #e53935;
}

.wp-block-table,
.entry-content table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .wp-block-table,
.light-theme .entry-content table {
  background: #fafaf8;
}
.wp-block-table,
.entry-content table {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .wp-block-table,
.light-theme .entry-content table {
  border: #bfc9d3;
}
.wp-block-table,
.entry-content table {
  border-radius: 8px;
  overflow: hidden;
}
.wp-block-table th, .wp-block-table td,
.entry-content table th,
.entry-content table td {
  padding: 1rem;
  text-align: left;
  border-bottom: rgba(248, 246, 246, 0.5);
}
.light-theme .wp-block-table th, .light-theme .wp-block-table td,
.light-theme .entry-content table th,
.light-theme .entry-content table td {
  border-bottom: #bfc9d3;
}
.wp-block-table th:last-child, .wp-block-table td:last-child,
.entry-content table th:last-child,
.entry-content table td:last-child {
  border-right: none;
}
.wp-block-table th,
.entry-content table th {
  background: rgba(0, 0, 0, 0.8);
}
.light-theme .wp-block-table th,
.light-theme .entry-content table th {
  background: #f6f9fc;
}
.wp-block-table th,
.entry-content table th {
  color: #ffffff;
}
.light-theme .wp-block-table th,
.light-theme .entry-content table th {
  color: #121820;
}
.wp-block-table th,
.entry-content table th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}
.wp-block-table td,
.entry-content table td {
  color: #cccccc;
}
.light-theme .wp-block-table td,
.light-theme .entry-content table td {
  color: #2f3f4b;
}
.wp-block-table tr:last-child th, .wp-block-table tr:last-child td,
.entry-content table tr:last-child th,
.entry-content table tr:last-child td {
  border-bottom: none;
}
.wp-block-table tr:hover,
.entry-content table tr:hover {
  background: rgba(255, 255, 255, 0.08);
}
.light-theme .wp-block-table tr:hover,
.light-theme .entry-content table tr:hover {
  background: #f2f6fb;
}
.wp-block-table.is-style-stripes,
.entry-content table.is-style-stripes {
  border: none;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.entry-content table.is-style-stripes tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.08);
}
.light-theme .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.light-theme .entry-content table.is-style-stripes tbody tr:nth-child(odd) {
  background: #f2f6fb;
}

.wp-block-button {
  margin: 1.5rem 0;
}
.wp-block-button .wp-block-button__link {
  background: #e53935;
  color: #ffffff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}
.wp-block-button .wp-block-button__link:hover {
  background: #c62828;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}
.wp-block-button .wp-block-button__link.is-style-outline {
  background: transparent;
  color: #ffffff;
}
.light-theme .wp-block-button .wp-block-button__link.is-style-outline {
  color: #121820;
}
.wp-block-button .wp-block-button__link.is-style-outline {
  border: 2px solid #e53935;
}
.wp-block-button .wp-block-button__link.is-style-outline:hover {
  background: #e53935;
  color: #ffffff;
}
.wp-block-button .wp-block-button__link.is-style-squared {
  border-radius: 8px;
}

.wp-block-image,
.wp-block-gallery {
  margin: 2rem 0;
}
.wp-block-image img,
.wp-block-gallery img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.wp-block-image figcaption,
.wp-block-gallery figcaption {
  text-align: center;
  font-style: italic;
  margin-top: 0.5rem;
  color: #999999;
}
.light-theme .wp-block-image figcaption,
.light-theme .wp-block-gallery figcaption {
  color: #617388;
}
.wp-block-image figcaption,
.wp-block-gallery figcaption {
  font-size: 0.9rem;
}
.wp-block-image.alignleft,
.wp-block-gallery.alignleft {
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
}
.wp-block-image.alignright,
.wp-block-gallery.alignright {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
}
.wp-block-image.aligncenter,
.wp-block-gallery.aligncenter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-gallery {
  display: grid;
  gap: 1rem;
}
.wp-block-gallery.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.wp-block-gallery.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.wp-block-gallery.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}
.wp-block-gallery .blocks-gallery-item figure {
  margin: 0;
}
.wp-block-gallery .blocks-gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.wp-block-gallery .blocks-gallery-item img:hover {
  transform: scale(1.05);
}

.widget {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .widget {
  background: #fafaf8;
}
.widget {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .widget {
  border: #bfc9d3;
}
.widget {
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.widget .widget-title {
  color: #ffffff;
}
.light-theme .widget .widget-title {
  color: #121820;
}
.widget .widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e53935;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget ul li {
  padding: 0.75rem 0;
  border-bottom: rgba(248, 246, 246, 0.5);
}
.light-theme .widget ul li {
  border-bottom: #bfc9d3;
}
.widget ul li:last-child {
  border-bottom: none;
}
.widget ul li a {
  color: #cccccc;
}
.light-theme .widget ul li a {
  color: #2f3f4b;
}
.widget ul li a {
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}
.widget ul li a:hover {
  color: #e53935;
  transform: translateX(5px);
}
.widget.widget_calendar #wp-calendar {
  width: 100%;
}
.widget.widget_calendar #wp-calendar caption {
  color: #ffffff;
}
.light-theme .widget.widget_calendar #wp-calendar caption {
  color: #121820;
}
.widget.widget_calendar #wp-calendar caption {
  font-weight: 700;
  margin-bottom: 1rem;
}
.widget.widget_calendar #wp-calendar th, .widget.widget_calendar #wp-calendar td {
  text-align: center;
  padding: 0.5rem;
}
.widget.widget_calendar #wp-calendar th {
  background: rgba(0, 0, 0, 0.8);
}
.light-theme .widget.widget_calendar #wp-calendar th {
  background: #f6f9fc;
}
.widget.widget_calendar #wp-calendar th {
  color: #ffffff;
}
.light-theme .widget.widget_calendar #wp-calendar th {
  color: #121820;
}
.widget.widget_calendar #wp-calendar th {
  font-weight: 600;
}
.widget.widget_calendar #wp-calendar td {
  color: #cccccc;
}
.light-theme .widget.widget_calendar #wp-calendar td {
  color: #2f3f4b;
}
.widget.widget_calendar #wp-calendar td a {
  color: #e53935;
  font-weight: 700;
  text-decoration: none;
}
.widget.widget_calendar #wp-calendar td.today {
  background: #e53935;
  color: #ffffff;
  border-radius: 4px;
}
.widget.widget_search .search-form {
  display: flex;
}
.widget.widget_search .search-form .search-field {
  flex: 1;
  background: rgba(0, 0, 0, 0.3) !important;
}
.light-theme .widget.widget_search .search-form .search-field {
  background: #ffffff;
}
.widget.widget_search .search-form .search-field {
  border: rgba(255, 255, 255, 0.2) !important;
}
.light-theme .widget.widget_search .search-form .search-field {
  border: #c7d0da;
}
.widget.widget_search .search-form .search-field {
  color: #ffffff;
}
.light-theme .widget.widget_search .search-form .search-field {
  color: #121820;
}
.widget.widget_search .search-form .search-field {
  border-radius: 25px 0 0 25px;
  padding: 0.75rem 1rem;
  border-right: none;
}
.widget.widget_search .search-form .search-field:focus {
  outline: none;
  border-color: #e53935;
}
.widget.widget_search .search-form .search-submit {
  background: #e53935;
  color: #ffffff;
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.widget.widget_search .search-form .search-submit:hover {
  background: #c62828;
}
.widget.widget_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.widget.widget_tag_cloud .tagcloud a {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .widget.widget_tag_cloud .tagcloud a {
  background: #fafaf8;
}
.widget.widget_tag_cloud .tagcloud a {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .widget.widget_tag_cloud .tagcloud a {
  border: #bfc9d3;
}
.widget.widget_tag_cloud .tagcloud a {
  color: #cccccc;
}
.light-theme .widget.widget_tag_cloud .tagcloud a {
  color: #2f3f4b;
}
.widget.widget_tag_cloud .tagcloud a {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8rem !important;
  transition: all 0.3s ease;
}
.widget.widget_tag_cloud .tagcloud a:hover {
  background: #e53935;
  color: #ffffff;
  border-color: #e53935;
  transform: translateY(-2px);
}

.comments-area {
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .comments-area {
  background: #fafaf8;
}
.comments-area {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .comments-area {
  border: #bfc9d3;
}
.comments-area {
  border-radius: 12px;
  padding: 2rem;
}
.comments-area .comments-title {
  color: #ffffff;
}
.light-theme .comments-area .comments-title {
  color: #121820;
}
.comments-area .comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e53935;
  padding-bottom: 0.5rem;
}
.comments-area .comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comments-area .comment-list .comment {
  background: rgba(0, 0, 0, 0.8);
}
.light-theme .comments-area .comment-list .comment {
  background: #f6f9fc;
}
.comments-area .comment-list .comment {
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.comments-area .comment-list .comment .comment-body .comment-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.comments-area .comment-list .comment .comment-body .comment-meta .comment-author .avatar {
  border-radius: 50%;
  margin-right: 1rem;
}
.comments-area .comment-list .comment .comment-body .comment-meta .comment-author .fn {
  color: #ffffff;
}
.light-theme .comments-area .comment-list .comment .comment-body .comment-meta .comment-author .fn {
  color: #121820;
}
.comments-area .comment-list .comment .comment-body .comment-meta .comment-author .fn {
  font-weight: 600;
}
.comments-area .comment-list .comment .comment-body .comment-meta .comment-author .fn a {
  color: inherit;
  text-decoration: none;
}
.comments-area .comment-list .comment .comment-body .comment-meta .comment-author .fn a:hover {
  color: #e53935;
}
.comments-area .comment-list .comment .comment-body .comment-meta .comment-metadata {
  margin-left: auto;
  color: #999999;
}
.light-theme .comments-area .comment-list .comment .comment-body .comment-meta .comment-metadata {
  color: #617388;
}
.comments-area .comment-list .comment .comment-body .comment-meta .comment-metadata {
  font-size: 0.8rem;
}
.comments-area .comment-list .comment .comment-body .comment-meta .comment-metadata a {
  color: inherit;
  text-decoration: none;
}
.comments-area .comment-list .comment .comment-body .comment-meta .comment-metadata a:hover {
  color: #e53935;
}
.comments-area .comment-list .comment .comment-body .comment-content {
  color: #cccccc;
}
.light-theme .comments-area .comment-list .comment .comment-body .comment-content {
  color: #2f3f4b;
}
.comments-area .comment-list .comment .comment-body .comment-content {
  line-height: 1.6;
}
.comments-area .comment-list .comment .comment-body .comment-content p {
  margin-bottom: 1rem;
}
.comments-area .comment-list .comment .comment-body .comment-content p:last-child {
  margin-bottom: 0;
}
.comments-area .comment-list .comment .comment-body .reply {
  margin-top: 1rem;
}
.comments-area .comment-list .comment .comment-body .reply .comment-reply-link {
  background: #e53935;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.comments-area .comment-list .comment .comment-body .reply .comment-reply-link:hover {
  background: #c62828;
  transform: translateY(-2px);
}
.comments-area .comment-list .comment .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1.5rem;
}
.comments-area .comment-respond {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: rgba(248, 246, 246, 0.5);
}
.light-theme .comments-area .comment-respond {
  border-top: #bfc9d3;
}
.comments-area .comment-respond .comment-reply-title {
  color: #ffffff;
}
.light-theme .comments-area .comment-respond .comment-reply-title {
  color: #121820;
}
.comments-area .comment-respond .comment-reply-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.comments-area .comment-respond .comment-form {
  display: grid;
  gap: 1rem;
}
.comments-area .comment-respond .comment-form .comment-form-author,
.comments-area .comment-respond .comment-form .comment-form-email,
.comments-area .comment-respond .comment-form .comment-form-url {
  display: flex;
  flex-direction: column;
}
.comments-area .comment-respond .comment-form .comment-form-author label,
.comments-area .comment-respond .comment-form .comment-form-email label,
.comments-area .comment-respond .comment-form .comment-form-url label {
  color: #ffffff;
}
.light-theme .comments-area .comment-respond .comment-form .comment-form-author label,
.light-theme .comments-area .comment-respond .comment-form .comment-form-email label,
.light-theme .comments-area .comment-respond .comment-form .comment-form-url label {
  color: #121820;
}
.comments-area .comment-respond .comment-form .comment-form-author label,
.comments-area .comment-respond .comment-form .comment-form-email label,
.comments-area .comment-respond .comment-form .comment-form-url label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.comments-area .comment-respond .comment-form .comment-form-author input,
.comments-area .comment-respond .comment-form .comment-form-email input,
.comments-area .comment-respond .comment-form .comment-form-url input {
  background: rgba(0, 0, 0, 0.3) !important;
}
.light-theme .comments-area .comment-respond .comment-form .comment-form-author input,
.light-theme .comments-area .comment-respond .comment-form .comment-form-email input,
.light-theme .comments-area .comment-respond .comment-form .comment-form-url input {
  background: #ffffff;
}
.comments-area .comment-respond .comment-form .comment-form-author input,
.comments-area .comment-respond .comment-form .comment-form-email input,
.comments-area .comment-respond .comment-form .comment-form-url input {
  border: rgba(255, 255, 255, 0.2) !important;
}
.light-theme .comments-area .comment-respond .comment-form .comment-form-author input,
.light-theme .comments-area .comment-respond .comment-form .comment-form-email input,
.light-theme .comments-area .comment-respond .comment-form .comment-form-url input {
  border: #c7d0da;
}
.comments-area .comment-respond .comment-form .comment-form-author input,
.comments-area .comment-respond .comment-form .comment-form-email input,
.comments-area .comment-respond .comment-form .comment-form-url input {
  color: #ffffff;
}
.light-theme .comments-area .comment-respond .comment-form .comment-form-author input,
.light-theme .comments-area .comment-respond .comment-form .comment-form-email input,
.light-theme .comments-area .comment-respond .comment-form .comment-form-url input {
  color: #121820;
}
.comments-area .comment-respond .comment-form .comment-form-author input,
.comments-area .comment-respond .comment-form .comment-form-email input,
.comments-area .comment-respond .comment-form .comment-form-url input {
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
.comments-area .comment-respond .comment-form .comment-form-author input:focus,
.comments-area .comment-respond .comment-form .comment-form-email input:focus,
.comments-area .comment-respond .comment-form .comment-form-url input:focus {
  border-color: #e53935;
  outline: none;
}
.comments-area .comment-respond .comment-form .comment-form-comment label {
  color: #ffffff;
}
.light-theme .comments-area .comment-respond .comment-form .comment-form-comment label {
  color: #121820;
}
.comments-area .comment-respond .comment-form .comment-form-comment label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.comments-area .comment-respond .comment-form .comment-form-comment textarea {
  background: rgba(0, 0, 0, 0.3) !important;
}
.light-theme .comments-area .comment-respond .comment-form .comment-form-comment textarea {
  background: #ffffff;
}
.comments-area .comment-respond .comment-form .comment-form-comment textarea {
  border: rgba(255, 255, 255, 0.2) !important;
}
.light-theme .comments-area .comment-respond .comment-form .comment-form-comment textarea {
  border: #c7d0da;
}
.comments-area .comment-respond .comment-form .comment-form-comment textarea {
  color: #ffffff;
}
.light-theme .comments-area .comment-respond .comment-form .comment-form-comment textarea {
  color: #121820;
}
.comments-area .comment-respond .comment-form .comment-form-comment textarea {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  width: 100%;
  min-height: 150px;
  resize: vertical;
}
.comments-area .comment-respond .comment-form .comment-form-comment textarea:focus {
  border-color: #e53935;
  outline: none;
}
.comments-area .comment-respond .comment-form .form-submit .submit {
  background: #e53935;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.comments-area .comment-respond .comment-form .form-submit .submit:hover {
  background: #c62828;
  transform: translateY(-2px);
}

.breadcrumbs {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .breadcrumbs {
  background: #fafaf8;
}
.breadcrumbs {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .breadcrumbs {
  border: #bfc9d3;
}
.breadcrumbs {
  border-radius: 25px;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
}
.breadcrumbs a {
  color: #cccccc;
}
.light-theme .breadcrumbs a {
  color: #2f3f4b;
}
.breadcrumbs a {
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumbs a:hover {
  color: #e53935;
}
.breadcrumbs span {
  margin: 0 0.5rem;
  color: #999999;
}
.light-theme .breadcrumbs span {
  color: #617388;
}
.breadcrumbs .breadcrumb_last {
  color: #ffffff;
}
.light-theme .breadcrumbs .breadcrumb_last {
  color: #121820;
}
.breadcrumbs .breadcrumb_last {
  font-weight: 600;
}

.navigation.pagination,
.woocommerce-pagination {
  text-align: center;
  margin: 3rem 0;
}
.navigation.pagination .nav-links,
.woocommerce-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.navigation.pagination .nav-links .page-numbers,
.woocommerce-pagination .nav-links .page-numbers {
  background: rgba(255, 255, 255, 0.05);
}
.light-theme .navigation.pagination .nav-links .page-numbers,
.light-theme .woocommerce-pagination .nav-links .page-numbers {
  background: #fafaf8;
}
.navigation.pagination .nav-links .page-numbers,
.woocommerce-pagination .nav-links .page-numbers {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .navigation.pagination .nav-links .page-numbers,
.light-theme .woocommerce-pagination .nav-links .page-numbers {
  border: #bfc9d3;
}
.navigation.pagination .nav-links .page-numbers,
.woocommerce-pagination .nav-links .page-numbers {
  color: #cccccc;
}
.light-theme .navigation.pagination .nav-links .page-numbers,
.light-theme .woocommerce-pagination .nav-links .page-numbers {
  color: #2f3f4b;
}
.navigation.pagination .nav-links .page-numbers,
.woocommerce-pagination .nav-links .page-numbers {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.navigation.pagination .nav-links .page-numbers:hover,
.woocommerce-pagination .nav-links .page-numbers:hover {
  background: #e53935;
  color: #ffffff;
  border-color: #e53935;
  transform: translateY(-2px);
}
.navigation.pagination .nav-links .page-numbers.current,
.woocommerce-pagination .nav-links .page-numbers.current {
  background: #e53935;
  color: #ffffff;
  border-color: #e53935;
}
.navigation.pagination .nav-links .page-numbers.dots,
.woocommerce-pagination .nav-links .page-numbers.dots {
  background: transparent;
  border: none;
}
.navigation.pagination .nav-links .page-numbers.dots:hover,
.woocommerce-pagination .nav-links .page-numbers.dots:hover {
  background: transparent;
  color: inherit;
  transform: none;
}
.navigation.pagination .nav-links .page-numbers.prev, .navigation.pagination .nav-links .page-numbers.next,
.woocommerce-pagination .nav-links .page-numbers.prev,
.woocommerce-pagination .nav-links .page-numbers.next {
  width: auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .entry-content h1 {
    font-size: 2rem;
  }
  .entry-content h2 {
    font-size: 1.75rem;
  }
  .entry-content h3 {
    font-size: 1.5rem;
  }
  .entry-content blockquote {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  .wp-block-gallery.columns-3, .wp-block-gallery.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .comments-area {
    padding: 1.5rem;
  }
  .comments-area .comment-list .comment .children {
    padding-left: 1rem;
  }
  .widget {
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .wp-block-gallery {
    grid-template-columns: 1fr !important;
  }
  .navigation.pagination .nav-links {
    flex-wrap: wrap;
  }
  .comments-area .comment-list .comment .comment-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .comments-area .comment-list .comment .comment-meta .comment-metadata {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}
.section {
  padding: 6rem 0;
  position: relative;
}
.section-dark {
  background: #000000;
}
.light-theme .section-dark {
  background: #eef4f9;
}
.section-black {
  background: #1a1a1a;
}
.light-theme .section-black {
  background: #ffffff;
}
.section-title {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  position: relative;
  color: #ffffff;
}
.light-theme .section-title {
  color: #121820;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #e53935;
}
.section-subtitle {
  text-align: center;
  color: #cccccc;
}
.light-theme .section-subtitle {
  color: #2f3f4b;
}
.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.card-custom {
  background: rgba(255, 255, 255, 0.11);
}
.light-theme .card-custom {
  background: #ffffff;
}
.card-custom {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme .card-custom {
  border: #bfc9d3;
}
.card-custom {
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #e53935;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.card-custom:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}
.light-theme .card-custom:hover {
  background: #f2f6fb;
}
.card-custom:hover {
  border-color: #e53935;
  box-shadow: 0 20px 40px rgba(229, 57, 53, 0.2);
}
.card-custom:hover::before {
  transform: scaleX(1);
}

#contact .card-custom {
  background: rgba(255, 255, 255, 0.11);
}
.light-theme #contact .card-custom {
  background: rgba(242, 246, 251, 0.72);
}
#contact .card-custom {
  border: rgba(248, 246, 246, 0.5);
}
.light-theme #contact .card-custom {
  border: #bfc9d3;
}
#contact .card-custom {
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
#contact .card-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #e53935;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
#contact .card-custom:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}
.light-theme #contact .card-custom:hover {
  background: #f2f6fb;
}
#contact .card-custom:hover {
  border-color: #e53935;
  box-shadow: 0 20px 40px rgba(229, 57, 53, 0.2);
}
#contact .card-custom:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: #e53935;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}
.light-theme .card-title {
  color: #121820;
}
.card-text {
  color: #cccccc;
}
.light-theme .card-text {
  color: #2f3f4b;
}
.card-text {
  line-height: 1.6;
}

.wpcf7-acceptance {
  padding: 0;
  background: none !important;
}

/* Переопределение стилей форм - эти стили должны быть загружены ПОСЛЕ всех других CSS */
.custom-form .form-control,
.custom-form .form-select,
.custom-form .wpcf7-form-control,
.wpcf7-form .form-control,
.wpcf7-form .form-select,
.wpcf7-form .wpcf7-form-control {
  background: rgba(0, 0, 0, 0.3) !important;
}
.light-theme .custom-form .form-control,
.light-theme .custom-form .form-select,
.light-theme .custom-form .wpcf7-form-control,
.light-theme .wpcf7-form .form-control,
.light-theme .wpcf7-form .form-select,
.light-theme .wpcf7-form .wpcf7-form-control {
  background: #ffffff;
}
.custom-form .form-control,
.custom-form .form-select,
.custom-form .wpcf7-form-control,
.wpcf7-form .form-control,
.wpcf7-form .form-select,
.wpcf7-form .wpcf7-form-control {
  border: rgba(255, 255, 255, 0.2) !important;
}
.light-theme .custom-form .form-control,
.light-theme .custom-form .form-select,
.light-theme .custom-form .wpcf7-form-control,
.light-theme .wpcf7-form .form-control,
.light-theme .wpcf7-form .form-select,
.light-theme .wpcf7-form .wpcf7-form-control {
  border: #c7d0da;
}
.custom-form .form-control,
.custom-form .form-select,
.custom-form .wpcf7-form-control,
.wpcf7-form .form-control,
.wpcf7-form .form-select,
.wpcf7-form .wpcf7-form-control {
  color: #ffffff;
}
.light-theme .custom-form .form-control,
.light-theme .custom-form .form-select,
.light-theme .custom-form .wpcf7-form-control,
.light-theme .wpcf7-form .form-control,
.light-theme .wpcf7-form .form-select,
.light-theme .wpcf7-form .wpcf7-form-control {
  color: #121820;
}
.custom-form .form-control,
.custom-form .form-select,
.custom-form .wpcf7-form-control,
.wpcf7-form .form-control,
.wpcf7-form .form-select,
.wpcf7-form .wpcf7-form-control {
  border-radius: 10px;
  padding: 1rem;
}
.custom-form .form-control::placeholder,
.custom-form .form-select::placeholder,
.custom-form .wpcf7-form-control::placeholder,
.wpcf7-form .form-control::placeholder,
.wpcf7-form .form-select::placeholder,
.wpcf7-form .wpcf7-form-control::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.light-theme .custom-form .form-control::placeholder,
.light-theme .custom-form .form-select::placeholder,
.light-theme .custom-form .wpcf7-form-control::placeholder,
.light-theme .wpcf7-form .form-control::placeholder,
.light-theme .wpcf7-form .form-select::placeholder,
.light-theme .wpcf7-form .wpcf7-form-control::placeholder {
  color: #6f7b88;
}
.custom-form .form-control:focus,
.custom-form .form-select:focus,
.custom-form .wpcf7-form-control:focus,
.wpcf7-form .form-control:focus,
.wpcf7-form .form-select:focus,
.wpcf7-form .wpcf7-form-control:focus {
  border-color: #e53935;
  box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.25);
  background: rgba(0, 0, 0, 0.5) !important;
}
.light-theme .custom-form .form-control:focus,
.light-theme .custom-form .form-select:focus,
.light-theme .custom-form .wpcf7-form-control:focus,
.light-theme .wpcf7-form .form-control:focus,
.light-theme .wpcf7-form .form-select:focus,
.light-theme .wpcf7-form .wpcf7-form-control:focus {
  background: #ffffff;
}
.custom-form .form-control:focus,
.custom-form .form-select:focus,
.custom-form .wpcf7-form-control:focus,
.wpcf7-form .form-control:focus,
.wpcf7-form .form-select:focus,
.wpcf7-form .wpcf7-form-control:focus {
  color: #ffffff;
}
.light-theme .custom-form .form-control:focus,
.light-theme .custom-form .form-select:focus,
.light-theme .custom-form .wpcf7-form-control:focus,
.light-theme .wpcf7-form .form-control:focus,
.light-theme .wpcf7-form .form-select:focus,
.light-theme .wpcf7-form .wpcf7-form-control:focus {
  color: #121820;
}
.custom-form .form-select,
.custom-form .wpcf7-select,
.wpcf7-form .form-select,
.wpcf7-form .wpcf7-select {
  color: rgba(255, 255, 255, 0.6) !important;
}
.light-theme .custom-form .form-select,
.light-theme .custom-form .wpcf7-select,
.light-theme .wpcf7-form .form-select,
.light-theme .wpcf7-form .wpcf7-select {
  color: #6f7b88;
}
.custom-form .form-select option,
.custom-form .wpcf7-select option,
.wpcf7-form .form-select option,
.wpcf7-form .wpcf7-select option {
  background: #1a1a1a;
}
.light-theme .custom-form .form-select option,
.light-theme .custom-form .wpcf7-select option,
.light-theme .wpcf7-form .form-select option,
.light-theme .wpcf7-form .wpcf7-select option {
  background: #ffffff;
}
.custom-form .form-select option,
.custom-form .wpcf7-select option,
.wpcf7-form .form-select option,
.wpcf7-form .wpcf7-select option {
  color: #ffffff;
}
.light-theme .custom-form .form-select option,
.light-theme .custom-form .wpcf7-select option,
.light-theme .wpcf7-form .form-select option,
.light-theme .wpcf7-form .wpcf7-select option {
  color: #121820;
}
.custom-form .form-select option,
.custom-form .wpcf7-select option,
.wpcf7-form .form-select option,
.wpcf7-form .wpcf7-select option {
  padding: 10px;
}

.custom-textarea,
.wpcf7-textarea {
  resize: vertical;
  min-height: 120px;
}

.custom-form input.form-control,
.custom-form select.form-select,
.custom-form textarea.form-control,
.custom-form .wpcf7-text,
.custom-form .wpcf7-email,
.custom-form .wpcf7-tel,
.custom-form .wpcf7-textarea,
.custom-form .wpcf7-select,
.wpcf7-form input.form-control,
.wpcf7-form select.form-select,
.wpcf7-form textarea.form-control,
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form .wpcf7-select {
  background-image: none;
  box-shadow: none;
  appearance: auto;
}

.custom-form input.form-control,
.custom-form select.form-select,
.custom-form textarea.form-control {
  background-image: none !important;
  box-shadow: none !important;
  appearance: auto !important;
}

/* Отключаем Bootstrap стили для этих элементов */
.custom-form input.form-control,
.custom-form select.form-select,
.custom-form textarea.form-control {
  background-image: none !important;
  box-shadow: none !important;
  appearance: auto !important;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
.floating {
  animation: float 6s ease-in-out infinite;
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: #cccccc;
}
.light-theme .breadcrumb {
  color: #2f3f4b;
}

.breadcrumb__link {
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  color: #cccccc;
}
.light-theme .breadcrumb__link {
  color: #2f3f4b;
}
.breadcrumb__link:hover {
  color: #ffffff;
}
.light-theme .breadcrumb__link:hover {
  color: #121820;
}

.breadcrumb__separator {
  color: #999999;
}
.light-theme .breadcrumb__separator {
  color: #617388;
}

.breadcrumb__current {
  font-weight: 600;
  color: #ffffff;
}
.light-theme .breadcrumb__current {
  color: #121820;
}

/* Адаптивность для хлебных крошек */
@media (max-width: 576px) {
  .breadcrumb {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }
  .breadcrumb__separator {
    margin: 0 0.5rem;
  }
}
@media (max-width: 1200px) {
  .star-card {
    flex: 0 0 300px;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section {
    padding: 2rem 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .btn-hero,
  .btn-outline-hero {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
  .playlist-container {
    padding: 1.5rem;
  }
  .playlist-container-title {
    font-size: 1.5rem;
  }
  .video-info {
    padding: 1rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  .gallery-nav {
    gap: 0.5rem;
  }
  .gallery-nav-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  .gallery-overlay {
    padding: 1rem;
    opacity: 1;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
  }
  .light-theme .gallery-overlay {
    background: linear-gradient(to bottom, transparent 40%, rgba(255, 255, 255, 0.95) 100%);
  }
  .stars-carousel {
    padding: 0 1rem;
  }
  .star-card {
    flex: 0 0 300px;
  }
  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .nav-btn.prev {
    margin-left: -0.5rem;
  }
  .nav-btn.next {
    margin-right: -0.5rem;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    margin-bottom: 2rem;
  }
  .card-custom {
    padding: 2rem;
  }
  .playlist-container {
    padding: 1rem;
  }
  .playlist-item {
    padding: 0.8rem 1rem;
  }
  .playlist-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-nav {
    flex-direction: column;
    align-items: center;
  }
  .gallery-nav-btn {
    width: 200px;
    justify-content: center;
  }
  .star-card {
    flex: 0 0 280px;
  }
  .star-content {
    padding: 1rem;
  }
  .star-name {
    font-size: 1.3rem;
  }
  .carousel-nav {
    display: none;
  }
}
/* Стили для кнопок fancybox */
.fancybox-button {
  background: rgba(30, 30, 30, 0.6);
}

.fancybox-button:hover {
  background: rgba(30, 30, 30, 0.8);
}

.fancybox-toolbar {
  opacity: 1 !important;
}

.fancybox-nav {
  opacity: 1 !important;
}

/* Убедитесь что кнопки видны */
.fancybox-bg {
  background: rgba(0, 0, 0, 0.8);
}

.fancybox-slide--image .fancybox-content {
  background: transparent;
  padding: 0;
}

/* Показываем кнопки fancybox */
.fancybox-toolbar {
  opacity: 1 !important;
  visibility: visible !important;
}

.fancybox-button {
  opacity: 1 !important;
  visibility: visible !important;
  background: rgba(30, 30, 30, 0.8) !important;
}

.fancybox-button:hover {
  background: rgb(30, 30, 30) !important;
}

/* Кнопки навигации */
.fancybox-navigation .fancybox-button {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Инфобар */
.fancybox-infobar {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Убедимся что все видно */
.fancybox-container * {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Показываем все кнопки fancybox */
.fancybox-toolbar {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.fancybox-button {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  background: rgba(30, 30, 30, 0.8);
  width: 44px;
  height: 44px;
}

.fancybox-button:hover {
  background: rgb(30, 30, 30);
}

/* Убедимся что все кнопки видны */
.fancybox-button--zoom,
.fancybox-button--share,
.fancybox-button--play,
.fancybox-button--fsenter,
.fancybox-button--download,
.fancybox-button--thumbs,
.fancybox-button--close {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Инфобар */
.fancybox-infobar {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/*# sourceMappingURL=style.css.map */
