* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  transition: 0.3s ease;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #fbfbfb;
  color: #000;
}

/* === Тёмная тема === */
body.dark-theme {
  background-color: #0f0f0f;
}

/* === Шапка === */
header {
  padding: 10px 0;
  background-color: #BCABAE;
}

body.dark-theme header {
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-and-hamburger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  width: 100px;
  height: auto;
}

.site {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 550;
  margin: 0;
  color: #000;
  cursor: default;
}

body.dark-theme .site {
  color: #ffffff !important;
}

/* === Навигация === */
.main-nav {
  display: flex;
  gap: 15px;
}

.main-nav a {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translateY(0);
}

.main-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #716969 0%, #5a5454 100%);
  z-index: -1;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 50px;
}

.main-nav a:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.main-nav a:hover::before {
  transform: scale(1);
}

body.dark-theme .main-nav a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2d2d2d 0%, #1f1f1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body.dark-theme .main-nav a:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

/* === Гамбургер === */
.hamburger-wrapper {
  position: relative;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #000;
  border-radius: 2px;
  transition: 0.3s;
}

body.dark-theme .hamburger span {
  background-color: #ffffff !important;
}

/* === Мобильное меню === */
.mobile-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: linear-gradient(135deg, #e0d6d8 0%, #c9b9bc 100%);
  padding: 15px 0;
  display: none;
  z-index: 19;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-radius: 15px;
  min-width: 190px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-dropdown.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  padding: 5px;
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  padding: 16px 25px;
  border-radius: 50px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin: 0 5px;
}

.mobile-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #716969 0%, #5a5454 100%);
  z-index: -1;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  border-radius: 50px;
}

.mobile-nav a:hover {
  color: #fff;
  transform: translateX(8px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.mobile-nav a:hover::before {
  transform: scale(1);
}

body.dark-theme .mobile-menu-dropdown {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .mobile-nav a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2d2d2d 0%, #1f1f1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-theme .mobile-nav a:hover {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* === Основной контент === */
main {
  flex: 1;
  width: 100%;
  background-color: #fff;
  padding: 20px 0;
}

body.dark-theme main {
  background-color: #0f0f0f;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- Стили для страницы фильма --- */
.film-page {
  background-color: transparent;
  padding: 30px 0;
  width: 100%;
}

.film-header {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
  justify-content: center;
}

.film-poster {
  flex: 0 0 auto;
  width: 300px;
}

.film-poster .poster-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.film-info {
  flex: 1;
  min-width: 250px;
}

.film-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #000;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body.dark-theme .film-title {
  color: #ffffff !important;
}

.film-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #333;
}

body.dark-theme .film-meta {
  color: #ffffff !important;
}

/* === Рейтинг фильма === */
.film-rating {
  background-color: #716969;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  color: #ffffff;
  /* Белый цвет для значений */
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Принудительно делаем текст белым */
.film-rating .rating-label,
.film-rating #averageRating {
  color: #ffffff !important;
}

body.dark-theme .film-rating {
  background-color: #2d2d2d !important;
  border: 1px solid #444;
}

.film-slogan {
  font-style: italic;
  font-size: 1.2rem;
  margin: 15px 0;
  color: #666;
}

body.dark-theme .film-slogan {
  color: #ffffff !important;
}

.film-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
}

body.dark-theme .film-description {
  color: #ffffff !important;
}

.film-actors {
  margin-top: 20px;
}

.film-actors h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #000000;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  background-color: #e0e0e0;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  border-left: 3px solid #716969;
}

body.dark-theme .film-actors h3 {
  color: #ffffff !important;
  background-color: #2d2d2d !important;
}

.film-actors ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.film-actors li {
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
  color: #000;
  font-size: 1.1rem;
  background-color: #f9f9f9;
  margin-bottom: 5px;
  padding-left: 15px;
  border-radius: 4px;
  position: relative;
}

body.dark-theme .film-actors li {
  background-color: #1a1a1a !important;
  border-bottom: 1px solid #333 !important;
  color: #ffffff !important;
}

.film-actors li::before {
  content: "•";
  color: #716969;
  position: absolute;
  left: 5px;
}

body.dark-theme .film-actors li::before {
  color: #716969 !important;
}

/* --- Стили для таблицы "О фильме" --- */
.film-details {
  margin-top: 30px;
  width: 100%;
}

.film-details h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #000;
}

body.dark-theme .film-details h2 {
  color: #ffffff !important;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-left: 0;
  margin-right: 0;
}

body.dark-theme .details-table {
  background-color: #1a1a1a !important;
  border: 1px solid #333 !important;
  color: #ffffff !important;
}

body.dark-theme .details-table tr:nth-child(even) {
  background-color: #222222 !important;
}

body.dark-theme .details-table td {
  border-bottom: 1px solid #333 !important;
  color: #ffffff !important;
}

body.dark-theme .details-table td:first-child {
  background-color: #2d2d2d !important;
}

.details-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.details-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
  color: #000;
}

.details-table td:first-child {
  font-weight: bold;
  color: #333;
  width: 30%;
  background-color: #f0f0f0;
}

/* === Остальные стили === */
.filling-soon {
  font-size: 2.5rem;
  font-weight: bold;
  color: #716969;
  text-align: center;
  margin: 100px 20px;
  padding: 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(176, 165, 167, 0.1) 0%, rgba(141, 132, 134, 0.1) 100%);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

body.dark-theme .filling-soon {
  color: #ffffff !important;
}

.filling-soon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.8s ease-in-out;
}

.filling-soon:hover::before {
  left: 100%;
}

.osebe {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  text-align: center;
  gap: 30px;
}

.foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.foto img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #BCABAE;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.ya {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
  color: #0f0f0f;
  text-transform: lowercase;
}

body.dark-theme .ya {
  color: #ffffff !important;
}

.osebe p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 650px;
  margin: 0;
  color: #333;
}

body.dark-theme .osebe p {
  color: #ffffff !important;
}

.osebe1 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 50px 20px;
}

.osebe1 img {
  width: 300px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  flex: 0 0 auto;
}

.osebe1 p {
  font-size: 1.2rem;
  color: #333;
}

body.dark-theme .osebe1 p {
  color: #ffffff !important;
}

hr {
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 40px auto;
  width: 80%;
}

/* === Карусель === */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  background: #fff;
}

body.dark-theme .carousel {
  background: #0f0f0f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.carousel-inner {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-item {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(113, 105, 105, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(113, 105, 105, 0.95);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicators span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-indicators span.active {
  background: white;
}

/* === Подвал === */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.podwal {
  background-color: #2D2E2E;
  width: 100%;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.podwal a {
  color: #fbfbfb;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}

.podwal img {
  width: 50px;
  height: 50px;
}

.podwal a:hover,
.podwal img:hover {
  opacity: 0.8;
}

.podval {
  background-color: #0F0F0F;
  color: #fbfbfb;
  font-weight: bold;
  font-size: 16px;
  margin: 0;
  padding: 10px 0;
  width: 100%;
  text-align: center;
}

/* === Адаптив: мобильные устройства (до 768px) === */
@media (max-width: 768px) {
  .header-container {
    padding: 16px 0;
  }

  .logo-and-hamburger {
    justify-content: space-between;
    padding: 0 16px;
    width: 100%;
  }

  .logo {
    gap: 16px;
  }

  .logo-link img {
    width: 80px;
  }

  .site {
    font-size: 1.4rem;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .foto img {
    width: 140px;
    height: 140px;
  }

  .osebe1 {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .osebe1 img {
    width: 220px;
    height: auto;
  }

  .film-header {
    justify-content: center;
  }

  .film-poster {
    width: 250px;
  }

  .carousel {
    max-width: 95vw;
    margin: 40px auto;
    max-width: min(95vw, 500px);
  }

  .carousel-item img {
    height: 200px;
    object-fit: cover;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .podwal img {
    width: 40px;
    height: 40px;
  }
}

/* === Кнопка переключения темы === */
.theme-toggle-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background-color: #BCABAE;
  color: #000;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.sun-icon,
.moon-icon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.moon-icon {
  opacity: 0;
  transform: rotate(180deg);
}

body.dark-theme .theme-toggle-btn {
  background-color: #2d2d2d;
  color: #fff;
}

body.dark-theme .sun-icon {
  opacity: 0;
  transform: rotate(-180deg);
}

body.dark-theme .moon-icon {
  opacity: 1;
  transform: rotate(0);
}

@media (max-width: 768px) {
  .theme-toggle-btn {
    top: auto;
    bottom: 20px;
    left: auto;
    right: 20px;
  }
}

/* === Стили для обратного отсчёта === */
.countdown-section {
  text-align: center;
  margin: 40px 0;
  padding: 25px;
  background-color: #f5f5f5;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

body.dark-theme .countdown-section {
  background-color: #1a1a1a;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.countdown-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #000;
}

body.dark-theme .countdown-section h2 {
  color: #ffffff !important;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown-value {
  font-size: 2.2rem;
  font-weight: bold;
  color: #000;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  padding: 10px 0;
  width: 100%;
  border-radius: 10px;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.1);
}

body.dark-theme .countdown-value {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2d2d2d 0%, #1f1f1f 100%);
  box-shadow: inset 0 -3px 6px rgba(255, 255, 255, 0.05);
}

.countdown-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.dark-theme .countdown-label {
  color: #bbb !important;
}

.full-film {
  text-align: center;
  margin: 40px 0;
  padding: 25px;
  background-color: #f5f5f5;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

body.dark-theme .full-film {
  background-color: #1a1a1a;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.full-film h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #000;
}

body.dark-theme .full-film h2 {
  color: #ffffff !important;
}

.full-film video {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

body.dark-theme .full-film video {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.film-trailer h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #000;
}

body.dark-theme .film-trailer h2 {
  color: #ffffff !important;
}

.film-trailer video {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  background-color: #000;
  width: 100%;
}

/* === Отзывы === */
.reviews-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  width: 100%;
}

.reviews-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #000;
  text-align: center;
}

body.dark-theme .reviews-section h2 {
  color: #ffffff !important;
}

.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.review-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

body.dark-theme .review-card {
  background-color: #1a1a1a !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-author {
  font-weight: bold;
  font-size: 1.1rem;
  color: #000;
}

body.dark-theme .review-author {
  color: #ffffff !important;
}

.review-date {
  font-size: 0.9rem;
  color: #666;
}

body.dark-theme .review-date {
  color: #bbb !important;
}

.review-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

body.dark-theme .review-text {
  color: #ffffff !important;
}

.review-form-container {
  background-color: #f5f5f5;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
}

body.dark-theme .review-form-container {
  background-color: #1a1a1a;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.review-form-container h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #000;
  text-align: center;
}

body.dark-theme .review-form-container h3 {
  color: #ffffff !important;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #000;
}

body.dark-theme .form-group label {
  color: #ffffff !important;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #fff;
  color: #000;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea {
  background-color: #2d2d2d !important;
  border: 1px solid #444 !important;
  color: #ffffff !important;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-review-btn {
  padding: 12px;
  background-color: #716969;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: flex-start;
  width: auto;
  min-width: 120px;
}

.submit-review-btn:hover {
  background-color: #5a5454;
}

/* === Звёздный рейтинг === */
.rating-container {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.rating-label {
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}

body.dark-theme .rating-label {
  color: #ffffff !important;
}

.star-rating {
  display: flex;
  gap: 3px;
}

.star {
  font-size: 1.5rem;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.1s ease;
  user-select: none;
  position: relative;
}

/* Простое изменение цвета при наведении */
.star:hover,
.star.selected {
  color: #ff9800;
  /* Оранжевый */
  transform: scale(1.1);
}

/* Активные звезды (выбранные) */
.star.active {
  color: #ff9800;
}

/* Выделенные звезды (при клике/выборе) */
.star.selected {
  color: #ff9800;
}

/* Адаптивность */
@media (max-width: 768px) {
  .star {
    font-size: 1.3rem;
  }
}

.no-reviews-message {
  text-align: center;
  font-size: 1.4rem;
  color: #666;
  padding: 40px 20px;
  font-style: italic;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-top: 20px;
  border: 1px dashed #ccc;
}

body.dark-theme .no-reviews-message {
  color: #bbb;
  background-color: #1a1a1a;
  border: 1px dashed #444;
}

/* === Сообщение о недоступности формы === */
.review-form-message {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  padding: 20px;
  margin-top: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  border: 1px dashed #ccc;
}

body.dark-theme .review-form-message {
  color: #bbb;
  background-color: #1a1a1a;
  border: 1px dashed #444;
}

.reviews-list-container {
  margin-top: 30px;
  /* Отступ от формы */
}

.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}