/* General styles for the sports page */
.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background: #0D0E12; /* Background */
}

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

.page-sports__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
    line-height: 1.3;
}

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

.page-sports__sub-title {
    font-size: 24px;
    font-weight: 600;
    color: #FFB04D; /* Glow */
    margin-bottom: 15px;
}

/* Buttons */
.page-sports__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-sports__btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
}

.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: #FFA53A;
    text-decoration: none;
    border: 2px solid #FFA53A;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-sports__btn-secondary:hover {
    background: #FFA53A;
    color: #0D0E12; /* Background */
    transform: translateY(-2px);
}

.page-sports__btn-link {
    display: inline-block;
    color: #FFA53A;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-sports__btn-link:hover {
    color: #FFB04D; /* Glow */
}

.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

/* Images */
.page-sports img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Card styles */
.page-sports__card {
    background: #17191F; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Ensure cards in a grid have equal height */
    box-sizing: border-box;
    color: #FFF3E6; /* Text Main */
    border: 1px solid #A84F0C; /* Border */
}

.page-sports__card-title {
    font-size: 20px;
    font-weight: bold;
    color: #FFB04D; /* Glow */
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    background: #0D0E12; /* Background */
}

.page-sports__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-sports__hero-image {
    width: 100%;
    height: 675px; /* Fixed height for desktop */
    object-fit: cover;
    border-radius: 0;
}

.page-sports__hero-content {
    padding: 40px 15px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: #0D0E12; /* Background */
    z-index: 2;
    position: relative;
}

.page-sports__main-title {
    font-size: clamp(32px, 5vw, 48px); /* clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: #FFB04D; /* Glow */
    margin-bottom: 20px;
}

.page-sports__description {
    font-size: 20px;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose Us Section */
.page-sports__why-choose-us {
    padding: 60px 0;
    background: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
}

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

.page-sports__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
    border-radius: 0;
}

/* Sports Categories Section */
.page-sports__sports-categories {
    padding: 60px 0;
    background: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
}

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

.page-sports__category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Live Betting Section */
.page-sports__live-betting {
    padding: 60px 0;
    background: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
}

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

.page-sports__live-feature-item {
    background: #17191F; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #A84F0C; /* Border */
}

/* Promotions Section */
.page-sports__promotions {
    padding: 60px 0;
    background: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
}

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

.page-sports__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Betting Guide Section */
.page-sports__betting-guide {
    padding: 60px 0;
    background: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
}

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

.page-sports__guide-step {
    background: #17191F; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #A84F0C; /* Border */
}

.page-sports__step-number {
    font-size: 48px;
    font-weight: bold;
    color: #FFA53A;
    margin-bottom: 15px;
    line-height: 1;
}

/* FAQ Section */
.page-sports__faq-section {
    padding: 60px 0;
    background: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
}

.page-sports__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}
details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFB04D; /* Glow */
}
details.page-sports__faq-item summary.page-sports__faq-question::-webkit-details-marker {
  display: none;
}
details.page-sports__faq-item summary.page-sports__faq-question:hover {
  background: rgba(255, 165, 58, 0.1); /* Light hover for dark background */
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Glow */
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 20px 20px;
  background: #17191F; /* Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6; /* Text Main */
}
details.page-sports__faq-item .page-sports__faq-answer p {
    margin-bottom: 0;
}


/* Final CTA Section */
.page-sports__final-cta {
    padding: 60px 0;
    background: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    text-align: center;
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-sports__section-title {
        font-size: 32px;
    }
    .page-sports__hero-image {
        height: 500px;
    }
    .page-sports__main-title {
        font-size: clamp(28px, 4vw, 42px);
    }
    .page-sports__description {
        font-size: 18px;
    }
    .page-sports__features-grid,
    .page-sports__categories-grid,
    .page-sports__live-features-grid,
    .page-sports__promotions-grid,
    .page-sports__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* General Mobile */
    .page-sports__container {
        padding: 15px;
    }
    .page-sports__section-title {
        font-size: 28px;
        margin-bottom: 15px;
        padding-top: 15px;
    }
    .page-sports__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-sports__sub-title {
        font-size: 20px;
    }

    /* HERO Section */
    .page-sports__hero-section {
        padding-top: 10px; /* Small top padding */
        margin-bottom: 30px;
    }
    .page-sports__hero-image {
        height: auto !important; /* Important for mobile */
        object-fit: contain !important; /* Prevent cropping */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-sports__hero-content {
        padding: 30px 15px;
    }
    .page-sports__main-title {
        font-size: clamp(26px, 7vw, 36px); /* Adjusted clamp for mobile */
        margin-bottom: 15px;
    }
    .page-sports__description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    /* Buttons and CTA */
    .page-sports__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        margin-top: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }
    .page-sports__cta-center {
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Generic Images & Containers */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-sports__why-choose-us,
    .page-sports__sports-categories,
    .page-sports__live-betting,
    .page-sports__promotions,
    .page-sports__betting-guide,
    .page-sports__faq-section,
    .page-sports__final-cta {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* Container handles inner padding */
        padding-right: 0;
    }
    .page-sports__card {
        padding: 20px;
    }
    .page-sports__card-title {
        font-size: 18px;
    }
    .page-sports__feature-icon {
        width: 60px;
        height: 60px;
    }
    .page-sports__category-image,
    .page-sports__promotion-image {
        height: 150px;
    }

    /* Product Grid (if applicable, though not a gameshow grid here) */
    .page-sports__features-grid,
    .page-sports__categories-grid,
    .page-sports__promotions-grid {
        grid-template-columns: 1fr; /* Single column layout for cards */
        gap: 20px;
        margin-top: 30px;
    }

    /* FAQ Section Mobile */
    details.page-sports__faq-item summary.page-sports__faq-question { padding: 15px; }
    .page-sports__faq-qtext { font-size: 15px; }
    details.page-sports__faq-item .page-sports__faq-answer { padding: 0 15px 15px; }
}