
.accounts-section {
    width: 100%;
    overflow: hidden;
    width: 100%;
    /* height: auto; */
    /* min-height: 100vh; */
}

.accounts-heading {
    opacity: 0;
    transform: translateY(30px);
}
.accounts-subheading {
    opacity: 0;
    transform: translateY(20px);
}

.h-scroll-outer {
    position: relative;
    width: 100%;
    height: 600px!important;
    overflow: hidden;
    cursor: grab;
    display: flex;
    flex-direction: column;
    justify-content: center;      
    align-items: flex-start;
}
.h-scroll-outer:active { cursor: grabbing; }

.h-scroll-track {
    display: flex;
    align-items: stretch;          
    gap: 24px;
    width: max-content;
    padding: 20px 50px;
    will-change: transform;
    user-select: none;
    flex-shrink: 0;
}


.nav-arrow-btn{
    background: rgba(20, 13, 4, 1);
    padding: 10px;
    border: 1px solid rgba(60, 38, 9, 1);
    border-radius: 10px;
}

.nav-arrow-btn:hover{
    background: linear-gradient(180deg, #140D04 0%, #362809 100%);
border: 1px solid rgba(117, 90, 55, 1)
}

.acc-card {
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(40px);
    transition: box-shadow 0.3s ease;
}
.acc-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.55),
                0 0 35px rgba(184,146,42,0.15);
}
.acc-card__icon {
    transition: transform 0.3s ease;
}
.acc-card:hover .acc-card__icon {
    transform: scale(1.08) rotate(-5deg);
}

.acc-card__badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid;
    background: transparent;
    text-transform: uppercase;
    white-space: nowrap;
}

.acc-card__bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: inherit;
    opacity: 0.9;
}

.h-scroll-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    width: 100%;
    flex-shrink: 0;
}

.h-scroll-progress {
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    width: 200px;
}
.h-scroll-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #B8922A, #FFD700);
    border-radius: 4px;
    transition: width 0.08s linear;
}

.acc-counter {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 3px;
}
#currentCard {
    color: #D4AF37;
    font-weight: 700;
}

.scroll-arrows { display: flex; gap: 12px; }
.scroll-arrow-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.35);
    background: transparent;
    color: rgba(212,175,55,0.6);
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.scroll-arrow-btn:hover {
    border-color: #D4AF37;
    color: #D4AF37;
    background: rgba(212,175,55,0.08);
}

@media (max-width: 1024px) {
    .h-scroll-track {
        gap: 20px;
        padding: 20px calc(50vw - 350px);
    }
}

@media (max-width: 767px) {

    html, body { overflow-x: hidden; }

    /* .h-scroll-outer {
        height: 100vh;
        height: 100dvh          
    } */
.h-scroll-outer {
        height: auto !important;
        padding: 40px 0;
    }
    .h-scroll-track {
        gap: 16px;
        padding: 16px calc(50vw - 150px);
    }

    .acc-card,
    .acc-card.account_card,
    .acc-card.gradient_card {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        box-sizing: border-box !important;
        padding: 20px 18px !important;
        border-radius: 14px !important;
    }

    .acc-card img.img-fluid,
    .acc-card .acc-card__icon {
        width: 48px !important;
        height: 48px !important;
    }

    .acc-card .d-flex.flex-column.gap-4 {
        gap: 10px !important;
    }

    .acc-card .f24 {
        font-size: 16px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }

    .acc-card .f14 {
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    .acc-card .f12 {
        font-size: 11px !important;
    }

    .acc-card .d-flex.gap-5 {
        gap: 6px !important;
        flex-wrap: wrap !important;
    }
    .acc-card .d-flex.gap-5 > .d-flex.flex-column {
        flex: 1 1 70px !important;
        min-width: 0 !important;
    }

    .acc-card .gradient_btn {
        padding: 8px 14px !important;
  font-size:8px!important;
        line-height: 11px;
        letter-spacing: -0.28px;
        padding:6px 17px!important;
    }
    .acc-card .gradient_btn img {
        width: 14px !important;
        height: 14px !important;
    }

    .acc-card__badge {
        font-size: 9px !important;
        padding: 3px 7px !important;
        letter-spacing: 1px !important;
    }

    .acc-card .gradient_border {
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }

    .h-scroll-progress { width: 160px; }

    .h-scroll-ui {
        padding-top: 14px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .h-scroll-track {
        padding: 16px calc(50vw - 180px);
        gap: 14px;
    }

    .acc-card,
    .acc-card.account_card,
    .acc-card.gradient_card {
        width:340px !important;
        min-width:340px !important;
        max-width:340px !important;
        padding: 16px 14px !important;
    }

    .acc-card .f24 { font-size: 14px !important; }
    .acc-card .f14 { font-size: 11px !important; }
    .acc-card .f12 { font-size: 10px !important; }

    /* .acc-card img.img-fluid,
    .acc-card .acc-card__icon {
        width: 20px !important;
        height: 20px !important;
    } */
    

    /* .h-scroll-track { padding: 16px calc(50vw - 120px); } */
}