/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.topbar {
  background: #1a1a1a;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.topbar,
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0.75rem 1rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 60px;
  width: auto;
}

/* Navigation - Mobile First */
.main-nav {
  display: none;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.lang-current:hover {
  background: rgba(255,255,255,0.1);
}

.flag-icon {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  color: #333;
  min-width: 120px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
}

.language-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.lang-option:hover {
  background: #f8f9fa;
}

.lang-option:last-child {
  border-bottom: none;
}

/* Mobile Navigation */
.mobile-nav {
  display: block;
  background: #2c2c2c;
  color: white;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.mobile-logo img {
  display: none;
  height: 15px;
}

.mobile-menu-toggle {
  font-size: 1rem;
  color: white;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  max-height: 300px;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.1);
}

/* Sidebar Styles (for category pages) */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: white;
  z-index: 999;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.sidebar.sidebar-open {
  left: 0;
}

.sidebar .logo {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid #eee;
}

.sidebar .logo img {
  height: 40px;
}

.menu {
  flex: 1;
  padding: 1rem 0;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #333;
  transition: background 0.2s;
}

.menu a:hover {
  background: #f8f9fa;
}

.menu .icon {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.sidebar-bottom {
  padding: 1rem;
  border-top: 1px solid #eee;
}

.support-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: #28a745;
  color: white;
  border-radius: 6px;
  text-align: center;
  margin-top: 1rem;
  transition: background 0.2s;
}

.support-btn:hover {
  background: #218838;
}

.support-icon {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Burger and subnav toggle */
.burger,
.subnav-toggle {
  font-size: 1.5rem;
  color: white;
  padding: 0.5rem;
}

/* Subnav (hidden on mobile by default) */
.subnav {
  display: none;
  gap: 2rem;
  padding: 0 1rem;
  background: #333;
}

.subnav a {
  color: #ccc;
  padding: 0.75rem 0;
  transition: color 0.2s;
  white-space: nowrap;
}

.subnav a:hover {
  color: white;
}

/* Topnav (visible on mobile) */
.topnav {
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 1rem;
}

.topnav-visible {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.topnav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  color: #333;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.2s;
}

.topnav a:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.topnav i {
  font-size: 1rem;
}

/* Main Content */
.main {
  min-height: calc(100vh - 60px);
}

/* Breadcrumbs */
.breadcrumbs-section {
  background: white;
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: #007bff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb-item.current span {
  color: #6c757d;
}

.breadcrumb-separator {
  color: #6c757d;
}

.breadcrumb-icon {
  font-size: 0.8rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.993),
  1px 2px 2px rgb(0, 0, 0),
  1px 2px 2px rgb(0, 0, 0),
  2px 2px 2px rgb(0, 0, 0);
  color: #fff;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
    font-weight: 700;
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.993),
  1px 2px 2px rgb(0, 0, 0),
  1px 2px 2px rgb(0, 0, 0),
  2px 2px 2px rgb(0, 0, 0);
  color: #fff;
  opacity: 1;
}

.hero-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: #28a745;
  color: white;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.hero-btn:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Section Styles */
.casino-reviews-section,
.casino-info-section {
  padding: 3rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Casino Grid */
.casino-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.casino-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.casino-card.exclusive {
  border: 2px solid #ffc107;
  position: relative;
}

.casino-logo {
  position: relative;
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
}

.casino-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.exclusive-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #ffc107;
  color: #000;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.casino-info {
  padding: 0 1.5rem 1.5rem;
}

.casino-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #333;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  gap: 0.1rem;
}

.star {
  color: #ddd;
  font-size: 1rem;
}

.star.filled {
  color: #ffc107;
}

.rating-value {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 600;
}

.casino-bonus {
  margin-bottom: 1rem;
}

.bonus-title {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.bonus-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #28a745;
}

.casino-deposits {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.deposit-info {
  flex: 1;
  min-width: 120px;
}

.deposit-label {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.deposit-value {
  font-weight: 600;
  color: #333;
}

.casino-description {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.casino-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-review,
.btn-play {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.btn-review {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #dee2e6;
}

.btn-review:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.btn-play {
  background: #28a745;
  color: white;
}

.btn-play:hover {
  background: #218838;
}

/* Casino Info Card (for single pages) */
.casino-info-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 3rem;
}

.casino-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  flex-wrap: wrap;
}

.casino-logo-large img {
  height: 80px;
  width: auto;
}

.casino-meta h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.casino-specs {
  padding: 2rem;
}

.spec-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.spec-item h4 {
  font-size: 0.9rem;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.spec-value {
  font-weight: 600;
  color: #333;
}

.bonus-item .spec-value {
  font-size: 1.2rem;
  color: #28a745;
}

.currencies .currency,
.payment-methods .payment-method,
.devices .device,
.support .support-method {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.8rem;
  margin: 0.25rem 0.25rem 0.25rem 0;
}

.languages {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.casino-cta {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
  background: #007bff;
  color: white;
}

.btn-large:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #545b62;
}

/* Content Section */
.content-section,
.review-content-section {
  padding: 3rem 0;
  background: white;
}

.review-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.review-content h1,
.review-content h2,
.review-content h3 {
  margin: 2rem 0 1rem;
  color: #333;
}

.review-content h1 {
  font-size: 2rem;
}

.review-content h2 {
  font-size: 1.5rem;
}

.review-content h3 {
  font-size: 1.2rem;
}

.review-content p {
  margin-bottom: 1rem;
  color: #555;
}

.review-content ul,
.review-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.review-content li {
  margin-bottom: 0.5rem;
}

.review-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

.review-content thead {
  background: #007bff;
  color: white;
}

.review-content th,
.review-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.review-content tbody tr:hover {
  background: #f8f9fa;
}

/* Navigation */
.review-navigation {
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.related-casinos {
  margin-top: 3rem;
}

.related-casinos h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: #333;
}

.related-grid {
  display: grid;
  gap: 1rem;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  transition: background 0.2s;
}

.related-card:hover {
  background: #e9ecef;
}

.related-logo {
  height: 40px;
  width: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.related-card h4 {
  margin-bottom: 0.25rem;
}

.related-card h4 a {
  color: #007bff;
}

.related-rating {
  font-size: 0.9rem;
  color: #ffc107;
}

/* Load More */
.load-more-section {
  text-align: center;
  margin-top: 3rem;
}

.btn-load-more {
  padding: 0.875rem 2rem;
  background: #007bff;
  color: white;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-load-more:hover {
  background: #0056b3;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.social-links a:hover {
  transform: scale(1.1);
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: white;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #ccc;
  transition: color 0.2s;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-logo {
  height: 30px;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #ccc;
}

.footer-disclaimer,
.age-verification {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.5rem;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .casino-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .casino-deposits {
    flex-direction: row;
  }
  
  .deposit-info {
    min-width: auto;
  }
  
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .topnav {
    display: none;
  }
  
  .subnav {
    display: flex;
  }
  
  .review-content table {
    display: block;
    overflow-x: auto !important;
    white-space: normal;
  }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
  
  .main-nav {
    display: flex;
    gap: 2rem;
  }
  
  .main-nav a {
    color: #ccc;
    padding: 0.75rem 0;
    transition: color 0.2s;
    font-weight: 500;
  }
  
  .main-nav a:hover {
    color: white;
  }
  
  .topbar {
    min-height: 70px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .casino-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .casino-header {
    flex-wrap: nowrap;
  }
  
  .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-brand {
    text-align: left;
  }
  
  .social-links {
    justify-content: flex-start;
  }
  
  .footer-bottom-left {
    justify-content: flex-start;
  }
  
  .footer-bottom {
    text-align: left;
  }
  
  .sidebar {
    position: static;
    width: auto;
    height: auto;
    box-shadow: none;
    background: transparent;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .casino-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .spec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Print Styles */
@media print {
  .topbar,
  .mobile-nav,
  .sidebar,
  .hero-section,
  .casino-actions,
  .casino-cta,
  .footer,
  .btn {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .casino-card,
  .casino-info-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  
  .casino-grid {
    grid-template-columns: 1fr !important;
  }
  
  .review-content {
    max-width: none !important;
  }
  
  .review-content h1,
  .review-content h2,
  .review-content h3 {
    page-break-after: avoid;
  }
  
  .review-content table {
    page-break-inside: avoid;
  }
}

/* Loading States */
.casino-card.loading {
  opacity: 0.6;
  pointer-events: none;
}

.casino-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error States */
.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #f5c6cb;
  margin: 1rem 0;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #c3e6cb;
  margin: 1rem 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Selection Styles */
::selection {
  background: #007bff;
  color: white;
}

::-moz-selection {
  background: #007bff;
  color: white;
}

/* Tooltip Styles */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 5px;
}

[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
  z-index: 1000;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.slide-up {
  animation: slideUp 0.5s ease-in-out;
}

.scale-in {
  animation: scaleIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 24px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: 60%;
}

.skeleton-image {
  height: 60px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* Filter and Sort Styles */
.filters-section {
  background: white;
  padding: 2rem 0;
  border-bottom: 1px solid #eee;
}

.filters-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  background: white;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: white;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Results Info */
.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #6c757d;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.pagination-item {
  padding: 0.5rem 0.75rem;
  border: 1px solid #dee2e6;
  background: white;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.pagination-item:hover,
.pagination-item.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.table-wrapper table {
  min-width: 600px;
}

/* Sticky Elements */
.sticky {
  position: sticky;
  top: 60px;
  z-index: 100;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333;
  color: white;
  padding: 1rem;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

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

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-accept {
  background: #28a745;
  color: white;
}

.cookie-accept:hover {
  background: #218838;
}

.cookie-decline {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-decline:hover {
  background: rgba(255,255,255,0.1);
}


/* Content Section */
.content-section {
  padding: 40px 30px;
  color: #333333;
}

.content-section h2 {
  color: #4ea522;
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4ea522;
}

.content-section h3 {
  color: #333333;
  font-size: 1.3rem;
  margin: 25px 0 15px 0;
}

.content-section p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.content-section ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.content-section li {
  margin-bottom: 8px;
}
/* Base Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: white;
  margin: 0;
  border: 1px solid #e0e0e0;
}

thead {
  background: #f8f9fa;
  border-bottom: 2px solid #4ea522;
}

th {
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  color: #333;
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
}

/* Вертикальные разделители для колонок */
th:not(:last-child),
td:not(:last-child) {
  border-right: 1px solid #4ea52233; /* Полупрозрачный зеленый */
}

/* Hover эффект для строк */
tbody tr:hover {
  background-color: #f8fff8; /* Легкий зеленоватый оттенок при наведении */
}

/* Mobile Table Styles */
@media screen and (max-width: 768px) {
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
    border-spacing: 0;
    border-collapse: collapse;
  }
  
  /* Ensure horizontal scroll works on iOS */
  table::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 8px;
  }
  
  table::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .3);
  }
}