/* ===================================
   BK8 FISHING - PREMIUM REDESIGN
   Brand Colors: Blue (#0B3EFF) + Orange (#FF6B35)
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===================================
   CSS CUSTOM PROPERTIES (Design System)
   =================================== */
:root {
  /* Brand Colors - ONLY 4 COLORS ALLOWED */
  --color-primary: rgb(6, 78, 161);
  /* Blue */
  --color-accent: #ff8a00;
  /* Brand Orange */
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* Background Colors */
  --color-bg-primary: var(--color-white);
  --color-bg-secondary: var(--color-white);
  --color-bg-card: var(--color-white);
  --color-bg-card-hover: var(--color-white);

  /* Text Colors */
  --color-text-primary: var(--color-black);
  --color-text-secondary: var(--color-black);
  --color-text-muted: var(--color-black);

  /* NO GRADIENTS - Solid colors only */
  --gradient-primary: var(--color-primary);
  --gradient-hero: transparent;
  --gradient-glow: transparent;

  /* Shadows - Minimal */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow-primary: 0 4px 20px rgba(6, 78, 161, 0.3);
  --shadow-glow-accent: 0 4px 20px rgba(255, 183, 29, 0.3);

  /* Typography */
  /* Typography - Fluid Scaling (Mobile -> Desktop) */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: clamp(1.25rem, 2vw, 1.5rem);
  /* 20px -> 24px */
  --font-size-2xl: clamp(1.5rem, 3vw, 2rem);
  /* 24px -> 32px */
  --font-size-3xl: clamp(2rem, 4vw, 2.5rem);
  /* 32px -> 40px */
  --font-size-4xl: clamp(2.5rem, 5vw, 3.5rem);
  /* 40px -> 56px */
  --font-size-5xl: clamp(3rem, 6vw, 4.5rem);
  /* 48px -> 72px */
  --font-size-hero: clamp(2.5rem, 8vw, 5rem);
  /* 40px -> 80px */

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl-tight: 2.5rem;
  /* 40px - Standardized Section Gap */
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Semantic Spacing Aliases */
  --section-padding: var(--space-2xl-tight);
  --grid-gap: var(--space-lg);
  --content-margin: var(--space-2xl-tight);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Selection */
::selection {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1,
.h1 {
  font-size: var(--font-size-hero);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2,
.h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3,
.h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  line-height: 1.3;
}

h4,
.h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.4;
}

p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.text-gradient {
  color: var(--color-primary);
}

/* ===================================
   LAYOUT UTILITIES
   =================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================
   BUTTON COMPONENTS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 44px;
  /* Accessible Touch Target */
}

.btn-primary {
  background-color: #ff8a00;
  /* Orange */
  color: #fff !important;
  box-shadow: none;
  border: 2px solid #ff8a00;
}

.btn-primary:hover {
  background-color: #e67e00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
  color: #fff !important;
  /* Ensure text color remains white on hover */
  border: 2px solid #e67e00;
  /* Adjust border color on hover */
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white) !important;
  box-shadow: none;
  border: 2px solid var(--color-accent);
}

.btn-accent:hover {
  background-color: #e67e00;
  color: #ffffff !important;
  border: 2px solid #e67e00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

.btn-lg {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-lg);
}

.btn-pulse {
  animation: 1.5s ease 0s infinite normal none move;
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */
/* ===================================
   HEADER / NAVIGATION
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-xs) 0;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}



.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  height: 70px;
}

.header.scrolled .header-inner {
  padding: 4px 0;
  height: 60px;
}

.logos {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo-separator {
  width: 1px;
  height: 24px;
  background-color: #ddd;
}

.logo img {
  height: 36px;
  width: auto;
  transition: height var(--transition-fast);
}

.secondary-logo img {
  height: 32px;
  /* Slightly smaller */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  /* Accessible Touch Target */
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-actions-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.header-clock {
  position: absolute;
  top: -14px;
  right: 0;
  font-family: monospace;
  font-size: 9px;
  color: var(--color-black);
  white-space: nowrap;
  line-height: 1;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-login {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
}

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

.btn-join {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 4px;
  text-transform: uppercase;
  border: 2px solid var(--color-accent);
  transition: all .2s ease-in-out;
  animation: 1.5s ease 0s infinite normal none move;
}

@keyframes move {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.btn-join:hover {
  background: var(--color-white);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

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

/* Mobile Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    /* Hide for now, can be toggled */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #FFFFFF;
    padding: var(--space-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
    gap: var(--space-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
    /* ensure proper alignment if needed, flex-direction is already column */
  }

  /* Center Logo on Mobile */
  .logos {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
  }

  .logo img {
    height: 28px;
  }

  .secondary-logo img {
    height: 24px;
  }
}



/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 78px;
  /*   padding-bottom: 30px;
 */
  background: var(--color-white);
}

.hero-bg {
  position: relative;
  width: 100%;
  height: auto;
}

.hero-bg::before {
  display: none;
}

.hero-bg-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}



@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .header {
    padding: 2px 0;
  }

  .header-clock {
    display: none;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 30px;
    display: block;
    height: auto;
    min-height: auto;
  }

  .hero-bg-image {
    display: block;
    width: 100%;
  }
}

.hero-glow {
  display: none;
}





.hero-content {
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.hero-title span {
  display: block;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--color-black);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.hero-stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Floating Cards in Hero */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  display: none;
}

/* ===================================
   COUNTRY SELECTOR SECTION
   =================================== */
.country-section {
  background: var(--color-bg-secondary);
  padding: 30px 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-black);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-black);
  transition: all var(--transition-base);
  cursor: pointer;
}

.country-card:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  color: var(--color-white);
}

.country-card.primary {
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-white);
}

.country-card.primary:hover {
  transform: translateY(-4px);
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-black);
}

.country-flag {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-name {
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-align: center;
}

/* ===================================
   FEATURES SECTION (Why BK8)
   =================================== */
.features-section {
  position: relative;
  padding: 30px 0;
  background: linear-gradient(180deg, var(--color-white) 0%, #f8f9fa 100%);
}

.features-section::before {
  display: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.feature-card {
  text-align: center;
  position: relative;
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Subtle border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Soft depth */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: visible;
  /* Allow glow to spill */
  z-index: 1;
}

.feature-card::before {
  display: none;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(246, 133, 31, 0.15);
  /* Brand colored glow */
  border-color: rgba(246, 133, 31, 0.3);
  z-index: 2;
}

.feature-card:hover::before {
  display: none;
}

.feature-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 16px;
  margin: 0 auto 7px auto;
  position: relative;
  box-shadow: none;
  transition: all 0.3s ease;
  border: none;
}

.feature-icon::before {
  display: none;
}

.feature-icon::after {
  display: none;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon img {
  width: 56px;
  height: 56px;
  filter: none;
}

.feature-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.feature-description {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
  background: #2056ff;
  padding: 30px 0;
  overflow: hidden;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
  color: var(--color-white);
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.testimonials-nav {
  display: flex;
  gap: var(--space-sm);
}

.testimonial-nav-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
}

.testimonial-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-primary);
}

.testimonials-slider {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-md);
  /* Space for scrollbar if needed, or just breathing room */
  -webkit-overflow-scrolling: touch;
  /* smooth scrolling on iOS */
  scrollbar-width: none;
  /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-md));
  min-width: 350px;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.08);
  scroll-snap-align: center;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-primary);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

.testimonial-text {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

.testimonial-text::before {
  content: '"';
}

.testimonial-text::after {
  content: '"';
}

/* ===================================
   CONTENT SECTION
   =================================== */
.content-section {
  padding: 30px 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.content-section h3 {
  font-size: var(--font-size-xl);
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.content-section p {
  font-size: var(--font-size-base);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.content-section a {
  color: var(--color-primary-light);
  transition: color var(--transition-fast);
}

.content-section a:hover {
  color: var(--color-accent);
}

/* ===================================
   LICENSING SECTION
   =================================== */
.licensing-section {
  background: var(--color-white);
  padding: 30px 0;
}

.licensing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.license-card {
  padding: var(--space-md) var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all 0.3s ease;
}

.license-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--color-accent);
}

.license-logo {
  max-width: 100px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto var(--space-md);
  display: block;
  filter: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.license-card:hover .license-logo {
  opacity: 1;
}

.license-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.license-description {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .licensing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .licensing-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .license-card {
    padding: var(--space-md);
  }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section h5 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.social-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0.7);
  transition: filter var(--transition-fast);
}

.social-link:hover img {
  filter: brightness(1);
}

.security-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.security-badge {
  height: 32px;
  filter: grayscale(1) brightness(0.7);
  transition: all var(--transition-base);
}

.security-badge:hover {
  filter: grayscale(0) brightness(1);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
}

.copyright {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.responsible-gaming {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.responsible-gaming img {
  height: 28px;
  filter: grayscale(1) brightness(0.6);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

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

  100% {
    background-position: 200% 0;
  }
}

@keyframes scrollHint {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-20px);
  }

  40% {
    transform: translateX(0);
  }

  60% {
    transform: translateX(-10px);
  }

  80% {
    transform: translateX(0);
  }
}

.scroll-hint {
  animation: scrollHint 1.5s ease-in-out;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--color-white);
  /* Background moved to ::before to allow cropping/scaling */
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(0 0 0 / 85%), rgb(0 0 0 / 1%)), url(../images/cta-background.png) no-repeat center center;
  background-size: cover;
  transform: scale(1.05);
  /* Slight zoom to crop edges */
  transform-origin: center;
  /* Zoom from center, cropping all sides equally */
  z-index: -1;
}

.cta-section .section-title,
.cta-section .section-subtitle {
  color: var(--color-white);
}

/* Animation classes */
.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

.animate-delay-5 {
  animation-delay: 0.5s;
}

/* ===================================
   MOBILE RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  :root {
    --font-size-hero: 3rem;
    --font-size-4xl: 2rem;
  }

  .nav-links {
    display: none;
  }

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

  .hero-visual {
    display: none;
  }

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

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

  .testimonial-card {
    flex: 0 0 calc(50% - var(--space-sm));
    min-width: 300px;
  }

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

@media (max-width: 768px) {
  :root {
    --font-size-hero: 2.25rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
    --space-4xl: 4rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    min-height: auto;
    padding: 64px 0px 0px 0px;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

  .country-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-hero: 1.875rem;
    --font-size-4xl: 1.5rem;
  }

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

  .hero-badge {
    font-size: var(--font-size-xs);
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: var(--space-sm) !important;
}

.mb-2 {
  margin-bottom: var(--space-md) !important;
}

.mb-3 {
  margin-bottom: var(--space-lg) !important;
}

.mb-4 {
  margin-bottom: var(--space-xl) !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: var(--space-sm) !important;
}

.mt-2 {
  margin-top: var(--space-md) !important;
}

.mt-3 {
  margin-top: var(--space-lg) !important;
}

.mt-4 {
  margin-top: var(--space-xl) !important;
}

/* ===================================
   MOBILE ACTION BUTTONS (< 425px)
   =================================== */
.mobile-hero-actions {
  display: none;
}

@media (max-width: 500px) {
  .header-buttons {
    display: none;
  }

  .hero {
    padding-bottom: 0px;
  }

  .mobile-hero-actions {
    display: flex;
    width: 100%;
    /* Ensure it sits below hero */
  }

  .mobile-action-btn {
    flex: 1;
    text-align: center;
    padding: 15px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    border: none;
    border-radius: 0;
    transition: background-color 0.2s;
  }

  .btn-join-mobile {
    background-color: #d32f2f;
    /* Standard Red */
  }

  .btn-join-mobile:hover {
    background-color: #b71c1c;
  }

  .btn-login-mobile {
    background-color: #1976d2;
    /* Standard Blue */
  }

  .btn-login-mobile:hover {
    background-color: #1565c0;
  }
}

/* ===================================
   NEW FOOTER STYLES (Matching bk8masia.com)
   =================================== */
.bk8-footer {
  background-color: #f7f9fa;
  padding: 40px 0 20px;
  font-size: 13px;
  color: #8697a2;
}

.bk8-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #0f161f;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Top Section */
.footer-top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 1px solid #e1e6eb;
  padding-bottom: 30px;
}

.footer-license-col {
  flex: 0 0 25%;
  padding-right: 20px;
}

.license-badge img {
  max-width: 25%;
  height: auto;
  margin-bottom: 10px;
}

.footer-links-group {
  flex: 0 0 55%;
  /* Reduced to fit 3rd column */
  display: flex;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

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

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list a {
  color: #8697a2;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links-list a:hover {
  color: #ff8a00;
  /* BK8 Orange */
}

/* Middle Sections (Certifications, Payments) */
/* Middle Sections (Certifications, Payments) - CLEANUP: footer-middle-section removed */

.footer-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.footer-logos-grid img {
  height: 30px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.footer-logos-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Adjustments for specific grids */
.certifications-grid img {
  height: 35px;
}

.payments-grid img {
  height: 25px;
}

/* Bottom Info Section */
.footer-bottom-info {
  display: flex;
  flex-wrap: nowrap;
  /* Prevent overall wrapping */
  justify-content: space-between;
  align-items: flex-start;
  /* Top align columns */
  margin-bottom: 30px;
  gap: 20px;
}

/* Force payments into approx 2 lines */
.payments-grid {
  max-width: 250px;
  gap: 10px !important;
}

/* Shrink icons to fit everything in one line */
.footer-logos-grid img,
.social-icons img,
.footer-bottom-col img {
  height: 20px !important;
  /* Smaller icons across the board */
  width: auto;
}

.payments-grid img {
  height: 20px !important;
}

.footer-bottom-col {
  display: flex;
  flex-direction: column;
  margin-right: 30px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.social-icons img:hover {
  opacity: 1;
}

.security-logos,
.responsible-logos {
  display: flex;
  gap: 15px;
  align-items: center;
}

.security-logos img,
.responsible-logos img {
  height: 28px;
  width: auto;
}

/* Copyright */
.footer-copyright {
  text-align: center;
  border-top: 1px solid #e1e6eb;
  padding-top: 20px;
  font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-top-row {
    flex-direction: column;
  }

  .footer-license-col,
  .footer-links-group {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 0;
    /* Remove gap as accordion items usually have their own borders/margin */
  }

  .footer-bottom-info {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================================
   Content Page Refinements
   ========================================= */

/* --- Hero Variants --- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  /* Default dark overlay fallback */
  background-color: #0f161f;
}

/* Ensure the overlay is always there for text readability */
/* Ensure the overlay is always there for text readability ON CONTENT PAGES ONLY */
.hero-sports::before,
.hero-esports::before,
.hero-casino::before,
.hero-slots::before,
.hero-fishing::before,
.hero-lottery::before,
.hero-fastgames::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.6) 0%, rgba(8, 14, 20, 0.9) 100%);
  z-index: 1;
}

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

/* Specific Page Backgrounds (You can replace URLs with actual images later) */
.hero-sports {
  background-image: url('../images/hero-bg-sports.jpg'), linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
}

.hero-esports {
  background-image: url('../images/hero-bg-esports.jpg'), linear-gradient(135deg, #2c3e50, #000000);
}

.hero-casino {
  background-image: url('../images/hero-bg-casino.jpg'), linear-gradient(135deg, #434343, #000000);
}

.hero-slots {
  background-image: url('../images/hero-bg-slots.jpg'), linear-gradient(135deg, #5f2c82, #49a09d);
}

.hero-fishing {
  background-image: url('../images/hero-bg-fishing.jpg'), linear-gradient(135deg, #00c6ff, #0072ff);
}

.hero-lottery {
  background-image: url('../images/hero-bg-lottery.jpg'), linear-gradient(135deg, #f857a6, #ff5858);
}

.hero-fastgames {
  background-image: url('../images/hero-bg-fastgames.jpg'), linear-gradient(135deg, #4facfe, #00f2fe);
}

/* --- 2-Column Content Grid --- */
/* --- 2-Column Content Grid --- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  margin-bottom: var(--content-margin);
  margin-top: var(--content-margin);
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* --- Styled Data Tables --- */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}

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

.data-table th {
  background-color: #f8f9fa;
  color: #1f2937;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

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

.data-table tr:hover td {
  background-color: #f9fafb;
}

/* --- Info Box (Real Win Examples) --- */
.info-box {
  background: #fff;
  border: 1px solid #e1e6eb;
  border-left: 5px solid #ff8a00;
  border-radius: 8px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.info-box h4 {
  color: #0f161f;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box-disclaimer {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
}

/* --- Feature List Styling (ul/ol) --- */
.content-wrapper ul,
.content-wrapper ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.content-wrapper li {
  margin-bottom: 10px;
  color: #4b5563;
  line-height: 1.6;
}

.content-wrapper li strong {
  color: #1f2937;
}

/* --- Subpage specific tweaks --- */
.content-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0f161f;
  position: relative;
  padding-bottom: 10px;
}

.content-wrapper h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff8a00, #ff5e62);
  border-radius: 2px;
}


/* --- Popular Games List --- */
.popular-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.popular-item {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.popular-item:hover {
  border-color: #ff8a00;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.game-rank {
  font-size: 1.2rem;
  font-weight: 800;
  color: #cbd5e1;
  margin-right: 15px;
  min-width: 20px;
}

.popular-item:nth-child(1) .game-rank {
  color: #ffd700;
}

/* Gold */
.popular-item:nth-child(2) .game-rank {
  color: #c0c0c0;
}

/* Silver */
.popular-item:nth-child(3) .game-rank {
  color: #cd7f32;
}

/* Bronze */

.game-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-info strong {
  color: #1f2937;
  font-size: 0.95rem;
}

.provider-name {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
}

.btn-play-sm {
  background: #ff8a00;
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-play-sm:hover {
  background: #064ea1;
  color: #fff !important;
}

/* ===================================
   NEW COMPONENTS: Provide Reviews & Topic Cards
   =================================== */

/* --- Provider Review List (Horizontal Cards) --- */
.provider-list {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

.provider-row {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e1e6eb;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.provider-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #ff8a00;
}

/* 1. Left Column: Brand */
.provider-logo-col {
  flex: 0 0 200px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid #f0f0f0;
  text-align: center;
}

.provider-logo-img {
  max-width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.provider-badge {
  display: inline-block;
  background: #064ea1;
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* 2. Middle Column: Info */
.provider-info-col {
  flex: 1;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 300px;
  /* Prevent crushing on small screens */
}

.provider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.provider-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f161f;
  margin: 0;
}

/* Desktop Only Column */
.desktop-only-col {
  flex: 0 0 20%;
  /* Explicit width */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Push to bottom */
  align-items: flex-end;
  /* Push to right */
  text-align: right;
  min-height: 100%;
  /* Ensure it takes full height of row if needed */
}

.desktop-country-selector {
  margin-top: auto !important;
  /* Force push to bottom */
  margin-bottom: 15px;
  /* Space between selector and certs */
  margin-right: 0;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3f4f6;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
}

/* Shrink Certification Icons */
.desktop-only-col .certifications-grid img {
  height: 15px;
  /* Smaller as requested */
  width: auto;
}

.desktop-only-col .certifications-grid {
  margin-bottom: 0;
  justify-content: flex-end;
  /* Align grid items right */
}

.provider-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff8e1;
  padding: 4px 8px;
  border-radius: 6px;
  color: #b45309;
  font-weight: 700;
  font-size: 0.9rem;
}

.provider-rating i {
  color: #ffc107;
}

.provider-description {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 15px;
  line-height: 1.5;
}

.provider-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: #6b7280;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

.meta-item strong {
  color: #1f2937;
}

/* 3. Right Column: Action */
.provider-action-col {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  /* Keep white for contrast */
  border-left: 1px solid #f0f0f0;
}

.action-bonus {
  text-align: center;
  margin-bottom: 15px;
}

.bonus-label {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bonus-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ff8a00;
}

.btn-provider {
  width: 100%;
  max-width: 180px;
}

/* Responsive Provider Card */
@media (max-width: 900px) {
  .provider-row {
    flex-direction: column;
  }

  .provider-logo-col,
  .provider-info-col,
  .provider-action-col {
    flex: auto;
    width: 100%;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .provider-logo-col {
    padding: 15px;
    background: #fff;
    flex-direction: column;
    /* Stack vertically */
    justify-content: center;
    align-items: center;
  }

  .provider-logo-img {
    margin-bottom: 10px;
    /* Add spacing between logo and badge */
    max-height: 70px;
    width: auto;
  }

  .provider-action-col {
    flex-direction: row;
    justify-content: center;
    /* Center the button */
    background: #f8f9fa;
    padding: 15px;
    /* Ensure padding */
  }

  .action-bonus {
    display: none;
    /* Ensure bonus is hidden on mobile if it exists in code */
  }

  .btn-provider {
    width: 100%;
    /* Full width for easier tapping or max-width constrained */
    max-width: 250px;
    /* Reasonable max width */
    padding: 12px 20px;
  }
}

/* --- Decoration: Related Topic Cards --- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.topic-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-color: #ff8a00;
}

.topic-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topic-icon {
  width: 36px;
  height: 36px;
  background: #f0f9ff;
  color: #064ea1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.topic-title {
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
}

.topic-arrow {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.topic-card:hover .topic-arrow {
  transform: translateX(3px);
  color: #ff8a00;
}

.topic-card:hover .topic-title {
  color: #ff8a00;
}

/* Ensure background is white for topic icon */
.topic-card:hover .topic-icon {
  background: #fff3e0;
  color: #ff8a00;
}

/* ===================================
   FOOTER SPONSORSHIPS
   =================================== */
.footer-sponsorships-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.sponsorship-row {
  margin-bottom: 40px;
}

.sponsorship-row.top-tier {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.sponsor-group {
  text-align: center;
}

.sponsor-heading {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 15px;
  font-weight: 500;
  text-transform: capitalize;
}

.sponsor-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  /* Ensure wrapping by default */
}

.sponsor-logos.justify-center {
  justify-content: center;
}

.wrap-logos {
  flex-wrap: wrap;
}

/* License Image */
.license-img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 0 15px 0;
  /* Align left */
}

/* Mobile Actions */
.footer-actions-mobile {
  display: none;
  margin-bottom: 30px;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

@media (max-width: 768px) {
  .footer-actions-mobile {
    display: flex;
  }
}

.sponsor-logos.justify-center {
  justify-content: center;
}

.sponsor-logos.wrap-logos {
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.sponsor-item img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* Specific sizing overrides based on tier */
.top-tier .sponsor-item img {
  height: 60px;
}

.awards-row .sponsor-item img {
  height: 70px;
  /* Awards slightly larger */
}

/* Previous sponsorships smaller */
.previous-row .sponsor-item img {
  height: 50px;
}

/* Specific sizing for EGR to align with others */
.egr-award-img {
  width: 120px !important;
  height: auto !important;
}

.sponsor-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Specific request: No grayscale for sponsorships */
.footer-sponsorships-section img {
  filter: none !important;
  opacity: 1 !important;
}

.sponsor-caption {
  font-size: 11px;
  color: #8697a2;
  line-height: 1.4;
  max-width: 120px;
}

.footer-divider {
  border: 0;
  border-top: 1px solid #e1e6eb;
  margin: 40px 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .sponsorship-row.top-tier {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .sponsor-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .sponsor-item img {
    height: 40px;
  }

  .top-tier .sponsor-item img {
    height: 50px;
  }
}

/* ===================================
   MOBILE FOOTER REFINEMENTS
   =================================== */

/* Styles for Accordions (Details/Summary) */
.footer-accordion {
  width: 100%;
  border-bottom: 1px solid #e1e6eb;
  margin-bottom: 0;
}

.footer-accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #4b5563;
}

.footer-accordion summary::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
  opacity: 0.5;
}

.footer-accordion[open] .accordion-icon {
  transform: rotate(180deg);
}

.footer-accordion .footer-links-list {
  padding-bottom: 15px;
  padding-left: 0;
}

/* Desktop: Disable accordion behavior */
@media (min-width: 769px) {
  .footer-accordion {
    border-bottom: none;
  }

  .footer-accordion summary {
    pointer-events: none;
    margin-bottom: 15px;
    padding: 0;
    cursor: default;
    font-size: 14px;
    font-weight: 700;
    color: #0f161f;
    text-transform: uppercase;
  }

  .accordion-icon {
    display: none;
  }
}

/* Sponsorship Mobile Layout */
@media (max-width: 768px) {

  /* Hide Desktop Only Column on Mobile */
  .desktop-only-col {
    display: none !important;
  }

  .sponsorship-row.top-tier {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
  }

  /* Title Sponsor (Left) */
  .sponsor-group:nth-child(1) {
    grid-column: 1 / 2;
  }

  /* Official Partner (Right) - NOW CHILD 2 */
  .sponsor-group:nth-child(2) {
    grid-column: 2 / 3;
  }

  /* Official Sponsor (Bottom Full Width) - NOW CHILD 3 */
  .sponsor-group:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: 20px;
    border-top: 1px dashed #e1e6eb;
    padding-top: 20px;
  }

  /* EGR Award Image sizing */
  .egr-award-img {
    max-width: 80px;
    height: auto;
  }

  .footer-top-row {
    flex-direction: column-reverse;
  }

  /* Reordering for visual hierarchy */
  .footer-top-row {
    display: flex;
    flex-direction: column;
    border-bottom: none;
    /* Remove duplicate border on mobile */
    padding-bottom: 0;
  }

  .footer-license-col {
    order: -1;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .license-badge {
    display: flex;
    /* Enforce flexbox */
    flex-direction: column;
    align-items: center;
    /* Center children horizontally */
    gap: 10px;
    width: 100%;
    /* Ensure full width */
  }

  .license-badge img {
    width: 60px;
  }

  /* Center alignment for bottom info on mobile - UPDATED to LEFT align */
  .footer-bottom-info {
    display: grid !important;
    /* Force grid */
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
    /* Row gap 30px, Col gap 15px */
    align-items: start;
    text-align: left;
  }

  .footer-bottom-col {
    align-items: flex-start;
    /* Align left */
    margin-right: 0;
    width: 100%;
  }

  /* 1. Payment Methods: Full Width */
  .payment-col {
    grid-column: 1 / -1;
    order: 1;
  }

  /* 2. Certifications (Mobile Only) */
  .mobile-certs-col {
    display: flex !important;
    flex-direction: column;
    order: 2;
  }

  /* 3. Security */
  .security-col {
    order: 3;
  }

  /* 4. Follow Us */
  .follow-col {
    order: 4;
  }

  /* 5. Responsible Gaming */
  .responsible-col {
    order: 5;
  }


  /* Specific request: Heading align left */
  .footer-bottom-col .footer-heading {
    align-self: flex-start;
    text-align: left;
    width: 100%;
    padding-left: 0;
  }

  .footer-logos-grid,
  .social-icons,
  .responsible-logos {
    justify-content: flex-start;
    /* Align left */
  }

  /* Reset widths for mobile - Ensure full width for payments */
  .payments-grid {
    max-width: 100%;
  }
}

/* Hide Mobile Certs on Desktop */
.mobile-certs-col {
  display: none;
}



/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #064ea1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 10px rgba(6, 78, 161, 0.3);
  z-index: 999;
  cursor: pointer;
  /* Hidden by default, shown via JS */
}

.scroll-to-top-btn img {
  filter: brightness(0) invert(1);
}

@media (min-width: 769px) {
  .footer-actions-mobile {
    display: none;
  }

  .scroll-to-top-btn {
    display: none;
  }
}

/* Slider Indicators - Copied from localhost */
.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  /* fallback for --glass-bg-dark */
  backdrop-filter: blur(10px);
  /* fallback for --glass-blur */
  padding: var(--space-sm) var(--space-sm);
  border-radius: var(--radius-xl);
  /* using existing var */
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* fallback for --glass-border */
}

.indicator {
  background: rgba(255, 255, 255, 0.3);
  width: 32px;
  height: 4px;
  border-radius: var(--radius-sm);
  /* using existing var */
  border: none;
  cursor: pointer;
  transition: all var(--transition-base) ease;
  /* using existing var */
  padding: 0;
  position: relative;
  overflow: hidden;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--color-accent);
  /* use brand orange */
  border-radius: var(--radius-sm);
  transition: width var(--transition-base) ease;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
  background: rgba(255, 255, 255, 0.4);
}

.indicator.active::before {
  width: 100%;
  animation: progress 5s linear;
}

@keyframes progress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* Responsive Adjustments for Slider Indicators */
@media (max-width: 1280px) {
  .slider-indicators {
    left: auto;
    right: 20px;
  }
}

@media (max-width: 768px) {
  .indicator {
    width: 24px;
    height: 3px;
  }

  .slider-indicators {
    bottom: 12px;
    right: 12px;
    padding: var(--space-xs) var(--space-sm);
  }
}