/* 
   MODERN CSS DESIGN SYSTEM
   Provides premium typography, colors, and layout foundations.
*/

:root {
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;

  /* Color Palette - Curated for High-Conversion Web Apps */
  --bg-body: #F4F7F6;
  --bg-card: #FFFFFF;
  --text-main: #1A1A1A;
  --text-muted: #666666;

  /* Brand Accents (Spanish Flag Palette) */
  --color-brand: #AA151B;
  /* Spanish Red */
  --color-brand-hover: #8A1115;
  --color-accent: #F1BF00;
  /* Spanish Yellow */
  --color-success: #10B981;
  --color-warning: #F59E0B;

  /* Geometry & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-button: 0 4px 14px 0 rgba(170, 21, 27, 0.39);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================CSS RESET================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-brand-hover);
}

ul {
  list-style: none;
}

/* ==================LAYOUT/UTILITIES================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.empty-grid-template {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 40px 0;
}

/* ================== CASINO GRID (Cards) ================== */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  padding: 40px 0;
  margin: 0;
}

.casino-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.casino-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 0, 0, 0.08);
}

.card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-warning);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 0 var(--radius-lg) 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: #f8f9fa;
  border: 1px solid #eaeaea;
}

.card-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.2;
}

.card-rating {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-body {
  flex-grow: 1;
  margin-bottom: 24px;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-bonus {
  text-align: center;
}

.bonus-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.bonus-amount {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-brand);
}

.card-btn {
  display: block;
  text-align: center;
  background: var(--color-brand);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-button);
}

.card-btn:hover {
  background: var(--color-brand-hover);
  transform: translateY(-2px);
  color: #fff;
}

.card-btn-secondary {
  background: #2563EB;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.card-btn-secondary:hover {
  background: #1D4ED8;
}

/* Responsive */
@media (max-width: 768px) {
  .casino-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
  }
}

/* ================== LAYOUT & SEMANTICS ================== */
.site-header {
  background: #111111;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

/* Logo: bright on dark background */
.logo-img {
  max-height: 44px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

/* Main Nav */
.main-nav>ul {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav>ul>li {
  position: relative;
}

.main-nav>ul>li.has-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.main-nav>ul>li>a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 6px;
  display: block;
  transition: var(--transition-fast);
}

.main-nav>ul>li>a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Dropdown arrow indicator */
.main-nav .has-dropdown>a::after {
  content: ' ▾';
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  min-width: 220px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 200;
}

.main-nav>ul>li.has-dropdown:hover>.dropdown-menu,
.main-nav>ul>li.has-dropdown:focus-within>.dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-accent);
  padding-left: 22px;
}

/* ================== BREADCRUMBS ================== */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: #9CA3AF;
  font-size: 1.1rem;
  line-height: 1;
}

.breadcrumbs a {
  color: var(--color-brand);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-brand-hover);
  text-decoration: underline;
}

.breadcrumbs .current {
  color: var(--text-main);
  font-weight: 600;
}

.site-main {
  min-height: 60vh;
  padding: 40px 20px;
}

.hero-section {
  text-align: center;
  padding: 40px 0 20px;
}

.hero-section h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero-section p {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.page-content {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-content p,
.page-content ul {
  margin-bottom: 16px;
  color: #333;
}

/* ================== FOOTER ================== */
.site-footer {
  background: #111111;
  color: #888;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-img {
  max-height: 40px;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #666;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #444;
  margin: 0;
}

.footer-bottom .copyright {
  font-size: 0.8rem;
  color: #555;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ================== REVIEW PAGE TEMPLATE ================== */
.review-hero {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.review-hero-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: #f8f9fa;
  border: 1px solid #eaeaea;
  padding: 10px;
}

.review-hero-content {
  flex-grow: 1;
}

.review-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.review-hero-rating {
  font-size: 1.1rem;
  color: var(--color-warning);
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-block;
}

.review-hero-bonus {
  background: #fef2f2;
  border-left: 4px solid var(--color-brand);
  padding: 16px 20px;
  border-radius: 4px 8px 8px 4px;
  margin-bottom: 24px;
}

.review-hero-bonus h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-brand);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.review-hero-bonus p {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.review-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.pros-cons-box {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.pros-box,
.cons-box {
  flex: 1;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.pros-box h3 {
  color: var(--color-success);
  border-bottom: 2px solid var(--color-success);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.cons-box h3 {
  color: var(--color-brand);
  border-bottom: 2px solid var(--color-brand);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.pros-list,
.cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.cons-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.pros-list li::before {
  content: "✓";
  color: var(--color-success);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.cons-list li::before {
  content: "✕";
  color: var(--color-brand);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.details-table th,
.details-table td {
  padding: 16px;
  border-bottom: 1px solid #eaeaea;
  text-align: left;
}

.details-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: var(--text-main);
  width: 30%;
}

.details-table tr:last-child td,
.details-table tr:last-child th {
  border-bottom: none;
}

.compliance-callout {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 6px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 0 0 40px;
  box-shadow: var(--shadow-sm);
}

.compliance-callout h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: var(--text-main);
}

.compliance-callout p {
  margin-bottom: 12px;
  color: #4b5563;
}

.compliance-callout ul {
  list-style: disc;
  margin: 0 0 12px;
  padding-left: 20px;
  color: #374151;
}

.compliance-callout li {
  margin-bottom: 8px;
}

.compliance-callout a {
  font-weight: 600;
}

.sidebar-widget {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  position: sticky;
  top: 100px;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 12px;
}

@media (max-width: 992px) {
  .review-layout-grid {
    grid-template-columns: 1fr;
  }

  .pros-cons-box {
    flex-direction: column;
  }

  .review-hero {
    flex-direction: column;
    text-align: center;
  }

  .review-hero-bonus {
    text-align: left;
  }
}

/* ================== CATEGORY / LISTING PAGES ================== */
.category-hero {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 760px;
  margin: 0 auto 40px;
}

.category-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 16px;
}

.category-hero .hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.category-hero .last-updated {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #9CA3AF;
}

/* Filter / Sort Bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.filter-tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  background: #f3f4f6;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.filter-tag:hover,
.filter-tag.active {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}

/* Casino Ranking Number */
.casino-card {
  position: relative;
}

.rank-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 30px;
  height: 30px;
  background: var(--color-brand);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.rank-badge.gold {
  background: #F59E0B;
}

.rank-badge.silver {
  background: #9CA3AF;
}

.rank-badge.bronze {
  background: #B45309;
}

/* Editorial SEO Text Section */
.editorial-section {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 50px;
}

.editorial-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.editorial-section h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--text-main);
}

.editorial-section p {
  color: #4B5563;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* FAQ Accordion */
.faq-section {
  margin-top: 50px;
}

.faq-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.faq-item {
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: none;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  transition: var(--transition-fast);
}

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

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-brand);
  transition: transform 0.3s;
}

.faq-answer {
  display: none;
  padding: 0 24px 18px;
  color: #4B5563;
  line-height: 1.7;
  background: var(--bg-card);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ================== BURGER / MOBILE NAV ================== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.burger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 12px 0 20px;
    z-index: 99;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav>ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav>ul>li>a {
    padding: 12px 20px;
    border-radius: 0;
  }

  .main-nav>ul>li.has-dropdown::before {
    display: none;
  }

  .dropdown-menu {
    display: none;
    position: static;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0;
  }

  .main-nav li.open .dropdown-menu {
    display: block;
  }

  /* On mobile tap the parent link to expand dropdown */
  .main-nav .has-dropdown>a::after {
    float: right;
  }

  .dropdown-menu li a {
    padding: 10px 20px 10px 36px;
  }
}

/* ================== HEADER MOBILE OVERFLOW FIX ================== */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

.site-header {
  width: 100%;
  max-width: 100vw;
  overflow: visible;
  /* needed for dropdown */
}

.header-inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.logo {
  flex-shrink: 0;
  min-width: 0;
}

.logo-img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .site-header {
    overflow: hidden;
    /* prevent nav from causing horizontal scroll */
  }

  .header-inner {
    padding: 0 16px;
  }

  .main-nav {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: calc(100vh - 64px);
  }

  .main-nav>ul>li>a {
    padding: 13px 20px;
    font-size: 1rem;
  }

  .logo-img {
    max-height: 32px;
    max-width: 100px;
  }
}

/* ================== DE-STYLE CASINO CARDS ================== */
.de-casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 40px 0;
  margin: 0;
}

.casino-grid.de-casino-grid > li {
  display: flex;
  min-width: 0;
}

.de-casino-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  color: #f5f5f5;
  background: linear-gradient(180deg, #222222 0%, #111111 100%);
  border: 1px solid #333333;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.de-casino-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.de-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: linear-gradient(90deg, #111111, #aa151b, #f1bf00);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.de-ribbon:empty {
  display: none;
}

.de-logo {
  height: 140px;
  display: grid;
  place-items: center;
  background: #111111;
  border-bottom: 1px solid #333333;
}

.de-logo img {
  max-width: 90%;
  max-height: 100px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65));
}

.de-content {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.de-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.de-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.de-score {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: #f1bf00;
  background: #111111;
  border: 1px solid #444444;
  border-radius: 10px;
  padding: 4px 8px;
}

.de-license {
  font-size: 12px;
  color: #cfcfcf;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.de-bonus {
  font-weight: 800;
  line-height: 1.45;
  color: #f1bf00;
  background: rgba(221, 0, 0, 0.12);
  border: 1px dashed #aa151b;
  border-radius: 12px;
  padding: 8px 10px;
}

.de-facts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #cfcfcf;
}

.de-facts div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.de-pros {
  list-style: disc;
  margin: 0;
  padding-left: 18px;
  color: #d1d5db;
}

.de-pros li {
  list-style: disc;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 4px;
}

.de-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.de-tag {
  background: #111111;
  border: 1px solid #444444;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  color: #cccccc;
}

.de-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.de-btn {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  border-radius: 12px;
  padding: 12px 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.de-btn.primary {
  background: linear-gradient(90deg, #111111, #aa151b, #f1bf00);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.de-btn.secondary {
  background: #111111;
  border: 1px solid #444444;
  color: #f5f5f5;
}

.de-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.de-btn.primary:hover,
.de-btn.secondary:hover {
  color: inherit;
}

.de-rg {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.5;
  color: #aaaaaa;
}

.de-rg a {
  color: #f1bf00;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .de-casino-grid {
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .de-logo {
    height: 120px;
  }

  .de-cta {
    flex-direction: column;
  }
}

/* ================== HOMEPAGE PILLAR ================== */
.hero-sub {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.homepage-section {
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.homepage-section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.homepage-section h3 {
  font-size: 1.15rem;
  margin: 20px 0 10px;
  line-height: 1.3;
}

.homepage-section p {
  color: #374151;
  margin-bottom: 16px;
}

.homepage-section strong {
  color: var(--text-main);
}

.section-intro {
  font-size: 1.03rem;
  line-height: 1.8;
}

.section-note {
  margin-bottom: 0;
  font-weight: 600;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 18px;
}

.trust-card {
  background: #fafafa;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
}

.trust-card h3 {
  margin: 0 0 10px;
  color: var(--color-brand);
}

.trust-card p {
  margin: 0;
  color: #4b5563;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.community-card a {
  display: block;
  height: 100%;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background: #fafafa;
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.community-card a:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 38, 38, 0.28);
  box-shadow: var(--shadow-sm);
}

.community-card h3 {
  margin: 0 0 10px;
  color: var(--text-main);
}

.community-card p {
  margin: 0 0 14px;
  color: #4b5563;
}

.community-card span {
  display: block;
  color: var(--color-brand);
  font-size: 0.9rem;
  font-weight: 700;
}

.qa-thread-page {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}

.qa-thread-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 18px;
}

.qa-eyebrow {
  color: var(--color-brand);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.qa-byline {
  background: #f8fafc;
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  margin: 18px 0 26px;
  padding: 16px 18px;
}

.qa-byline span {
  display: block;
  color: #4b5563;
  margin-top: 4px;
}

.qa-byline p,
.qa-thread-footer p {
  margin: 8px 0 0;
  color: #4b5563;
}

.qa-answer h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.qa-answer p {
  color: #374151;
  font-size: 1.06rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.qa-thread-footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 26px;
  padding-top: 18px;
}

.methodology-list {
  counter-reset: methodology;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.methodology-list li {
  counter-increment: methodology;
  position: relative;
  background: #fafafa;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius-md);
  padding: 18px 18px 18px 64px;
  color: #374151;
}

.methodology-list li::before {
  content: counter(methodology);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  background: #fafafa;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.category-card h3 {
  margin: 0 0 10px;
}

.category-card p {
  flex: 1 1 auto;
  margin-bottom: 14px;
}

.category-card a {
  font-weight: 700;
}

.payment-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-brand);
}

.payment-chip:hover {
  background: #fef2f2;
}

.faq-block {
  padding-bottom: 28px;
}

.faq-block details {
  background: #fafafa;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-block details > summary {
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 18px 22px;
  position: relative;
}

.faq-block details > summary::-webkit-details-marker {
  display: none;
}

.faq-block details > summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--color-brand);
}

.faq-block details[open] > summary::after {
  content: "−";
}

.faq-block details p {
  padding: 0 22px 18px;
  margin: 0;
}

.review-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-teaser-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fafafa;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
}

.review-teaser-card img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 8px;
}

.review-teaser-card h3 {
  margin: 0 0 6px;
}

.review-teaser-card p {
  margin-bottom: 10px;
}

.review-teaser-rating {
  font-weight: 700;
  color: #b45309;
}

.review-teaser-card a {
  font-weight: 700;
}

.rg-footer-block {
  margin-top: 32px;
  padding: 28px 32px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
}

.rg-footer-block h2 {
  margin-bottom: 10px;
}

.rg-footer-block p {
  margin-bottom: 8px;
  font-size: 0.97rem;
  color: #4b5563;
}

@media (max-width: 992px) {
  .trust-grid,
  .community-grid,
  .category-grid,
  .review-teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .homepage-section,
  .qa-thread-page,
  .rg-footer-block {
    padding: 24px 20px;
  }

  .trust-grid,
  .community-grid,
  .category-grid,
  .review-teaser-grid {
    grid-template-columns: 1fr;
  }

  .review-teaser-card {
    flex-direction: column;
  }
}

.review-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.review-author-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.review-author-avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  letter-spacing: .03em;
}

.review-verified-badge,
.review-offshore-warning {
  display: inline-block;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: .86rem;
}

.review-verified-badge {
  background: #ecfdf5;
  color: #047857;
}

.review-offshore-warning {
  background: #fff7ed;
  color: #c2410c;
}

.long-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  margin-top: 28px;
}

.long-review article.page-content {
  max-width: 100%;
  margin: 0;
}

.review-verdict-box,
.review-method-box,
.review-counter-box,
.review-change-log,
.review-source-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  background: #f8fafc;
  margin: 24px 0;
}

.review-verdict-box {
  background: #eef6ff;
  border-color: #bfdbfe;
}

.review-counter-box {
  background: #fff7ed;
  border-color: #fed7aa;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}

.score-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.score-item strong {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.score-bar {
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #16a34a);
}

.review-figure-placeholder {
  margin: 24px 0;
  border: 1px dashed #94a3b8;
  border-radius: 12px;
  padding: 14px;
  background: #f8fafc;
}

.review-figure-placeholder img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  opacity: .72;
}

.review-figure-placeholder figcaption {
  margin-top: 10px;
  color: #475569;
  font-size: .94rem;
}

.review-sticky-summary {
  position: sticky;
  top: 96px;
  align-self: start;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.review-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.review-cta-row .card-btn.secondary {
  background: #0f172a;
}

@media (max-width: 980px) {
  .long-review-layout {
    grid-template-columns: 1fr;
  }

  .review-sticky-summary {
    position: static;
  }
}

.cluster-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eef6f1 100%);
  border: 1px solid #dbe5dc;
  border-radius: 12px;
  margin: 28px 0;
  padding: 34px;
}

.cluster-eyebrow {
  color: #166534;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.cluster-hero h1 {
  color: #102033;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 14px;
}

.cluster-byline {
  margin-top: 18px;
}

.cluster-article {
  max-width: 920px;
  margin: 0 auto 46px;
}

.cluster-article h2 {
  color: #102033;
  font-size: 1.75rem;
  margin-top: 38px;
}

.cluster-article h3 {
  color: #182230;
  font-size: 1.18rem;
  margin-top: 24px;
}

.cluster-article p,
.cluster-article li {
  font-size: 1.02rem;
  line-height: 1.78;
}

.cluster-callout,
.cluster-rg,
.cluster-link-box,
.cluster-warning {
  border-radius: 10px;
  margin: 24px 0;
  padding: 20px 22px;
}

.cluster-callout {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
}

.cluster-warning {
  background: #fff7ed;
  border-left: 4px solid #f97316;
}

.cluster-rg {
  background: #f8fafc;
  border-left: 4px solid #2563eb;
}

.cluster-link-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.cluster-link-box ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.cluster-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 20px 0;
}

.cluster-card {
  background: #ffffff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  padding: 18px;
}

.cluster-card h3 {
  margin-top: 0;
}

.cluster-card p {
  font-size: .96rem;
  margin-bottom: 0;
}

.provider-logo-mark {
  align-items: center;
  background: #102033;
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 70px;
  padding: 12px;
  text-align: center;
}

.cluster-table {
  border-collapse: collapse;
  display: block;
  margin: 20px 0;
  overflow-x: auto;
  width: 100%;
}

.cluster-table th,
.cluster-table td {
  border: 1px solid #d8e0ea;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.cluster-table th {
  background: #f1f5f9;
  color: #102033;
}

@media (max-width: 720px) {
  .cluster-hero {
    padding: 24px 18px;
  }

  .cluster-article h2 {
    font-size: 1.45rem;
  }
}
