/* style/games-sports-betting.css */

/* Biến CSS */
:root {
    --page-games-sports-betting-primary-color: #1A1A2E;
    --page-games-sports-betting-secondary-color: #E94560;
    --page-games-sports-betting-text-light: #F0F0F0; /* Màu chữ sáng cho nền tối */
    --page-games-sports-betting-text-dark: #333333; /* Màu chữ tối cho nền sáng */
    --page-games-sports-betting-background-dark: #1A1A2E; /* Nền tối chính */
    --page-games-sports-betting-background-light: #F8F8F8; /* Nền sáng phụ */
    --page-games-sports-betting-accent-color: #FFD700; /* Màu vàng sang trọng */
}

.page-games-sports-betting {
    font-family: 'Arial', sans-serif;
    color: var(--page-games-sports-betting-text-light);
    background-color: var(--page-games-sports-betting-background-dark);
    line-height: 1.6;
}

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

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

.page-games-sports-betting__section:nth-of-type(even) {
    background-color: var(--page-games-sports-betting-background-dark);
}

.page-games-sports-betting__section:nth-of-type(odd) {
    background-color: #2c2c47; /* Một màu nền hơi sáng hơn để tạo sự phân biệt */
}

.page-games-sports-betting__section-title {
    font-size: 2.8em;
    color: var(--page-games-sports-betting-secondary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-games-sports-betting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-games-sports-betting-accent-color);
    border-radius: 2px;
}

.page-games-sports-betting__text {
    font-size: 1.1em;
    color: var(--page-games-sports-betting-text-light);
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.page-games-sports-betting__text--center {
    text-align: center;
}

.page-games-sports-betting__btn {
    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, transform 0.3s ease;
    margin: 10px;
    cursor: pointer;
    border: none;
}

.page-games-sports-betting__btn--primary {
    background-color: var(--page-games-sports-betting-secondary-color);
    color: var(--page-games-sports-betting-text-light);
}

.page-games-sports-betting__btn--primary:hover {
    background-color: #c9354f; /* Màu đỏ sẫm hơn */
    transform: translateY(-3px);
}

.page-games-sports-betting__btn--secondary {
    background-color: transparent;
    border: 2px solid var(--page-games-sports-betting-secondary-color);
    color: var(--page-games-sports-betting-secondary-color);
}

.page-games-sports-betting__btn--secondary:hover {
    background-color: var(--page-games-sports-betting-secondary-color);
    color: var(--page-games-sports-betting-text-light);
    transform: translateY(-3px);
}

.page-games-sports-betting__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
}

/* Hero Section */
.page-games-sports-betting__hero-section {
    background: linear-gradient(135deg, var(--page-games-sports-betting-background-dark) 0%, #3a1a3a 100%); /* Gradient từ màu tối chính đến màu tím sẫm */
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-games-sports-betting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 20px;
}

.page-games-sports-betting__hero-title {
    font-size: 4em;
    color: var(--page-games-sports-betting-text-light);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-games-sports-betting__hero-subtitle {
    font-size: 1.5em;
    color: var(--page-games-sports-betting-text-light);
    margin-bottom: 40px;
}

.page-games-sports-betting__hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.6;
}

.page-games-sports-betting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* Intro Section */
.page-games-sports-betting__intro {
    background-color: #2c2c47;
}

/* Features Section */
.page-games-sports-betting__features {
    background-color: var(--page-games-sports-betting-background-dark);
}

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

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

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

.page-games-sports-betting__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-games-sports-betting__feature-title {
    font-size: 1.8em;
    color: var(--page-games-sports-betting-secondary-color);
    margin-bottom: 15px;
}

.page-games-sports-betting__feature-description {
    color: var(--page-games-sports-betting-text-light);
    font-size: 1em;
}

/* Bet Types Section */
.page-games-sports-betting__bet-types {
    background-color: #2c2c47;
}

.page-games-sports-betting__list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-games-sports-betting__list li {
    background-color: var(--page-games-sports-betting-background-dark);
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid var(--page-games-sports-betting-secondary-color);
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--page-games-sports-betting-text-light);
}

.page-games-sports-betting__list li strong {
    color: var(--page-games-sports-betting-accent-color);
}

.page-games-sports-betting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-games-sports-betting__image--large {
    max-width: 800px;
}

/* How to Bet Section */
.page-games-sports-betting__how-to-bet {
    background-color: var(--page-games-sports-betting-background-dark);
}

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

.page-games-sports-betting__step-item {
    background-color: #2c2c47;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 80px; /* Thêm khoảng trống cho số bước */
}

.page-games-sports-betting__step-item::before {
    content: attr(data-step);
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-games-sports-betting-secondary-color);
    color: var(--page-games-sports-betting-text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 0 0 5px rgba(233, 69, 96, 0.3);
}

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

.page-games-sports-betting__step-title {
    font-size: 1.6em;
    color: var(--page-games-sports-betting-accent-color);
    margin-bottom: 15px;
}

.page-games-sports-betting__step-description {
    color: var(--page-games-sports-betting-text-light);
    margin-bottom: 20px;
}

/* Promotions Section */
.page-games-sports-betting__promotions {
    background-color: #2c2c47;
}

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

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

.page-games-sports-betting__promo-item:hover {
    transform: translateY(-8px);
}

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

.page-games-sports-betting__promo-title {
    font-size: 1.8em;
    color: var(--page-games-sports-betting-accent-color);
    margin-bottom: 10px;
}

.page-games-sports-betting__promo-description {
    color: var(--page-games-sports-betting-text-light);
    margin-bottom: 20px;
}

.page-games-sports-betting__cta-bottom {
    margin-top: 60px;
}

/* Mobile App Section */
.page-games-sports-betting__mobile-app {
    background-color: var(--page-games-sports-betting-background-dark);
}

.page-games-sports-betting__mobile-app-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.page-games-sports-betting__mobile-app-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.page-games-sports-betting__mobile-app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

.page-games-sports-betting__mobile-app-text .page-games-sports-betting__section-title {
    text-align: left;
    margin-left: 0;
}

.page-games-sports-betting__mobile-app-text .page-games-sports-betting__section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-games-sports-betting__mobile-app-text .page-games-sports-betting__list {
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-games-sports-betting__mobile-app-text .page-games-sports-betting__list li {
    background-color: transparent;
    border-left-color: var(--page-games-sports-betting-accent-color);
    margin-bottom: 10px;
    padding: 10px 15px;
}

/* Contact Us Section */
.page-games-sports-betting__contact-us {
    background-color: #2c2c47;
}

.page-games-sports-betting__contact-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-games-sports-betting__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 80px 0;
    }

    .page-games-sports-betting__hero-content {
        max-width: 100%;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .page-games-sports-betting__hero-title {
        font-size: 3em;
    }

    .page-games-sports-betting__hero-subtitle {
        font-size: 1.2em;
    }

    .page-games-sports-betting__hero-image-wrapper {
        position: relative;
        width: 100%;
        height: 300px;
        opacity: 1;
    }

    .page-games-sports-betting__hero-image {
        object-position: center;
    }

    .page-games-sports-betting__mobile-app-content {
        flex-direction: column;
        text-align: center;
    }

    .page-games-sports-betting__mobile-app-text {
        padding-right: 0;
        padding-bottom: 40px;
    }

    .page-games-sports-betting__mobile-app-text .page-games-sports-betting__section-title {
        text-align: center;
    }

    .page-games-sports-betting__mobile-app-text .page-games-sports-betting__section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .page-games-sports-betting__mobile-app-text .page-games-sports-betting__list {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-games-sports-betting__section-title {
        font-size: 2.2em;
    }

    .page-games-sports-betting__hero-title {
        font-size: 2.5em;
    }

    .page-games-sports-betting__hero-subtitle {
        font-size: 1.1em;
    }

    .page-games-sports-betting__feature-grid, .page-games-sports-betting__steps, .page-games-sports-betting__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-games-sports-betting__list li {
        font-size: 1em;
        padding: 15px;
    }

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

@media (max-width: 480px) {
    .page-games-sports-betting__hero-title {
        font-size: 2em;
    }

    .page-games-sports-betting__hero-subtitle {
        font-size: 1em;
    }

    .page-games-sports-betting__section-title {
        font-size: 1.8em;
    }

    .page-games-sports-betting__btn {
        width: 100%;
        margin: 10px 0;
    }

    .page-games-sports-betting__hero-cta {
        display: flex;
        flex-direction: column;
    }
}