/* WRAPPER — centers the whole section */
.sc-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; 
    padding: 20px;
}

/* FLEX-BASED GRID (GoDaddy-safe) */
.sc-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centers all cards */
    margin: 0 auto;
}

/* DESKTOP — 3 columns */
.sc-item {
    width: 31%;
    margin: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

/* SCROLL-IN ANIMATION */
.sc-item.sc-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET — 2 columns */
@media (max-width: 1024px) {
    .sc-item {
        width: 46%;
    }
}

/* MOBILE — 1 centered column */
@media (max-width: 600px) {
    .sc-item {
        width: 90%;
        max-width: 400px;
        margin: 10px auto;
    }
}

/* CARD INNER */
.sc-card {
    display: block;
    width: 100%;
    text-align: center;
}

/* IMAGE */
.sc-image-wrapper {
    position: relative;
    width: 100%;
}

.sc-image {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* PLAY OVERLAY */
.sc-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    border: none;
    cursor: pointer;
    color: #fff;
}

.sc-play-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(0,0,0,0.4);
}

/* COLLAPSIBLE PLAYER */
.sc-player-wrapper {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.sc-card--open .sc-player-wrapper {
    max-height: 200px;
    margin-top: 10px;
}

/* TITLE */
.sc-title {
    font-weight: 700;
    font-size: 18px;
    margin: 10px 0 4px 0;
    color: #222;
}

/* DATE */
.sc-date {
    font-weight: 600;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* BADGES */
.sc-playlists {
    margin-bottom: 12px;
}

.sc-badge {
    display: inline-block;
    background: #ff5500;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 2px 4px;
}

.sc-badge-click {
    cursor: pointer;
    transition: background .25s ease, transform .2s ease;
}

.sc-badge-click:hover {
    background: #ff6f26;
    transform: translateY(-2px);
}

/* PLACEHOLDER */
.sc-placeholder {
    background: #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    color: #777;
    padding: 20px;
}

/* FILTERS */
.sc-filter select,
#sc-search,
#sc-reset {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 6px;
    margin-right: 8px;
}

#sc-reset {
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* LOAD MORE */
#sc-load-more {
    display: block;
    margin: 25px auto;
    padding: 14px 28px;
    background: #ff5500;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 4px 12px rgba(255,85,0,0.3);
}

#sc-load-more:hover {
    background: #ff6f26;
    box-shadow: 0 6px 16px rgba(255,85,0,0.45);
    transform: translateY(-2px);
}

#sc-load-more.loading {
    pointer-events: none;
    opacity: 0.7;
}
