:root {
    --primary-color: #113B7A;
    --accent-color: #1D5FD1;
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B;
}

.page-the-thao {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--deep-navy-color); /* Body background from shared.css */
}

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

.page-the-thao__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 10px; /* Assuming body padding-top is handled by shared.css */
    padding-bottom: 50px;
    background-color: var(--deep-navy-color);
    overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-the-thao__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure image covers the area, will be 'contain' on mobile */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.page-the-thao__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-the-thao__description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    max-width: 500px; /* Limit width for desktop */
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao__cta-buttons--center {
    margin-top: 40px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__card-btn,
.page-the-thao__promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    min-width: 150px;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-the-thao__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
    transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
    background: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
}

.page-the-thao__btn-secondary:hover {
    background: rgba(79, 168, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.page-the-thao__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 50px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(79, 168, 255, 0.3);
}

.page-the-thao__intro-section,
.page-the-thao__features-section,
.page-the-thao__promotions-section {
    padding: 60px 0;
    background-color: var(--deep-navy-color);
}

.page-the-thao__dark-section {
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
}

.page-the-thao__text-block {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-align: justify;
}

.page-the-thao__highlight {
    color: var(--gold-color);
    font-weight: 600;
}

.page-the-thao__sports-types-section,
.page-the-thao__guide-section {
    padding: 60px 0;
    background-color: var(--deep-navy-color);
}

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

.page-the-thao__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-the-thao__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-the-thao__card-title {
    font-size: 1.4em;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-the-thao__card-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-the-thao__card-btn {
    background: linear-gradient(180deg, #F2C14E 0%, #D4A73F 100%);
    color: var(--deep-navy-color);
    border: none;
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.4);
    padding: 10px 20px;
    font-size: 0.95em;
    min-width: unset;
}

.page-the-thao__card-btn:hover {
    background: linear-gradient(180deg, #D4A73F 0%, #F2C14E 100%);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.6);
    transform: translateY(-2px);
}

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

.page-the-thao__feature-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-the-thao__feature-title {
    font-size: 1.5em;
    color: var(--glow-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-the-thao__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    padding-top: 60px;
}

.page-the-thao__step-number {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glow-color);
    color: var(--deep-navy-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(79, 168, 255, 0.5);
}

.page-the-thao__step-title {
    font-size: 1.4em;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

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

.page-the-thao__promo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-the-thao__promo-title {
    font-size: 1.4em;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-the-thao__promo-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-the-thao__promo-btn {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
    padding: 10px 20px;
    font-size: 0.95em;
    min-width: unset;
}

.page-the-thao__promo-btn:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
    transform: translateY(-2px);
}

.page-the-thao__faq-section {
    padding: 60px 0;
    background-color: var(--deep-navy-color);
}

.page-the-thao__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-the-thao__faq-item summary.page-the-thao__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;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-navy-color);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.6;
}
.page-the-thao__inline-link {
    color: var(--glow-color);
    text-decoration: underline;
}
.page-the-thao__inline-link:hover {
    color: var(--gold-color);
}

/* General image responsiveness */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-the-thao__container {
        padding: 20px 30px;
    }
    .page-the-thao__grid-2 {
        grid-template-columns: 1fr;
    }
    .page-the-thao__grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-the-thao__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .page-the-thao__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-the-thao__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }
}

@media (max-width: 768px) {
    .page-the-thao__container {
        padding: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO 主图区域 */
    .page-the-thao__hero-section {
        padding-top: 10px; /* Small top padding, not var(--header-offset) */
        padding-bottom: 30px;
    }
    .page-the-thao__hero-image-wrapper {
        max-height: 300px;
    }
    .page-the-thao__hero-image {
        object-fit: contain !important; /* Ensure image is not cropped */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        border-radius: 5px;
    }
    .page-the-thao__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }
    .page-the-thao__description {
        font-size: 0.95em;
        margin-bottom: 20px;
        text-align: left;
    }

    /* 按钮与按钮容器 */
    .page-the-thao__cta-buttons,
    .page-the-thao__button-group,
    .page-the-thao__btn-container {
        flex-direction: column !important;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary,
    .page-the-thao__card-btn,
    .page-the-thao__promo-btn,
    .page-the-thao a[class*="button"],
    .page-the-thao a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        min-width: unset;
    }

    /* 产品展示图区域 & 其他网格 */
    .page-the-thao__grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-the-thao__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-the-thao__grid-2 {
        grid-template-columns: 1fr;
    }
    .page-the-thao__card-image,
    .page-the-thao__promo-image {
        height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-the-thao__section-title {
        font-size: clamp(1.4em, 6vw, 2em);
        margin-bottom: 30px;
        padding-top: 30px;
        text-align: left;
    }
    .page-the-thao__intro-section,
    .page-the-thao__sports-types-section,
    .page-the-thao__features-section,
    .page-the-thao__guide-section,
    .page-the-thao__promotions-section,
    .page-the-thao__faq-section {
        padding: 40px 0;
    }
    .page-the-thao__text-block {
        font-size: 0.9em;
        text-align: left;
    }

    /* 通用图片与容器 */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-the-thao__card,
    .page-the-thao__feature-item,
    .page-the-thao__step-item,
    .page-the-thao__promo-card {
        padding: 20px;
    }
    .page-the-thao__card-title,
    .page-the-thao__feature-title,
    .page-the-thao__step-title,
    .page-the-thao__promo-title {
        font-size: 1.2em;
    }

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