/* style/ban-ca.css */
:root {
    --primary-color: #1A2A3A;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --bg-light: #f8f8f8;
    --bg-dark: #121E2C;
    --border-color: #e0e0e0;
}

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

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

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

.page-ban-ca .bg-light {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.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-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--secondary-color);
}

.page-ban-ca h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    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 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Buttons */
.page-ban-ca .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--secondary-color), #DAA520);
    color: var(--primary-color);
    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);
    border: none;
    cursor: pointer;
}

.page-ban-ca .cta-button:hover {
    background: linear-gradient(135deg, #DAA520, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca .cta-button.large {
    font-size: 1.3em;
    padding: 18px 50px;
}

.page-ban-ca .btn-small {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-ban-ca .btn-small:hover {
    background-color: #0F1A25;
}

.page-ban-ca .btn-action {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-ban-ca .btn-action:hover {
    background-color: #DAA520;
}

/* 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-color: var(--bg-dark);
    color: var(--text-light);
}

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

.page-ban-ca .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-ban-ca .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-ban-ca .hero-content p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: var(--text-light);
}

/* Sections */
.page-ban-ca .section-intro, .page-ban-ca .section-features, .page-ban-ca .section-games, .page-ban-ca .section-guide, .page-ban-ca .section-promotions, .page-ban-ca .section-tips, .page-ban-ca .section-faq, .page-ban-ca .section-cta-bottom {
    padding: 60px 0;
}

.page-ban-ca .section-intro p, .page-ban-ca .section-guide p, .page-ban-ca .section-promotions p, .page-ban-ca .section-tips p {
    font-size: 1.05em;
    text-align: justify;
}

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

.page-ban-ca .feature-item {
    background-color: #ffffff;
    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(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-ban-ca .feature-item p {
    font-size: 0.95em;
    color: #555555;
}

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

.page-ban-ca .game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.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%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-ban-ca .game-card h3 {
    font-size: 1.3em;
    margin: 20px 15px 10px;
    color: var(--primary-color);
}

.page-ban-ca .game-card h3 a {
    color: var(--primary-color);
}

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

.page-ban-ca .game-card p {
    font-size: 0.9em;
    color: #666666;
    padding: 0 15px 15px;
    flex-grow: 1;
}

.page-ban-ca .game-card .btn-small {
    margin: 0 15px 20px;
}

/* Guide List */
.page-ban-ca .guide-list {
    list-style: none;
    counter-reset: guide-counter;
    padding: 0;
    margin-top: 30px;
}

.page-ban-ca .guide-list li {
    counter-increment: guide-counter;
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 80px;
}

.page-ban-ca .guide-list li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-ban-ca .guide-list li h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-ban-ca .guide-list li p {
    margin-bottom: 10px;
    color: #555;
}

/* Promotion List */
.page-ban-ca .promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-ban-ca .promo-list li {
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.page-ban-ca .promo-list li img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.page-ban-ca .promo-list li strong {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: block;
}

.page-ban-ca .promo-list li p {
    margin: 0;
    color: #555;
}

.page-ban-ca .button-group {
    text-align: center;
    margin-top: 40px;
}

/* Tips List */
.page-ban-ca .tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-ban-ca .tips-list li {
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca .tips-list li strong {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.page-ban-ca .tips-list li p {
    margin: 0;
    color: #555;
}

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

.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 25px;
    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.15em;
    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);
}

.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: #444;
}

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

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

/* CTA Bottom */
.page-ban-ca .section-cta-bottom {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.page-ban-ca .section-cta-bottom h2 {
    color: var(--secondary-color);
    font-size: 2.5em;
}

.page-ban-ca .section-cta-bottom p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto 40px;
    color: var(--text-light);
}

/* Copyright */
.page-ban-ca .copyright-info {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-ban-ca h1 {
        font-size: 2.4em;
    }
    .page-ban-ca h2 {
        font-size: 1.8em;
    }
    .page-ban-ca h3 {
        font-size: 1.4em;
    }
    .page-ban-ca .feature-grid, .page-ban-ca .game-cards {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .page-ban-ca .hero-section, .page-ban-ca .section-intro, .page-ban-ca .section-features, .page-ban-ca .section-games, .page-ban-ca .section-guide, .page-ban-ca .section-promotions, .page-ban-ca .section-tips, .page-ban-ca .section-faq, .page-ban-ca .section-cta-bottom {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .page-ban-ca .hero-content h1 {
        font-size: 2em;
    }
    .page-ban-ca .hero-content p {
        font-size: 1em;
    }
    .page-ban-ca .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-ban-ca .cta-button.large {
        font-size: 1.1em;
        padding: 15px 40px;
    }
    .page-ban-ca .feature-item, .page-ban-ca .game-card, .page-ban-ca .promo-list li, .page-ban-ca .tips-list li, .page-ban-ca .guide-list li {
        padding: 20px;
    }
    .page-ban-ca .guide-list li::before {
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-ban-ca .guide-list li {
        padding-left: 65px;
    }
    .page-ban-ca .promo-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-ban-ca .promo-list li img {
        margin-bottom: 15px;
    }
    .page-ban-ca .faq-question {
        padding: 15px 20px;
    }
    .page-ban-ca .faq-question h3 {
        font-size: 1em;
    }
    .page-ban-ca .faq-answer {
        padding: 0 20px;
    }
    .page-ban-ca .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-ban-ca h1 {
        font-size: 1.8em;
    }
    .page-ban-ca h2 {
        font-size: 1.6em;
    }
    .page-ban-ca .hero-section {
        padding: 30px 10px;
    }
    .page-ban-ca .hero-image {
        margin-bottom: 20px;
    }
    .page-ban-ca .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-ban-ca .section-cta-bottom h2 {
        font-size: 2em;
    }
    .page-ban-ca .section-cta-bottom p {
        font-size: 1em;
    }
    .page-ban-ca .feature-grid, .page-ban-ca .game-cards {
        grid-template-columns: 1fr;
    }
}