/* style/ban-ca.css */
.page-ban-ca {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-ban-ca__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-ban-ca__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #28a745;
    border-radius: 2px;
}

.page-ban-ca__section-description {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__hero-section {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-ban-ca__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: page-ban-ca__bubble-float 15s infinite ease-in-out;
}

.page-ban-ca__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: page-ban-ca__bubble-float 20s infinite reverse ease-in-out;
}

@keyframes page-ban-ca__bubble-float {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(50px, -50px) scale(1.1); opacity: 1; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
}

.page-ban-ca__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-ban-ca__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-ban-ca__hero-buttons .page-ban-ca__btn {
    margin: 0 15px;
    padding: 15px 35px;
    font-size: 1.2em;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.page-ban-ca__hero-image-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-ban-ca__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-ban-ca__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-ban-ca__btn--primary {
    background-color: #28a745;
    color: #fff;
    border: 2px solid #28a745;
}

.page-ban-ca__btn--primary:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
}

.page-ban-ca__btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-ban-ca__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-ban-ca__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 20px;
}

.page-ban-ca__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 50px;
}

.page-ban-ca__link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-ban-ca__link:hover {
    text-decoration: underline;
}

.page-ban-ca__intro-section, 
.page-ban-ca__games-showcase, 
.page-ban-ca__guide-section, 
.page-ban-ca__tips-section, 
.page-ban-ca__promotion-section, 
.page-ban-ca__app-section, 
.page-ban-ca__faq-section, 
.page-ban-ca__final-cta-section {
    padding: 80px 0;
}

.page-ban-ca__intro-section {
    background-color: #fff;
}

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

.page-ban-ca__feature-item {
    text-align: center;
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
    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, 123, 255, 0.2);
}

.page-ban-ca__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-ban-ca__feature-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-ban-ca__feature-text {
    font-size: 1em;
    color: #666;
}

.page-ban-ca__games-showcase {
    background-color: #e9ecef;
}

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

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

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

.page-ban-ca__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-ban-ca__game-title {
    font-size: 1.6em;
    color: #007bff;
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-ban-ca__game-description {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-ban-ca__game-card .page-ban-ca__btn {
    margin-bottom: 20px;
    align-self: center;
}

.page-ban-ca__guide-section {
    background-color: #fff;
}

.page-ban-ca__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-ban-ca__guide-list li {
    background-color: #f0f8ff;
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 123, 255, 0.08);
    counter-increment: guide-step;
    position: relative;
    padding-left: 80px;
}

.page-ban-ca__guide-list li::before {
    content: counter(guide-step);
    position: absolute;
    left: 20px;
    top: 30px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-ban-ca__guide-step-title {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-ban-ca__guide-list p {
    font-size: 1.05em;
    color: #555;
}

.page-ban-ca__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-ban-ca__tips-section {
    background-color: #e9ecef;
}

.page-ban-ca__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-ban-ca__tips-list li {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__tips-list li:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__tip-title {
    font-size: 1.5em;
    color: #28a745;
    margin-bottom: 15px;
}

.page-ban-ca__tips-list p {
    font-size: 1em;
    color: #666;
}

.page-ban-ca__promotion-section {
    background-color: #fff;
}

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

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

.page-ban-ca__promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2);
}

.page-ban-ca__promotion-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #ddeeff;
}

.page-ban-ca__promotion-title {
    font-size: 1.6em;
    color: #007bff;
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-ban-ca__promotion-text {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-ban-ca__promotion-card .page-ban-ca__btn {
    margin-bottom: 20px;
    align-self: center;
}

.page-ban-ca__app-section {
    background-color: #007bff;
    color: #fff;
}

.page-ban-ca__app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-ban-ca__app-text {
    flex: 1;
    min-width: 300px;
}

.page-ban-ca__app-text .page-ban-ca__section-title {
    color: #fff;
}

.page-ban-ca__app-text .page-ban-ca__section-title::after {
    background-color: #28a745;
}

.page-ban-ca__app-text .page-ban-ca__section-description {
    color: #e0f2f7;
    text-align: left;
}

.page-ban-ca__app-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-ban-ca__app-features li {
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: #e0f2f7;
}

.page-ban-ca__app-features li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #28a745;
}

.page-ban-ca__app-buttons .page-ban-ca__btn {
    margin-right: 20px;
}

.page-ban-ca__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-ban-ca__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__faq-section {
    background-color: #f8f9fa;
}

.page-ban-ca__faq-list {
    margin-top: 50px;
}

.page-ban-ca__faq-item {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__faq-question {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-ban-ca__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #28a745;
}

.page-ban-ca__faq-question.active::after {
    content: '-';
}

.page-ban-ca__faq-answer {
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding-top: 0;
}

.page-ban-ca__faq-answer.active {
    max-height: 200px; /* Adjust based on content */
    padding-top: 15px;
}

.page-ban-ca__final-cta-section {
    background: linear-gradient(45deg, #007bff, #28a745);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.page-ban-ca__final-cta-section .page-ban-ca__section-title {
    color: #fff;
}

.page-ban-ca__final-cta-section .page-ban-ca__section-title::after {
    background-color: #fff;
}

.page-ban-ca__final-cta-section .page-ban-ca__section-description {
    color: #e0f2f7;
    margin-bottom: 50px;
}

.highlight-keyword {
    color: #007bff;
    font-weight: bold;
}

.page-ban-ca__app-section .highlight-keyword {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-ban-ca__hero-title {
        font-size: 3em;
    }
    .page-ban-ca__hero-description {
        font-size: 1.2em;
    }
    .page-ban-ca__section-title {
        font-size: 2em;
    }
    .page-ban-ca__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-ban-ca__app-text .page-ban-ca__section-description {
        text-align: center;
    }
    .page-ban-ca__app-features li {
        text-align: left;
    }
    .page-ban-ca__app-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .page-ban-ca__app-buttons .page-ban-ca__btn {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .page-ban-ca__hero-section {
        padding: 80px 0;
    }
    .page-ban-ca__hero-title {
        font-size: 2.5em;
    }
    .page-ban-ca__hero-description {
        font-size: 1.1em;
    }
    .page-ban-ca__hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-ban-ca__hero-buttons .page-ban-ca__btn {
        margin: 0;
    }
    .page-ban-ca__intro-section, 
    .page-ban-ca__games-showcase, 
    .page-ban-ca__guide-section, 
    .page-ban-ca__tips-section, 
    .page-ban-ca__promotion-section, 
    .page-ban-ca__app-section, 
    .page-ban-ca__faq-section, 
    .page-ban-ca__final-cta-section {
        padding: 60px 0;
    }
    .page-ban-ca__section-title {
        font-size: 1.8em;
    }
    .page-ban-ca__guide-list li {
        padding-left: 60px;
    }
    .page-ban-ca__guide-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
        top: 25px;
        left: 15px;
    }
}

@media (max-width: 576px) {
    .page-ban-ca__hero-section {
        padding: 60px 0;
    }
    .page-ban-ca__hero-title {
        font-size: 2em;
    }
    .page-ban-ca__hero-description {
        font-size: 1em;
    }
    .page-ban-ca__section-title {
        font-size: 1.5em;
    }
    .page-ban-ca__section-description {
        font-size: 0.95em;
    }
    .page-ban-ca__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}