/* style/sports.css */
.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure consistency with body background */
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    width: 100%;
    min-height: 700px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-sports__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-sports__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-sports__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-sports__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-sports__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-sports__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-sports__section-title--dark {
    color: #333333;
}
.page-sports__section-title--dark::after {
    background-color: #017439;
}

.page-sports__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #ffffff;
}

.page-sports__text-block--dark {
    color: #333333;
}

.page-sports__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

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

.page-sports__btn-primary:hover {
    background-color: #d92121;
    border-color: #d92121;
}

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

.page-sports__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

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

.page-sports__btn-link:hover {
    color: #005f2b;
    text-decoration: underline;
}

/* Image Wrapper */
.page-sports__image-wrapper {
    margin: 30px auto;
    text-align: center;
}

.page-sports__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.page-sports__about-section {
    background-color: #000000; /* Dark background for this section */
    color: #ffffff;
}

/* Video Section */
.page-sports__video-section {
    background-color: #000000;
    color: #ffffff;
    padding-top: 60px; /* Adjust if header offset is applied to main */
}

.page-sports__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

.page-sports__video-wrapper .page-sports__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
}

.page-sports__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10; /* Ensure link is clickable over video */
}

/* Features Section (Card Grid) */
.page-sports__features-section {
    background-color: #ffffff; /* Light background for this section */
    color: #333333;
}

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

.page-sports__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333; /* Default dark text for light card background */
}

.page-sports__card--dark-text {
    color: #333333;
}

.page-sports__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-sports__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-sports__card-description {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

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

/* Bonus Section */
.page-sports__bonus-section {
    background-color: #000000;
    color: #ffffff;
}

.page-sports__bonus-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-sports__bonus-text {
    flex: 1;
    min-width: 300px;
}

.page-sports__bonus-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-sports__ordered-list {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-sports__ordered-list li {
    margin-bottom: 10px;
}

/* Guide Section */
.page-sports__guide-section {
    background-color: #ffffff;
    color: #333333;
}

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

.page-sports__step-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #333333;
}