/* style/ban-ca.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFCC00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #002244;
    --accent-color: #e6b800; /* A slightly darker gold for hover/active states */
}

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

.page-ban-ca .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-ban-ca h1, .page-ban-ca h2, .page-ban-ca h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-ban-ca h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
}

.page-ban-ca h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-ban-ca h3 {
    font-size: 1.6em;
    color: var(--primary-color);
}

.page-ban-ca p {
    margin-bottom: 15px;
}

.page-ban-ca .highlight {
    color: var(--secondary-color);
}

.page-ban-ca .cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    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, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .button-small {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-ban-ca .button-small:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.page-ban-ca .button-secondary {
    display: inline-block;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-ban-ca .button-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-ban-ca .internal-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-ban-ca .internal-link:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.page-ban-ca .hero-ban-ca {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.page-ban-ca .hero-ban-ca .hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-ban-ca .hero-ban-ca .hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
}

.page-ban-ca .hero-ban-ca .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-ban-ca .hero-ban-ca h1 {
    margin-bottom: 20px;
    font-size: 3.5em;
    line-height: 1.2;
}

.page-ban-ca .hero-ban-ca p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-ban-ca .hero-ban-ca .cta-button {
    margin-top: 20px;
}

/* Section Intro */
.page-ban-ca .section-intro {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-ban-ca .section-intro p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
}

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

.page-ban-ca .feature-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-ban-ca .feature-item .feature-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-ban-ca .feature-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-ban-ca .feature-item p {
    font-size: 0.95em;
    color: var(--text-dark);
    text-align: left;
}

/* Section Games */
.page-ban-ca .section-games {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-ban-ca .section-games h2 {
    color: var(--secondary-color);
}

.page-ban-ca .section-games h2::after {
    background-color: var(--text-light);
}

.page-ban-ca .section-games p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: var(--text-light);
}

.page-ban-ca .game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ban-ca .game-card {
    background-color: var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .game-card .game-image {
    width: 100%;
    max-width: 400px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-ban-ca .game-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-ban-ca .game-card h3 .game-link {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-ban-ca .game-card h3 .game-link:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.page-ban-ca .game-card p {
    font-size: 0.95em;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.page-ban-ca .more-games-text {
    margin-top: 40px;
    font-size: 1.1em;
    color: var(--text-light);
}

.page-ban-ca .more-games-text .internal-link {
    color: var(--secondary-color);
}

.page-ban-ca .more-games-text .internal-link:hover {
    color: var(--text-light);
}

/* Section Guide */
.page-ban-ca .section-guide {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-ban-ca .section-guide p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
}

.page-ban-ca .guide-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-ban-ca .step-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca .step-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-ban-ca .step-item p {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

/* Section Strategies */
.page-ban-ca .section-strategies {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-ban-ca .section-strategies h2 {
    color: var(--secondary-color);
}

.page-ban-ca .section-strategies h2::after {
    background-color: var(--text-light);
}

.page-ban-ca .section-strategies p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: var(--text-light);
}

.page-ban-ca .strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-ban-ca .strategy-list li {
    background-color: var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .strategy-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .strategy-list li h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.4em;
}

.page-ban-ca .strategy-list li p {
    color: var(--text-light);
    text-align: left;
    margin-bottom: 0;
}

.page-ban-ca .cta-button-small {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-ban-ca .cta-button-small:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Section Promotions */
.page-ban-ca .section-promotions {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-ban-ca .section-promotions p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
}

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

.page-ban-ca .promo-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-ban-ca .promo-item .promo-image {
    width: 100%;
    max-width: 400px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-ban-ca .promo-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-ban-ca .promo-item h3 .promo-link {
    color: var(--primary-color);
    text-decoration: none;
}

.page-ban-ca .promo-item h3 .promo-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-ban-ca .promo-item p {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.page-ban-ca .more-promos-text {
    margin-top: 40px;
    font-size: 1.1em;
}

/* Section Safety Support */
.page-ban-ca .section-safety-support {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-ban-ca .section-safety-support h2 {
    color: var(--secondary-color);
}

.page-ban-ca .section-safety-support h2::after {
    background-color: var(--text-light);
}

.page-ban-ca .section-safety-support p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: var(--text-light);
}

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

.page-ban-ca .safety-support-item {
    background-color: var(--background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca .safety-support-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-ban-ca .safety-support-item p {
    font-size: 0.95em;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

/* Section FAQ */
.page-ban-ca .section-faq {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-ban-ca .section-faq h2 {
    color: var(--primary-color);
}

.page-ban-ca .section-faq h2::after {
    background-color: var(--secondary-color);
}

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

.page-ban-ca .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--text-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-ban-ca .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: var(--text-light);
    transition: background-color 0.3s ease;
}

.page-ban-ca .faq-question:hover {
    background-color: #f5f5f5;
}

.page-ban-ca .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
}

.page-ban-ca .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-ban-ca .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-ban-ca .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background-color: #fcfcfc;
    color: var(--text-dark);
}

.page-ban-ca .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px 25px 25px;
    border-top: 1px solid #eee;
}

.page-ban-ca .faq-answer p {
    margin-bottom: 10px;
    text-align: left;
    font-size: 1em;
}

.page-ban-ca .faq-answer .button-small {
    margin-right: 10px;
    margin-top: 10px;
}

/* Section Conclusion */
.page-ban-ca .section-conclusion {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-ban-ca .section-conclusion h2 {
    color: var(--secondary-color);
}

.page-ban-ca .section-conclusion h2::after {
    background-color: var(--text-light);
}

.page-ban-ca .section-conclusion p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--text-light);
}

.page-ban-ca .section-conclusion .cta-button.large-button {
    padding: 18px 45px;
    font-size: 1.3em;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-ban-ca h1 {
        font-size: 2.5em;
    }
    .page-ban-ca h2 {
        font-size: 1.8em;
    }
    .page-ban-ca h3 {
        font-size: 1.3em;
    }
    .page-ban-ca .hero-ban-ca h1 {
        font-size: 3em;
    }
    .page-ban-ca .hero-ban-ca p {
        font-size: 1.1em;
    }
    .page-ban-ca .feature-grid, .page-ban-ca .game-cards, .page-ban-ca .promo-grid, .page-ban-ca .safety-support-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-ban-ca .container {
        padding: 15px;
    }
    .page-ban-ca h1 {
        font-size: 2em;
    }
    .page-ban-ca h2 {
        font-size: 1.6em;
    }
    .page-ban-ca h3 {
        font-size: 1.2em;
    }
    .page-ban-ca .hero-ban-ca {
        padding: 60px 0;
    }
    .page-ban-ca .hero-ban-ca h1 {
        font-size: 2.5em;
    }
    .page-ban-ca .hero-ban-ca p {
        font-size: 1em;
    }
    .page-ban-ca .hero-ban-ca .hero-image {
        margin-bottom: 30px;
    }
    .page-ban-ca .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-ban-ca .section-intro, .page-ban-ca .section-games, .page-ban-ca .section-guide, .page-ban-ca .section-strategies, .page-ban-ca .section-promotions, .page-ban-ca .section-safety-support, .page-ban-ca .section-faq, .page-ban-ca .section-conclusion {
        padding: 40px 0;
    }
    .page-ban-ca .feature-item, .page-ban-ca .game-card, .page-ban-ca .step-item, .page-ban-ca .promo-item, .page-ban-ca .safety-support-item {
        padding: 20px;
    }
    .page-ban-ca .guide-steps {
        flex-direction: column;
        align-items: center;
    }
    .page-ban-ca .step-item {
        max-width: 100%;
    }
    .page-ban-ca .faq-question {
        padding: 15px 20px;
    }
    .page-ban-ca .faq-question h3 {
        font-size: 1.1em;
    }
    .page-ban-ca .faq-toggle {
        font-size: 1.5em;
    }
    .page-ban-ca .faq-answer {
        padding: 0 20px;
    }
    .page-ban-ca .faq-item.active .faq-answer {
        padding: 15px 20px 20px 20px;
    }
    .page-ban-ca .section-conclusion .cta-button.large-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-ban-ca h1 {
        font-size: 1.8em;
    }
    .page-ban-ca .hero-ban-ca h1 {
        font-size: 2em;
    }
    .page-ban-ca .hero-ban-ca p {
        font-size: 0.9em;
    }
    .page-ban-ca .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-ban-ca .feature-grid, .page-ban-ca .game-cards, .page-ban-ca .promo-grid, .page-ban-ca .safety-support-grid {
        grid-template-columns: 1fr;
    }
    .page-ban-ca .game-card .game-image, .page-ban-ca .promo-item .promo-image {
        height: 180px;
    }
    .page-ban-ca .faq-question h3 {
        font-size: 1em;
    }
}