/* style/sports-betting.css */

/* Base styles for the sports betting page */
.page-sports-betting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFFFFF; /* Default text color on dark backgrounds */
    background-color: #0A2342; /* Main background color */
}

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

.page-sports-betting__section {
    padding: 80px 0;
    text-align: center;
}

.page-sports-betting__section:nth-of-type(even) {
    background-color: #0A2342; /* Dark blue for even sections */
}

.page-sports-betting__section:nth-of-type(odd) {
    background-color: #1a3a60; /* Slightly lighter dark blue for odd sections to create subtle variation */
}

/* Headings */
.page-sports-betting__heading {
    font-size: 2.8em;
    color: #E0B400; /* Golden yellow for main headings */
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-sports-betting__title {
    font-size: 3.5em;
    color: #E0B400; /* Golden yellow for hero title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-sports-betting__subtitle {
    font-size: 1.2em;
    color: #FFFFFF;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports-betting__description {
    font-size: 1.1em;
    color: #CCCCCC; /* Lighter grey for descriptions on dark backgrounds */
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-sports-betting__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-sports-betting__button--primary {
    background-color: #E0B400; /* Golden yellow background */
    color: #0A2342; /* Deep blue text for contrast */
}

.page-sports-betting__button--primary:hover {
    background-color: #FFD700; /* Brighter yellow on hover */
    color: #000000; /* Black text on brighter yellow */
}

.page-sports-betting__button--secondary {
    background-color: transparent;
    color: #E0B400; /* Golden yellow text */
    border: 2px solid #E0B400;
}

.page-sports-betting__button--secondary:hover {
    background-color: #E0B400;
    color: #0A2342; /* Deep blue text on golden yellow hover */
}

.page-sports-betting__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

/* Hero Section */
.page-sports-betting__hero {
    background: linear-gradient(135deg, #0A2342 0%, #1a3a60 100%); /* Gradient background */
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: left;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-sports-betting__hero-content {
    max-width: 600px;
    z-index: 1;
    padding-left: 20px;
}

.page-sports-betting__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 500px;
    z-index: 1;
}

.page-sports-betting__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Why M88 Section */
.page-sports-betting__section--why-m88 {
    background-color: #0A2342;
}

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

.page-sports-betting__feature-item {
    background-color: #1a3a60; /* Slightly lighter dark blue */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-sports-betting__feature-item:hover {
    transform: translateY(-5px);
}

.page-sports-betting__feature-title {
    font-size: 1.6em;
    color: #E0B400;
    margin-bottom: 15px;
}

.page-sports-betting__feature-text {
    color: #CCCCCC;
    font-size: 1em;
}

/* Sports Categories Section */
.page-sports-betting__section--sports-categories {
    background-color: #1a3a60;
}

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

.page-sports-betting__category-item {
    background-color: #0A2342;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-sports-betting__category-item:hover {
    transform: translateY(-5px);
}

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

.page-sports-betting__category-title {
    font-size: 1.5em;
    color: #E0B400;
    margin-bottom: 10px;
}

.page-sports-betting__category-text {
    color: #CCCCCC;
    font-size: 0.95em;
}

/* How to Bet Section */
.page-sports-betting__section--how-to-bet {
    background-color: #0A2342;
}

.page-sports-betting__steps {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    text-align: left;
}

.page-sports-betting__step-item {
    background-color: #1a3a60;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-left: 80px;
}

.page-sports-betting__step-item::before {
    content: attr(data-step); /* Use data-step attribute for numbering */
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #E0B400;
    color: #0A2342;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5em;
}

.page-sports-betting__step-item:nth-child(1)::before { content: '1'; }
.page-sports-betting__step-item:nth-child(2)::before { content: '2'; }
.page-sports-betting__step-item:nth-child(3)::before { content: '3'; }
.page-sports-betting__step-item:nth-child(4)::before { content: '4'; }
.page-sports-betting__step-item:nth-child(5)::before { content: '5'; }


.page-sports-betting__step-title {
    font-size: 1.8em;
    color: #E0B400;
    margin-bottom: 10px;
}

.page-sports-betting__step-text {
    color: #CCCCCC;
    font-size: 1em;
}

/* Live Betting Section */
.page-sports-betting__section--live-betting {
    background-color: #1a3a60;
}

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

.page-sports-betting__live-betting-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-sports-betting__live-betting-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 500px;
}

.page-sports-betting__live-betting-benefits li {
    background-color: #0A2342;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1.1em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-sports-betting__highlight {
    color: #E0B400;
}

/* Promotions Section */
.page-sports-betting__section--promotions {
    background-color: #0A2342;
}

/* Mobile App Section */
.page-sports-betting__section--mobile {
    background-color: #1a3a60;
}

.page-sports-betting__mobile-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    text-align: left;
}

.page-sports-betting__mobile-content {
    max-width: 500px;
}

.page-sports-betting__mobile-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Security Section */
.page-sports-betting__section--security {
    background-color: #0A2342;
}

.page-sports-betting__security-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-sports-betting__security-list li {
    background-color: #1a3a60;
    padding: 25px;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-sports-betting__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: invert(80%) sepia(80%) saturate(1000%) hue-rotate(0deg) brightness(1.2) contrast(1.2); /* Golden tint for icons */
}

/* Detail Pages Section */
.page-sports-betting__section--detail-pages {
    background-color: #1a3a60;
}

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

.page-sports-betting__detail-page-item {
    background-color: #0A2342;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-sports-betting__detail-page-title {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-sports-betting__detail-page-title a {
    color: #E0B400; /* Golden yellow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-sports-betting__detail-page-title a:hover {
    color: #FFD700; /* Brighter yellow on hover */
    text-decoration: underline;
}

.page-sports-betting__detail-page-description {
    color: #CCCCCC;
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take up available space */
}

/* Final CTA Section */
.page-sports-betting__section--cta-final {
    background-color: #0A2342;
    padding: 100px 0;
}

.page-sports-betting__cta-final-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports-betting__hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    .page-sports-betting__hero-content {
        padding-left: 0;
        margin-bottom: 40px;
    }

    .page-sports-betting__title {
        font-size: 2.8em;
    }

    .page-sports-betting__heading {
        font-size: 2.2em;
    }

    .page-sports-betting__mobile-flex {
        flex-direction: column-reverse; /* Image above text on mobile */
    }

    .page-sports-betting__mobile-content,
    .page-sports-betting__mobile-image {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-sports-betting__section {
        padding: 60px 0;
    }

    .page-sports-betting__title {
        font-size: 2.2em;
    }

    .page-sports-betting__heading {
        font-size: 1.8em;
    }

    .page-sports-betting__subtitle,
    .page-sports-betting__description {
        font-size: 1em;
    }

    .page-sports-betting__button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-sports-betting__steps {
        padding: 0 10px;
    }

    .page-sports-betting__step-item {
        padding-left: 60px;
    }

    .page-sports-betting__step-item::before {
        left: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    .page-sports-betting__step-title {
        font-size: 1.5em;
    }

    .page-sports-betting__live-betting-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-sports-betting__title {
        font-size: 1.8em;
    }

    .page-sports-betting__heading {
        font-size: 1.5em;
    }

    .page-sports-betting__feature-title,
    .page-sports-betting__category-title,
    .page-sports-betting__step-title,
    .page-sports-betting__detail-page-title {
        font-size: 1.3em;
    }

    .page-sports-betting__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}