.page-sports {
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text on mobile, or stacked */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Ensure dark background for hero */
    overflow: hidden; /* Prevent image overflow */
}

.page-sports__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and text */
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-sports__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-sports__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #FFD36B; /* Glow color for emphasis */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Subtle glow effect */
}

.page-sports__hero-description {
    font-size: 1.15rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}

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

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-sports__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text on bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-sports__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-sports__btn-secondary {
    background: transparent;
    color: #FFF6D6; /* Text Main */
    border: 2px solid #F2C14E; /* Main color border */
}

.page-sports__btn-secondary:hover {
    background: #F2C14E; /* Main color background on hover */
    color: #111111; /* Dark text */
    transform: translateY(-2px);
}

.page-sports__btn-link {
    background: transparent;
    color: #FFD36B; /* Glow color */
    border: none;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: underline;
}

.page-sports__btn-link:hover {
    color: #F2C14E; /* Main color on hover */
}

/* Section Titles & Descriptions */
.page-sports__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #FFD36B; /* Glow color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-sports__section-description {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Card Styles */
.page-sports__card {
    background-color: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-sports__card-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Main color */
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-sports__card-text {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
}

/* Features Section */
.page-sports__features-section,
.page-sports__categories-section,
.page-sports__how-to-start-section,
.page-sports__mobile-section,
.page-sports__faq-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

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

.page-sports__feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__feature-icon {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 200px; /* Limit height for feature images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Categories Section */
.page-sports__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.page-sports__category-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    text-decoration: none;
    background-color: #111111;
    color: #FFF6D6;
    border: 1px solid #3A2A12;
    border-radius: 8px;
}

.page-sports__category-card:hover {
    background-color: #222222;
    border-color: #F2C14E;
    transform: translateY(-3px);
}

.page-sports__category-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 10px;
}

.page-sports__category-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.page-sports__cta-buttons--centered {
    text-align: center;
}

/* How to Start Section */
.page-sports__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-sports__step-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__step-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 200px; /* Limit height for step images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Promotions Section */
.page-sports__promotions-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

.page-sports__dark-section {
    background-color: #111111; /* Card BG, used for darker sections */
    color: #FFF6D6;
}

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

.page-sports__promo-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__promo-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Mobile Section */
.page-sports__mobile-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap; /* Allow wrapping on mobile */
}

.page-sports__mobile-text {
    flex: 1;
    min-width: 300px;
}

.page-sports__mobile-subtitle {
    font-size: 2rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
}

.page-sports__mobile-description {
    font-size: 1.1rem;
    color: #FFF6D6;
    margin-bottom: 20px;
}

.page-sports__mobile-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-sports__mobile-features li {
    font-size: 1rem;
    color: #FFF6D6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-sports__mobile-features li::before {
    content: '✓';
    color: #FFD36B; /* Glow color */
    position: absolute;
    left: 0;
    font-weight: 700;
}

.page-sports__mobile-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-sports__mobile-image {
    width: 100%;
    max-width: 400px; /* Limit mobile image size on desktop */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
    padding: 60px 0;
    text-align: center;
}

.page-sports__responsible-gaming-content {
    max-width: 900px;
}

/* FAQ Section */
.page-sports__faq-list {
    margin-top: 40px;
}

.page-sports__faq-item {
    margin-bottom: 15px;
    overflow: hidden; /* For max-height transition */
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #111111; /* Card BG */
    border-bottom: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
    background-color: #222222;
}

.page-sports__faq-title {
    font-size: 1.2rem;
    color: #F2C14E; /* Main color */
    margin: 0;
    flex-grow: 1;
}

.page-sports__faq-toggle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD36B; /* Glow color */
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
    transform: rotate(45deg); /* Plus becomes an X */
}

.page-sports__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px 25px;
}

.page-sports__faq-answer p {
    margin: 0;
    font-size: 1rem;
    color: #FFF6D6;
}

/* Partners Section */
.page-sports__partners-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

.page-sports__partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for 167x127px images */
    gap: 20px;
    justify-items: center;
    align-items: center;
    margin-top: 40px;
}

.page-sports__partner-logo {
    width: 167px; /* Fixed width */
    height: 127px; /* Fixed height */
    object-fit: contain;
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-sports__mobile-content {
        flex-wrap: nowrap; /* Prevent wrapping on desktop */
    }
    .page-sports__mobile-image-wrapper {
        order: 2; /* Image on right for desktop */
    }
    .page-sports__mobile-text {
        order: 1; /* Text on left for desktop */
        text-align: left;
    }
    .page-sports__hero-section {
        flex-direction: column; /* Stacked on desktop as well */
    }
    .page-sports__hero-image-wrapper {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-sports__container {
        padding: 0 15px;
    }

    .page-sports__hero-section {
        padding-bottom: 40px;
    }

    .page-sports__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-sports__hero-title {
        font-size: 2.2rem; /* Adjust for mobile */
        margin-bottom: 15px;
    }

    .page-sports__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-sports__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-sports__btn-primary,
    .page-sports__btn-secondary,
    .page-sports__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-sports__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-sports__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-sports__feature-grid,
    .page-sports__steps-grid,
    .page-sports__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-sports__category-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }

    .page-sports__feature-icon,
    .page-sports__step-image,
    .page-sports__promo-image,
    .page-sports__mobile-image,
    .page-sports__partner-logo {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .page-sports__section,
    .page-sports__card,
    .page-sports__container,
    .page-sports__cta-buttons,
    .page-sports__button-group,
    .page-sports__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .page-sports__faq-question,
    .page-sports__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-sports__hero-section { /* Using hero-section as the first content block */
        padding-top: 10px !important;
    }
    
    .page-sports__mobile-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .page-sports__mobile-text {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    
    .page-sports__mobile-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-sports__mobile-features {
        text-align: left; /* Keep list items left-aligned */
        padding-left: 20px;
    }
    .page-sports__mobile-features li::before {
        left: 0;
    }
    
    .page-sports__partners-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }
    .page-sports__partner-logo {
        width: 100% !important; /* Ensure logos scale */
        max-width: 167px !important; /* Retain original max-width */
        height: auto !important; /* Adjust height automatically */
    }
}