/* Base styles for the page */
.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff;
}

/* Hero Section */
.page-ban-ca__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as body handles header offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Enforce image-then-text structure */
    align-items: center;
    text-align: center;
}

.page-ban-ca__hero-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px; /* Space between image and content */
}

.page-ban-ca__hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.page-ban-ca__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-ban-ca__main-title {
    color: #26A9E0; /* Brand color for main title */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

.page-ban-ca__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-ban-ca__hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to prevent buttons from touching edges */
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure button adapts to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    text-align: center;
}

.page-ban-ca__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-ban-ca__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-ban-ca__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-ban-ca__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a8cc4;
    border-color: #1a8cc4;
}

/* General Section Styling */
.page-ban-ca__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-ban-ca__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-ban-ca__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-ban-ca__section-title {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
    color: inherit; /* Inherit color from parent section */
}

.page-ban-ca__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-ban-ca__text-block strong {
    color: inherit;
}

.page-ban-ca__text-block a {
    color: #EA7C07; /* Link color for login */
    text-decoration: underline;
}

.page-ban-ca__text-block a:hover {
    color: #d16b06;
}

.page-ban-ca__image-wrapper {
    text-align: center;
    margin: 30px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

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

.page-ban-ca__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure cards are same height */
    box-sizing: border-box;
}

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

.page-ban-ca__feature-description {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-ban-ca__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    display: block;
}

/* Game Types Section */
.page-ban-ca__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-ban-ca__game-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

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

.page-ban-ca__game-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-ban-ca__game-description {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555555;
    flex-grow: 1;
}

/* Guide Section */
.page-ban-ca__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-ban-ca__guide-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-left: 5px solid #EA7C07;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__guide-step-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.page-ban-ca__guide-step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Promotions Section */
.page-ban-ca__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-ban-ca__promo-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-ban-ca__promo-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-ban-ca__promo-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555555;
    flex-grow: 1;
}

/* Why Choose Section */
.page-ban-ca__reasons-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-ban-ca__reason-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-ban-ca__reason-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.page-ban-ca__reason-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #f0f0f0;
    flex-grow: 1;
}

/* FAQ Section */
.page-ban-ca__faq-list {
    margin-top: 30px;
}

.page-ban-ca__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #eaf6fc; /* Lighter blue for summary background */
    border-bottom: 1px solid #d0e8f8;
    list-style: none; /* Hide default marker */
}

.page-ban-ca__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-ban-ca__faq-qtext {
    flex-grow: 1;
    color: #26A9E0;
}

.page-ban-ca__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0;
    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: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
    background-color: #FFFFFF;
}

/* CTA Section */
.page-ban-ca__cta-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-ban-ca__cta-container {
    padding-top: 0;
    padding-bottom: 0;
}

.page-ban-ca__cta-section .page-ban-ca__section-title {
    color: #FFFFFF;
    margin-bottom: 25px;
}

.page-ban-ca__cta-section .page-ban-ca__text-block {
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}