/* style/ban-ca.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1E90FF; /* Dodger Blue */
    --dark-background: #1a1a1a;
    --light-text: #ffffff;
    --dark-text: #333333;
    --card-bg: #2a2a2a;
    --border-color: #444444;
    --button-hover-bg: #ffc107;
    --faq-question-bg: #3a3a3a;
    --faq-answer-bg: #4a4a4a;
}

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

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

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

.page-ban-ca h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    color: var(--dark-text);
}

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

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

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

/* 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: 60px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #007bff 100%); /* Darker blue gradient for background */
    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: 1;
}

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

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

.page-ban-ca .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--light-text);
}

.page-ban-ca .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

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

.page-ban-ca .cta-button:hover {
    background: var(--button-hover-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-ban-ca .intro-section {
    background-color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-ban-ca .intro-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px;
}

.page-ban-ca .feature-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 25px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca .feature-item img {
    width: 100%; /* Ensure images are large and not icons */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-ban-ca .feature-item p {
    color: var(--dark-text);
}

/* Why Choose Us Section */
.page-ban-ca .why-choose-us {
    background-color: #f0f8ff;
    padding: 80px 0;
    text-align: center;
}

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

.page-ban-ca .reason-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca .reason-card img {
    width: 100%; /* Ensure images are large and not icons */
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-ban-ca .reason-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-ban-ca .reason-card p {
    color: var(--dark-text);
}

.page-ban-ca .action-center {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-ban-ca .action-center .cta-button.primary {
    background: var(--primary-color);
    color: var(--dark-text);
}

.page-ban-ca .action-center .cta-button.secondary {
    background: var(--secondary-color);
    color: var(--light-text);
}

.page-ban-ca .action-center .cta-button.secondary:hover {
    background: #0056b3;
}

/* Game Showcase Section */
.page-ban-ca .game-showcase {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

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

.page-ban-ca .game-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca .game-card img {
    width: 100%; /* Ensure images are large and not icons */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-ban-ca .game-card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-ban-ca .game-card p {
    color: var(--dark-text);
    margin-bottom: 20px;
}

.page-ban-ca .play-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-ban-ca .play-button:hover {
    background: var(--button-hover-bg);
}

/* How To Play Section */
.page-ban-ca .how-to-play {
    background-color: #e6f7ff;
    padding: 80px 0;
}

.page-ban-ca .how-to-play ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 40px;
}

.page-ban-ca .how-to-play li {
    position: relative;
    margin-bottom: 30px;
    padding-left: 70px;
    text-align: left;
}

.page-ban-ca .how-to-play li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .how-to-play li h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.page-ban-ca .how-to-play li p {
    color: var(--dark-text);
}

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

.page-ban-ca .step-button:hover {
    background: var(--button-hover-bg);
}

/* Tips & Strategies Section */
.page-ban-ca .tips-strategies {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

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

.page-ban-ca .strategy-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca .strategy-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-ban-ca .strategy-item img {
    width: 100%; /* Ensure images are large and not icons */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-ban-ca .strategy-item p {
    color: var(--dark-text);
}

/* Promotions Section */
.page-ban-ca .promotions-section {
    background-color: #fff8e1;
    padding: 80px 0;
    text-align: center;
}

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

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

.page-ban-ca .promo-card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-ban-ca .promo-card p {
    color: var(--dark-text);
    margin-bottom: 25px;
}

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

.page-ban-ca .promo-button:hover {
    background: #0056b3;
}

/* Security & Support Section */
.page-ban-ca .security-support {
    background-color: #f4f4f4;
    padding: 80px 0;
    text-align: center;
}

.page-ban-ca .security-support ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca .security-support ul li {
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--dark-text);
}

.page-ban-ca .security-support ul li strong {
    color: var(--secondary-color);
}

.page-ban-ca .security-support .cta-button {
    margin-top: 40px;
}

/* FAQ Section */
.page-ban-ca .faq-section {
    background-color: #e0e0e0;
    padding: 80px 0;
    color: var(--dark-text);
}

.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-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-ban-ca .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    color: var(--dark-text);
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

.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: #f9f9f9;
    color: var(--dark-text);
}

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

.page-ban-ca .faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-ban-ca .cta-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffeb3b 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--dark-text);
}

.page-ban-ca .cta-final h2 {
    color: var(--dark-text);
    font-size: 2.5em;
}

.page-ban-ca .cta-final p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--dark-text);
}

.page-ban-ca .cta-button.final {
    background: var(--secondary-color);
    color: var(--light-text);
    padding: 18px 50px;
    font-size: 1.3em;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.page-ban-ca .cta-button.final:hover {
    background: #0056b3;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-ban-ca h1 {
        font-size: 2.5em;
    }
    .page-ban-ca h2 {
        font-size: 2em;
    }
    .page-ban-ca .hero-content p {
        font-size: 1.1em;
    }
    .page-ban-ca .feature-item, .page-ban-ca .reason-card, .page-ban-ca .game-card, .page-ban-ca .strategy-item, .page-ban-ca .promo-card {
        max-width: 45%;
        margin: 0 auto;
    }
    .page-ban-ca .intro-features, .page-ban-ca .reason-list, .page-ban-ca .game-cards, .page-ban-ca .strategy-grid, .page-ban-ca .promo-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-ban-ca h1 {
        font-size: 2em;
    }
    .page-ban-ca h2 {
        font-size: 1.8em;
    }
    .page-ban-ca h3 {
        font-size: 1.4em;
    }
    .page-ban-ca .hero-section {
        padding: 40px 15px;
    }
    .page-ban-ca .hero-image {
        margin-bottom: 20px;
    }
    .page-ban-ca .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-ban-ca .intro-section, .page-ban-ca .why-choose-us, .page-ban-ca .game-showcase, .page-ban-ca .how-to-play, .page-ban-ca .tips-strategies, .page-ban-ca .promotions-section, .page-ban-ca .security-support, .page-ban-ca .faq-section, .page-ban-ca .cta-final {
        padding: 40px 0;
    }
    .page-ban-ca .feature-item, .page-ban-ca .reason-card, .page-ban-ca .game-card, .page-ban-ca .strategy-item, .page-ban-ca .promo-card {
        max-width: 90%;
        min-width: unset;
    }
    .page-ban-ca .how-to-play li {
        padding-left: 0;
        text-align: center;
    }
    .page-ban-ca .how-to-play li::before {
        position: static;
        margin: 0 auto 15px auto;
    }
    .page-ban-ca .action-center {
        flex-direction: column;
        gap: 15px;
    }
    .page-ban-ca .faq-question {
        padding: 15px 20px;
    }
    .page-ban-ca .faq-answer {
        padding: 0 20px;
    }
    .page-ban-ca .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-ban-ca .cta-final h2 {
        font-size: 2em;
    }
    .page-ban-ca .cta-final p {
        font-size: 1.1em;
    }
    .page-ban-ca .cta-button.final {
        padding: 15px 40px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-ban-ca h1 {
        font-size: 1.8em;
    }
    .page-ban-ca h2 {
        font-size: 1.6em;
    }
    .page-ban-ca h3 {
        font-size: 1.2em;
    }
    .page-ban-ca .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-ban-ca .feature-item img, .page-ban-ca .reason-card img, .page-ban-ca .game-card img, .page-ban-ca .strategy-item img {
        height: 180px;
    }
    .page-ban-ca .play-button, .page-ban-ca .step-button, .page-ban-ca .promo-button {
        padding: 8px 18px;
        font-size: 0.9em;
    }
    .page-ban-ca .faq-question h3 {
        font-size: 1.1em;
    }
    .page-ban-ca .faq-toggle {
        font-size: 20px;
    }
}