/* Guide Casino France Top - Custom Styles */

/* Основная цветовая палитра */
:root {
  --primary-color: #1a365d;
  --secondary-color: #2d5a87;
  --accent-color: #e53e3e;
  --success-color: #38a169;
  --warning-color: #d69e2e;
  --info-color: #3182ce;
  --light-bg: #f7fafc;
  --dark-bg: #1a202c;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Улучшенные блоки */
.custom-section {
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.custom-section:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.custom-section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

.custom-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Улучшенные кнопки */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-color) 0%, #fc8181 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  text-decoration: none;
}

/* Улучшенные карточки */
.card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card h4 {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Улучшенные списки */
.wp-block-list {
  list-style: none;
  padding: 0;
}

.wp-block-list li {
  background: white;
  margin: 0.5rem 0;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.wp-block-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.wp-block-list li strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Улучшенные заголовки */
.wp-block-heading {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.wp-block-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Улучшенный футер */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3748 100%);
  color: white;
}

footer .custom-section {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

footer .custom-section h3 {
  color: white;
  border-bottom-color: var(--accent-color);
}

footer .custom-section p {
  color: rgba(255, 255, 255, 0.8);
}

/* Улучшенные ссылки */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
  .custom-section {
    padding: 1rem;
    margin: 0.5rem 0;
  }
  
  .card {
    padding: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Улучшенные изображения */
img {
  border-radius: 8px;
  transition: all 0.3s ease;
}

img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Улучшенные формы */
input, textarea, select {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Улучшенные таблицы */
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

tr:nth-child(even) {
  background: var(--light-bg);
}

tr:hover {
  background: rgba(26, 54, 93, 0.05);
}

/* Стили для Elementor */
.elementor-widget-heading .elementor-heading-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.elementor-widget-heading .elementor-heading-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--warning-color) 100%);
  border-radius: 2px;
}

/* Стили для контейнеров Elementor */
.elementor-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.elementor-section {
  padding: 2rem 0;
}

.elementor-element {
  transition: all 0.3s ease;
}

/* Стили для карточек казино */
.casino-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.casino-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.casino-rating {
  background: linear-gradient(135deg, var(--success-color) 0%, #48bb78 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.casino-bonus {
  background: linear-gradient(135deg, var(--accent-color) 0%, #fc8181 100%);
  color: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.casino-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.casino-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 1.5rem;
}

.casino-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.casino-features li:last-child {
  border-bottom: none;
}

/* Стили для кнопок казино */
.casino-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  text-align: center;
  width: 100%;
  margin-top: 1rem;
}

.casino-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.casino-btn-secondary {
  background: linear-gradient(135deg, var(--accent-color) 0%, #fc8181 100%);
}

/* Стили для рейтингов */
.rating-stars {
  color: var(--warning-color);
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.rating-number {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}



/* Стили для бонусов */
.bonus-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.bonus-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.bonus-terms {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

/* Стили для логотипа в header */
.site-title-wrapper {
  margin-left: 1rem;
  display: flex;
  align-items: center;
}

.site-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.site-title a {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-title a:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

/* Адаптивность для логотипа */
@media (max-width: 768px) {
  .site-title {
    font-size: 1.4rem;
  }
  
  .site-title-wrapper {
    margin-left: 0.5rem;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.2rem;
  }
  
  .site-title-wrapper {
    margin-left: 0.25rem;
  }
}

/* Стили для навигации */
.nav-custom {
  background: white;
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-custom .nav-link {
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-custom .nav-link:hover {
  background: var(--light-bg);
  color: var(--accent-color);
}

.nav-custom .nav-link.active {
  background: var(--primary-color);
  color: white;
}

/* Стили для хлебных крошек */
.breadcrumb-custom {
  background: var(--light-bg);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.breadcrumb-custom a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-custom a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.breadcrumb-custom .separator {
  color: var(--text-light);
  margin: 0 0.5rem;
}

/* Стили для модальных окон */
.modal-custom {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-custom.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.modal-custom.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--accent-color);
}

/* Стили для уведомлений */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: white;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--success-color);
  z-index: 3000;
  transform: translateX(400px);
  transition: all 0.3s ease;
  max-width: 400px;
}

.notification.show {
  transform: translateX(0);
}

.notification.error {
  border-left-color: var(--accent-color);
}

.notification.warning {
  border-left-color: var(--warning-color);
}

.notification.info {
  border-left-color: var(--info-color);
}

/* Стили для загрузки */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}

/* Стили для пагинации */
.pagination-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.pagination-custom .page-item {
  margin: 0 0.25rem;
}

.pagination-custom .page-link {
  display: block;
  padding: 0.75rem 1rem;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.pagination-custom .page-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.pagination-custom .page-item.active .page-link {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination-custom .page-item.disabled .page-link {
  background: var(--light-bg);
  color: var(--text-light);
  cursor: not-allowed;
}

/* Стили для поиска */
.search-box {
  position: relative;
  margin: 1rem 0;
}

.search-box input {
  padding-right: 3rem;
}

.search-box .search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box .search-btn:hover {
  background: var(--secondary-color);
}

/* Стили для фильтров */
.filter-section {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.filter-group select,
.filter-group input[type="range"] {
  width: 100%;
}

.filter-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

/* Стили для аккордеона */
.accordion-custom {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background: var(--light-bg);
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: var(--primary-color);
  color: white;
}

.accordion-header.active {
  background: var(--primary-color);
  color: white;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 1.5rem;
  background: white;
  display: none;
}

.accordion-content.active {
  display: block;
}

/* Стили для табов */
.tabs-custom {
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
}

.tab-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-item {
  margin-right: 0.5rem;
}

.tab-link {
  display: block;
  padding: 1rem 1.5rem;
  background: var(--light-bg);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  font-weight: 600;
}

.tab-link:hover {
  background: var(--primary-color);
  color: white;
}

.tab-link.active {
  background: var(--primary-color);
  color: white;
  border-bottom: 2px solid var(--primary-color);
}

.tab-content {
  display: none;
  padding: 2rem 0;
}

.tab-content.active {
  display: block;
}

/* Дополнительные утилиты */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }

.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }


/* Адаптивность для мобильных устройств */
@media (max-width: 1024px) {
  .casino-card {
    padding: 1.5rem;
  }
  
  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
  
  .notification {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .casino-card {
    padding: 1rem;
  }
  
  .casino-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .tab-list {
    flex-direction: column;
  }
  
  .tab-link {
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }
  
  .accordion-header {
    padding: 0.75rem 1rem;
  }
  
  .accordion-content {
    padding: 1rem;
  }
  
  .pagination-custom {
    flex-wrap: wrap;
  }
  
  .pagination-custom .page-item {
    margin: 0.125rem;
  }
}

@media (max-width: 480px) {
  .custom-section {
    padding: 1rem;
  }
  
  .casino-card {
    padding: 0.75rem;
  }
  
  .casino-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .bonus-amount {
    font-size: 1.25rem;
  }
  
  .modal-content {
    padding: 1rem;
  }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
  :root {
    --light-bg: #1a202c;
    --dark-bg: #2d3748;
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-light: #a0aec0;
    --border-color: #4a5568;
  }
  
  .card,
  .casino-card {
    background: var(--dark-bg);
    color: var(--text-primary);
  }
  
  .custom-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3748 100%);
    color: var(--text-primary);
  }
  
  .filter-section {
    background: var(--dark-bg);
  }
  
  .accordion-content {
    background: var(--dark-bg);
  }
  
  .tab-content {
    background: var(--dark-bg);
  }
}

/* Стили для рейтинговых звездочек */
.e-rating-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0.5rem 0;
  padding: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
}

.e-rating-wrapper:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.1) 100%);
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.e-rating-wrapper .e-icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 1px;
}

.e-rating-wrapper .e-icon-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.e-rating-wrapper .e-icon-wrapper.e-icon-marked {
  color: #ffd700;
  z-index: 2;
}

.e-rating-wrapper .e-icon-wrapper.e-icon-unmarked {
  color: #e2e8f0;
  z-index: 1;
}

.e-rating-wrapper .eicon-star {
  font-size: 18px;
  line-height: 1;
  display: block;
  transition: all 0.3s ease;
}

/* Дополнительные стили для eicon-star */
.eicon-star {
  font-family: 'eicons' !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.eicon-star:before {
  content: "" !important;
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd700'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  vertical-align: middle !important;
}

/* Стили для eicon-star вне рейтинговых блоков */
.eicon-star:not(.e-rating-wrapper .eicon-star) {
  color: #ffd700;
  font-size: 16px;
  margin: 0 2px;
  transition: all 0.3s ease;
  text-shadow: 0 0 4px rgba(255, 215, 0, 0.3);
}

/* SVG иконка для пустых звездочек */
.e-icon-unmarked .eicon-star:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e2e8f0'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") !important;
}

/* SVG иконка для заполненных звездочек */
.e-icon-marked .eicon-star:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd700'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") !important;
}

/* SVG иконка для звездочек с градиентом */
.eicon-star.gradient:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='starGradient' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23ffd700;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23ff6b6b;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z' fill='url(%23starGradient)'/%3E%3C/svg%3E") !important;
}

/* SVG иконки для разных рейтингов */
.e-rating-wrapper[content="5"] .e-icon-marked .eicon-star:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b6b'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") !important;
}

.e-rating-wrapper[content="4.9"] .e-icon-marked .eicon-star:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd700'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") !important;
}

.e-rating-wrapper[content="4.7"] .e-icon-marked .eicon-star:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffa726'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") !important;
}

.e-rating-wrapper[content="4.5"] .e-icon-marked .eicon-star:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff9800'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") !important;
}

/* SVG иконка для звездочек с эффектом свечения */
.eicon-star.glow:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='3' result='coloredBlur'/%3E%3CfeMerge%3E%3CfeMergeNode in='coloredBlur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z' fill='%23ffd700' filter='url(%23glow)'/%3E%3C/svg%3E") !important;
}

.eicon-star:not(.e-rating-wrapper .eicon-star):hover {
  transform: scale(1.2);
  color: #ffed4e;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Стили для одиночных звездочек */
.star-rating .eicon-star {
  display: inline-block;
  margin: 0 1px;
  cursor: pointer;
}

.star-rating .eicon-star:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

/* Стили для звездочек в заголовках */
h1 .eicon-star,
h2 .eicon-star,
h3 .eicon-star,
h4 .eicon-star,
h5 .eicon-star,
h6 .eicon-star {
  color: #ffd700;
  font-size: 0.8em;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Стили для звездочек в кнопках */
.btn .eicon-star,
.casino-btn .eicon-star {
  margin-right: 0.5rem;
  font-size: 0.9em;
}

/* Стили для звездочек в списках */
ul .eicon-star,
ol .eicon-star {
  margin-right: 0.5rem;
  color: #ffd700;
}

/* Анимация пульсации для активных звездочек */
.eicon-star.active {
  animation: starPulse 2s infinite;
}

@keyframes starPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Анимация для звездочек при наведении */
.e-rating-wrapper:hover .e-icon-wrapper.e-icon-marked .eicon-star {
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

/* Эффект свечения для активных звездочек */
.e-rating-wrapper .e-icon-wrapper.e-icon-marked .eicon-star {
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Улучшенные цвета для разных рейтингов */
.e-rating-wrapper[content="5"] .e-icon-wrapper.e-icon-marked {
  color: #ff6b6b;
}

.e-rating-wrapper[content="4.9"] .e-icon-wrapper.e-icon-marked {
  color: #ffd700;
}

.e-rating-wrapper[content="4.7"] .e-icon-wrapper.e-icon-marked {
  color: #ffa726;
}

.e-rating-wrapper[content="4.5"] .e-icon-wrapper.e-icon-marked {
  color: #ff9800;
}

/* Анимация появления звездочек */
@keyframes starAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(360deg);
  }
}

.e-rating-wrapper .e-icon {
  animation: starAppear 0.6s ease-out;
}

.e-rating-wrapper .e-icon:nth-child(1) { animation-delay: 0.1s; }
.e-rating-wrapper .e-icon:nth-child(2) { animation-delay: 0.2s; }
.e-rating-wrapper .e-icon:nth-child(3) { animation-delay: 0.3s; }
.e-rating-wrapper .e-icon:nth-child(4) { animation-delay: 0.4s; }
.e-rating-wrapper .e-icon:nth-child(5) { animation-delay: 0.5s; }

/* Стили для числового рейтинга */
.e-rating-wrapper::after {
  content: attr(content);
  margin-left: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Дополнительные эффекты для рейтингов */
.e-rating-wrapper {
  position: relative;
  overflow: hidden;
}

.e-rating-wrapper::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.5s ease;
}

.e-rating-wrapper:hover::before {
  left: 100%;
}

/* Стили для контейнера рейтинга в карточках казино */
.elementor-widget-container .e-rating-wrapper {
  margin: 1rem 0;
  justify-content: center;
}

/* Стили для рейтинга в карточках казино */
.casino-card .e-rating-wrapper {
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, rgba(45, 90, 135, 0.05) 100%);
  border: 1px solid rgba(26, 54, 93, 0.2);
  margin: 0.75rem 0;
}

.casino-card .e-rating-wrapper:hover {
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.15) 0%, rgba(45, 90, 135, 0.1) 100%);
  border-color: rgba(26, 54, 93, 0.4);
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
}

/* Стили для рейтинга в заголовках карточек */
.elementor-widget-heading + .elementor-widget-container .e-rating-wrapper {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Стили для рейтинга в списках */
.elementor-widget-icon-list .e-rating-wrapper {
  margin: 0.5rem 0;
  justify-content: flex-start;
}

/* Адаптивность для звездочек */
@media (max-width: 768px) {
  .e-rating-wrapper .e-icon {
    width: 16px;
    height: 16px;
  }
  
  .e-rating-wrapper .eicon-star {
    font-size: 14px;
  }
  
  .e-rating-wrapper::after {
    font-size: 1rem;
    margin-left: 0.5rem;
  }
}

@media (max-width: 480px) {
  .e-rating-wrapper .e-icon {
    width: 14px;
    height: 14px;
  }
  
  .e-rating-wrapper .eicon-star {
    font-size: 12px;
  }
  
  .e-rating-wrapper {
    padding: 0.25rem;
    margin: 0.25rem 0;
  }
  
  .e-rating-wrapper::after {
    font-size: 0.9rem;
    margin-left: 0.25rem;
  }
}

/* Печать */
@media print {
  .btn-primary,
  .btn-secondary,
  .casino-btn,
  .nav-custom,
  .modal-custom,
  .notification {
    display: none !important;
  }
  
  .custom-section,
  .card,
  .casino-card {
    box-shadow: none;
    border: 1px solid #000;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }
}