/* ===== Bắn Cá page styles - page-ban-ca ===== */

.page-ban-ca {
    color: #ffffff;
    background-color: #0A0A0A;
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== Hero Section ===== */
.page-ban-ca__hero-section {
    background-color: #0A0A0A;
    border-bottom: 1px solid #3A2A12;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px 0;
}

.page-ban-ca__hero-image {
    width: 100%;
}

.page-ban-ca__hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 17 / 5;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #3A2A12;
}

.page-ban-ca__hero-content {
    background: linear-gradient(180deg, rgba(255, 214, 106, 0.12) 0%, rgba(10, 10, 10, 0) 100%);
    border-radius: 16px;
    margin-top: 16px;
    padding: 24px 16px 32px;
    text-align: center;
}

.page-ban-ca__hero-title {
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #FFF6D6;
    margin: 0 auto 12px;
    max-width: 760px;
    font-size: clamp(24px, 3vw, 36px);
}

.page-ban-ca__hero-desc {
    color: #D0DDE7;
    max-width: 680px;
    margin: 0 auto 20px;
    font-size: 16px;
    line-height: 1.6;
}

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

.page-ban-ca__btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.page-ban-ca__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    box-shadow: 0 4px 14px rgba(255, 211, 107, 0.35);
}

.page-ban-ca__btn--secondary {
    background: #111111;
    color: #F2C14E;
    border: 1px solid #F2C14E;
}

.page-ban-ca__btn--cta {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    box-shadow: 0 4px 20px rgba(255, 211, 107, 0.4);
    padding: 14px 40px;
    font-size: 17px;
}

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

.page-ban-ca__btn--primary:hover,
.page-ban-ca__btn--cta:hover {
    box-shadow: 0 6px 24px rgba(255, 211, 107, 0.5);
}

.page-ban-ca__btn--secondary:hover {
    border-color: #FFD36B;
    color: #FFD36B;
}

/* ===== Logo Section (4+2 layout) ===== */
.page-ban-ca__logo-section {
    background-color: #0A0A0A;
    padding: 48px 16px;
    border-bottom: 1px solid #3A2A12;
}

.page-ban-ca__logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 16px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.page-ban-ca__logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 280px;
    width: 100%;
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 16px;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-ban-ca__logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.2);
}

.page-ban-ca__logo-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    border-radius: 8px;
}

.page-ban-ca__logo-cta {
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-ban-ca__logo-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(255, 211, 107, 0.4);
}

/* 5th and 6th items centered visibly */
.page-ban-ca__logo-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

.page-ban-ca__logo-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}

/* ===== Guide Section ===== */
.page-ban-ca__guide-section {
    background-color: #0A0A0A;
    padding: 64px 16px 80px;
}

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

.page-ban-ca__guide-title {
    color: #FFF6D6;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 48px;
    letter-spacing: -0.3px;
}

.page-ban-ca__guide-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.page-ban-ca__guide-figure {
    margin: 0 0 16px;
}

.page-ban-ca__guide-img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 12px;
    max-height: 400px;
}

.page-ban-ca__guide-item h3 {
    font-size: 20px;
    color: #F2C14E;
    margin-bottom: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.page-ban-ca__guide-item p {
    color: #D0DDE7;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.page-ban-ca__guide-item p:last-child {
    margin-bottom: 0;
}

/* CTA Box */
.page-ban-ca__cta-box {
    background: linear-gradient(135deg, rgba(255, 211, 107, 0.12) 0%, rgba(17, 17, 17, 0.95) 100%);
    border: 1px solid #F2C14E;
    border-radius: 20px;
    padding: 32px 24px;
    margin-top: 40px;
    text-align: center;
}

.page-ban-ca__cta-box h3 {
    font-size: 24px;
    color: #FFF6D6;
    margin-bottom: 12px;
    line-height: 1.3;
}

.page-ban-ca__cta-box p {
    color: #D0DDE7;
    max-width: 420px;
    margin: 0 auto 20px;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Responsive: Tablet / Mobile ===== */
@media (max-width: 1024px) {
    .page-ban-ca__hero-title {
        font-size: clamp(22px, 3vw, 30px);
    }
    
    .page-ban-ca__hero-desc {
        font-size: 15px;
    }

    .page-ban-ca__guide-title {
        font-size: 25px;
    }
}

@media (max-width: 768px) {
    .page-ban-ca__hero-section {
        padding: 8px 12px 0;
    }

    .page-ban-ca__hero-img {
        aspect-ratio: 2 / 1;
    }

    .page-ban-ca__hero-content {
        padding: 16px 12px 24px;
        margin-top: 12px;
    }

    .page-ban-ca__hero-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .page-ban-ca__hero-desc {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .page-ban-ca__hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
        gap: 8px;
    }

    .page-ban-ca__btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        padding: 12px 20px;
        font-size: 15px;
    }

    /* Logo grid to 2 columns, remove grid-column override */
    .page-ban-ca__logo-section {
        padding: 32px 12px;
    }

    .page-ban-ca__logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .page-ban-ca__logo-item {
        padding: 10px;
        max-width: 100%;
    }

    /* Cancel desktop 4+2 positions */
    .page-ban-ca__logo-item:nth-child(5),
    .page-ban-ca__logo-item:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
    }

    .page-ban-ca__logo-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    .page-ban-ca__guide-section {
        padding: 40px 12px 56px;
    }

    .page-ban-ca__guide-title {
        font-size: 20px;
        margin-bottom: 32px;
        line-height: 1.4;
    }

    .page-ban-ca__guide-item {
        padding: 14px;
    }

    .page-ban-ca__guide-item h3 {
        font-size: 17px;
    }

    .page-ban-ca__guide-item p {
        font-size: 14px;
        white-space: normal;
        word-wrap: break-word;
    }

    .page-ban-ca__cta-box h3 {
        font-size: 20px;
    }

    .page-ban-ca__cta-box p {
        font-size: 14px;
    }

    /* Generic mobile image overflow guard */
    .page-ban-ca img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Prevent horizontal scroll on mobile */
    .page-ban-ca {
        overflow-x: hidden;
        max-width: 100%;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .page-ban-ca__hero-title {
        font-size: 19px;
    }

    .page-ban-ca__logo-item {
        font-size: 12px;
    }

    .page-ban-ca__guide-title {
        font-size: 18px;
    }
}