/* recently-released.css */
.recently-released-container {
    position: relative;
}

.recently-released-slider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.recently-released-slider-row .recently-released-glassy-container {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.recently-released-notch-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    background: rgba(20, 24, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    padding: 0.5rem 2rem;
    color: var(--text-color, #fff);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    z-index: -20;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .recently-released-notch-title {
        padding: 0.5rem 1rem;
    }
}

.recently-released-nav-btn {
    flex-shrink: 0;
    background: rgba(20, 24, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    font-size: 1.5rem;
}

.recently-released-nav-btn:hover {
    background: rgba(120, 80, 250, 0.5);
    border-color: rgba(120, 80, 250, 0.6);
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .recently-released-nav-btn {
        display: none;
    }
}

.recently-released-glassy-wrapper {
    background: rgba(20, 24, 30, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 35px;
    position: relative;
    overflow: hidden;
}

.recently-released-display {
    position: relative;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    z-index: 1;
}

.recently-released-display::-webkit-scrollbar {
    height: 8px;
}

.recently-released-display::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.recently-released-display::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

.recently-released-card {
    flex: 0 0 auto;
    height: 300px;
    aspect-ratio: 600 / 900;
    position: relative;
    border-radius: 20px;
    background: rgba(30, 30, 35, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
    text-decoration: none;
}

.recently-released-card:hover {
    transform: translateY(-8px);
    border-color: rgba(120, 80, 250, 0.4);
}

.recently-released-card-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    border-radius: 20px;
}

.recently-released-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.recently-released-card:hover .recently-released-card-image {
    transform: scale(1.05);
}

.recently-released-fallback-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.8) 0%, rgba(120, 80, 250, 0.2) 100%);
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

.recently-released-fallback-bg h5 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.4;
    padding-bottom: 2rem;
    /* Make room for the bottom content title */
}

.recently-released-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
}

.recently-released-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent, #7a5cff);
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 10px var(--accent, #7a5cff);
    animation: recentlyReleasedPulse 2s infinite;
}

@keyframes recentlyReleasedPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

.recently-released-card-content {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    padding: 0.6rem 1rem;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(20, 24, 30, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) inset;
    transition: transform 0.4s ease, background 0.4s ease;
}

.recently-released-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}