/* style/support-game-rules.css */

/* Biến CSS cho màu sắc */
:root {
    --page-support-game-rules-primary-color: #0A192F; /* Deep Blue */
    --page-support-game-rules-secondary-color: #FFD700; /* Gold */
    --page-support-game-rules-text-light: #F0F2F5; /* Light Grey for text on dark background */
    --page-support-game-rules-text-dark: #1A1A1A; /* Dark text on light background */
    --page-support-game-rules-background-dark: #0A192F;
    --page-support-game-rules-background-light: #FFFFFF;
    --page-support-game-rules-border-color: #334257;
}

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

.page-support-game-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-support-game-rules__hero {
    background: linear-gradient(135deg, var(--page-support-game-rules-primary-color) 0%, #1A2B47 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: var(--page-support-game-rules-text-light);
    border-bottom: 5px solid var(--page-support-game-rules-secondary-color);
}

.page-support-game-rules__title {
    font-size: 3.2em;
    color: var(--page-support-game-rules-secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-support-game-rules__subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.page-support-game-rules__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-support-game-rules__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.page-support-game-rules__btn--primary {
    background-color: var(--page-support-game-rules-secondary-color);
    color: var(--page-support-game-rules-primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-support-game-rules__btn--primary:hover {
    background-color: #E6C200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-support-game-rules__btn--secondary {
    background-color: transparent;
    color: var(--page-support-game-rules-secondary-color);
    border: 2px solid var(--page-support-game-rules-secondary-color);
}

.page-support-game-rules__btn--secondary:hover {
    background-color: var(--page-support-game-rules-secondary-color);
    color: var(--page-support-game-rules-primary-color);
    transform: translateY(-3px);
}

.page-support-game-rules__btn--action {
    background-color: var(--page-support-game-rules-secondary-color);
    color: var(--page-support-game-rules-primary-color);
    padding: 12px 25px;
    font-size: 1em;
    margin-top: 25px;
    display: inline-block;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-support-game-rules__btn--action:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

.page-support-game-rules__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-support-game-rules-border-color);
}

.page-support-game-rules__section:last-of-type {
    border-bottom: none;
}

.page-support-game-rules__section-title {
    font-size: 2.5em;
    color: var(--page-support-game-rules-secondary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.page-support-game-rules__general-rules p,
.page-support-game-rules__game-specific-rules p,
.page-support-game-rules__financial-rules p,
.page-support-game-rules__security-support p,
.page-support-game-rules__conclusion p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--page-support-game-rules-text-light);
}

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

.page-support-game-rules__grid-item {
    background-color: #1A2B47;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-support-game-rules__grid-item img.page-support-game-rules__image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-support-game-rules__item-title {
    font-size: 1.8em;
    color: var(--page-support-game-rules-secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-support-game-rules__grid-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-support-game-rules__grid-item ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 1em;
    color: var(--page-support-game-rules-text-light);
}

.page-support-game-rules__grid-item ul li::before {
    content: '✔';
    color: var(--page-support-game-rules-secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-support-game-rules__game-category {
    background-color: #1A2B47;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-support-game-rules__game-category:last-child {
    margin-bottom: 0;
}

.page-support-game-rules__category-title {
    font-size: 2.2em;
    color: var(--page-support-game-rules-secondary-color);
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.page-support-game-rules__game-category h4 {
    font-size: 1.5em;
    color: var(--page-support-game-rules-text-light);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid var(--page-support-game-rules-secondary-color);
    padding-left: 15px;
}

.page-support-game-rules__game-category ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-support-game-rules__game-category ul li {
    margin-bottom: 8px;
    color: var(--page-support-game-rules-text-light);
}

.page-support-game-rules__image--large {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-support-game-rules__conclusion {
    text-align: center;
    padding-bottom: 80px;
}

.page-support-game-rules__conclusion .page-support-game-rules__section-title {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-support-game-rules__title {
        font-size: 2.5em;
    }

    .page-support-game-rules__subtitle {
        font-size: 1.1em;
    }

    .page-support-game-rules__section-title {
        font-size: 2em;
    }

    .page-support-game-rules__grid {
        grid-template-columns: 1fr;
    }

    .page-support-game-rules__item-title {
        font-size: 1.6em;
    }

    .page-support-game-rules__game-category {
        padding: 30px;
    }

    .page-support-game-rules__category-title {
        font-size: 1.8em;
    }

    .page-support-game-rules__game-category h4 {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-support-game-rules__hero {
        padding: 80px 0 40px;
    }

    .page-support-game-rules__title {
        font-size: 2em;
    }

    .page-support-game-rules__subtitle {
        font-size: 1em;
    }

    .page-support-game-rules__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-support-game-rules__btn {
        width: 80%;
        max-width: 300px;
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-support-game-rules__section {
        padding: 40px 0;
    }

    .page-support-game-rules__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-support-game-rules__grid-item {
        padding: 25px;
    }

    .page-support-game-rules__item-title {
        font-size: 1.4em;
    }

    .page-support-game-rules__game-category {
        padding: 25px;
    }

    .page-support-game-rules__category-title {
        font-size: 1.6em;
    }

    .page-support-game-rules__image--large {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .page-support-game-rules__title {
        font-size: 1.8em;
    }

    .page-support-game-rules__subtitle {
        font-size: 0.95em;
    }

    .page-support-game-rules__btn {
        width: 90%;
        max-width: unset;
    }

    .page-support-game-rules__section-title {
        font-size: 1.6em;
    }

    .page-support-game-rules__item-title {
        font-size: 1.2em;
    }

    .page-support-game-rules__game-category h4 {
        font-size: 1.1em;
    }

    .page-support-game-rules__grid-item ul li,
    .page-support-game-rules__game-category ul li {
        font-size: 0.9em;
    }
    .page-support-game-rules__image--large {
        height: 200px;
    }
}