/* BetNav Brasil - Custom Styles */
/* Works with Bootstrap 5 */

/* Performance optimizations */
/* Disable animations by default for better performance */
.hero-section::before,
.hero-section::after,
.floating-icons,
.particles,
.hero-glow {
  animation: none !important;
  display: none;
}

/* Enable animations only when user prefers motion and page is loaded */
@media (prefers-reduced-motion: no-preference) {
  .loaded .hero-section::before,
  .loaded .hero-section::after {
    display: block;
    animation: heroFloat 20s ease-in-out infinite;
  }

  .loaded .floating-icons,
  .loaded .particles {
    display: block;
  }

  .loaded .hero-glow {
    display: block;
  }

  .loaded .floating-icon {
    animation: floatIcon 15s ease-in-out infinite;
  }

  .loaded .particle {
    animation: particleFloat 10s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Content visibility for off-screen sections */
.section, .footer, #faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

:root {
  /* Brand Colors */
  --primary-gold: #FFD700;
  --primary-orange: #FFA500;
  --primary-green: #00C853;
  --dark-green: #00897B;

  /* Background Colors */
  --bg-dark: #1a1a2e;
  --bg-darker: #16213e;
  --bg-card: #1f2937;

  /* Text Colors - Optimized for dark theme readability */
  /* Primary text: Pure white for maximum contrast (21:1 ratio) */
  --text-light: #ffffff;
  /* Secondary text: Blue-tinted light gray (10:1 contrast ratio) */
  --text-secondary: #c4d0e0;
  /* Muted text: Warm blue-tinted gray (7:1 contrast ratio) */
  --text-muted: #a8b8cc;
  /* Subtle text: For less important info (5:1 contrast ratio) */
  --text-subtle: #8899b3;

  /* Accent Text Colors */
  --text-gold: #FFD700;
  --text-green: #4ade80;
  --text-info: #60a5fa;
  --text-warning: #fbbf24;
  --text-danger: #f87171;

  /* Border & UI */
  --border-color: #374151;
  --border-light: #4b5563;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
  --gradient-green: linear-gradient(135deg, #00C853 0%, #00897B 100%);
}

/* Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-orange);
}

/* Header Styles */
.navbar-brand img {
  height: 40px;
}

.navbar {
  background: rgba(26, 26, 46, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--primary-gold);
  background: rgba(255, 215, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link i {
  margin-right: 0.5rem;
}

.btn-cta {
  background: var(--gradient-gold);
  color: #000;
  font-weight: 600;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  color: #000;
}

/* Age Warning Banner */
.age-warning {
  background: rgba(255, 215, 0, 0.1);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding: 0.5rem 0;
}

.age-warning .badge {
  background: var(--gradient-gold);
  color: #000;
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 200, 83, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Animated gradient orbs - GPU accelerated */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(0, 200, 83, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 40% 40%, rgba(255, 140, 0, 0.05) 0%, transparent 30%);
  animation: heroFloat 20s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2%, 2%) rotate(1deg); }
  50% { transform: translate(0, 4%) rotate(0deg); }
  75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* Grid pattern overlay */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

/* Decorative elements */
.hero-section .hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-section .hero-glow-1 {
  top: -100px;
  right: 10%;
  background: linear-gradient(135deg, #FFD700, #FF8C00);
}

.hero-section .hero-glow-2 {
  bottom: -150px;
  left: 5%;
  background: linear-gradient(135deg, #00C853, #00897B);
}

/* Floating decorative icons */
.hero-section .floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-section .floating-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.08;
  animation: floatIcon 15s ease-in-out infinite;
}

.hero-section .floating-icon:nth-child(1) {
  top: 15%;
  left: 8%;
  color: #FFD700;
  animation-delay: 0s;
}

.hero-section .floating-icon:nth-child(2) {
  top: 25%;
  right: 12%;
  color: #00C853;
  animation-delay: -3s;
  font-size: 2.5rem;
}

.hero-section .floating-icon:nth-child(3) {
  bottom: 30%;
  left: 15%;
  color: #FF8C00;
  animation-delay: -6s;
}

.hero-section .floating-icon:nth-child(4) {
  top: 60%;
  right: 8%;
  color: #FFD700;
  animation-delay: -9s;
  font-size: 1.8rem;
}

.hero-section .floating-icon:nth-child(5) {
  top: 40%;
  left: 5%;
  color: #00C853;
  animation-delay: -12s;
  font-size: 2.2rem;
}

.hero-section .floating-icon:nth-child(6) {
  bottom: 20%;
  right: 15%;
  color: #FF8C00;
  animation-delay: -4s;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.08;
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
    opacity: 0.12;
  }
  50% {
    transform: translateY(-25px) rotate(0deg);
    opacity: 0.08;
  }
  75% {
    transform: translateY(-10px) rotate(-5deg);
    opacity: 0.1;
  }
}

/* Particle effect */
.hero-section .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-section .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  animation: particleFloat 10s ease-in-out infinite;
}

.hero-section .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero-section .particle:nth-child(2) { top: 40%; left: 25%; animation-delay: -2s; background: rgba(0, 200, 83, 0.3); }
.hero-section .particle:nth-child(3) { top: 60%; left: 40%; animation-delay: -4s; }
.hero-section .particle:nth-child(4) { top: 30%; left: 55%; animation-delay: -6s; background: rgba(0, 200, 83, 0.3); }
.hero-section .particle:nth-child(5) { top: 50%; left: 70%; animation-delay: -8s; }
.hero-section .particle:nth-child(6) { top: 70%; left: 85%; animation-delay: -3s; background: rgba(255, 140, 0, 0.3); }
.hero-section .particle:nth-child(7) { top: 15%; left: 90%; animation-delay: -5s; }
.hero-section .particle:nth-child(8) { top: 80%; left: 20%; animation-delay: -7s; background: rgba(0, 200, 83, 0.3); }

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) scale(1.5);
    opacity: 0.6;
  }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 200, 83, 0.2);
  color: var(--primary-green);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 200, 83, 0.3);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  margin-right: 0.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Box */
.search-box {
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.search-box .form-control {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 0.75rem;
  font-size: 1rem;
}

.search-box .form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

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

.search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-box .btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Stats */
.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-card i {
  font-size: 2rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-light);
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--bg-darker);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Betting House Card - Compact Mode */
.betting-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 0.625rem;
}

.betting-card:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.betting-card .card-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  display: flex;
  gap: 0.35rem;
}

.betting-card .card-badges .badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
}

.betting-card .badge-popular {
  background: var(--gradient-gold);
  color: #000;
  font-weight: 600;
}

.betting-card .badge-new {
  background: var(--gradient-green);
  color: #fff;
  font-weight: 600;
}

.betting-card .logo-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-color);
  min-width: 120px;
}

.betting-card .logo-section img {
  max-width: 90px;
  max-height: 45px;
  object-fit: contain;
}

.betting-card .content-section {
  padding: 0.875rem 1rem;
  flex: 1;
}

.betting-card .house-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.betting-card .licensed-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  color: var(--primary-green);
  gap: 0.2rem;
}

.betting-card .rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.betting-card .rating .stars {
  color: var(--primary-gold);
  font-size: 0.75rem;
}

.betting-card .rating .score {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.8rem;
}

.betting-card .bonus-info {
  margin-bottom: 0.5rem;
}

.betting-card .bonus-info .bonus-title {
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.betting-card .bonus-info .bonus-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.betting-card .features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
}

.betting-card .features li {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.betting-card .features li i {
  color: var(--primary-green);
  margin-right: 0.35rem;
  font-size: 0.65rem;
}

.betting-card .cta-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 130px;
}

.btn-primary-custom {
  background: var(--gradient-gold);
  color: #000;
  font-weight: 600;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.btn-primary-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(255, 215, 0, 0.3);
  color: #000;
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.btn-outline-custom:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

/* Game Card */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-card .game-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

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

.game-card .game-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.game-card .badge-hot {
  background: #dc3545;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
}

.game-card .badge-trending {
  background: var(--primary-green);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
}

.game-card .rtp-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(26, 26, 46, 0.9);
  color: var(--text-light);
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.game-card .game-info {
  padding: 1rem;
}

.game-card .game-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card .game-provider {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Review Section */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.review-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
}

.review-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.review-card .card-body {
  padding: 1.25rem;
}

.review-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.review-card .card-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* How We Review */
.review-step {
  text-align: center;
  padding: 1.5rem;
}

.review-step .step-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.review-step .step-icon i {
  font-size: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
}

.review-step h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.review-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Responsible Gambling Section */
.responsible-section {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, var(--bg-dark) 100%);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 1rem;
  padding: 2rem;
}

.responsible-section h3 {
  color: #dc3545;
}

.responsible-section .btn-danger {
  background: #dc3545;
  border-color: #dc3545;
}

/* Footer Styles */
.footer {
  background: var(--bg-darker);
  color: var(--text-light);
  padding-top: 3rem;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-light);
  margin-right: 0.5rem;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--gradient-gold);
  color: #000;
}

.footer-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
}

.footer-trust i {
  font-size: 1.5rem;
  color: var(--primary-gold);
}

.footer-trust .trust-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-trust .trust-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.1) 0%, var(--bg-dark) 50%, rgba(255, 215, 0, 0.1) 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-header .badge {
  background: rgba(0, 200, 83, 0.2);
  color: var(--primary-green);
  border: 1px solid rgba(0, 200, 83, 0.3);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header .lead {
  color: var(--text-muted);
}

/* Content Card */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.content-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.content-card h4 i {
  color: var(--primary-gold);
}

.content-card p, .content-card li {
  color: var(--text-secondary);
}

.content-card strong {
  color: var(--text-light);
}

/* Contact Form */
.form-control, .form-select {
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.form-control:focus, .form-select:focus {
  background: var(--bg-darker);
  border-color: var(--primary-gold);
  color: var(--text-light);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* Form check (checkbox, radio) */
.form-check-label {
  color: var(--text-light);
}

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

/* Value Card */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
}

.value-card .icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-card .icon-box i {
  font-size: 1.5rem;
  color: var(--primary-gold);
}

.value-card h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Team Card */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--primary-gold);
}

.team-card .team-image {
  height: 200px;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card .team-image i {
  font-size: 4rem;
  color: var(--text-muted);
}

.team-card .team-info {
  padding: 1rem;
}

.team-card .team-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-card .team-role {
  color: var(--primary-gold);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.team-card .team-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Cookie Types */
.cookie-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.cookie-card.required {
  border-color: rgba(0, 200, 83, 0.3);
}

.cookie-card h5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cookie-card h5 i {
  color: var(--primary-gold);
  margin-right: 0.5rem;
}

.cookie-examples {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

/* Responsive - Tablet */
/* Desktop (≥1024px): Enhanced betting card layout */
@media (min-width: 1024px) {
  .betting-card {
    display: flex;
    align-items: stretch;
  }

  .betting-card > .d-flex {
    width: 100%;
  }

  .betting-card .logo-section {
    min-width: 140px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
  }

  .betting-card .logo-section img {
    max-width: 100px;
    max-height: 60px;
    margin-bottom: 0.5rem;
  }

  .betting-card .content-section {
    flex: 1;
    padding: 1rem 1.25rem;
  }

  .betting-card .features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }

  .betting-card .cta-section {
    min-width: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border-color);
  }
}

@media (max-width: 991.98px) {
  .betting-card .d-flex {
    flex-direction: column;
  }

  .betting-card .logo-section {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    min-width: auto;
    padding: 0.625rem;
  }

  .betting-card .logo-section img {
    max-width: 70px;
    max-height: 35px;
  }

  .betting-card .cta-section {
    flex-direction: row;
    min-width: auto;
    gap: 0.35rem;
  }

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

  .hero-section {
    padding: 3rem 0;
  }

  /* Hide floating icons on tablet for performance */
  .hero-section .floating-icons {
    opacity: 0.5;
  }

  /* Footer adjustments */
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Hide decorative elements on mobile for performance */
  .hero-section .floating-icons,
  .hero-section .particles,
  .hero-section .hero-glow {
    display: none;
  }

  /* Search box mobile */
  .search-box {
    margin: 0 auto 1.5rem;
  }

  .search-box .form-control {
    padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    font-size: 0.9rem;
  }

  .search-box .btn {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .search-box {
    display: flex;
    flex-direction: column;
  }

  .search-box .search-icon {
    top: 22px;
  }

  /* Popular links mobile */
  .hero-section .mb-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .hero-section .mb-4 a {
    margin: 0 !important;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 0.25rem;
    font-size: 0.85rem;
  }

  /* Stats cards mobile */
  .stat-card {
    padding: 1rem;
  }

  .stat-card i {
    font-size: 1.5rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Betting cards mobile (≤768px) - Logo+Name same row, full-width buttons */
  .betting-card {
    margin-bottom: 0.75rem;
  }

  .betting-card .d-flex.flex-column.flex-lg-row {
    flex-direction: column !important;
  }

  .betting-card .logo-section {
    border-right: none;
    border-bottom: none;
    min-width: auto;
    padding: 0.75rem;
    float: left;
    margin-right: 0.75rem;
    margin-bottom: 0;
  }

  .betting-card .logo-section img {
    max-width: 60px;
    max-height: 40px;
  }

  .betting-card .content-section {
    padding: 0.75rem;
  }

  /* Logo and name on same row */
  .betting-card .content-section > .d-flex {
    flex-wrap: wrap;
  }

  .betting-card .house-name {
    font-size: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .betting-card .licensed-badge {
    font-size: 0.65rem;
  }

  .betting-card .rating {
    margin-bottom: 0.5rem;
  }

  .betting-card .rating .stars {
    font-size: 0.75rem;
  }

  .betting-card .rating .score {
    font-size: 0.8rem;
  }

  .betting-card .bonus-info {
    margin-bottom: 0.5rem;
  }

  .betting-card .bonus-info .bonus-title {
    font-size: 0.9rem;
  }

  .betting-card .bonus-info .bonus-desc {
    font-size: 0.75rem;
  }

  /* Features flex-wrap to fill width */
  .betting-card .features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.75rem;
  }

  .betting-card .features li {
    font-size: 0.75rem;
    flex: 0 0 auto;
  }

  .betting-card .features li i {
    font-size: 0.65rem;
  }

  /* Full-width stacked buttons */
  .betting-card .cta-section {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
  }

  .betting-card .cta-section .btn {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  /* Game cards mobile */
  .game-card {
    margin-bottom: 1rem;
  }

  .game-card img {
    height: 120px;
  }

  /* Footer mobile */
  .footer {
    padding: 2rem 0;
  }

  .footer h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .footer-links li {
    margin-bottom: 0.35rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-social {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .footer-bottom .text-muted {
    font-size: 0.75rem;
  }

  .footer-disclaimer {
    padding: 0.75rem 0;
    font-size: 0.75rem;
  }

  /* Accordion mobile */
  .accordion-button {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .accordion-body {
    font-size: 0.85rem;
    padding: 1rem;
  }

  /* Age warning mobile */
  .age-warning p {
    font-size: 0.75rem;
  }

  /* Navbar mobile */
  .navbar-brand img {
    height: 32px;
  }

  .btn-cta {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }

  /* Dropdown menu mobile */
  .dropdown-menu {
    background: var(--bg-darker) !important;
    border: 1px solid var(--border-color);
  }

  /* Content card mobile */
  .content-card {
    padding: 1rem;
  }

  /* Review page mobile */
  .page-header {
    padding: 1.5rem 0;
  }

  .page-header h1 {
    font-size: 1.25rem;
  }

  /* Breadcrumb mobile */
  .breadcrumb {
    font-size: 0.8rem;
  }

  /* Reviews section mobile */
  .review-card {
    margin-bottom: 1rem;
  }

  /* Responsible gambling section mobile */
  .responsible-section {
    padding: 1.5rem;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.25rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  /* Full width betting cards - Ultra Compact */
  .betting-card .logo-section {
    text-align: center;
    padding: 0.5rem;
  }

  .betting-card .logo-section img {
    max-width: 60px;
    max-height: 30px;
  }

  .betting-card .content-section {
    padding: 0.5rem 0.625rem;
  }

  .betting-card .house-name {
    font-size: 0.85rem;
    gap: 0.35rem;
  }

  .betting-card .card-badges {
    top: 0.35rem;
    left: 0.35rem;
  }

  .betting-card .card-badges .badge {
    font-size: 0.55rem;
    padding: 0.15rem 0.4rem;
  }

  /* Footer 2 columns on very small screens */
  .footer .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Stats 2x2 grid */
  .stat-card {
    padding: 0.75rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  /* Game cards 2 per row */
  .game-card img {
    height: 100px;
  }

  .game-card .card-body {
    padding: 0.75rem;
  }

  .game-card h5 {
    font-size: 0.9rem;
  }

  /* CTA buttons stack */
  .cta-section .btn {
    width: 100%;
  }

  /* Accordion smaller */
  .accordion-button {
    font-size: 0.85rem;
    padding: 0.875rem;
  }

  .accordion-body {
    font-size: 0.8rem;
    padding: 0.875rem;
  }

  /* Table scroll on mobile */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Trust badges scroll */
  .trust-badges {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
  }

  .trust-badges .badge {
    display: inline-block;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn {
    min-height: 44px;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .footer-links a {
    display: inline-block;
    padding: 0.35rem 0;
  }

  .accordion-button {
    min-height: 52px;
  }

  /* Remove hover effects */
  .betting-card:hover {
    transform: none;
  }

  .game-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Landscape mode on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    padding: 1.5rem 0;
  }

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

  .section {
    padding: 1.5rem 0;
  }
}

/* Print styles */
@media print {
  .hero-section .floating-icons,
  .hero-section .particles,
  .hero-section .hero-glow,
  .navbar,
  .footer,
  .age-warning {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  a {
    color: black !important;
    text-decoration: underline;
  }
}

/* Bootstrap Dark Theme Overrides */
/* Fix Bootstrap components that default to dark text on our dark background */
.card-body,
.card-title,
.card-header,
.card-footer,
.list-group-item,
.modal-body,
.modal-header,
.modal-footer,
.dropdown-menu,
.dropdown-item,
.breadcrumb-item,
.breadcrumb-item.active,
.nav-tabs .nav-link,
.table,
.table td,
.table th,
h1, h2, h3, h4, h5, h6,
p, li, span, div {
  color: inherit;
}

/* Ensure body text color propagates */
body {
  color: var(--text-light);
}

/* Fix card components */
.card {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-light);
}

.card-body {
  color: var(--text-light);
}

.card-title {
  color: var(--text-light);
}

.card-text {
  color: var(--text-secondary);
}

/* Fix Bootstrap breadcrumb */
.breadcrumb {
  color: var(--text-light);
}

.breadcrumb-item a {
  color: var(--primary-gold);
}

.breadcrumb-item.active {
  color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

/* Fix Bootstrap list-group */
.list-group-item {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-light);
}

/* Fix Bootstrap dropdown */
.dropdown-menu {
  background: var(--bg-darker);
  border-color: var(--border-color);
}

.dropdown-item {
  color: var(--text-light);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(255, 215, 0, 0.1);
  color: var(--primary-gold);
}

/* Fix Bootstrap table */
.table {
  color: var(--text-light);
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-light);
}

.table > :not(caption) > * > * {
  color: var(--text-light);
  background-color: transparent;
  border-bottom-color: var(--border-color);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
}

/* Fix Bootstrap modal */
.modal-content {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-light);
}

.modal-header {
  border-bottom-color: var(--border-color);
  color: var(--text-light);
}

.modal-footer {
  border-top-color: var(--border-color);
}

/* Fix Bootstrap alert */
.alert {
  color: var(--text-light);
}

/* Fix Bootstrap badge text visibility */
.badge {
  color: inherit;
}

.badge.bg-primary,
.badge.bg-success,
.badge.bg-danger,
.badge.bg-info {
  color: #fff;
}

.badge.bg-warning {
  color: #000;
}

/* Utilities */
.text-gold {
  color: var(--text-gold) !important;
}

.text-green {
  color: var(--text-green) !important;
}

.text-info {
  color: var(--text-info) !important;
}

.text-warning {
  color: var(--text-warning) !important;
}

.text-danger {
  color: var(--text-danger) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-subtle {
  color: var(--text-subtle) !important;
}

.text-light {
  color: var(--text-light) !important;
}

.bg-gradient-gold {
  background: var(--gradient-gold) !important;
}

.bg-gradient-green {
  background: var(--gradient-green) !important;
}

/* FAQ Accordion Styles */
.accordion {
  --bs-accordion-bg: var(--bg-card);
  --bs-accordion-border-color: var(--border-color);
  --bs-accordion-border-radius: 0.75rem;
  --bs-accordion-btn-color: var(--text-light);
  --bs-accordion-btn-bg: var(--bg-card);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
  --bs-accordion-active-color: var(--primary-gold);
  --bs-accordion-active-bg: var(--bg-darker);
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 0.75rem;
  border-radius: 0.75rem !important;
  overflow: hidden;
}

.accordion-item:first-of-type,
.accordion-item:last-of-type {
  border-radius: 0.75rem !important;
}

.accordion-button {
  background: var(--bg-card);
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: var(--bg-darker);
  color: var(--primary-gold);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
  border-color: var(--primary-gold);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffd700'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffd700'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  background: var(--bg-darker);
  color: var(--text-secondary);
  padding: 1.25rem;
  line-height: 1.7;
}

/* Logo Section for Brand Images */
.logo-section img {
  max-width: 120px;
  height: auto;
  border-radius: 0.5rem;
  object-fit: contain;
}

/* Mobile Overflow Prevention */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Container overflow fix - only hide overflow, don't change max-width */
.container {
  overflow-x: hidden;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

pre, code {
  max-width: 100%;
  overflow-x: auto;
  word-wrap: break-word;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p, li, a, span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Mobile specific overflow fixes */
@media (max-width: 767.98px) {
  .container,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }

  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .row > * {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Prevent horizontal scroll from navbar */
  .navbar-collapse {
    max-width: 100%;
  }

  /* Fix potential overflow in cards */
  .betting-card,
  .game-card,
  .review-card,
  .content-card,
  .value-card {
    max-width: 100%;
    overflow: hidden;
  }

  /* Fix footer trust badges overflow */
  .footer .d-flex.flex-wrap {
    justify-content: center;
    gap: 0.5rem;
  }

  .footer-trust {
    flex: 0 0 auto;
    min-width: auto;
    max-width: 100%;
  }

  /* Fix hero section overflow */
  .hero-section {
    max-width: 100vw;
    overflow: hidden;
  }

  /* Fix search box overflow */
  .search-box {
    max-width: 100%;
  }

  .search-box .form-control {
    max-width: 100%;
  }
}