/* style/ban-ca.css */

:root {
    --primary-color: #C61F1F;
    --secondary-color: #E53030;
    --text-main-color: #FFF1E8;
    --background-color-dark: #140C0C;
    --card-bg-color: #2A1212;
    --border-color: #6A1E1E;
    --gold-color: #F3C54D;
    --deep-red-color: #7E0D0D;
    --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-ban-ca {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for dark background */
    background-color: var(--background-color-dark);
}

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

.page-ban-ca__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    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: var(--gold-color);
    border-radius: 2px;
}

.page-ban-ca__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-main-color);
}

.page-ban-ca__dark-bg {
    background-color: var(--background-color-dark);
    color: var(--text-main-color);
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-ban-ca__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(243, 197, 77, 0.2);
}

.page-ban-ca__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--background-color-dark);
    transform: translateY(-2px);
}

.page-ban-ca__center-btn {
    display: block;
    margin: 30px auto;
    width: fit-content;
}

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    background-color: var(--background-color-dark);
}

.page-ban-ca__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.page-ban-ca__hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    display: block;
}

.page-ban-ca__hero-text-container {
    max-width: 800px;
}

.page-ban-ca__main-title {
    font-size: 3.2em;
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-ban-ca__hero-description {
    font-size: 1.2em;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

.page-ban-ca__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Bắn Cá Section */
.page-ban-ca__about-banca-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

/* Features Section */
.page-ban-ca__features-section {
    padding: 60px 0;
    background-color: var(--background-color-dark);
}

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

.page-ban-ca__feature-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-ban-ca__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__feature-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-ban-ca__feature-title {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-ban-ca__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main-color);
}

/* Guide Section */
.page-ban-ca__guide-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

.page-ban-ca__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-ban-ca__guide-step-card {
    background-color: var(--background-color-dark);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-ban-ca__step-number {
    font-size: 3em;
    font-weight: 900;
    color: var(--deep-red-color);
    margin-bottom: 15px;
}

.page-ban-ca__step-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-ban-ca__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

/* Strategy Section */
.page-ban-ca__strategy-section {
    padding: 60px 0;
    background-color: var(--background-color-dark);
}

.page-ban-ca__strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-ban-ca__strategy-list li {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--gold-color);
}

.page-ban-ca__strategy-item-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-ban-ca__strategy-item-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main-color);
}

/* Promotions Section */
.page-ban-ca__promotions-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

.page-ban-ca__promo-card {
    background-color: var(--background-color-dark);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-ban-ca__promo-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-ban-ca__promo-card .page-ban-ca__promo-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--gold-color);
    padding: 20px 20px 10px;
}

.page-ban-ca__promo-card .page-ban-ca__promo-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main-color);
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-ban-ca__promo-card .page-ban-ca__btn-secondary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* Platform Trust Section */
.page-ban-ca__platform-trust-section {
    padding: 60px 0;
    background-color: var(--background-color-dark);
}

.page-ban-ca__trust-points {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.page-ban-ca__trust-point {
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.page-ban-ca__trust-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__trust-text {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main-color);
}

/* FAQ Section */
.page-ban-ca__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

.page-ban-ca__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-ban-ca__faq-item {
    background-color: var(--background-color-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    list-style: none;
}

.page-ban-ca__faq-question::-webkit-details-marker {
    display: none;
}

.page-ban-ca__faq-question::marker {
    display: none;
}

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-main-color);
}

/* CTA Section */
.page-ban-ca__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--deep-red-color);
}

.page-ban-ca__cta-buttons-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* General image styling for content areas */
.page-ban-ca img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-ban-ca__container {
        padding: 15px;
    }

    .page-ban-ca__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-ban-ca__main-title {
        font-size: 2.5em;
    }

    .page-ban-ca__hero-description {
        font-size: 1.1em;
    }

    .page-ban-ca__features-grid,
    .page-ban-ca__guide-steps,
    .page-ban-ca__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-ban-ca__trust-points {
        flex-direction: column;
        align-items: center;
    }

    .page-ban-ca__trust-point {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-ban-ca__hero-section { 
        padding-top: 10px !important; /* Retain small top padding */
        padding-bottom: 30px;
    }

    .page-ban-ca__hero-content-wrapper {
        padding: 15px;
    }

    .page-ban-ca__hero-image-container {
        margin-bottom: 20px;
    }

    .page-ban-ca__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-ban-ca__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-ban-ca__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary {
        padding: 10px 20px;
        font-size: 0.95em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-ban-ca__features-section,
    .page-ban-ca__guide-section,
    .page-ban-ca__promotions-section,
    .page-ban-ca__platform-trust-section,
    .page-ban-ca__faq-section,
    .page-ban-ca__cta-section {
        padding: 40px 0;
    }

    .page-ban-ca__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-ban-ca__text-block {
        font-size: 0.95em;
        line-height: 1.7;
    }

    .page-ban-ca__features-grid,
    .page-ban-ca__guide-steps,
    .page-ban-ca__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__feature-title,
    .page-ban-ca__step-title,
    .page-ban-ca__promo-card .page-ban-ca__promo-title,
    .page-ban-ca__strategy-item-title {
        font-size: 1.3em;
    }

    .page-ban-ca__step-number {
        font-size: 2.5em;
    }

    .page-ban-ca__promo-image {
        height: 180px; /* Adjust for smaller screens */
    }

    .page-ban-ca__trust-points {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .page-ban-ca__trust-point {
        max-width: 95%;
        width: 100%;
    }

    .page-ban-ca__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-ban-ca__faq-answer {
        padding: 0 20px 15px;
    }

    .page-ban-ca__cta-buttons-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    /* Ensure all images are responsive */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-ban-ca__container,
    .page-ban-ca__section,
    .page-ban-ca__card,
    .page-ban-ca__box,
    .page-ban-ca__feature-card,
    .page-ban-ca__guide-step-card,
    .page-ban-ca__promo-card,
    .page-ban-ca__trust-point,
    .page-ban-ca__faq-item,
    .page-ban-ca__cta-buttons-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Specific rules for guide cards (上二下三) - not explicitly a 5-card grid, but adapting for general grid */
    .page-ban-ca__guide-steps {
        grid-template-columns: 1fr; /* Default to single column on mobile */
    }

    /* home_content box (not explicitly present on this page, but if it were, this rule would apply) */
    /* .page-ban-ca__home-content-box { max-width: 100%; height: auto; } */
    /* .page-ban-ca__home-content-inner { height: auto; overflow: visible; } */

    /* Blog cards (not explicitly present on this page, but if it were, this rule would apply) */
    /* .page-ban-ca__blog-grid { grid-template-columns: 1fr; } */
}

@media (max-width: 480px) {
    .page-ban-ca__main-title {
        font-size: 1.8em;
    }

    .page-ban-ca__section-title {
        font-size: 1.6em;
    }

    .page-ban-ca__hero-buttons {
        gap: 10px;
    }
}