/*
Theme Name: ByTheGamblers
Theme URI: https://bythegamblers.com
Author: ByTheGamblers
Description: Premium casino review and affiliate theme — By Players, For Players.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: bythegamblers
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Inter:wght@300;400;500;600&display=swap');

/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --primary: #0f6e56;
  --primary-light: #e8f5f1;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #2c2c2a;
  --card: #ffffff;
  --card-foreground: #2c2c2a;
  --surface: #faf9f7;
  --muted: #f5f4f0;
  --muted-foreground: #737370;
  --border: #e8e6e0;
  --star: #f5c518;
  --radius: 0.75rem;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.05);
  --font-heading: 'DM Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1200px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--foreground);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* =====================
   LAYOUT
   ===================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 2rem; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: #0a5a45; border-color: #0a5a45; color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

/* =====================
   HEADER
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; color: var(--primary); }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 1.25rem; }
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
  text-decoration: none;
}
.main-nav a:hover { color: var(--foreground); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color 0.2s;
  padding: 0;
}
.nav-dropdown-trigger:hover { color: var(--foreground); }
.nav-dropdown-trigger svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.25rem 0;
  z-index: 50;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.15s;
}
.dropdown-menu a:hover { color: var(--foreground); background: var(--muted); text-decoration: none; }

/* Mobile nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1rem;
  background: #fff;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  background: var(--surface);
  padding: 5rem 0;
  text-align: center;
}
.hero-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 700px;
  margin: 0 auto 1.25rem;
  text-wrap: balance;
}
.hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 500px;
  margin: 0 auto 2rem;
}
.hero-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* =====================
   TRUST BADGES
   ===================== */
.trust-bar {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.trust-badge svg { width: 24px; height: 24px; color: var(--primary); }
.trust-badge span { font-size: 0.875rem; font-weight: 500; }

/* =====================
   CASINO CARDS
   ===================== */
.section { padding: 4rem 0; }
.section-surface { background: var(--surface); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.section-header p { color: var(--muted-foreground); margin-top: 0.25rem; font-size: 0.9375rem; }
.view-all { font-size: 0.875rem; font-weight: 500; color: var(--primary); white-space: nowrap; }

/* Casino List Card */
.casino-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}
.casino-card:hover { box-shadow: var(--shadow-lg); }
.casino-card-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.casino-rank {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.casino-logo {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--surface);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  overflow: hidden;
}
.casino-logo img { width: 100%; height: 100%; object-fit: contain; }
.casino-info { flex: 1; min-width: 0; }
.casino-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.casino-name:hover { color: var(--primary); }
.casino-bonus { font-size: 0.875rem; font-weight: 500; color: var(--primary); margin: 0.25rem 0; }
.casino-pros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
}
.casino-pros li {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: flex; align-items: center; gap: 0.25rem;
}
.casino-pros li::before { content: '✓'; color: var(--primary); }
.casino-actions { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; flex-shrink: 0; }
.casino-read-review {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: right;
  transition: color 0.2s;
}
.casino-read-review:hover { color: var(--foreground); }
.casino-cards-list { display: flex; flex-direction: column; gap: 1rem; }

/* Review Grid Cards */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex; flex-direction: column;
}
.review-card-logo {
  width: 56px; height: 56px;
  background: var(--surface);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.review-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.review-card h3 { font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 600; }
.review-card-rating { display: flex; align-items: center; gap: 0.375rem; margin: 0.25rem 0 0.5rem; }
.review-card-rating .rating-num { font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.review-card-rating .rating-max { font-size: 0.75rem; color: var(--muted-foreground); }
.review-card p { font-size: 0.875rem; color: var(--muted-foreground); flex: 1; }
.review-card .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* =====================
   STAR RATING
   ===================== */
.stars { display: flex; gap: 2px; }
.star { width: 14px; height: 14px; fill: var(--star); color: var(--star); }
.star-empty { fill: transparent; color: var(--border); }
.star-half { fill: var(--star); }
.star-rating { display: flex; align-items: center; gap: 0.375rem; }
.star-rating .rating-val { font-size: 0.875rem; font-weight: 600; font-family: var(--font-heading); }

/* =====================
   CATEGORY STRIP
   ===================== */
.category-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1rem; }
.category-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.category-card:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.category-card svg { width: 24px; height: 24px; }
.category-card span { font-size: 0.8125rem; font-weight: 500; }

/* =====================
   HOW WE RATE
   ===================== */
.how-we-rate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.how-we-rate-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.how-we-rate-step {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: rgba(15,110,86,0.2);
  margin-bottom: 0.5rem;
}
.how-we-rate-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.how-we-rate-card p { font-size: 0.875rem; color: var(--muted-foreground); }

/* =====================
   BLOG CARDS
   ===================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
  text-decoration: none;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); text-decoration: none; }
.blog-card-image {
  height: 160px;
  background: rgba(15,110,86,0.1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-category { font-size: 0.75rem; font-weight: 500; color: var(--primary); }
.blog-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin: 0.25rem 0 0.5rem; color: var(--foreground); }
.blog-card:hover h3 { color: var(--primary); }
.blog-card p { font-size: 0.875rem; color: var(--muted-foreground); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.75rem; }

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand h3 { color: var(--primary); font-size: 1.125rem; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.875rem; color: var(--muted-foreground); }
.footer-col h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--foreground); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.footer-bottom p + p { margin-top: 0.25rem; }

/* =====================
   PAGE HERO (inner pages)
   ===================== */
.page-hero {
  background: var(--surface);
  padding: 3rem 0;
}
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
.page-hero p { color: var(--muted-foreground); max-width: 600px; font-size: 1rem; }

/* =====================
   CASINO REVIEW PAGE
   ===================== */
.review-header {
  background: var(--surface);
  padding: 3rem 0;
}
.review-header-inner { display: flex; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap; }
.review-logo {
  width: 80px; height: 80px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.review-logo img { width: 100%; height: 100%; object-fit: contain; }
.review-header-info { flex: 1; }
.review-header-info h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.review-bonus { color: var(--primary); font-weight: 500; margin-top: 0.5rem; }

/* Quick Facts Table */
.quick-facts {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.quick-facts-header {
  padding: 0.875rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid var(--border);
}
.quick-fact {
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quick-fact:nth-child(3n) { border-right: none; }
.quick-fact-label { font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 0.25rem; }
.quick-fact-value { font-size: 0.875rem; font-weight: 500; }

/* Score Bars */
.score-bars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
.score-bar { }
.score-bar-header { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.375rem; }
.score-bar-label { font-weight: 500; }
.score-bar-value { font-family: var(--font-heading); font-weight: 700; }
.score-bar-track { height: 8px; background: var(--muted); border-radius: 100px; overflow: hidden; }
.score-bar-fill { height: 100%; background: var(--primary); border-radius: 100px; transition: width 0.7s ease; }

/* Pros & Cons */
.pros-cons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.pros-cons-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pros-cons-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pros-cons-title svg { width: 16px; height: 16px; }
.pros-cons-title.pros svg { color: var(--primary); }
.pros-cons-title.cons svg { color: #dc2626; }
.pros-cons-list { display: flex; flex-direction: column; gap: 0.5rem; }
.pros-cons-list li {
  font-size: 0.875rem;
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.pros-cons-list li .icon { flex-shrink: 0; margin-top: 2px; }
.pros-list .icon { color: var(--primary); }
.cons-list .icon { color: #dc2626; }

/* Verdict Box */
.verdict-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.verdict-box h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.verdict-box p { color: var(--muted-foreground); margin-bottom: 1.25rem; }

/* Affiliate Disclaimer */
.affiliate-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* =====================
   CASINO DIRECTORY
   ===================== */
.directory-search {
  position: relative;
  margin-bottom: 1.5rem;
}
.directory-search input {
  width: 100%;
  height: 48px;
  padding: 0 1rem 0 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.directory-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,110,86,0.1);
}
.directory-search svg {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--muted-foreground);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter-pill {
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.filter-pill:hover, .filter-pill.active { border-color: var(--primary); color: var(--primary); }
.filter-pill.active { background: var(--primary); color: #fff; }
.directory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 4rem; }
.directory-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex; flex-direction: column;
}
.directory-card-logo {
  width: 56px; height: 56px;
  background: var(--surface);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.directory-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.directory-card h3 { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; }
.directory-rating {
  display: flex; align-items: center; gap: 0.5rem;
  margin: 0.375rem 0 0.5rem;
}
.directory-rating-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}
.directory-licence {
  font-size: 0.75rem;
  background: var(--surface);
  color: var(--muted-foreground);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  width: fit-content;
}
.directory-bonus { font-size: 0.875rem; font-weight: 500; color: var(--primary); margin-bottom: 1rem; }
.directory-card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.directory-read-review { font-size: 0.75rem; color: var(--muted-foreground); text-align: center; transition: color 0.2s; }
.directory-read-review:hover { color: var(--foreground); }

/* A-Z Index */
.az-index { border-top: 1px solid var(--border); padding-top: 2rem; }
.az-index h2 { font-size: 1.125rem; text-align: center; margin-bottom: 1rem; }
.az-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem; }
.az-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.az-btn:hover, .az-btn.active { border-color: var(--primary); color: var(--primary); }
.az-btn.active { background: var(--primary); color: #fff; }

/* =====================
   BONUSES TABLE
   ===================== */
.bonuses-table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bonuses-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.bonuses-table thead { background: var(--surface); }
.bonuses-table th { padding: 0.75rem 1.25rem; text-align: left; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; }
.bonuses-table tbody tr { border-top: 1px solid var(--border); transition: background 0.15s; }
.bonuses-table tbody tr:hover { background: rgba(250,249,247,0.5); }
.bonuses-table td { padding: 1rem 1.25rem; vertical-align: middle; }
.bonus-casino-name { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; color: var(--foreground); transition: color 0.2s; }
.bonus-casino-name:hover { color: var(--primary); }
.bonus-amount { font-weight: 500; color: var(--primary); }
.bonus-muted { color: var(--muted-foreground); }

/* =====================
   SLOTS / LIVE GAMES GRID
   ===================== */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.game-card-image {
  height: 160px;
  background: rgba(15,110,86,0.1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.game-card-image img { width: 100%; height: 100%; object-fit: cover; }
.game-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.game-card h3 { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; }
.game-card-provider { font-size: 0.875rem; color: var(--muted-foreground); margin: 0.125rem 0 0.5rem; }
.rtp-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--surface);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}
.game-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* Providers Grid */
.providers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.provider-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  transition: border-color 0.2s;
  text-decoration: none;
}
.provider-card:hover { border-color: var(--primary); text-decoration: none; }
.provider-initials {
  width: 56px; height: 56px;
  background: rgba(15,110,86,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}
.provider-card span { font-size: 0.875rem; font-weight: 500; text-align: center; color: var(--foreground); }
.provider-card:hover span { color: var(--primary); }

/* =====================
   FAQ / ACCORDION
   ===================== */
.faq-section { margin-bottom: 4rem; }
.faq-section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-top: 1px solid var(--border); }
.accordion-item:first-child { border-top: none; }
.accordion-trigger {
  width: 100%;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  color: var(--foreground);
  transition: background 0.15s;
}
.accordion-trigger:hover { background: var(--surface); }
.accordion-trigger svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s; color: var(--muted-foreground); }
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-content { display: none; padding: 0 1.25rem 1rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.accordion-item.open .accordion-content { display: block; }

/* =====================
   BLOG PAGE
   ===================== */
.blog-featured {
  display: flex;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: box-shadow 0.2s;
  text-decoration: none;
}
.blog-featured:hover { box-shadow: var(--shadow-lg); text-decoration: none; }
.blog-featured-image {
  width: 50%;
  min-height: 224px;
  background: rgba(15,110,86,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.blog-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-body {
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.blog-featured-body h2 { font-size: 1.375rem; margin: 0.5rem 0 0.75rem; color: var(--foreground); }
.blog-featured:hover h2 { color: var(--primary); }
.blog-featured-body p { font-size: 0.9375rem; color: var(--muted-foreground); }
.blog-featured-meta { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.75rem; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.375rem; }
.page-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* =====================
   ABOUT / HOW WE RATE
   ===================== */
.about-process {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 3rem;
}
.about-process h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.about-process p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }
.about-process p + p { margin-top: 1rem; }
.criteria-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.criteria-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.criteria-card svg { width: 24px; height: 24px; color: var(--primary); margin-bottom: 0.75rem; }
.criteria-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.criteria-card p { font-size: 0.875rem; color: var(--muted-foreground); }

/* =====================
   RESPONSIBLE GAMBLING
   ===================== */
.rg-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.rg-card h2 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.75rem; }
.rg-help-link {
  display: block;
  background: var(--surface);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.rg-help-link:hover { box-shadow: 0 0 0 2px var(--primary); text-decoration: none; }
.rg-help-link strong { display: block; color: var(--foreground); font-family: var(--font-heading); font-weight: 700; }
.rg-help-link span { font-size: 0.75rem; color: var(--muted-foreground); }
.helpline-box {
  background: var(--surface);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.helpline-number { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-top: 0.25rem; }

/* =====================
   CATEGORY PAGES (shared)
   ===================== */
.category-intro { margin-bottom: 2.5rem; }
.category-intro h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
.category-intro p { color: var(--muted-foreground); max-width: 600px; }

/* =====================
   UTILITY
   ===================== */
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.font-heading { font-family: var(--font-heading); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .category-strip { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .directory-grid { grid-template-columns: repeat(3, 1fr); }
  .providers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .container, .container-sm { padding: 0 1rem; }
  .hero { padding: 3rem 0; }
  .section { padding: 2.5rem 0; }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .how-we-rate-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .score-bars { grid-template-columns: 1fr; }
  .quick-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .category-strip { grid-template-columns: repeat(4, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .providers-grid { grid-template-columns: repeat(3, 1fr); }
  .criteria-grid { grid-template-columns: 1fr; }
  .blog-featured { flex-direction: column; }
  .blog-featured-image { width: 100%; min-height: 180px; }
  .casino-card-inner { flex-direction: column; }
  .casino-actions { align-items: flex-start; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: 1fr; }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
  .bonuses-table { font-size: 0.8125rem; }
}
