.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--secondary-color, #FFFFFF); /* Follow shared body background */
}

/* Ensure the first section accounts for the fixed header */
.page-sports__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF; /* White text for dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-sports__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    margin: 0 auto;
}

.page-sports__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-sports__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-sports__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General button styles */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports a[class*="button"],
.page-sports a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding/border in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-sports__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-sports__btn-primary:hover {
    background-color: #d46c00;
    border-color: #d46c00;
}

.page-sports__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-sports__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* General section styling */
.page-sports__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand primary color for titles */
}

.page-sports__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-sports__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333333;
}

/* Intro Section */
.page-sports__intro-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
}

/* Features Section */
.page-sports__features-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
}

.page-sports__features-section .page-sports__section-title {
    color: #FFFFFF; /* White title for dark background */
}

.page-sports__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #FFFFFF; /* White text for card content */
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-sports__feature-icon {
    width: 100%; /* Full width for image */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    filter: none; /* Ensure no filter */
}

.page-sports__feature-card .page-sports__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-sports__feature-card .page-sports__card-description {
    font-size: 1em;
    color: #FFFFFF;
}

/* Video Section */
.page-sports__video-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-sports__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-sports__video-wrapper .page-sports__video,
.page-sports__video-wrapper .page-sports__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
}

.page-sports__video-caption {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #555555;
}

/* Betting Guide Section */
.page-sports__betting-guide-section {
    padding: 60px 0;
    background-color: #F8F8F8; /* Light gray background */
    color: #333333;
}

.page-sports__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports__guide-step {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-sports__guide-step .page-sports__step-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-sports__guide-step .page-sports__paragraph {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-sports__guide-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    filter: none; /* Ensure no filter */
}

/* Popular Sports Section */
.page-sports__popular-sports-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
}

.page-sports__popular-sports-section .page-sports__section-title {
    color: #FFFFFF;
}

.page-sports__sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}