/* =============================================================================
   components.css — Reusable UI Components
   maxim88.today Casino Directory
   ============================================================================= */


/* =============================================================================
   1. BUTTONS
   ============================================================================= */

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF !important;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  line-height: 1.4;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  line-height: 1.4;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn-gold {
  background: var(--color-accent-dark);
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  line-height: 1.4;
}

.btn-gold:hover {
  background: #b8880f;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.btn-primary,
.btn-secondary,
.btn-gold {
  white-space: nowrap;
}

.lang-switcher {
  white-space: nowrap;
}


/* =============================================================================
   2. CARDS
   ============================================================================= */

.card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-featured {
  border: 2px solid var(--border-gold);
  background: var(--bg-gold-highlight);
}

/* --- Game Card --- */
.card-game {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Badge inside card — absolutely positioned, no layout impact */
.card-game .game-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 12px;
  border-radius: 0 10px 0 8px;
  font-size: 10px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  line-height: 1;
}

.card-game .game-badge.badge-hot {
  background: var(--color-accent-dark);
}

.card-game .game-badge.badge-new {
  background: var(--color-primary);
}

.card-game .game-thumb {
  height: 160px;
  background: linear-gradient(135deg, #13242C, #1a4a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card-game .game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-game .game-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-game .game-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-game .game-provider {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.card-game .game-rtp {
  font-size: 11px;
  color: var(--text-muted);
}

.card-game .game-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}


/* =============================================================================
   3. BADGES
   ============================================================================= */

.badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 12px;
  border-radius: 0 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  line-height: 1;
}

.badge-hot {
  background: var(--color-accent-dark);
}

.badge-new {
  background: var(--color-primary);
}


/* =============================================================================
   4. FILTER PILLS
   ============================================================================= */

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.pill {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
  font-weight: 500;
  line-height: 1;
}

.pill.active,
.pill:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}


/* =============================================================================
   5. FAQ ACCORDION
   ============================================================================= */

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  background: #F8F9FA;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #EFF0F1;
}

.faq-question::after {
  content: "▸";
  transition: transform 0.3s ease;
  font-size: 14px;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 14px 18px;
}


/* =============================================================================
   6. INFO TABLES
   ============================================================================= */

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  font-size: 13px;
}

.info-table thead {
  background: var(--bg-header);
  color: var(--color-accent);
}

.info-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.info-table td {
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

.info-table tr:nth-child(even) {
  background: #FAFAFA;
}

.info-table tr:last-child td {
  border-bottom: none;
}


/* =============================================================================
   7. TRUST BADGES
   ============================================================================= */

.trust-badges {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-badge {
  text-align: center;
}

.trust-badge .icon {
  font-size: 28px;
  margin-bottom: 6px;
  color: var(--color-primary);
  display: block;
}

.trust-badge .label {
  font-size: 13px;
  color: var(--text-secondary);
}


/* =============================================================================
   8. CASINO RECOMMENDATION CARD
   ============================================================================= */

.casino-card {
  background: var(--bg-gold-highlight);
  border: 2px solid var(--border-gold);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
}

.casino-card .casino-logo {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: var(--bg-header);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.casino-card .casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.casino-card .casino-info {
  flex: 1;
}

.casino-card .casino-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.casino-card .casino-rating {
  color: var(--color-accent-dark);
  font-size: 14px;
  font-weight: 600;
}

.casino-card .casino-features {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.casino-card .casino-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}


/* =============================================================================
   9. CTA BOX (MID-ARTICLE)
   ============================================================================= */

.cta-box {
  background: linear-gradient(135deg, #13242C, #19723C);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-box h3 {
  color: var(--color-accent);
  font-size: 16px;
  margin-bottom: 4px;
  border-bottom: none;
  padding-bottom: 0;
}

.cta-box p {
  color: var(--text-light-secondary);
  font-size: 13px;
}

.cta-box-content {
  flex: 1;
  min-width: 200px;
}


/* =============================================================================
   10. HERO BANNER
   ============================================================================= */

.hero {
  background: #13242C;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

/* Dark overlay on top of background image for text readability */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(19, 36, 44, 0.85) 0%, rgba(26, 58, 42, 0.8) 100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  color: var(--color-accent);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  color: var(--text-light);
  font-size: 32px;
  margin-bottom: 10px;
  border-bottom: none;
  padding-bottom: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero p {
  color: var(--text-light-secondary);
  font-size: 16px;
  margin-bottom: 24px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}


/* =============================================================================
   11. SEO CONTENT BLOCK
   ============================================================================= */

.seo-block {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-top: 1px solid #e5e5e5;
  padding: 60px 0 80px;
}

.seo-block .container {
  max-width: 880px;
}

.seo-block h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: -0.3px;
  border-bottom: none;
  padding-bottom: 0;
}

.seo-block h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 16px auto 32px;
  border-radius: 2px;
}

.seo-content {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

.seo-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
  letter-spacing: -0.2px;
}

.seo-content h3:first-child {
  margin-top: 0;
}

.seo-content p {
  margin-bottom: 18px;
  color: #444;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

.seo-content ul,
.seo-content ol {
  padding-left: 24px;
  margin: 16px 0 22px;
}

.seo-content li {
  margin-bottom: 10px;
  color: #444;
  line-height: 1.7;
}

.seo-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.seo-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.seo-content table th {
  background: var(--bg-header);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.seo-content table td {
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  font-size: 14px;
  color: #444;
}

.seo-content table tr:nth-child(even) td {
  background: #fafafa;
}

.seo-toggle {
  color: var(--color-primary);
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
  display: inline-block;
  font-weight: 500;
  transition: color 0.2s;
}

.seo-toggle:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}


/* =============================================================================
   12. CATEGORY GRID (HOMEPAGE)
   ============================================================================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.category-card .cat-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}

.category-card .cat-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.category-card .cat-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}


/* =============================================================================
   13. GAMES CAROUSEL
   ============================================================================= */

.games-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.games-carousel::-webkit-scrollbar {
  height: 4px;
}

.games-carousel::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 2px;
}

.games-carousel::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 2px;
}

.games-carousel {
  align-items: stretch;
}

.games-carousel .card-game {
  min-width: 200px;
  max-width: 200px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.games-carousel .card-game .game-thumb {
  height: 140px;
}

/* Align all game grids and carousels */
.grid-3 .card-game,
.grid-2 .card-game {
  height: 100%;
}


/* =============================================================================
   LATEST GUIDES SECTION (Homepage)
   ============================================================================= */

/* Featured guide — full width card with image left, content right */
.guide-featured {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.2s;
  background: #fff;
}

.guide-featured:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.guide-featured-img {
  position: relative;
  width: 50%;
  min-height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.guide-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guide-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(19, 36, 44, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.guide-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent-dark);
  color: #fff;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.guide-featured-content {
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-featured-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.3;
}

.guide-featured-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Guide tags */
.guide-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.guide-tag-gold {
  background: #FFF3D6;
  color: var(--color-accent-dark);
}

.guide-tag-green {
  background: #E8F5E9;
  color: var(--color-primary);
}

.guide-read-more {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
}

/* 3-column guide cards */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.guide-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.guide-card-img {
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.guide-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

.guide-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guide-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.3;
}

.guide-card-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

/* Responsive */
@media (max-width: 1200px) {
  .guides-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .guide-featured {
    flex-direction: column;
  }

  .guide-featured-img {
    width: 100%;
    min-height: 180px;
  }

  .guide-featured-content {
    padding: 20px;
  }

  .guide-featured-content h3 {
    font-size: 18px;
  }

  .guides-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-card-img {
    height: 140px;
  }
}


/* =============================================================================
   PROS & CONS CARDS
   ============================================================================= */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.pros-card,
.cons-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.pros-cons-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
}

.pros-cons-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.pros-cons-icon {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pros-header {
  background: linear-gradient(135deg, #2d8f3e, var(--color-primary));
}

.pros-header .pros-cons-icon {
  background: rgba(255, 255, 255, 0.25);
}

.cons-header {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.cons-header .pros-cons-icon {
  background: rgba(255, 255, 255, 0.25);
}

.pros-card ul,
.cons-card ul {
  list-style: none;
  padding: 16px 20px;
  margin: 0;
}

.pros-card li,
.cons-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
  border-bottom: 1px solid #f5f5f5;
}

.pros-card li:last-child,
.cons-card li:last-child {
  border-bottom: none;
}

.pro-check {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.con-cross {
  color: #e74c3c;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}


/* =============================================================================
   RELATED CARDS (text-only guide cards on sub-pages and blog articles)
   ============================================================================= */

.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.related-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.related-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  background: #E8F5E9;
  color: var(--color-primary);
}

.related-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.related-card-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.related-card-link {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
}


/* =============================================================================
   RATING CARD
   ============================================================================= */

.rating-card {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.rating-card-left {
  background: linear-gradient(135deg, var(--bg-header), #1a3a2a);
  color: #fff;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  text-align: center;
}

.rating-big-score {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.rating-big-stars {
  color: var(--color-accent);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.rating-big-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.rating-big-sub {
  font-size: 12px;
  color: var(--text-light-secondary);
}

.rating-card-right {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: #fff;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-bar-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 150px;
  flex-shrink: 0;
}

.rating-bar-track {
  flex: 1;
  height: 8px;
  background: #EAEAEA;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #2dce50);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.rating-bar-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 30px;
  text-align: right;
}

@media (max-width: 768px) {
  .rating-card {
    flex-direction: column;
  }

  .rating-card-left {
    min-width: unset;
    padding: 24px;
  }

  .rating-big-score {
    font-size: 42px;
  }

  .rating-bar-label {
    min-width: 110px;
    font-size: 12px;
  }

  .rating-card-right {
    padding: 20px;
  }
}


/* =============================================================================
   14. ARTICLE STYLES
   ============================================================================= */

.article-header {
  margin-bottom: 24px;
}

.article-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.article-tag {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.article-tag-green {
  background: #E8F5E9;
  color: var(--color-primary);
}

.article-tag-gold {
  background: #FFF8E1;
  color: var(--color-accent-dark);
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-featured-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 24px;
}

/* Article body content */
.article-body p {
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: revert;
}

.article-body li {
  margin-bottom: 6px;
}

/* Table of Contents */
.toc {
  background: #F8F9FA;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.toc h3 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.toc ol {
  padding-left: 20px;
  list-style: decimal;
}

.toc a {
  color: var(--color-primary);
  text-decoration: none;
  line-height: 2;
  font-size: 13px;
  display: inline-block;
}

.toc a:hover {
  text-decoration: underline;
}


/* =============================================================================
   15. RELATED ARTICLES
   ============================================================================= */

.related-articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
  display: block;
  background: #FFFFFF;
}

.related-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.related-card .related-img {
  height: 120px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.related-card .related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-card:hover .related-img img {
  transform: scale(1.04);
}

.related-card .related-body {
  padding: 12px;
}

.related-card .related-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.related-card .related-link {
  color: var(--color-primary);
  font-size: 13px;
}


/* =============================================================================
   16. PROVIDER LOGOS ROW
   ============================================================================= */

.provider-logos {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 8px;
  -webkit-overflow-scrolling: touch;
}

.provider-logo {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 20px;
  min-width: 120px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.provider-logo:hover,
.provider-logo.active {
  border-color: var(--color-primary);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(57, 181, 73, 0.15);
}

.provider-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-header), #1a3a2a);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

.provider-logo-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.provider-logo:hover .provider-logo-icon {
  background: linear-gradient(135deg, var(--color-primary), #2dce50);
  color: #fff;
}

.provider-logo:hover .provider-logo-name {
  color: var(--color-primary);
}

.provider-logo img {
  height: 36px;
  width: auto;
  max-width: 100px;
  display: block;
  object-fit: contain;
}


/* =============================================================================
   17. RESPONSIVE — COMPONENTS
   ============================================================================= */

@media (max-width: 768px) {
  /* Category grid: 3 → 2 columns */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Related articles: 2 → 1 column */
  .related-articles {
    grid-template-columns: 1fr;
  }

  /* Casino card: row → column layout */
  .casino-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .casino-card .casino-logo {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }

  /* Hero title shrink */
  .hero h1 {
    font-size: 24px;
  }

  /* CTA box: row → column */
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Adjust hero padding */
  .hero {
    padding: 40px 0;
  }

  /* Filter pills scroll on small screens */
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
}
