/* style/sports.css */

/* --- Base Styles & Typography --- */
.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

.page-sports__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-sports__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand green for titles */
    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--white {
    color: #ffffff;
}

.page-sports__section-title--white::after {
    background-color: #ffffff;
}

.page-sports__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
}

.page-sports__text-block--white {
    color: #ffffff;
}

.page-sports__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.page-sports__list-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px;
    border-left: 5px solid #017439;
    border-radius: 5px;
    color: #ffffff;
}

/* --- Buttons --- */
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

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

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

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

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

/* --- Hero Section --- */
.page-sports__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Desktop padding, mobile adjusted below */
    box-sizing: border-box;
}

.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: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    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;
}

.page-sports__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-sports__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Intro Section --- */
.page-sports__intro-section {
    padding: 80px 0;
}

.page-sports__dark-bg {
    background-color: #0a0a0a; /* Dark background matching body */
    color: #ffffff;
}

.page-sports__light-bg {
    background-color: #ffffff; /* Light background for contrast sections */
    color: #333333;
}
.page-sports__light-bg .page-sports__text-block {
    color: #333333;
}
.page-sports__light-bg .page-sports__card-description {
    color: #555555;
}
.page-sports__light-bg .page-sports__list-item {
    background: #f8f8f8;
    color: #333333;
}


/* --- Why Choose Us Section --- */
.page-sports__why-choose-us {
    padding: 80px 0;
}

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

.page-sports__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333;
}

.page-sports__feature-card:hover {
    transform: translateY(-10px);
}

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

.page-sports__card-title--white {
    color: #ffffff;
}

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

.page-sports__card-description--white {
    color: #f0f0f0;
}

/* --- Video Section --- */
.page-sports__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-sports__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px; /* Max width for video */
    margin: 40px auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.page-sports__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-sports__video-cta {
    margin-top: 30px;
}

/* --- Sports Categories Section --- */
.page-sports__sports-categories {
    padding: 80px 0;
}

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

.page-sports__category-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333;
    display: flex;
    flex-direction: column;
}

.page-sports__category-card:hover {
    transform: translateY(-10px);
}

.page-sports__category-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    display: block; /* Ensure it behaves like a block element */
}

/* --- Live Betting Section --- */
.page-sports__live-betting {
    padding: 80px 0;
}

.page-sports__live-betting-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-sports__live-betting-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    border-radius: 10px;
    display: block;
    height: auto;
}

.page-sports__live-betting-text {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    text-align: left;
}

/* --- Promotions Section --- */
.page-sports__promotions {
    padding: 80px 0;
}

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

.page-sports__promotion-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
    display: flex;
    flex-direction: column;
}

.page-sports__promotion-card:hover {
    transform: translateY(-10px);
}

.page-sports__promotion-image {
    width: 100%;
    height: 200px; /* Fixed height */
    object-fit: cover;
    display: block;
}