:root {
    --page-the-thao-primary-color: #F2C14E;
    --page-the-thao-secondary-color: #FFD36B;
    --page-the-thao-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --page-the-thao-card-bg: #111111;
    --page-the-thao-background-color: #0A0A0A;
    --page-the-thao-text-main: #FFF6D6;
    --page-the-thao-border-color: #3A2A12;
    --page-the-thao-glow-color: #FFD36B;
    --page-the-thao-text-dark: #333333; /* For light backgrounds if any */
    --page-the-thao-text-light: #ffffff; /* For dark backgrounds */
}

.page-the-thao {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-the-thao-text-main); /* Default text color for the page */
    background-color: var(--page-the-thao-background-color); /* Matches the Black Gold theme */
}

/* Fixed header spacing - only small top margin for first section */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-the-thao__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-the-thao__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover for desktop */
    display: block;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-the-thao__hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-the-thao__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* H1 font size clamp */
    font-weight: 700;
    color: var(--page-the-thao-text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
}

.page-the-thao__hero-description {
    font-size: 1.2rem;
    color: var(--page-the-thao-text-main);
    margin-bottom: 40px;
    max-width: 800px;
}

.page-the-thao__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width for responsive */
    max-width: 600px; /* Limit button group width */
    box-sizing: border-box;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
}

.page-the-thao__btn-primary {
    background: var(--page-the-thao-button-gradient);
    color: var(--page-the-thao-text-light);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

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

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

.page-the-thao__btn-secondary:hover {
    background: var(--page-the-thao-primary-color);
    color: var(--page-the-thao-text-light);
}

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

.page-the-thao__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--page-the-thao-primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-the-thao__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--page-the-thao-text-main);
}

/* Dark section styles */
.page-the-thao__dark-section {
    background-color: var(--page-the-thao-card-bg); /* Use card BG for dark sections */
    color: var(--page-the-thao-text-main);
}

.page-the-thao__image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-the-thao__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
}

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

.page-the-thao__sports-card {
    background-color: var(--page-the-thao-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid var(--page-the-thao-border-color);
}

.page-the-thao__sports-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-the-thao__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--page-the-thao-primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-the-thao__card-description {
    font-size: 1rem;
    color: var(--page-the-thao-text-main);
    padding: 0 15px;
}

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

.page-the-thao__feature-item {
    background-color: var(--page-the-thao-background-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-the-thao-border-color);
}

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

/* How-to-bet steps */
.page-the-thao__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-the-thao__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--page-the-thao-button-gradient);
    color: var(--page-the-thao-text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 3px solid var(--page-the-thao-background-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-the-thao__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--page-the-thao-primary-color);
    margin-bottom: 10px;
}

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

.page-the-thao__tip-item {
    background-color: var(--page-the-thao-background-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-the-thao-border-color);
}

.page-the-thao__tip-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--page-the-thao-primary-color);
    margin-bottom: 15px;
}

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

.page-the-thao__promo-item {
    background-color: var(--page-the-thao-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-the-thao-border-color);
}