/* CSS Custom Properties (Variables) */
:root {
  /* Colors */
  --color-primary: #0d1b2a;    /* Deep Navy - Authority & Trust */
  --color-secondary: #1b263b;  /* Rich Blue - Depth & Stability */
  --color-accent: #3498db;     /* Bright Blue - Data & Intelligence */
  --color-highlight: #2ecc71;  /* Green - Success Indicators */
  --color-white: #ffffff;
  --color-muted: #718096;
  --color-light: #f8f9fa;
  --color-gray: #e9ecef;       /* Darker gray for content sections */
  
  /* Transparent Colors */
  --color-primary-transparent: rgba(13, 27, 42, 0.9);
  --color-secondary-transparent: rgba(27, 38, 59, 0.9);
  --color-accent-transparent: rgba(52, 152, 219, 0.1);
  --color-accent-border: rgba(52, 152, 219, 0.3);
  --color-accent-line: rgba(52, 152, 219, 0.6);
  --color-accent-dot: rgba(52, 152, 219, 0.8);
  --color-highlight-transparent: rgba(46, 204, 113, 0.1);
  --color-highlight-border: rgba(46, 204, 113, 0.3);
  
  /* Background Gradients */
  --gradient-hero: linear-gradient(to bottom, var(--color-primary-transparent), var(--color-secondary-transparent));
  --gradient-cta: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  
  /* Navigation */
  --navbar-height: 64px;          /* 64px - standard navbar height */
  
  /* Spacing */
  --spacing-xs: 4px;    /* 4px */
  --spacing-sm: 8px;     /* 8px */
  --spacing-md: 16px;       /* 16px */
  --spacing-lg: 24px;     /* 24px */
  --spacing-xl: 32px;       /* 32px */
  --spacing-2xl: 48px;      /* 48px */
  --spacing-3xl: 64px;      /* 64px */
  --spacing-4xl: 96px;      /* 96px - for top spacing after navbar */
  
  /* Container Widths */
  --container-max-width: 1200px;
  --container-padding: var(--spacing-md);
  
  /* Hero Section */
  --hero-height-desktop: 90vh;
  --hero-height-mobile: auto;
  --hero-min-height-mobile: 500px;
  --hero-padding-top: calc(var(--navbar-height) + 48px);
  --hero-padding-bottom: 48px;
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 20px;
  --font-size-xl: 24px;
  --font-size-xxl: 32px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-normal: 0.6s ease-out;
  --transition-slow: 2s infinite;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-circle: 50%;
}

/* Global Cursor Rules */
* {
    cursor: default;
}

a, 
button,
input[type="submit"],
input[type="button"],
.btn,
[role="button"],
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

/* Base Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-primary);
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Main content wrapper to push footer down */
body > nav {
  flex-shrink: 0;
}

body > *:not(nav):not(footer) {
  flex: 1 0 auto;
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
}

h1, .h1 {
  font-weight: 700;
}

h2, .h2 {
  font-weight: 600;
}

h3, .h3 {
  font-weight: 600;
}

/* Layout Components */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Section Styles */
section {
    padding: 0 0 80px 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 75vh;
    max-height: 800px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background-color: var(--color-primary); /* Fallback color */
    padding-top: 0;
    padding-bottom: 0;
}

.hero-section__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* WebP preferred (288 KB vs 409 KB JPG); JPG fallback for older browsers */
    background-image: url('../images/hero-bg.webp'), url('../images/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--color-primary); /* Fallback color */
}

.hero-section__background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(27, 38, 59, 0.8));
    z-index: 1;
}

.hero-section__content {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 41, 66, 0.85), rgba(44, 62, 80, 0.85));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 64px;
    padding-bottom: 0;
    margin-top: 40px; /* Space above the element to move it lower */
    margin-bottom: 80px;
}

.hero-title-container {
    background-color: rgba(13, 27, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 32px 48px;
    margin-bottom: 32px;
    max-width: 800px;
    width: 100%;
}

/* Hero fluid typography – one rule per element, scales 320px–1200px+ */
.hero-content h1,
.hero-heading {
    font-size: clamp(20px, 4.5vw + 12px, 56px);
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    position: static;
    left: auto;
    line-height: 1.2;
}

.hero-content h1 span {
    display: inline;
    white-space: nowrap;
}

.hero-content p,
.hero-section__tagline {
    font-size: clamp(12px, 1.5vw + 10px, 20px);
    margin-bottom: 24px;
    opacity: 0.9;
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .d-flex {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 auto !important;
    margin-top: 16px !important;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.btn-primary-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    line-height: 1 !important;
    padding: 0 30px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    background-color: #2ecc71 !important;
    color: #ffffff !important;
    border: 2px solid #2ecc71 !important;
    min-width: 160px !important;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.25) !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    text-align: center !important;
}

.btn-primary-action:hover {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
    transform: translateY(-2px);
}

.btn-secondary-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    line-height: 1 !important;
    padding: 0 30px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    min-width: 160px !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    text-align: center !important;
}

.btn-secondary-action:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(6px, 4vw + 12px, 80px);
    padding-top: 20px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: default;
    pointer-events: none;
    position: relative;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-height: auto;
    min-width: auto;
}

/* Stats: fluid font size; override .hero-section .h2 for stats to prevent overlay */
.hero-stats h2,
.hero-section .hero-stats .h2 {
    font-size: clamp(16px, 2.5vw + 12px, 36px) !important;
    font-weight: 700;
    margin-bottom: 4.8px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: block;
    text-align: center;
    width: 100%;
}

.hero-stats p {
    font-size: clamp(6px, 0.5vw + 4px, 10px) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    display: block;
    text-align: center;
    width: 100%;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.data-history {
    background-color: rgba(13, 27, 42, 0.6);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-section .text-white-50,
.data-history__text {
    font-size: clamp(8px, 0.8vw + 6px, 16px);
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    margin: 0;
}

/* Features Section */
.features-section {
    background-color: var(--color-gray);
    padding: 80px 0;
}

.features-section .section-title,
.features-section .section-subtitle {
    color: var(--color-primary);
}

.feature-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* Matches Section */
.matches-section {
    background-color: var(--color-gray);
    padding: 80px 0;
}

.matches-section .section-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.matches-section .section-subtitle {
    color: var(--color-secondary);
    margin-bottom: 32px;
}

.match-badge {
    background-color: var(--color-accent-transparent);
    color: var(--color-accent);
    font-weight: 500;
}

.match-confidence-badge {
    background-color: var(--color-highlight-transparent);
    color: var(--color-highlight);
    font-weight: 500;
}

.match-date {
    color: var(--color-muted);
}

.match-viewers {
    color: var(--color-muted);
}

.match-title {
    color: var(--color-primary);
    font-weight: 600;
    text-align: center;
}

.odds-container {
    background: var(--color-accent-transparent);
    padding: 16px;
    border-radius: var(--radius-md);
}

.odds-label {
    color: var(--color-accent);
    font-weight: 500;
}

.odds-value {
    color: var(--color-primary);
    font-weight: bold;
}

.view-analysis-btn {
    background-color: var(--color-accent);
    color: var(--color-white);
    font-weight: 500;
}

/* Success Stories Section */
.success-stories-section {
    background: var(--color-gray);
    padding: 80px 0;
}

.success-stories-section .section-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.success-stories-section .section-subtitle {
    color: var(--color-secondary) !important;
}

.success-card {
    transition: transform 0.3s ease;
}

.success-card:hover {
    transform: translateY(-5px);
}

/* Blog Section */
.blog-section {
    background-color: var(--color-gray);
    padding: 80px 0;
}

.blog-section .section-title,
.blog-section .section-subtitle {
    color: var(--color-primary);
}

.blog-section h2 {
    color: var(--color-primary);
}

.blog-section p.lead {
    color: var(--color-muted);
}

.blog-card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease;
    height: 100%;
    background-color: var(--color-white);
    border: none !important;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background-position: center;
    background-size: cover;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--color-gray);
    padding: 80px 0;
}

.how-it-works-section .section-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.how-it-works-section .section-subtitle {
    color: var(--color-secondary) !important;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 16px;
}

.step-number-primary {
    background: var(--color-accent-transparent);
    border: 2px solid var(--color-accent);
}

.step-number-secondary {
    background: var(--color-highlight-transparent);
    border: 2px solid var(--color-highlight);
}

.step-number-label {
    color: var(--color-accent);
    margin-bottom: 0;
}

.step-number-label-secondary {
    color: var(--color-highlight);
}

.step-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    color: var(--color-muted);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-bg-light);
    position: relative;
}

.testimonials-section__title {
    color: var(--color-primary);
    font-weight: 600;
}

.testimonials-section__subtitle {
    color: var(--color-secondary);
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card__text {
    color: var(--color-muted);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

.testimonial-card__author-name {
    color: var(--color-primary);
    font-weight: 600;
}

.testimonial-card__author-title {
    color: var(--color-muted);
    font-size: 13.6px;
}

.testimonial-card__star {
    color: var(--color-highlight, #ffc107);
}

/* Owl Carousel Customizations for Testimonials */
.testimonials-section .owl-nav {
    margin-top: 20px;
    text-align: center;
}

.testimonials-section .owl-prev,
.testimonials-section .owl-next {
    background-color: var(--color-primary) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    margin: 0 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.testimonials-section .owl-prev:hover,
.testimonials-section .owl-next:hover {
    background-color: var(--color-primary-dark) !important;
}

.testimonials-section .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.testimonials-section .owl-dot span {
    background-color: #ddd !important;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.testimonials-section .owl-dot.active span {
    background-color: var(--color-primary) !important;
    width: 12px;
    height: 12px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 80px 0;
    color: var(--color-white);
}

.cta-button {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Footer */
.footer {
    background-color: #212529;
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
    text-decoration: none;
}

.footer hr {
    margin: 32px 0;
    border-color: rgba(255, 255, 255, 0.1);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.payment-methods i {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s, transform 0.3s;
}

.payment-methods i:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* Utility Classes */
.section-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--color-secondary);
    margin-bottom: 48px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--color-white);
}

/* Ensure consistent spacing between sections */
section + section {
    margin-top: 0;
}

/* Hero Section Buttons */
.hero-section .btn-primary-action,
.hero-section .btn-secondary-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: clamp(40px, 4vw + 32px, 48px) !important;
    line-height: 1 !important;
    padding: 0 clamp(16px, 2vw + 12px, 30px) !important;
    font-size: clamp(14px, 1.2vw + 10px, 18px) !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    min-width: clamp(120px, 15vw + 80px, 160px) !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1000 !important;
}

.hero-section .btn-primary-action {
    background-color: #2ecc71 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.25) !important;
}

.hero-section .btn-primary-action:hover {
    background-color: #27ae60 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 8px rgba(46, 204, 113, 0.3) !important;
}

.hero-section .btn-secondary-action {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
}

.hero-section .btn-secondary-action:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    section {
        padding: 48px 0;
    }
    
    .hero-stats {
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(12px, 2vw + 8px, 28px);
    }
    
    .hero-stats > div {
        flex: 0 1 auto;
        min-width: 0;
    }
    
    .hero-title-container {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title-container h1 {
        white-space: normal;
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-title-container p {
        font-size: 16px;
    }
}

/* Pulse animation for CTA button */
.pulse-btn {
  position: relative;
  box-shadow: 0 0 0 0 rgba(var(--color-highlight-rgb), 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--color-highlight-rgb), 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--color-highlight-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--color-highlight-rgb), 0);
  }
}

/* Learn More button hover effect */
.learn-more-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* Statistics styling – .hero-stats h2 uses fluid clamp; .h2 outside stats keeps this */
.hero-section .h2 {
  font-size: 40px;
  margin-bottom: 8px;
}

.hero-section .text-white-50 {
  font-size: 16px;
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: calc(var(--navbar-height) + var(--spacing-xl)) 0 0;
  }

  .hero-section .display-3 {
    font-size: 40px;
  }


  .hero-section .d-flex.gap-5 {
    gap: 24px !important;
  }
}

/* Navbar Styles */
.navbar {
    background-color: var(--color-primary);
    position: relative;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-brand {
    color: var(--color-white);
    font-weight: 600;
    font-size: 24px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-brand img,
.navbar-section__brand img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-brand:hover {
    color: var(--color-accent);
}

.nav-link {
    color: var(--color-white) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-accent) !important;
}

/* Hide the toggle button with maximum specificity */
.navbar .navbar-toggler,
button.navbar-toggler,
.navbar button.navbar-toggler {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* Only show toggle button on mobile (below 768px); 768px+ keeps horizontal nav via navbar-section rules */
@media (max-width: 767.98px) {
    .navbar .navbar-toggler,
    button.navbar-toggler,
    .navbar button.navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        height: auto !important;
        padding: 4px 12px !important;
        margin: 0 !important;
        border: none !important;
        overflow: visible !important;
        background-color: transparent !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .navbar-collapse {
        background-color: var(--color-primary);
        border-radius: 8px;
        margin-top: 8px;
    }

    .nav-link {
        padding: 12px 16px !important;
    }
}

/* Data Visualization */
.data-viz {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.data-viz__container {
    position: relative;
    width: 100%;
    height: 100%;
}

.data-viz__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.data-viz__line {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    height: 2px;
}

.data-viz__line--diagonal-1 {
    width: 200px;
    transform: rotate(45deg);
    top: 30%;
    right: 20%;
}

.data-viz__line--diagonal-2 {
    width: 150px;
    transform: rotate(-45deg);
    bottom: 40%;
    left: 25%;
}

.data-viz__dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* Feature Cards */
.feature-card {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-circle);
  background: var(--color-accent-transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid var(--color-accent-border);
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, 30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 1 !important; /* Make elements visible by default */
  transform: translateY(0) !important;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* This is now only for additional animations, not for visibility */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  :root {
    --hero-padding-top: calc(var(--navbar-height) + 32px);
    --hero-padding-bottom: 32px;
  }
  
  .hero-section {
    height: auto;
    min-height: var(--hero-min-height-mobile);
  }
  
  .data-viz {
    display: none;
  }
}

@media (max-width: 767.98px) {
  :root {
    --hero-padding-top: calc(var(--navbar-height) + 24px);
    --hero-padding-bottom: 24px;
  }
  
  .hero-section {
    text-align: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print Styles */
@media print {
  .hero-section__background,
  .data-viz,
  .pulse-btn {
    display: none;
  }
  
  body {
    color: var(--color-primary);
  }
}

/* Success Stories Section */
.success-stories-section {
  position: relative;
  overflow: hidden;
}

.success-card {
  transition: all var(--transition-fast);
  background: var(--color-white);
}

.success-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg) !important;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all var(--transition-fast);
}

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

.success-card .h2 {
  transition: all var(--transition-fast);
}

.success-card:hover .h2 {
  transform: scale(1.1);
}

/* Blog Section */
.blog-card {
  transition: all var(--transition-fast);
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
  transition: transform var(--transition-normal);
}

.blog-card .btn-link {
  transition: all var(--transition-fast);
}

.blog-card .btn-link:hover {
  color: var(--color-accent) !important;
  transform: translateX(5px);
}

/* Testimonials Section */
.testimonial-card {
  transition: all var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
  transition: all var(--transition-fast);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
}

.footer a {
  transition: all var(--transition-fast);
}

.footer a:hover {
  color: var(--color-accent) !important;
}

.footer .social-icons a {
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer .social-icons a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.footer .form-control {
  transition: none;
}

.footer .form-control:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-accent);
  box-shadow: none;
}

.footer .btn {
  background: var(--color-accent);
  color: var(--color-white);
  transition: none;
}

.footer .btn:hover {
  transform: none;
  box-shadow: none;
  background: var(--color-accent);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .blog-card,
  .testimonial-card {
    margin-bottom: var(--spacing-lg);
  }
  
  .how-it-works-section .text-center {
    margin-bottom: var(--spacing-xl);
  }
}

@media (max-width: 767.98px) {
  .footer {
    text-align: center;
  }
  
  .footer .social-icons {
    justify-content: center;
  }
  
  .footer .input-group {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Print Styles */
@media print {
  .hero-section__background,
  .data-viz,
  .pulse-btn {
    display: none;
  }
  
  body {
    color: var(--color-primary);
  }
}

/* Button Hover Effects */
.btn:hover .fa-arrow-right {
    transform: translateX(5px);
}

.hero-section .btn:nth-child(2):hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Find Your Bet Button */
.find-your-bet-btn {
  background-color: #2ecc71 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 6px rgba(46, 204, 113, 0.25) !important;
  display: inline-block !important;
  visibility: visible !important;
  font-weight: bold !important;
  position: relative !important;
  z-index: 10 !important;
  padding: 12px 30px !important;
  font-size: 18px !important;
  border-radius: 4px !important;
}

/* Hero Section Statistics – gap uses fluid clamp in base .hero-stats */

/* Blog Cards */
.blog-card .badge {
    background-color: var(--color-accent-transparent);
    color: var(--color-accent);
    font-weight: 500;
}

.blog-card .btn-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

/* Feature Cards */
.feature-card .badge {
    background-color: var(--color-accent-transparent);
    color: var(--color-accent);
    font-weight: 500;
}

/* CTA Section BEM Styles */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 64px 0;
}

.cta-section__button {
    background-color: var(--color-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-section__button:hover {
    background-color: #2980b9;  /* Darker shade of the accent color #3498db */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    color: #fff;
}

.cta-section__button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

/* Footer Styles */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer input[type="email"] {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-white);
}

.footer .btn {
    background: var(--color-accent);
    color: var(--color-white);
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
}

.footer a.text-white {
    text-decoration: none;
    color: var(--color-muted) !important;
}

/* Social Media Icons */
.social-icon {
    font-size: 24px;
    color: var(--color-white);
}

/* Section Headers */
.section-title {
    color: var(--color-primary);
    font-weight: 600;
}

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

/* Floating Circles */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: linear-gradient(45deg, #2ecc71, #3498db);
}

.floating-circle-lg {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.floating-circle-md {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

.floating-circle-sm {
    width: 200px;
    height: 200px;
    top: -25px;
    left: -25px;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, 30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Lead Text Max Width */
.lead {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Learn More Button */
.learn-more-btn {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  visibility: visible !important;
  font-weight: bold !important;
  position: relative !important;
  z-index: 10 !important;
  padding: 12px 30px !important;
  font-size: 18px !important;
  border-radius: 4px !important;
}

.learn-more-btn:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--color-white) !important;
}

/* Hero Section Buttons - Fixed styles with !important */
.hero-section .hero-btn {
  display: inline-block !important;
  font-weight: bold !important;
  padding: 12px 30px !important;
  font-size: 18px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  margin: 10px !important;
  position: relative !important;
  z-index: 100 !important;
  transition: all 0.3s ease !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-section .btn-primary-action {
  background-color: #2ecc71 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 6px rgba(46, 204, 113, 0.25) !important;
}

.hero-section .btn-primary-action:hover {
  background-color: #27ae60 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 8px rgba(46, 204, 113, 0.3) !important;
}

.hero-section .btn-secondary-action {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
}

.hero-section .btn-secondary-action:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Hero button styles - ultra-specific to override any JS animations */
.hero-section .d-flex a[href*="find-your-bet"],
.hero-section .d-flex a[href*="how-it-works"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    position: relative !important;
    height: 48px !important;
    line-height: 1 !important;
    padding: 0 30px !important;
    font-size: 18px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    margin: 10px !important;
    min-width: 160px !important;
    box-sizing: border-box !important;
    transition: transform 0.3s ease !important;
    text-align: center !important;
}

.hero-section .d-flex a[href*="find-your-bet"] {
    background-color: #2ecc71 !important;
    color: #ffffff !important;
    border: 2px solid #2ecc71 !important;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.25) !important;
}

.hero-section .d-flex a[href*="how-it-works"] {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
}

/* Hero Section Text Styles */
.hero-section .display-3 {
    font-weight: 800 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.hero-section .lead {
    font-size: 20.8px !important;
    font-weight: 400 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    opacity: 0.9 !important;
}

.opacity-90 {
    opacity: 0.9 !important;
}

/* Betting Calculator Styles */
.betting-calculator-container {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 2rem auto;
}

.betting-calculator-container h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.betting-calculator-container .form-group {
  margin-bottom: 1rem;
}

.betting-calculator-container label {
  display: block;
  margin-bottom: 0.5rem;
  color: #34495e;
}

.betting-calculator-container input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.betting-calculator-container button {
  width: 100%;
  padding: 0.75rem;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 1rem;
}

.betting-calculator-container button:hover {
  background-color: #27ae60;
}

.betting-calculator-container .result {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.betting-calculator-container .result h4 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.betting-calculator-container .result p {
  color: #7f8c8d;
  margin: 0;
}

@media (max-width: 1400px) {
    .hero-content {
        padding: 3rem 2rem 0;  /* Horizontal padding, no bottom */
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        white-space: normal;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        white-space: normal;
    }
}

@media (max-width: 1800px) {
    .hero-content {
        padding: 3rem 1rem 0;
    }
}

/* Find Your Bet button specific styles */
.find-bet-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
    height: 48px !important;
    white-space: nowrap !important;
}

/* Fixed Centered Button - completely isolated style */
.fixed-centered-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Exact dimensions */
    height: 48px !important;
    min-width: 160px !important;
    padding: 0 30px !important;
    
    /* Text styling */
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: nowrap !important;
    
    /* Visual style */
    background-color: #2ecc71 !important;
    border: 2px solid #2ecc71 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.25) !important;
    
    /* Position and stacking */
    position: relative !important;
    z-index: 9999 !important;
    margin: 10px !important;
    
    /* Behavior */
    transition: transform 0.3s ease !important;
}

.fixed-centered-btn:hover {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
    transform: translateY(-2px) !important;
}

/* Hero logo – centered horizontally and vertically in space between data-history and hero bottom;
   equidistant from data-history above and hero bottom below */
.hero-logo-below {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    pointer-events: none;
}
.hero-logo-below img {
    height: 120px;
    width: auto;
    opacity: 0.85;
}
@media (max-width: 768px) {
    .hero-logo-below img {
        height: 80px;
    }
}
@media (max-width: 576px) {
    .hero-logo-below img {
        height: 60px;
    }
}

/* Additional responsive improvements for the hero section */
@media (max-width: 576px) {
    .hero-section {
        min-height: 60vh;
        padding-top: 1rem;
    }
    
    .hero-content {
        padding-top: 2rem;
        padding-bottom: 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 8px;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .hero-content p {
        font-size: 14.4px;
        margin-bottom: 16px;
    }
    
    .hero-content .d-flex {
        flex-direction: column;
        width: 100%;
    }
    
    .fixed-centered-btn, 
    .btn-secondary-action {
        width: 80%;
        min-width: unset !important;
        margin: 0.5rem auto !important;
    }
    
    .stat-item {
        min-width: 0;
    }
}

#hero-statistics,
#hero-statistics .stat-item,
#hero-statistics h2,
#hero-statistics p,
#hero-statistics i {
    text-align: center;
}

#hero-statistics .stat-item {
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero-statistics .stat-item h2,
#hero-statistics .stat-item p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .data-history {
        padding: 0.3rem 1rem;
        margin-top: 16px;
    }
}

/* Fixed positioning for very small screens */
@media (max-height: 500px) and (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0 0;
    }
    
}

.hero-heading {
    /* font-size from .hero-content h1 fluid clamp */
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Testimonial Styles */
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    margin-right: 16px;
    background-position: center;
    background-size: cover;
}

/* Footer Styles */
.footer-link {
    color: var(--color-muted) !important;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-accent) !important;
    text-decoration: none;
}

/* Testimonials Section */
.testimonials {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-header {
    margin-bottom: 20px;
    padding-top: 24px;
    text-align: center;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-description {
    font-size: 17.6px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-item {
    padding: 20px;
}

.testimonial-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    margin-bottom: 20px;
}

.testimonial-text p {
    font-size: 16.8px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #2ecc71;
}

.author-info h4 {
    margin: 0;
    font-size: 17.6px;
    color: #333;
    font-weight: 600;
}

.author-info span {
    font-size: 14.4px;
    color: #777;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(46, 204, 113, 0.7) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.owl-nav button:hover {
    background: rgba(46, 204, 113, 1) !important;
}

.owl-nav .owl-prev {
    left: -20px;
}

.owl-nav .owl-next {
    right: -20px;
}

.owl-dots .owl-dot span {
    background: #ccc !important;
}

.owl-dots .owl-dot.active span {
    background: #2ecc71 !important;
}

/* Find Your Bet Page Styles */
.find-bet-hero {
    background-color: #1a2942;
    position: relative;
    min-height: 40vh;
}

.find-bet-hero .hero-section__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 41, 66, 0.85), rgba(44, 62, 80, 0.85)), url('/static/bets_app/images/hero-bg.webp') center/cover, url('/static/bets_app/images/hero-bg.jpg') center/cover;
    z-index: -1;
}

.bets-section {
    background-color: var(--color-light);
}

.bets-section__title {
    color: var(--color-primary);
    font-weight: 600;
}

.bets-section__card-title {
    color: var(--color-primary);
}

.bets-section__btn {
    background-color: var(--color-accent);
    border: none;
}

/* Strategies Page Styles */
.strategies-hero {
    background-color: #1a237e;
}

.strategies-section__title {
    color: var(--color-primary);
    margin-bottom: 16px;
}

.strategies-section__text {
    margin-bottom: 1.5rem;
}

.strategies-section__btn {
    background-color: var(--color-accent);
    border: none;
}

/* Testimonials Section BEM Styles */
.testimonials-section {
    padding: 64px 0;
    background-color: var(--color-light);
}

.testimonials-section__title {
    color: var(--color-primary);
    margin-bottom: 16px;
}

.testimonials-section__subtitle {
    color: var(--color-secondary);
    max-width: 800px;
    margin: 0 auto 32px;
}

.testimonial-item__content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item__content:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.testimonial-item__text {
    margin-bottom: 1.5rem;
}

.testimonial-item__text p {
    font-style: italic;
    color: var(--color-secondary);
    margin-bottom: 0;
}

.testimonial-item__author {
    display: flex;
    align-items: center;
}

.testimonial-item__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    border: 2px solid var(--color-accent);
}

.testimonial-item__author-name {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.testimonial-item__author-title {
    color: var(--color-muted);
    font-size: 0.875rem;
}

/* CTA Section BEM Styles */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 64px 0;
}

.cta-section__title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-section__subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 32px;
}

.cta-section__feature-item {
    color: #fff;
    font-weight: 500;
}

.cta-section__feature-icon {
    color: var(--color-accent);
}

.cta-section__button {
    background-color: var(--color-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-section__button:hover {
    background-color: #2980b9;  /* Darker shade of the accent color #3498db */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    color: #fff;
}

.cta-section__button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

/* Footer BEM Styles */
.footer-section {
    background-color: var(--color-primary);
    color: #fff;
    padding: 48px 0 32px;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
    margin-top: auto;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: fit-content;
}

.footer-section__container.container {
    max-width: 1200px !important;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.footer-section__title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section__text {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.footer-section__social-link:hover {
    background-color: var(--color-accent);
}

.footer-section__social-icon {
    color: #fff;
}

.footer-section__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section__link:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.footer-section__input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer-section__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14.4px;
}

.footer-section__input:focus {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    box-shadow: none;
}

.footer-section__submit {
    background-color: var(--color-accent);
    border: none;
    color: #fff;
    transition: none;
    cursor: pointer;
}

.footer-section__submit:hover {
    background-color: var(--color-accent);
    transform: none;
    box-shadow: none;
}

.footer-section__submit:active {
    transform: none;
    box-shadow: none;
}

.footer-section__divider {
    border-color: rgba(255,255,255,0.1);
    margin: 32px 0;
}

.footer-section__copyright-text {
    color: rgba(255,255,255,0.5);
}

.footer-section__payment-img {
    max-height: 30px;
}

@media (max-width: 768px) {
    .footer-section {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-section__title {
        margin-bottom: 16px;
    }
    
    .footer-section__social {
        margin-top: 1.5rem;
    }
    
    .footer-section__link {
        display: inline-block;
        margin-bottom: 8px;
    }
} 

/* Navbar BEM Styles */
.navbar-section {
    background-color: var(--color-primary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
    min-height: var(--navbar-height, 64px);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s ease,
                background-color 0.4s ease;
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Modern glassmorphism effect when scrolled */
.navbar-section.scrolled {
    background-color: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-section__container {
    display: flex;
    align-items: center;
    min-height: var(--navbar-height, 64px);
}

/* Logo + brand name always side by side on all viewport sizes */
.navbar-section__brand-wrap {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.navbar-section__brand {
    font-weight: 700;
    color: var(--color-white);
    font-size: 24px;
    transition: color 0.3s ease;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-section__brand:hover {
    color: var(--color-accent);
}

.navbar-section__brand-name {
    font-weight: 700;
    color: var(--color-white);
    font-size: 24px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    cursor: default;
}

.navbar-section__brand-name:hover {
    color: var(--color-white);
    text-decoration: none;
}

.navbar-section__toggler {
    border: none;
    padding: 8px;
    border-radius: 4px;
}

.navbar-section__toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Keep full menu in one row from 768px up; hide hamburger (override Bootstrap so 992px is not lg breakpoint) */
@media (min-width: 768px) {
    .navbar-section.navbar-expand-lg .navbar-toggler,
    .navbar-section.navbar-expand-md .navbar-toggler,
    .navbar-section .navbar-toggler {
        display: none !important;
    }
    .navbar-section.navbar-expand-lg .navbar-collapse,
    .navbar-section.navbar-expand-md .navbar-collapse,
    .navbar-section .navbar-collapse {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    nav.navbar-section .navbar-toggler { display: none !important; }
    nav.navbar-section .navbar-collapse { display: flex !important; }
}

.navbar-section__link {
    color: var(--color-white) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 4px;
    transition: color 0.3s ease;
}

.navbar-section__link:hover,
.navbar-section__link:focus {
    color: var(--color-accent) !important;
}

/* Active page indicator - pill style (style 4) */
.navbar-section__link.active,
.navbar-section__brand-name.active {
    background: var(--color-accent-transparent);
    padding: 6px 14px !important;
    border-radius: 999px;
    color: var(--color-accent) !important;
}

/* Navbar min-height and vertical center when in single row (768px and up) */
@media (min-width: 768px) {
    .navbar-section {
        min-height: var(--navbar-height, 64px);
    }
    .navbar-section__container {
        min-height: var(--navbar-height, 64px);
        align-items: center;
    }
    .navbar-section .navbar-collapse {
        align-items: center !important;
        margin-top: 0 !important; /* keep links centered when expanded (e.g. 768px–992px) */
    }
    .navbar-section .navbar-nav,
    .navbar-section__nav {
        align-items: center;
    }
    .navbar-section .nav-item {
        display: flex;
        align-items: center;
    }
    .navbar-section .nav-link,
    .navbar-section .navbar-section__link {
        display: flex;
        align-items: center;
        line-height: 1;
    }
}

/* Hamburger / stacked menu only when navbar doesn't fit one row (below md) */
@media (max-width: 767.98px) {
    .navbar-section {
        min-height: var(--navbar-height, 64px);
    }
    .navbar-section__container {
        min-height: var(--navbar-height, 64px);
        align-items: center;
    }
    .navbar-section__brand-wrap {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    .navbar-section__brand-name {
        font-size: 18px;
        display: flex !important;
        align-items: center;
        white-space: nowrap;
    }
    .navbar-section__brand {
        font-size: 1.25rem;
    }
    /* Logo: same size as desktop – no max-height override */
    
    .navbar-section__link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar-section__link.active,
    .navbar-section__brand-name.active {
        padding: 0.5rem 1rem !important;
        margin: 0 4px;
        border-bottom: none;
        border-radius: 999px;
    }
    
    .navbar-section__collapse {
        background-color: var(--color-primary);
        border-radius: 0.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        margin-top: 16px;
    }
    
    .navbar-section__toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    
    .navbar-section__item:last-child .navbar-section__link {
        border-bottom: none;
    }
} 

/* AI Analyzed Matches Section */
.analyzed-matches-section {
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--color-light);
}

/* Match Schedule Section - Remove bottom padding on home page */
.match-schedule-section {
    padding-bottom: 20px !important;
    margin-top: 20px;
    background-color: #ffffff;
}

/* Match Schedule Card - Match the styling of streaks card */
.match-schedule-card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Match Schedule Card Footer - Different background from card */
.match-schedule-card-footer {
    background-color: #f8f9fa !important;
    border-top: 1px solid #dee2e6 !important;
}

/* No matches message when filters result in no matches */
.no-matches-filtered-message {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.no-matches-filtered-content {
    text-align: center;
    padding: 40px 20px;
}

.no-matches-filtered-content i {
    display: block;
    margin: 0 auto 16px;
}

.no-matches-filtered-content h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.no-matches-filtered-content p {
    font-size: 14px;
    line-height: 1.5;
}

/* Match rows should have consistent styling across sections - Responsive percentage-based */
.match-schedule-section__match-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(22%, 1fr));
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0.625rem;
    justify-content: start;
}

.match-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .match-schedule-section__match-list {
        grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
        gap: 0.875rem;
    }
}

/* Small tablet: 2 columns */
@media (max-width: 768px) {
    .match-schedule-section__match-list {
        grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
}

/* Mobile: 1 column */
@media (max-width: 576px) {
    .match-schedule-section__match-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
}

    .match-item {
    background: white;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.match-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.match-item__header--premier-league {
    background: linear-gradient(90deg, #38003c 0%, #4B0050 100%);
}

.match-item__header--bundesliga {
    background: linear-gradient(90deg, #d20515 0%, #ffb3b3 100%); /* Germany red to light red */
    color: #fff;
}

.match-item__header--la-liga {
    background: linear-gradient(90deg, #c60c30 0%, #7a0821 100%);
    color: #fff;
}

.match-item__header--ligue-1 {
    background: linear-gradient(90deg, #0033a0 0%, #0055ff 100%); /* French blue */
    color: #fff;
}

.match-item__header--super-lig {
    background: linear-gradient(90deg, #e30a17 0%, #ff4b4b 100%); /* Turkish flag red */
    color: #fff;
}

.match-item__header--liga-portugal {
    background: linear-gradient(90deg, #c8102e 0%, #006600 100%); /* Portugal red-green */
    color: #fff;
}

.match-item__header--jupiler-pro-league {
    background: linear-gradient(90deg, #000000 0%, #e30613 100%); /* Belgium black-red */
    color: #fff;
}

.match-item__header--super-league {
    background: linear-gradient(90deg, #d52b1e 0%, #ff7b7b 100%); /* Switzerland red to light red for better contrast */
    color: #fff;
}

.match-item__header--bundesliga-at {
    background: linear-gradient(90deg, #ed2939 0%, #ffb3b3 100%); /* Austria red to light red */
    color: #fff;
}

.match-item__header--superliga {
    background: linear-gradient(90deg, #c8102e 0%, #f7bfc9 100%); /* Denmark red to light red */
    color: #fff;
}

.match-item__league-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-item__league-flag {
    width: 18px;
    height: 12px;
    object-fit: cover;
}

.match-item__league-name {
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-item__datetime {
    /* background-color: rgba(0, 0, 0, 0.7); */ /* Remove background */
    color: white; /* Keep text color for contrast, or adjust as needed */
    text-align: right;
    padding: 5px;
    border-radius: 4px;
}

.match-item__date,
.match-item__time {
    font-size: 12px;
}

.match-item__teams {
    padding: 12px 9px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.match-item__team {
    display: flex;
    align-items: center;
    gap: 9px;
}

.team-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.team-logo-placeholder {
    background-color: #e9ecef;
    border-radius: 2px;
}

.team-name {
    font-size: 12px;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-item__separator {
    height: 1px;
    background: #e9ecef;
    margin: 0 9px;
}

.match-item__action {
    padding: 9px;
    display: flex;
    justify-content: center;
}

.btn-match-action {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 17.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none !important;
}
.btn-match-action:hover,
.btn-match-action:focus {
    text-decoration: none !important;
}
.btn-free {
    background: #2ecc71;
    color: #fff;
}
.btn-free:hover,
.btn-free:focus {
    background: #27ae60;
    color: #fff;
}
.btn-locked {
    background: #3498db;
    color: #fff;
}
.btn-locked:hover,
.btn-locked:focus {
    background: #217dbb;
    color: #fff;
} 

/* COMPLETELY NEW IMPLEMENTATION TO ENSURE SCROLLING WORKS */
.match-schedule-section__container-wrapper {
    position: relative;
    margin-bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: visible;
}

.match-schedule-section__matches-container {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    min-height: 220px; /* Maintain minimum height when empty */
    position: relative;
}

.match-schedule-section__matches-container.expanded {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    background-color: var(--color-white);
    padding-top: 10px;
    padding-bottom: 20px;
    min-width: 0;
    width: 100%;
}

/* Custom scrollbar */
.match-schedule-section__matches-container::-webkit-scrollbar {
    width: 8px;
}

.match-schedule-section__matches-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.match-schedule-section__matches-container::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-light, #3498db);
    border-radius: 4px;
}

.match-schedule-section__matches-container::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary, #0d1b2a);
}


.match-row {
    display: flex;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: var(--color-white);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-wrap: nowrap;
    opacity: 1;
    transform: translateY(0);
    width: 100%;
    min-height: 120px;
    margin-bottom: 0;
}

.match-row:not(:first-child) {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.match-row[style*="display: none"] {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Toggle button - Old style (kept for backward compatibility) */
.match-schedule-section__button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 20;
    margin-bottom: 20px;
}

.match-schedule-section__toggle-button {
    background-color: var(--color-primary, #0d1b2a);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    letter-spacing: 0.5px;
}

.match-schedule-section__toggle-button:hover {
    background-color: var(--color-primary-dark, #1b263b);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.match-schedule-section__toggle-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.match-schedule-section__toggle-button i {
    transition: transform 0.3s ease;
}

/* New card footer button style (Option 10: Subtle Button with Shadow) */
.match-schedule-section__toggle-button-link {
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--color-primary, #0d1b2a);
}

.match-schedule-section__toggle-button-link:hover {
    background-color: #f8f9fa !important;
    border-color: var(--color-primary, #0d1b2a) !important;
    color: var(--color-primary, #0d1b2a) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.match-schedule-section__toggle-button-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.match-schedule-section__toggle-button-link i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.match-schedule-section__toggle-button-link.expanded i,
#matchToggleButton.expanded i {
    transform: rotate(180deg) !important;
}

/* Media queries for responsive design */
@media (max-width: 1024px) {
    .match-schedule-section__matches-container.expanded {
        max-height: 550px;
    }
}

@media (max-width: 768px) {
    .match-schedule-section__matches-container.expanded {
        max-height: 500px;
    }
    
    .match-row {
        padding: 10px;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .match-schedule-section__matches-container.expanded {
        max-height: 400px;
    }
    
    .match-row {
        padding: 8px;
        gap: 5px;
    }
}

/* Ensure that scrollbar is hidden immediately when container is not expanded */
.match-schedule-section__matches-container:not(.expanded) {
    overflow-y: hidden !important; /* Ensure this overrides any inline styles */
    /* Use JS-computed value if available, fallback to 220px */
    max-height: var(--collapsed-max-height, 220px);
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                overflow-y 0s ease; /* No delay for overflow change */
}

/* Modern Filter UI Styling */
/* Match filter styles moved to match-filters.css - removed duplicate */

.match-item__header--champions-league {
    background: linear-gradient(90deg, #bfc1c6 0%, #6e6e6e 100%); /* Silver/Grey for top level */
    color: #fff;
}
.match-item__header--uefa-champions-league {
    background: linear-gradient(90deg, #bfc1c6 0%, #6e6e6e 100%); /* Silver/Grey for top level - same as Champions League */
    color: #fff;
}
.match-item__header--europa-league {
    background: linear-gradient(90deg, #ff9900 0%, #ffcc80 100%); /* Orange/Gold for secondary */
    color: #fff;
}
.match-item__header--uefa-europa-league {
    background: linear-gradient(90deg, #ff9900 0%, #ffcc80 100%); /* Orange/Gold for secondary - same as Europa League */
    color: #fff;
}
.match-item__header--conference-league {
    background: linear-gradient(90deg, #009e60 0%, #00e676 100%); /* Green for third level */
    color: #fff;
}
.match-item__header--uefa-conference-league {
    background: linear-gradient(90deg, #009e60 0%, #00e676 100%); /* Green for third level - same as Conference League */
    color: #fff;
}

.match-item__header--eredivisie {
    background: linear-gradient(90deg, #ff6600 0%, #ff9900 100%); /* Dutch orange */
    color: #fff;
}

.match-item__header--eliteserien {
    background: linear-gradient(90deg, #ba0c2f 0%, #00205b 100%); /* Norway red-blue (flag colors) */
    color: #fff;
}

.match-item__header--ekstraklasa {
    background: linear-gradient(90deg, #dc143c 0%, #ff6b6b 100%); /* Poland red (flag color) */
    color: #fff;
}

.match-item__header--allsvenskan {
    background: linear-gradient(90deg, #006aa7 0%, #fecd00 100%); /* Sweden blue-yellow (flag colors) */
    color: #fff;
}

.no-matches-message {
    min-height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8d7da; /* Light red for visibility */
    color: #721c24; /* Dark red text for contrast */
    font-size: 20.8px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin: 10px 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-locked {
    background: #3498db; /* Accent blue */
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    width: 100%;
    font-weight: 600;
    font-size: 17.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-locked:hover,
.btn-locked:focus {
    background: #217dbb; /* Slightly darker blue on hover */
    color: #fff;
}
.btn-locked i {
    margin-right: 6px;
}

.match-item__header--serie-a {
    background: linear-gradient(90deg, #008fd7 0%, #003366 100%);
    color: #fff;
}

.match-item__header--laliga {
    background: linear-gradient(90deg, #c60c30 0%, #7a0821 100%);
    color: #fff;
}

/* Add background color tones for Bundesliga (AUT) and Denmark's Superliga */

.match-item__header--bundesliga-aut {
    background: linear-gradient(90deg, #ed2939 0%, #ff7b7b 100%); /* Austria red to medium-light red */
    color: #fff;
}

.match-item__header--superliga {
    background: linear-gradient(90deg, #c8102e 0%, #f7bfc9 100%); /* Denmark red to light red */
    color: #fff;
}

.match-item__header--bundesliga-ger {
    background: linear-gradient(90deg, #d20515 0%, #ffb3b3 100%); /* Germany red to light red */
    color: #fff;
}

@media (max-width: 768px) {
    .match-schedule-section__matches-container {
        min-width: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
        padding: 0 !important;
    }
    
    .match-schedule-section__matches-container.expanded {
        min-width: 0 !important;
        width: 100% !important;
    }
    
    .match-row {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 8px 0 !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .match-item {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 auto 12px auto !important;
        box-sizing: border-box !important;
    }
}

.match-item__header--nations-league {
    background: linear-gradient(90deg, #bfc1c6 0%, #6e6e6e 100%); /* Silver/Grey for Nations League */
    color: #fff;
}

.match-item__header--uefa-nations-league {
    background: linear-gradient(90deg, #bfc1c6 0%, #6e6e6e 100%); /* Silver/Grey for UEFA Nations League */
    color: #fff;
}

/* ========== Account dropdown: modern, design-led ========== */
.navbar-account-dropdown .navbar-section__link {
    gap: 0.5rem 0.6rem;
    padding: 0.4rem 0.5rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}
.navbar-account-dropdown .navbar-section__link:hover {
    background: rgba(13, 27, 42, 0.04);
}
.navbar-account-dropdown .navbar-account-icon {
    flex-shrink: 0;
    opacity: 0.9;
}
.navbar-account-dropdown .navbar-account-username {
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}
.navbar-account-dropdown .navbar-current-selections {
    gap: 0.3rem 0.45rem;
}
.navbar-account-dropdown .navbar-selection-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    padding: 0.22rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-primary, #0d1b2a);
    background: rgba(13, 27, 42, 0.06);
    border-radius: 999px;
    border: 1px solid rgba(13, 27, 42, 0.08);
}
.navbar-account-dropdown .navbar-selection-lang {
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}
.navbar-account-dropdown .navbar-selection-lang .navbar-lang-flag-img {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}
.navbar-account-dropdown .navbar-selection-tz {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown panel: card-like, soft elevation */
.navbar-account-dropdown .dropdown-menu-modern {
    min-width: 340px;
    padding: 1rem 0;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 10px 20px -2px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
    background: #fefefe;
}
.navbar-account-dropdown .dropdown-section {
    padding: 0 1.15rem;
    margin-bottom: 0.75rem;
}
.navbar-account-dropdown .dropdown-section:last-child {
    margin-bottom: 0;
}
.navbar-account-dropdown .dropdown-section-title {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.5);
    margin-bottom: 0.6rem;
    padding-left: 0.1rem;
}
.navbar-account-dropdown .dropdown-divider-modern {
    height: 0;
    margin: 0.6rem 1.15rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    list-style: none;
}

/* Language: pill chips with flags */
.navbar-account-dropdown .account-lang-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.navbar-account-dropdown .account-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: rgba(13, 27, 42, 0.04);
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.navbar-account-dropdown .account-lang-btn:hover {
    background: rgba(13, 27, 42, 0.07);
    border-color: rgba(13, 27, 42, 0.12);
}
.navbar-account-dropdown .account-lang-btn.active {
    background: rgba(13, 27, 42, 0.09);
    border-color: var(--color-accent, #3498db);
    box-shadow: 0 0 0 1px var(--color-accent);
}
.navbar-account-dropdown .account-lang-flag-img {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}
.navbar-account-dropdown .account-lang-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary, #0d1b2a);
}

/* Timezone: Base Web-style trigger + expandable dropdown */
.navbar-account-dropdown .timezone-picker {
    position: relative;
    width: 100%;
}
.navbar-account-dropdown .timezone-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary, #0d1b2a);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.navbar-account-dropdown .timezone-picker-trigger:hover {
    border-color: rgba(0, 0, 0, 0.2);
}
.navbar-account-dropdown .timezone-picker--open .timezone-picker-trigger {
    border-color: var(--color-accent, #3498db);
    box-shadow: 0 0 0 1px var(--color-accent);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.navbar-account-dropdown .timezone-picker-trigger-value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.navbar-account-dropdown .timezone-picker-trigger-icon {
    flex-shrink: 0;
    margin-left: 0.5rem;
    font-size: 0.625rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}
.navbar-account-dropdown .timezone-picker--open .timezone-picker-trigger-icon {
    transform: rotate(180deg);
}
.navbar-account-dropdown .timezone-picker-dropdown {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.navbar-account-dropdown .timezone-picker--open .timezone-picker-dropdown {
    display: flex;
}
.navbar-account-dropdown .timezone-picker-search {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.02);
    color: var(--color-primary, #0d1b2a);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.navbar-account-dropdown .timezone-picker-search::placeholder {
    color: rgba(13, 27, 42, 0.5);
}
.navbar-account-dropdown .timezone-picker-search:focus {
    outline: none;
    border-color: var(--color-accent, #3498db);
    background: #fff;
}
.navbar-account-dropdown .timezone-picker-list {
    min-height: 180px;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
    scrollbar-width: thin;
}
.navbar-account-dropdown .timezone-picker-list::-webkit-scrollbar {
    width: 6px;
}
.navbar-account-dropdown .timezone-picker-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}
.navbar-account-dropdown .timezone-picker-option {
    padding: 0.55rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(13, 27, 42, 0.9);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
}
.navbar-account-dropdown .timezone-picker-option:hover {
    background: rgba(52, 152, 219, 0.1);
    color: var(--color-primary, #0d1b2a);
}
.navbar-account-dropdown .timezone-picker-option.selected,
.navbar-account-dropdown .timezone-picker-option.selected:hover {
    background: var(--color-accent, #3498db);
    color: #fff;
}
.navbar-account-dropdown .timezone-picker-group {
    padding: 0.4rem 0.9rem 0.15rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.55);
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px 6px 0 0;
    margin-top: 0.35rem;
}
.navbar-account-dropdown .timezone-picker-group:first-child {
    margin-top: 0;
}

/* Logout */
.navbar-account-dropdown .dropdown-section-logout {
    padding-top: 0.35rem;
}
.navbar-account-dropdown .btn-logout {
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: 0.6rem 0.3rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #dc2626;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.navbar-account-dropdown .btn-logout:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1b;
}
