/* Design System Custom Properties */
:root {
  --bg-primary: #06070d;          /* Extremely dark obsidian */
  --bg-secondary: #0c0e18;        /* Subtle blue-grey panels */
  --bg-tertiary: #131728;         /* High-contrast element fills */
  
  --card-bg: rgba(12, 14, 24, 0.65);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-hover: rgba(255, 255, 255, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-purple: #7c3aed;       /* Electric Violet */
  --accent-purple-glow: rgba(124, 58, 237, 0.25);
  
  --accent-gold: #f59e0b;         /* Amber Gold */
  --accent-gold-gradient: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
  --accent-gold-glow: rgba(245, 158, 11, 0.15);
  
  --accent-green: #10b981;        /* Emerald green for conversions */
  --accent-green-hover: #059669;
  --accent-green-glow: rgba(16, 185, 129, 0.3);
  
  --accent-red: #ef4444;          /* Alert Crimson */
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-bg: rgba(6, 7, 13, 0.75);
}

/* Light Theme Variables */
:root.light-theme {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e2e8f0;
  
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(15, 23, 42, 0.08);
  --card-border-hover: rgba(15, 23, 42, 0.15);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --accent-purple-glow: rgba(124, 58, 237, 0.1);
  --accent-gold-glow: rgba(245, 158, 11, 0.08);
  --accent-green-glow: rgba(16, 185, 129, 0.15);
  
  --header-bg: rgba(255, 255, 255, 0.75);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

button {
  font-family: inherit;
}

/* Floating Responsible Gambling Top Bar */
.top-compliance-bar {
  background-color: #030408;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: var(--text-secondary);
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1000;
}

.top-compliance-content {
  display: flex;
  justify-content: center;
  letter-spacing: 0.5px;
}

.top-compliance-content a {
  color: var(--text-primary);
  text-decoration: underline;
  margin: 0 4px;
}

.top-compliance-content a:hover {
  color: var(--accent-gold);
}

/* Light Theme overrides for Top Compliance Bar */
.light-theme .top-compliance-bar {
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--card-border);
  color: var(--text-secondary);
}

.light-theme .top-compliance-content a {
  color: var(--text-primary);
}

/* Light Theme overrides for Header & Mobile Menu */
.light-theme .main-header {
  border-bottom: 1px solid var(--card-border);
}

.light-theme .mobile-menu-panel {
  border-top: 1px solid var(--card-border);
}

.light-theme .mobile-menu-footer {
  border-top: 1px solid var(--card-border);
}

/* Light Theme overrides for Hero & Search Box */
.light-theme .hero-section {
  border-bottom: 1px solid var(--card-border);
}

.light-theme .hero-badge {
  color: #7c3aed;
  background-color: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.15);
}

.light-theme .search-box {
  border-color: var(--card-border);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.light-theme .stat-card {
  border-color: var(--card-border);
}

/* Light Theme overrides for Hero Deal Card */
.light-theme .deal-card {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border-color: var(--card-border);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

.light-theme .deal-logo-placeholder {
  border-color: var(--card-border);
}

.light-theme .deal-offer-box {
  background-color: var(--bg-primary);
  border-color: var(--card-border);
}

.light-theme .offer-headline {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--text-primary);
}

/* Light Theme overrides for Casino Cards & Filters */
.light-theme .btn-filter.active {
  border-color: var(--card-border);
}

.light-theme .sort-select {
  border-color: var(--card-border);
}

.light-theme .rank-badge {
  border-color: var(--card-border);
}

.light-theme .casino-card.rank-1 {
  background: linear-gradient(to right, rgba(254, 243, 199, 0.4), var(--card-bg));
}

.light-theme .casino-logo-box {
  border-color: var(--card-border);
}

/* Light Theme overrides for Footer */
.light-theme .main-footer {
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--card-border);
}

.light-theme .footer-bottom {
  border-top: 1px solid var(--card-border);
}

/* Light Theme overrides for Responsible Gambling Banner Section */
.light-theme .rg-banner-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}


/* Main Header */
.main-header {
  background-color: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 990;
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 8px rgba(255, 226, 89, 0.3));
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-text .highlight {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

/* Main Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-favorites {
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-favorites:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-theme-toggle {
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.heart-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-red);
  fill: var(--accent-red);
}

.favorites-count {
  font-size: 0.9rem;
  font-weight: 600;
  background-color: rgba(239, 68, 68, 0.15);
  padding: 1px 6px;
  border-radius: 20px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Mobile Menu Panel */
.mobile-menu-panel {
  position: fixed;
  top: 116px; /* 80px header + 36px top bar */
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-primary);
  z-index: 980;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: var(--transition-smooth);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-panel.open {
  transform: translateX(0);
}

.mobile-menu-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-nav-link:hover {
  color: var(--text-primary);
}

.mobile-menu-footer {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  color: var(--text-muted);
}

.mobile-menu-footer p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  background-color: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: #a78bfa;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 540px;
}

/* Search Box styling */
.search-box {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 8px;
  display: flex;
  gap: 8px;
  max-width: 540px;
  margin-bottom: 40px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
  padding-left: 12px;
}

.search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.btn-search {
  background-color: var(--accent-purple);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-search:hover {
  background-color: #6d28d9;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 500px;
}

.stat-card {
  border-left: 2px solid var(--accent-purple);
  padding-left: 16px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Hero Deal Card */
.hero-deal-container {
  display: flex;
  justify-content: flex-end;
}

.deal-card {
  background: linear-gradient(145deg, rgba(20, 22, 40, 0.9) 0%, rgba(10, 11, 20, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.deal-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.deal-badge {
  background: var(--accent-gold-gradient);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 24px;
}

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

.deal-logo-placeholder {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-gold);
}

.deal-title-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.star-rating {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-top: 4px;
}

.deal-offer-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
}

.offer-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.offer-headline {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 6px 0;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.offer-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.deal-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.deal-feature-item {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--accent-green);
  font-weight: bold;
}

.btn-claim-deal {
  width: 100%;
  padding: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 12px;
}

.deal-tc {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
}

.tc-anchor {
  text-decoration: underline;
}

/* Casinos Listing Section */
.casinos-section {
  padding: 60px 0 80px;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Toolbar & Filters */
.toolbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-filter {
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-filter:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.03);
}

.btn-filter.active {
  background-color: var(--bg-tertiary);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.sort-select {
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  outline: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.results-bar {
  margin-bottom: 24px;
}

.results-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Casino List cards */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.casino-card {
  display: grid;
  grid-template-columns: 50px 100px 1.4fr 1.6fr 1fr;
  align-items: center;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.casino-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 35px -8px rgba(124, 58, 237, 0.12);
}

/* Rank Badge styling */
.rank-badge-wrapper {
  display: flex;
  justify-content: center;
}

.rank-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.casino-card.rank-1 .rank-badge {
  background: var(--accent-gold-gradient);
  color: #000;
  border: none;
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

/* Shimmer Border for #1 Casino */
@keyframes gold-shimmer {
  0% { border-color: rgba(245, 158, 11, 0.25); }
  50% { border-color: rgba(245, 158, 11, 0.8); }
  100% { border-color: rgba(245, 158, 11, 0.25); }
}

.casino-card.rank-1 {
  border: 1px solid rgba(245, 158, 11, 0.4);
  animation: gold-shimmer 3s infinite ease-in-out;
  background: linear-gradient(to right, rgba(20, 22, 40, 0.8), var(--card-bg));
}

/* Logo placement */
.casino-logo-col {
  display: flex;
  justify-content: center;
}

.casino-logo-box {
  width: 72px;
  height: 72px;
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--text-primary);
  text-align: center;
  padding: 6px;
  position: relative;
  overflow: hidden;
}

.casino-logo-icon-svg {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
}

.casino-details-col {
  padding-left: 12px;
}

.casino-name-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.casino-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.badge-featured {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.rating-stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

.rating-val {
  font-size: 0.85rem;
  font-weight: 600;
}

.review-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.payout-speed-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #6ee7b7;
  background-color: rgba(16, 185, 129, 0.08);
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 8px;
  font-weight: 500;
}

/* Offer Col styling */
.casino-offer-col {
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.bonus-pill {
  font-size: 0.75rem;
  background-color: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: #c084fc;
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.bonus-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.offer-feature-list,
.features-html-wrapper ul {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-feature-list li,
.features-html-wrapper ul li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.offer-feature-list li::before,
.features-html-wrapper ul li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
}

/* Actions Col styling */
.casino-actions-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
  align-items: stretch;
}

.btn-claim {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-hover) 100%);
  color: #040807;
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px var(--accent-green-glow);
  font-size: 0.9rem;
}

.btn-claim:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.btn-actions-sub-row {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
}

.btn-review {
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-review:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.03);
}

.btn-bookmark {
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-bookmark:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.03);
}

.btn-bookmark svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--text-secondary);
  transition: var(--transition-smooth);
}

.btn-bookmark.active svg {
  fill: var(--accent-red);
  stroke: var(--accent-red);
}

/* Payment Icons Row */
.card-payment-row {
  grid-column: 3 / span 3;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-payment-methods {
  display: flex;
  gap: 8px;
}

.payment-badge {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-tc-row {
  font-size: 10px;
  color: var(--text-muted);
}

.card-tc-row a {
  text-decoration: underline;
}

/* Skeleton Loaders styles */
.skeleton-card {
  height: 140px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border: 1px solid var(--card-border);
}

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

/* Guides Section styling */
.guides-section {
  padding: 80px 0 100px;
  background-color: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--accent-purple);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.guide-card {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.guide-image-wrapper {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.guide-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
}

.math-pattern {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: rgba(255, 255, 255, 0.9);
}

.shield-pattern {
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: white;
}

.mobile-pattern {
  background: linear-gradient(135deg, #059669, #3b82f6);
  color: white;
}

.guide-content {
  padding: 24px;
}

.guide-tag {
  font-size: 0.75rem;
  color: var(--accent-purple);
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.guide-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.guide-title a:hover {
  color: var(--accent-purple);
}

.guide-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsible Gambling Banner Section */
.rg-banner-section {
  background-color: #030408;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0;
}

.rg-banner-container {
  display: flex;
  justify-content: center;
}

.rg-banner-content {
  text-align: center;
  max-width: 700px;
}

.rg-banner-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.rg-banner-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.rg-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-rg-call,
.btn-rg-link {
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-rg-call {
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.btn-rg-call:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-rg-link {
  background: var(--accent-gold-gradient);
  color: #000;
}

.btn-rg-link:hover {
  filter: brightness(1.1);
}

/* Modals styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 4, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  width: 90%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 36px;
}

/* Dynamic review content formatting */
.review-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 20px;
}

.review-logo {
  width: 80px;
  height: 80px;
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.review-meta h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
}

.review-score-box {
  background-color: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #a78bfa;
  margin-top: 6px;
}

.scores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.score-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.score-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
}

.score-bar-bg {
  height: 6px;
  background-color: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background-color: var(--accent-purple);
  border-radius: 4px;
}

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

.pros-list,
.cons-list {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 18px;
  border-radius: var(--border-radius-md);
}

.pros-list h4,
.cons-list h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 12px;
}

.pros-list h4 { color: var(--accent-green); }
.cons-list h4 { color: var(--accent-red); }

.pros-list ul,
.cons-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.pros-list li::before {
  content: '+ ';
  color: var(--accent-green);
  font-weight: bold;
}

.cons-list li::before {
  content: '- ';
  color: var(--accent-red);
  font-weight: bold;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.review-specs {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  padding: 16px;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 0.85rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.spec-item:last-child {
  border: none;
  padding: 0;
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
}

/* Redirection Modal details */
.redirect-overlay {
  z-index: 1200;
}

.redirect-card {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  width: 90%;
  max-width: 440px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(124, 58, 237, 0.1);
  border-top: 3px solid var(--accent-purple);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 1s infinite linear;
}

.spinner-glow {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-purple);
  filter: blur(20px);
  opacity: 0.4;
  pointer-events: none;
}

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

.redirect-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.redirect-msg {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.redirect-warning {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-bottom: 32px;
}

.warning-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-red);
  background-color: rgba(239, 68, 68, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.warning-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.countdown-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Footer styling */
.main-footer {
  background-color: #030408;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 80px 0 40px;
}

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

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.affiliate-disclosure {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-links h3,
.footer-compliance h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 2px;
}

.footer-compliance p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.compliance-badges {
  display: flex;
  gap: 8px;
}

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-18 {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-sec {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Compliance Logo grid in Footer */
.logo-compliance-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 30px 0;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  align-items: center;
}

.comp-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: -0.5px;
  transition: var(--transition-smooth);
}

.comp-logo-text:hover {
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 12px;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.bottom-links {
  display: flex;
  gap: 24px;
}

.bottom-links a:hover {
  color: var(--text-secondary);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-deal-container {
    justify-content: center;
  }
  
  .deal-card {
    max-width: 100%;
  }

  .casino-card {
    grid-template-columns: 50px 80px 1fr 1fr;
    gap: 16px;
  }

  .casino-offer-col {
    border: none;
    padding: 0;
  }

  .casino-actions-col {
    grid-column: 1 / span 4;
    flex-direction: row;
    padding-left: 0;
  }

  .btn-claim {
    flex-grow: 1;
  }

  .btn-actions-sub-row {
    flex-grow: 1;
  }

  .card-payment-row {
    grid-column: 1 / span 4;
  }

  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.2rem;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-favorites {
    padding: 8px 12px;
    gap: 6px;
  }

  .deal-card {
    padding: 24px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-section {
    padding: 40px 0 60px;
  }

  .search-box {
    flex-direction: column;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .search-input-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 12px;
  }

  .btn-search {
    width: 100%;
  }

  .casino-card {
    grid-template-columns: auto auto 1fr;
    padding: 16px;
    gap: 16px 12px;
  }

  .rank-badge-wrapper {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-content: center;
  }

  .casino-logo-col {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-content: center;
  }

  .casino-details-col {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    padding-left: 0;
  }

  .casino-offer-col {
    grid-column: 1 / span 3;
    grid-row: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 12px;
    margin-top: 4px;
    border-left: none;
    border-right: none;
  }

  .casino-actions-col {
    grid-column: 1 / span 3;
    grid-row: 3;
    padding-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .card-payment-row {
    grid-column: 1 / span 3;
    grid-row: 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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

  .toolbar-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

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

  .sort-select {
    flex-grow: 1;
  }

  .review-pros-cons {
    grid-template-columns: 1fr;
  }

  .modal-body {
    padding: 24px 20px;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

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

  .scores-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Show More Button Wrapper */
.show-more-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 16px;
}

.btn-show-more {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-show-more:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 24px rgba(251, 191, 36, 0.2);
  transform: translateY(-2px);
}

.btn-show-more:active {
  transform: translateY(0);
}
