/* style/ban-ca.css */
:root {
    --primary-color: #007BFF;
    --secondary-color: #FFC107;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
    --border-color: #e0e0e0;
}

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

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

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

.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;
}

.page-ban-ca h3 {
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-ban-ca p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

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

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

/* Hero Section */
.page-ban-ca .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: var(--text-light);
    overflow: hidden;
}

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

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

.page-ban-ca .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-ban-ca .hero-content {
    text-align: center;
    width: 100%;
}

.page-ban-ca .hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-ban-ca .hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .cta-button:hover {
    background: #e6a700; /* Slightly darker secondary color */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-ban-ca section {
    padding: 60px 0;
}

.page-ban-ca .section-intro, .page-ban-ca .section-game-elements, .page-ban-ca .section-promotions, .page-ban-ca .section-faq {
    background: var(--bg-light);
    color: var(--text-dark);
}

.page-ban-ca .section-guide, .page-ban-ca .section-strategy {
    background: #ffffff;
    color: var(--text-dark);
}

.page-ban-ca .bg-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

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

.page-ban-ca .text-center {
    text-align: center;
}

/* Feature Grid */
.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: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-ban-ca .feature-item h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 0;
}

/* Step List */
.page-ban-ca .step-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ban-ca .step-list li {
    background: #ffffff;
    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;
}

.page-ban-ca .step-list li img {
    width: 100%;
    max-width: 250px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-ban-ca .step-list li h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 0;
}

.page-ban-ca .step-list li p {
    font-size: 1em;
    color: var(--text-dark);
}

/* Content Block with Image */
.page-ban-ca .content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.page-ban-ca .content-block img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin: 25px 0;
}

.page-ban-ca .content-block ul {
    list-style: disc inside;
    text-align: left;
    width: 100%;
    max-width: 800px;
    margin-left: 20px;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-ban-ca .content-block ul li {
    margin-bottom: 10px;
}

/* Strategy Items */
.page-ban-ca .strategy-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-ban-ca .strategy-item img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-ban-ca .strategy-item h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 0;
}

/* Promotion Grid */
.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-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-ban-ca .promo-card h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 0;
}

.page-ban-ca .promo-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.page-ban-ca .promo-button:hover {
    background: #e6a700;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca .security-item {
    background: #343a40; /* Darker background for contrast */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--text-light);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-ban-ca .security-item:hover {
    transform: translateY(-10px);
    background-color: #495057;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .security-item img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Slightly brighten icons on dark background for visibility */
}

.page-ban-ca .security-item h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-top: 0;
}

.page-ban-ca .section-security p {
    color: #cccccc;
}

/* FAQ Section */
.page-ban-ca .faq-list {
    margin-top: 40px;
}

.page-ban-ca .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-ban-ca .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

.page-ban-ca .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-ban-ca .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-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 20px;
    background: var(--bg-light);
    color: var(--text-dark);
}

.page-ban-ca .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
}

.page-ban-ca .faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Final CTA Section */
.page-ban-ca .section-cta-final {
    padding: 80px 20px;
    background: linear-gradient(90deg, var(--primary-color), #0056b3);
    color: var(--text-light);
    text-align: center;
}

.page-ban-ca .section-cta-final h2 {
    color: var(--text-light);
    font-size: 2.5em;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .section-cta-final p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 35px auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .section-cta-final p a {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-ban-ca .section-cta-final p a:hover {
    color: #fff;
}

.page-ban-ca .cta-button-large {
    display: inline-block;
    padding: 20px 50px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.6em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .cta-button-large:hover {
    background: #e6a700;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-ban-ca .hero-content h1 {
        font-size: 3em;
    }
    .page-ban-ca .hero-content p {
        font-size: 1.2em;
    }
    .page-ban-ca .cta-button {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    .page-ban-ca h2 {
        font-size: 2em;
    }
    .page-ban-ca h3 {
        font-size: 1.5em;
    }
    .page-ban-ca .feature-grid, .page-ban-ca .step-list, .page-ban-ca .promo-grid, .page-ban-ca .security-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-ban-ca .cta-button-large {
        padding: 18px 40px;
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-ban-ca .hero-section {
        padding: 60px 15px;
    }
    .page-ban-ca .hero-content h1 {
        font-size: 2.5em;
    }
    .page-ban-ca .hero-content p {
        font-size: 1.1em;
    }
    .page-ban-ca .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-ban-ca h2 {
        font-size: 1.8em;
    }
    .page-ban-ca h3 {
        font-size: 1.3em;
    }
    .page-ban-ca section {
        padding: 40px 0;
    }
    .page-ban-ca .feature-item, .page-ban-ca .step-list li, .page-ban-ca .promo-card, .page-ban-ca .security-item {
        padding: 20px;
    }
    .page-ban-ca .feature-item img, .page-ban-ca .step-list li img, .page-ban-ca .promo-card img {
        height: 150px;
    }
    .page-ban-ca .strategy-item img {
        height: 200px;
    }
    .page-ban-ca .faq-question {
        padding: 15px;
    }
    .page-ban-ca .faq-question h3 {
        font-size: 1.1em;
    }
    .page-ban-ca .faq-toggle {
        font-size: 20px;
    }
    .page-ban-ca .section-cta-final {
        padding: 50px 15px;
    }
    .page-ban-ca .section-cta-final h2 {
        font-size: 2em;
    }
    .page-ban-ca .section-cta-final p {
        font-size: 1em;
    }
    .page-ban-ca .cta-button-large {
        padding: 15px 35px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-ban-ca .hero-content h1 {
        font-size: 2em;
    }
    .page-ban-ca .hero-content p {
        font-size: 1em;
    }
    .page-ban-ca .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-ban-ca h2 {
        font-size: 1.6em;
    }
    .page-ban-ca h3 {
        font-size: 1.2em;
    }
    .page-ban-ca p {
        font-size: 0.95em;
    }
    .page-ban-ca .feature-grid, .page-ban-ca .step-list, .page-ban-ca .promo-grid, .page-ban-ca .security-grid {
        grid-template-columns: 1fr;
    }
    .page-ban-ca .content-block {
        padding: 15px;
    }
    .page-ban-ca .content-block ul {
        margin-left: 10px;
    }
    .page-ban-ca .faq-question h3 {
        font-size: 1em;
    }
    .page-ban-ca .cta-button-large {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}