/* style/ban-ca.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Navy Blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4;
    --bg-dark: #000080;
    --accent-color-light: #FFEB3B; /* Lighter gold for hover/accents */
    --accent-color-dark: #000066; /* Darker navy for hover/accents */
}

.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: 20px;
}

/* Hero Section */
.page-ban-ca-hero {
    background: linear-gradient(135deg, var(--secondary-color), #00004d); /* Darker navy gradient */
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-ban-ca-hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca-hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-ban-ca-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

/* General Section Styling */
.page-ban-ca-intro, .page-ban-ca-games, .page-ban-ca-benefits, .page-ban-ca-guide, .page-ban-ca-tips, .page-ban-ca-faq, .page-ban-ca-conclusion {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-ban-ca-intro p, .page-ban-ca-games p, .page-ban-ca-benefits p, .page-ban-ca-guide p, .page-ban-ca-tips p, .page-ban-ca-faq p, .page-ban-ca-conclusion p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-ban-ca-intro h2, .page-ban-ca-games h2, .page-ban-ca-benefits h2, .page-ban-ca-guide h2, .page-ban-ca-tips h2, .page-ban-ca-faq h2, .page-ban-ca-conclusion h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-ban-ca-intro h2::after, .page-ban-ca-games h2::after, .page-ban-ca-benefits h2::after, .page-ban-ca-guide h2::after, .page-ban-ca-tips h2::after, .page-ban-ca-faq h2::after, .page-ban-ca-conclusion h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Game Grid */
.page-ban-ca-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 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.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-ban-ca-game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

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

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

.page-ban-ca-game-card p {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--text-dark);
}

.page-ban-ca-more-games {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: var(--secondary-color);
}

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

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

.page-ban-ca-benefit-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-ban-ca-action-area {
    text-align: center;
    margin-top: 60px;
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 10px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-ban-ca-action-area img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca-cta-secondary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-ban-ca-cta-secondary:hover {
    background-color: var(--accent-color-light);
    color: var(--secondary-color);
}

/* Guide Section */
.page-ban-ca-step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 40px;
}

.page-ban-ca-step-list li {
    background-color: #ffffff;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 25px;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
}

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

.page-ban-ca-step-list h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-bottom: 10px;
    padding-left: 30px; /* Adjust for counter */
}

.page-ban-ca-step-list p {
    font-size: 1em;
    padding-left: 30px;
}

.page-ban-ca-cta-small {
    padding: 10px 25px;
    font-size: 1em;
    margin-top: 15px;
    margin-left: 30px;
}

/* Tips Section */
.page-ban-ca-tips {
    background-color: #e9e9e9;
}

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

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

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

.page-ban-ca-tip-item h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

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

/* FAQ Section */
.page-ban-ca-faq {
    padding: 60px 0;
}

.faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--secondary-color);
}

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

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.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(--text-dark);
}

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

.faq-item.active .faq-answer p {
    margin-bottom: 0;
}

/* Conclusion Section */
.page-ban-ca-conclusion {
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.page-ban-ca-conclusion h2 {
    color: var(--primary-color);
}

.page-ban-ca-conclusion p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-ban-ca-cta-large {
    padding: 18px 50px;
    font-size: 1.4em;
    margin-top: 30px;
}

/* Floating Buttons */
.page-ban-ca-floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-ban-ca-floating-btn {
    display: block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-ban-ca-floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

.page-ban-ca-register-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-ban-ca-login-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.page-ban-ca-register-btn:hover {
    background-color: var(--accent-color-light);
}

.page-ban-ca-login-btn:hover {
    background-color: var(--accent-color-dark);
    border-color: var(--accent-color-light);
}

/* 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-intro h2, .page-ban-ca-games h2, .page-ban-ca-benefits h2, .page-ban-ca-guide h2, .page-ban-ca-tips h2, .page-ban-ca-faq h2, .page-ban-ca-conclusion h2 {
        font-size: 2em;
    }
    .page-ban-ca-benefit-list, .page-ban-ca-tip-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-ban-ca-hero {
        padding: 60px 0;
    }
    .page-ban-ca-hero-content h1 {
        font-size: 2.5em;
    }
    .page-ban-ca-hero-content p {
        font-size: 1em;
    }
    .page-ban-ca-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-ban-ca-intro, .page-ban-ca-games, .page-ban-ca-benefits, .page-ban-ca-guide, .page-ban-ca-tips, .page-ban-ca-faq, .page-ban-ca-conclusion {
        padding: 40px 0;
    }
    .page-ban-ca-intro h2, .page-ban-ca-games h2, .page-ban-ca-benefits h2, .page-ban-ca-guide h2, .page-ban-ca-tips h2, .page-ban-ca-faq h2, .page-ban-ca-conclusion h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-ban-ca-game-grid {
        grid-template-columns: 1fr;
    }
    .page-ban-ca-benefit-list, .page-ban-ca-tip-grid {
        grid-template-columns: 1fr;
    }
    .page-ban-ca-step-list li {
        padding: 20px 25px;
    }
    .page-ban-ca-step-list li::before {
        left: -15px;
        top: 20px;
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-ban-ca-step-list h3 {
        font-size: 1.5em;
        padding-left: 25px;
    }
    .page-ban-ca-step-list p {
        padding-left: 25px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-ban-ca-floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    .page-ban-ca-floating-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-ban-ca-action-area {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-ban-ca-hero-content h1 {
        font-size: 2em;
    }
    .page-ban-ca-hero-content p {
        font-size: 0.9em;
    }
    .page-ban-ca-cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-ban-ca-intro h2, .page-ban-ca-games h2, .page-ban-ca-benefits h2, .page-ban-ca-guide h2, .page-ban-ca-tips h2, .page-ban-ca-faq h2, .page-ban-ca-conclusion h2 {
        font-size: 1.5em;
    }
    .page-ban-ca-game-card h3 {
        font-size: 1.3em;
    }
    .page-ban-ca-benefit-list li, .page-ban-ca-tip-item {
        padding: 20px;
    }
    .page-ban-ca-benefit-list h3, .page-ban-ca-tip-item h3 {
        font-size: 1.4em;
    }
    .page-ban-ca-step-list h3 {
        font-size: 1.3em;
    }
    .page-ban-ca-cta-large {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    .page-ban-ca-floating-buttons {
        bottom: 10px;
        right: 10px;
    }
    .page-ban-ca-floating-btn {
        padding: 8px 18px;
        font-size: 0.9em;
    }
}