/* BEM: page-ban-ca__element */
.page-ban-ca {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    color: #333333;
    background: #FFFFFF;
    line-height: 1.6;
}

.page-ban-ca__section-title {
    color: #26A9E0;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.2px;
    max-width: 900px;
}

/* Hero section - main image on top, content below */
.page-ban-ca__hero-section {
    background: linear-gradient(135deg, #E6F4FF 0%, #FFFFFF 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 16px 24px;
    width: 100%;
    box-sizing: border-box;
}

.page-ban-ca__hero-image {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.page-ban-ca__hero-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(38, 169, 224, 0.15);
}

.page-ban-ca__hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.page-ban-ca__hero-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.3;
    margin: 0 0 16px;
    color: #0C4B6E;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.page-ban-ca__hero-description {
    margin: 0 0 24px;
    color: #555555;
    font-size: 1.05rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.25s ease;
    margin: 4px;
}

.page-ban-ca__button--promo {
    background: #EA7C07;
    color: #FFFFFF;
}

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

.page-ban-ca__button--promo:hover,
.page-ban-ca__button--secondary:hover {
    opacity: 0.9;
}

/* Intro section */
.page-ban-ca__intro-section {
    padding: 40px 16px;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
}

.page-ban-ca__intro-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.page-ban-ca__intro-title {
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.page-ban-ca__intro-text {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
    font-size: 1rem;
}

/* Features section */
.page-ban-ca__features-section {
    padding: 40px 16px;
    background: #F3FAFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca__features-title {
    margin-bottom: 32px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    text-align: center;
}

.page-ban-ca__features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    width: 100%;
}

.page-ban-ca__feature-card {
    background: #FFFFFF;
    border: 1px solid #E0F0FA;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(38, 169, 224, 0.08);
    text-align: center;
}

.page-ban-ca__feature-title {
    color: #26A9E0;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* Top games section */
.page-ban-ca__top-games-section {
    padding: 40px 16px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca__top-games-title {
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    text-align: center;
}
.page-ban-ca__top-games-subtitle {
    margin: 0 0 24px;
    color: #555555;
    text-align: center;
    max-width: 500px;
}

.page-ban-ca__top-games-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    width: 100%;
}

.page-ban-ca__game-card {
    background: #FFFFFF;
    border: 1px solid #E0F0FA;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(38, 169, 224, 0.08);
    padding: 8px;
}

.page-ban-ca__game-card-image {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 8px;
}

.page-ban-ca__game-card-title {
    color: #26A9E0;
    margin: 16px 0 8px;
    font-size: 1.25rem;
}

.page-ban-ca__game-card-description {
    padding: 0 12px;
    margin: 0 0 12px;
    color: #555555;
    font-size: 0.9rem;
}

/* Guide section */
.page-ban-ca__guide-section {
    padding: 40px 16px;
    background: #F3FAFF;
}

.page-ban-ca__guide-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.page-ban-ca__guide-inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-ban-ca__guide-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

.page-ban-ca__guide-figure,
.page-ban-ca__guide-figure img {
    width: 100%;
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 12px;
}

.page-ban-ca__guide-subtitle {
    color: #26A9E0;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 8px;
}

.page-ban-ca__guide-text {
    color: #444444;
}

.page-ban-ca__guide-highlight {
    background: #26A9E0;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
}

.page-ban-ca__guide-extended {
    text-align: center;
    margin-bottom: 16px;
}

.page-ban-ca__guide-section .page-ban-ca__button--promo {
    display: inline-block;
    width: auto;
}

/* FAQ section */
.page-ban-ca__faq-section {
    padding: 40px 16px;
    background: #FFFFFF;
}

.page-ban-ca__faq-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.page-ban-ca__faq-item {
    background: #F9FDFF;
    border-radius: 8px;
    border: 1px solid #E0F0FA;
    margin-bottom: 12px;
    padding: 10px 16px;
}

.page-ban-ca__faq-question {
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #0C4B6E;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page-ban-ca__faq-question::-webkit-details-marker {
    display: none;
}
.page-ban-ca__faq-toggle {
    font-size: 1.5rem;
    font-weight: 400;
}
.page-ban-ca__faq-answer {
    color: #333333;
    margin: 8px 0 0;
    border-top: 1px solid #E0F0FA;
    padding-top: 8px;
}

/* 768px breakpoint */
@media (max-width: 768px) {
    .page-ban-ca__hero-section {
        padding: 8px 12px 16px;
    }
    .page-ban-ca__hero-img {
        max-width: 100%; 
        height: auto;
        aspect-ratio: 16/9;
    }
    .page-ban-ca__hero-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    .page-ban-ca__features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-ban-ca__top-games-list {
        grid-template-columns: 1fr;
    }
    .page-ban-ca__game-card {
        margin-bottom: 16px;
    }
    .page-ban-ca__guide-item {
        grid-template-columns: 1fr;
    }
    .page-ban-ca__guide-figure {
        margin-bottom: 16px;
    }
    .page-ban-ca__guide-figure img {
        max-width: 100%;
        height: auto;
    }
    .page-ban-ca__guide-section .page-ban-ca__button--promo {
        width: 100%; 
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        display: block;
        max-width: 100%;
        overflow: hidden;
        margin: 8px auto 0;
        text-align: center;
        padding: 12px 16px;
    }
    .page-ban-ca__guide-text, .page-ban-ca__guide-highlight, .page-ban-ca__intro-text {
        max-width: 100%;
    }
    .page-ban-ca__faq-question {
        font-size: 0.95rem;
    }
    .page-ban-ca__faq-answer {
        font-size: 0.9rem;
    }
    .page-ban-ca__button {
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        margin: 8px auto;
    }
    .page-ban-ca__hero-content {
        max-width: 100%;
    }

    .page-ban-ca__hero-title,
    .page-ban-ca__hero-description {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    .page-ban-ca__features-title,
    .page-ban-ca__top-games-title,
    .page-ban-ca__guide-title,
    .page-ban-ca__faq-title,
    .page-ban-ca__intro-title {
        font-size: 1.3rem;
    }
    .page-ban-ca__feature-card {
        padding: 16px;
    }
    .page-ban-ca__top-games-list, .page-ban-ca__features-grid {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .page-ban-ca__features-grid {
        grid-template-columns: 1fr;
    }
    .page-ban-ca__button--promo,
    .page-ban-ca__button--secondary {
        margin: 4px 0;
    }
    .page-ban-ca__hero-title {
        font-size: 1.5rem;
    }
}

/* max-width for all imgs in page-ban-ca */
.page-ban-ca img {
    max-width: 100%;
    height: auto;
}

/* content area images min 200px width */
.page-ban-ca__game-card-image,
.page-ban-ca__guide-figure img,
.page-ban-ca__hero-img {
    min-width: 200px;
}

/* No CSS filter */
.page-ban-ca__game-card-image,
.page-ban-ca__guide-figure img,
.page-ban-ca__hero-img {
    filter: none;
}

.page-ban-ca__guide-section .page-ban-ca__button--promo {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.page-ban-ca__hero-section .page-ban-ca__button--secondary {
    margin-left: 8px;
}

.page-ban-ca__guide-inner {
    text-align: center;
}

.page-ban-ca__guide-item {
    text-align: left;
}