/* style/ban-ca.css */
:root {
    --primary-color: #007BFF; /* Deep Blue */
    --secondary-color: #FFC107; /* Gold */
    --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);
    background-color: var(--bg-light);
}

.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(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    border-radius: 0 0 15px 15px;
    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%;
    margin-bottom: 30px;
    max-width: 800px; /* Adjust max-width for image */
}

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

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

.page-ban-ca .hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-ban-ca .hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.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.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

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

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

.page-ban-ca section:nth-of-type(even) {
    background-color: #f0f2f5;
}

.page-ban-ca .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-ban-ca .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-ban-ca .section-text {
    font-size: 1.1em;
    text-align: justify;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Games Section */
.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: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-ban-ca .game-card .card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-ban-ca .game-card .card-title {
    font-size: 1.4em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-ban-ca .game-card .card-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-ban-ca .game-card .card-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 20px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-ban-ca .game-card .card-button:hover {
    background: #e6b000;
}

/* Guide Section */
.page-ban-ca .guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ban-ca .step-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca .step-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-ban-ca .step-item p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

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

.page-ban-ca .step-button:hover {
    background: #0056b3; /* Darker blue */
}

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

.page-ban-ca .tip-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-ban-ca .tip-item .tip-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: contain; /* Use contain to show full image without cropping */
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-ban-ca .tip-item .tip-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-ban-ca .tip-item p {
    font-size: 1em;
    color: #555555;
    flex-grow: 1;
}

/* Promotions Section */
.page-ban-ca .promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-ban-ca .promo-list li {
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-ban-ca .promo-list li::before {
    content: '⭐';
    margin-right: 15px;
    font-size: 1.5em;
    line-height: 1;
}

.page-ban-ca .section-promotions .cta-button {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

.page-ban-ca .reason-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca .reason-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* 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 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 {
    font-size: 1.15em;
    color: var(--primary-color);
    margin: 0;
    font-weight: bold;
}

.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: #f9f9f9;
    color: #444444;
}

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

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

/* Conclusion Section */
.page-ban-ca .section-conclusion {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--text-light);
    padding: 80px 20px;
    border-radius: 15px 15px 0 0;
}

.page-ban-ca .section-conclusion .section-title {
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.page-ban-ca .section-conclusion .section-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
}

.page-ban-ca .section-conclusion .cta-button {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.page-ban-ca .section-conclusion .cta-button:hover {
    background: #e6b000;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-ban-ca .hero-title {
        font-size: 2.5em;
    }
    .page-ban-ca .hero-description {
        font-size: 1.1em;
    }
    .page-ban-ca .section-title {
        font-size: 2em;
    }
    .page-ban-ca .game-card .card-title {
        font-size: 1.25em;
    }
    .page-ban-ca .reason-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-ban-ca .hero-section {
        padding: 40px 15px;
    }
    .page-ban-ca .hero-image {
        margin-bottom: 20px;
    }
    .page-ban-ca .hero-image img {
        border-radius: 8px;
    }
    .page-ban-ca .hero-title {
        font-size: 2em;
    }
    .page-ban-ca .hero-description {
        font-size: 1em;
    }
    .page-ban-ca .cta-button {
        padding: 14px 35px;
        font-size: 1em;
    }
    .page-ban-ca section {
        padding: 40px 0;
    }
    .page-ban-ca .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-ban-ca .section-text {
        font-size: 0.95em;
    }
    .page-ban-ca .game-cards, .page-ban-ca .guide-steps, .page-ban-ca .tips-grid, .page-ban-ca .reason-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-ban-ca .game-card .card-image {
        height: 180px;
    }
    .page-ban-ca .promo-list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    .page-ban-ca .promo-list li::before {
        margin-bottom: 10px;
    }
    .page-ban-ca .faq-question {
        padding: 15px 20px;
    }
    .page-ban-ca .faq-question h3 {
        font-size: 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: 10px 20px 20px;
    }
    .page-ban-ca .section-conclusion {
        padding: 60px 15px;
    }
    .page-ban-ca .section-conclusion .section-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-ban-ca .hero-title {
        font-size: 1.7em;
    }
    .page-ban-ca .hero-description {
        font-size: 0.9em;
    }
    .page-ban-ca .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-ban-ca .section-title {
        font-size: 1.5em;
    }
    .page-ban-ca .game-card .card-title {
        font-size: 1.1em;
    }
    .page-ban-ca .step-title {
        font-size: 1.3em;
    }
    .page-ban-ca .tip-title {
        font-size: 1.2em;
    }
    .page-ban-ca .reason-title {
        font-size: 1.2em;
    }
    .page-ban-ca .faq-question h3 {
        font-size: 0.95em;
    }
}