.page-the-thao {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
}

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

/* Hero Section */
.page-the-thao__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding as per rule */
    padding-bottom: 40px;
    background: linear-gradient(to bottom, #017439, #00502a); /* Dark gradient for hero section */
    color: #ffffff;
    text-align: center;
}

.page-the-thao__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for hero image */
}

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

.page-the-thao__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 font size */
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFF00; /* Register/Login font color for main title */
}

.page-the-thao__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-the-thao__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

/* General Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure buttons adapt to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-the-thao__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-the-thao__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-the-thao__btn-secondary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-the-thao__btn-secondary:hover {
    background-color: #00502a;
    border-color: #00502a;
}

.page-the-thao__btn-outline {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #017439;
    color: #017439;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-the-thao__btn-outline:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-the-thao__btn-center {
    display: block;
    margin: 30px auto 0;
    width: fit-content;
}