/* style/sports.css */

/* Base styles for the page */
.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a2e; /* Inherited from body, but explicitly set for consistency */
    padding-bottom: 60px; /* Space for footer */
}

.page-sports__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 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; /* Brand primary color */
    border-radius: 2px;
}

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

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-text {
    display: inline-block;
    padding: 12px 25px;
    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;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
}

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

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

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

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

.page-sports__btn-text {
    background-color: transparent;
    color: #017439; /* Brand primary color */
    border: 1px solid #017439;
    padding: 8px 15px;
    font-size: 0.9em;
}

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

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 80px 20px;
    background-color: #1a1a2e;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-sports__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin-right: 40px; /* Space for image on desktop */
}

.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: 30px;
}

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

.page-sports__hero-image-wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0; /* Prevent image from shrinking */
    max-width: 50%; /* Adjust as needed */
}

.page-sports__hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* About Sports Section */
.page-sports__about-sports {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff; /* Light text */
}

/* Betting Options Section */
.page-sports__betting-options {
    padding: 80px 0;
    background-color: #2a2a4e; /* Slightly lighter dark background */
    color: #ffffff;
}

.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: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 10px;
    padding: 30px;
    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;
    align-items: center;
    color: #ffffff;
}

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

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

.page-sports__feature-title {
    font-size: 1.8em;
    color: #017439; /* Brand primary color for emphasis */
    margin-bottom: 15px;
}

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

/* Live Betting Section */
.page-sports__live-betting {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

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

.page-sports__live-betting-image {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-sports__list-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.page-sports__list-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-sports__list-icon {
    font-size: 1.5em;
    color: #017439; /* Brand primary color */
    margin-right: 15px;
    flex-shrink: 0;
}

.page-sports__list-text {
    margin: 0;
    text-align: justify;
}

/* Promotions Section */
.page-sports__promotions {
    padding: 80px 0;
    background-color: #2a2a4e; /* Slightly lighter dark background */
    color: #ffffff;
}

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

.page-sports__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    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;
    align-items: center;
    color: #ffffff;
}

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

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

.page-sports__promo-title {
    font-size: 1.6em;
    color: #017439; /* Brand primary color */
    margin-bottom: 10px;
}

.page-sports__promo-description {
    font-size: 0.95em;
    color: #f0f0f0;
    text-align: justify;
}

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

/* How to Join Section */
.page-sports__how-to-join {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

.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: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-sports__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #017439; /* Brand primary color */
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 3px solid #017439;
    border-radius: 50%;
    background-color: rgba(1, 116, 57, 0.1);
}

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

.page-sports__step-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
    text-align: justify;
}

/* Security & Fair Play Section */
.page-sports__security-fairplay {
    padding: 80px 0;
    background-color: #2a2a4e; /* Slightly lighter dark background */
    color: #ffffff;
}

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

.page-sports__list-security {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.page-sports__list-security li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-sports__list-security .page-sports__list-icon {
    font-size: 1.5em;
    color: #017439; /* Brand primary color */
    margin-right: 15px;
    flex-shrink: 0;
}

.page-sports__security-image {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-sports__faq-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

.page-sports__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}