/* style/game-types-blackjack.css */

/* Biến CSS cho màu sắc */
:root {
    --page-game-types-blackjack-primary-color: #0A2463; /* Deep Blue */
    --page-game-types-blackjack-secondary-color: #E0B94A; /* Gold */
    --page-game-types-blackjack-text-light: #F8F8F8; /* Near White for dark backgrounds */
    --page-game-types-blackjack-text-dark: #2C3E50; /* Dark Grey for light backgrounds */
    --page-game-types-blackjack-bg-light: #F5F5F5; /* Light Grey background */
    --page-game-types-blackjack-bg-dark: #1A3A70; /* Darker Blue background */
    --page-game-types-blackjack-accent-color: #f5db9c; /* Complementary to primary */
    --page-game-types-blackjack-link-color: #1f46b5; /* Complementary to secondary */
}

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

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

.page-game-types-blackjack__hero {
    background: linear-gradient(135deg, var(--page-game-types-blackjack-primary-color) 0%, #1A3A70 100%);
    color: var(--page-game-types-blackjack-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-types-blackjack__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,subtle_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-game-types-blackjack__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-game-types-blackjack-text-light);
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.page-game-types-blackjack__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-game-types-blackjack .highlight {
    color: var(--page-game-types-blackjack-secondary-color);
    font-weight: bold;
}

.page-game-types-blackjack__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
    font-size: 1.1em;
    cursor: pointer;
}

.page-game-types-blackjack__btn--primary {
    background-color: var(--page-game-types-blackjack-secondary-color);
    color: var(--page-game-types-blackjack-primary-color);
    border: 2px solid var(--page-game-types-blackjack-secondary-color);
}

.page-game-types-blackjack__btn--primary:hover {
    background-color: #f5db9c; /* Lighter gold */
    transform: translateY(-3px);
}

.page-game-types-blackjack__btn--secondary {
    background-color: transparent;
    color: var(--page-game-types-blackjack-secondary-color);
    border: 2px solid var(--page-game-types-blackjack-secondary-color);
    margin-left: 20px;
}

.page-game-types-blackjack__btn--secondary:hover {
    background-color: var(--page-game-types-blackjack-secondary-color);
    color: var(--page-game-types-blackjack-primary-color);
    transform: translateY(-3px);
}

.page-game-types-blackjack__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-game-types-blackjack__section {
    padding: 60px 0;
    background-color: var(--page-game-types-blackjack-bg-light);
    color: var(--page-game-types-blackjack-text-dark);
}

.page-game-types-blackjack__section:nth-of-type(odd) {
    background-color: #FFFFFF;
}

.page-game-types-blackjack__section-title {
    font-size: 2.5em;
    color: var(--page-game-types-blackjack-primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-game-types-blackjack__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-game-types-blackjack-secondary-color);
    border-radius: 2px;
}

.page-game-types-blackjack__sub-title {
    font-size: 1.8em;
    color: var(--page-game-types-blackjack-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--page-game-types-blackjack-secondary-color);
    padding-left: 15px;
}

.page-game-types-blackjack p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-game-types-blackjack__list,
.page-game-types-blackjack__list--ordered {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--page-game-types-blackjack-text-dark);
}

.page-game-types-blackjack__list li,
.page-game-types-blackjack__list--ordered li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-game-types-blackjack__list--ordered {
    list-style-type: decimal;
}

.page-game-types-blackjack__list ul {
    list-style-type: circle;
    margin-left: 20px;
    margin-top: 5px;
}

.page-game-types-blackjack__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-game-types-blackjack__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-game-types-blackjack__container--centered {
    text-align: center;
}

.page-game-types-blackjack__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-game-types-blackjack__faq-question {
    font-size: 1.4em;
    color: var(--page-game-types-blackjack-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-game-types-blackjack__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--page-game-types-blackjack-secondary-color);
    transition: transform 0.3s ease;
}

.page-game-types-blackjack__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-game-types-blackjack__faq-answer {
    font-size: 1.1em;
    color: var(--page-game-types-blackjack-text-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-game-types-blackjack__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-game-types-blackjack__hero-title {
        font-size: 2.5em;
    }

    .page-game-types-blackjack__hero-subtitle {
        font-size: 1.1em;
    }

    .page-game-types-blackjack__section-title {
        font-size: 2em;
    }

    .page-game-types-blackjack__sub-title {
        font-size: 1.5em;
    }

    .page-game-types-blackjack__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-game-types-blackjack__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-game-types-blackjack__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-game-types-blackjack__hero-title {
        font-size: 2em;
    }

    .page-game-types-blackjack__hero-subtitle {
        font-size: 1em;
    }

    .page-game-types-blackjack__section-title {
        font-size: 1.8em;
    }

    .page-game-types-blackjack__sub-title {
        font-size: 1.3em;
    }

    .page-game-types-blackjack__btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .page-game-types-blackjack__btn--secondary {
        margin-top: 0;
    }
}