/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background-color: #f8f8f8; /* Light background for content area */
    color: #333333; /* Dark text for readability on light background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-sports__section-title {
    font-size: 2.8em;
    color: #8B0000; /* Auxiliary color for main titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    padding: 20px 0;
}

.page-sports__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #555555;
}

.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    padding: 40px 20px;
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Gradient background if image not loaded */
}

.page-sports__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-sports__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers container */
    filter: brightness(0.6); /* Darken image for text contrast, NOT changing color */
    display: block;
}

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #FFD700; /* Main color for hero title */
    font-weight: 900;
}

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

.page-sports__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-sports__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
}

.page-sports__hero-button--primary {
    background-color: #FFD700; /* Main color for primary button */
    color: #8B0000; /* Auxiliary color for text */
    border: 2px solid #FFD700;
}

.page-sports__hero-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-sports__hero-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Main color for text */
    border: 2px solid #FFD700;
}

.page-sports__hero-button--secondary:hover {
    background-color: #FFD700;
    color: #8B0000;
    transform: translateY(-3px);
}

/* General button style */
.page-sports__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    text-align: center;
}

.page-sports__button--primary {
    background-color: #FFD700;
    color: #8B0000;
    border: 2px solid #FFD700;
}

.page-sports__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-sports__button--secondary {
    background-color: transparent;
    color: #8B0000;
    border: 2px solid #8B0000;
}

.page-sports__button--secondary:hover {
    background-color: #8B0000;
    color: #FFD700;
    transform: translateY(-2px);
}

.page-sports__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-sports__cta-center {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Sections */
.page-sports__why-choose-section,
.page-sports__getting-started-section,
.page-sports__explore-markets-section,
.page-sports__live-betting-section,
.page-sports__promotions-section,
.page-sports__mobile-app-section,
.page-sports__responsible-gaming-section,
.page-sports__faq-section,
.page-sports__contact-section,
.page-sports__conclusion-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-sports__feature-grid,
.page-sports__steps-container,
.page-sports__market-grid,
.page-sports__promo-grid,
.page-sports__rg-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports__feature-card,
.page-sports__step-card,
.page-sports__market-card,
.page-sports__promo-card,
.page-sports__rg-card {
    background-color: #fefefe;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-sports__feature-card:hover,
.page-sports__step-card:hover,
.page-sports__market-card:hover,
.page-sports__promo-card:hover,
.page-sports__rg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-sports__card-title {
    font-size: 1.6em;
    color: #FFD700; /* Main color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-sports__card-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 15px;
}

.page-sports__image-full-width {
    margin-top: 50px;
    text-align: center;
}

.page-sports__image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it doesn't leave extra space below */
    margin: 0 auto;
}

/* Live Betting Section Specific */
.page-sports__live-betting-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-sports__live-betting-text {
    flex: 1;
}

.page-sports__live-betting-image-container {
    flex: 1;
    text-align: center;
}

/* Mobile App Section Specific */
.page-sports__app-features-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-sports__app-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-sports__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports__app-features-list {
    flex: 1;
}

.page-sports__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-sports__feature-list-item {
    background-color: #fffaf0; /* Light cream background */
    border-left: 5px solid #FFD700; /* Gold accent */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.05em;
    color: #444444;
}

.page-sports__feature-list-item strong {
    color: #8B0000; /* Auxiliary color for emphasis */
}

/* FAQ Section Specific */
.page-sports__faq-accordion {
    margin-top: 30px;
}

.page-sports__faq-item {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}