/* style/sports.css */

:root {
    --page-sports-primary-color: #E53935;
    --page-sports-secondary-color: #FF5A4F;
    --page-sports-text-main: #333333;
    --page-sports-card-bg: #FFFFFF;
    --page-sports-page-bg: #F5F7FA;
    --page-sports-border-color: #E0E0E0;
}

.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-sports-text-main);
    background-color: var(--page-sports-page-bg);
}

/* --- General Styles --- */
.page-sports__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-sports__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--page-sports-primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-sports__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--page-sports-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-sports__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-sports__description--centered {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports a[class*="button"],
.page-sports a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-sports__btn-primary {
    background: linear-gradient(180deg, var(--page-sports-secondary-color) 0%, var(--page-sports-primary-color) 100%);
    color: #ffffff;
    border: none;
}

.page-sports__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-sports__btn-secondary {
    background-color: var(--page-sports-card-bg);
    color: var(--page-sports-primary-color);
    border: 2px solid var(--page-sports-primary-color);
}

.page-sports__btn-secondary:hover {
    background-color: var(--page-sports-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-sports__card {
    background-color: var(--page-sports-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    border: 1px solid var(--page-sports-border-color);
    color: var(--page-sports-text-main);
}

.page-sports__dark-section {
    background-color: var(--page-sports-primary-color);
    color: #ffffff;
    padding: 60px 0;
}

.page-sports__dark-section .page-sports__section-title,
.page-sports__dark-section .page-sports__sub-title {
    color: #ffffff;
}

.page-sports__light-bg {
    background-color: var(--page-sports-page-bg);
    color: var(--page-sports-text-main);
    padding: 60px 0;
}

.page-sports__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-sports__list-item {
    margin-bottom: 8px;
}

/* --- Hero Section --- */
.page-sports__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-sports-primary-color);
}

.page-sports__hero-image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

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

.page-sports__hero-content {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--page-sports-primary-color);
    color: #ffffff;
}

.page-sports__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__hero-section .page-sports__description {
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* --- Introduction Section --- */
.page-sports__introduction-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

/* --- Featured Sports Section --- */
.page-sports__featured-sports-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-sports__sport-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.page-sports__sport-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: block;
}

.page-sports__sport-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--page-sports-text-main);
}

.page-sports__featured-sports-section .page-sports__sport-card .page-sports__sport-content {
    color: var(--page-sports-text-main);
}

.page-sports__sport-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-sports-primary-color);
    margin-bottom: 10px;
}

.page-sports__sport-sub-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
}

.page-sports__sport-text {
    margin-bottom: 10px;
    flex-grow: 1;
}


/* --- Guide Section --- */
.page-sports__guide-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-sports__guide-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-sports__guide-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-sports-primary-color);
    margin-bottom: 15px;
}

.page-sports__guide-text {
    margin-bottom: 15px;
    flex-grow: 1;
}

/* --- Promotions Section --- */
.page-sports__promotions-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-sports__promo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-sports__promo-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-sports__promo-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-sports-primary-color);
    margin-bottom: 10px;
}

.page-sports__promo-text {
    margin-bottom: 15px;
    flex-grow: 1;
}

/* --- Security Section --- */
.page-sports__security-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-sports__security-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-sports__security-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-sports__security-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-sports-primary-color);
    margin-bottom: 10px;
}

.page-sports__security-text {
    flex-grow: 1;
}

/* --- Support Section --- */
.page-sports__support-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-sports__support-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__support-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-sports__support-content .page-sports__support-text {
    margin-bottom: 25px;
}

.page-sports__contact-channels,
.page-sports__problem-resolution {
    margin-bottom: 30px;
}

.page-sports__contact-title,
.page-sports__problem-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-sports__support-section .page-sports__list {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.page-sports__support-section .page-sports__list-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-sports__support-section .page-sports__list-item::before {
    content: "•";
    color: var(--page-sports-secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

/* --- FAQ Section --- */
.page-sports__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-sports__faq-item {
    background-color: var(--page-sports-card-bg);
    border: 1px solid var(--page-sports-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-sports-text-main);
    cursor: pointer;
    background-color: #fcfcfc;
    list-style: none;
}

.page-sports__faq-question::-webkit-details-marker {
    display: none;
}

.page-sports__faq-question::marker {
    display: none;
}

.page-sports__faq-qtext {
    flex-grow: 1;
}

.page-sports__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-sports-primary-color);
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
    content: "−";
}

.page-sports__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--page-sports-text-main);
}

.page-sports__faq-answer p {
    margin-bottom: 15px;
}

.page-sports__faq-answer .page-sports__btn-secondary {
    margin-top: 10px;
}

/* --- Conclusion Section --- */
.page-sports__conclusion-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* --- Image specific styles (Global for .page-sports img) --- */
.page-sports img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Design (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-sports__container {
        padding: 15px;
    }

    .page-sports__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
}