*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

.fx_height{
    min-height:450px;
    background: aliceblue;
    border-radius: 10px;
}

section{
    overflow: hidden;
    height: auto;
    width: 100%;
}
.wallet-action-btn{
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    outline: none;
    border: 1px solid lightgray;
}
.wallet-action-btn i{
    color:#3F51B5;
}
.wallet-action-btn span{
 font-family: cursive;
}
.cpc{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cpc a{
    height: 100px;
    width: 260px;
    overflow: hidden;
    text-decoration: none;
    background: #2c2c2c;
    padding: 10px;
    border-radius: 10px;
    color: white
}
.cpc a img{
    height: 45px;
    width: 45px;
    object-fit: cover;
}
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 200px;
}
.ellipsis-span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 250px;
}


.card_cbtn {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When element enters view */
.card_cbtn.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Optional: stagger effect */
.card_cbtn.in-view {
    animation: trendingFade 0.6s ease forwards;
}

/* Keyframe */
@keyframes trendingFade {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Skeleton base */
.skeleton {
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Shimmer animation */
.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skeleton-card {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 180px;
}

.skeleton-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.skeleton-line {
    height: 12px;
    width: 80%;
    border-radius: 4px;
}
