/**
 * Album Carousel & Promo Styles
 * Styling for album promotion components across spiritual pages
 */

/* ============================================
   CAROUSEL COMPONENT
   ============================================ */
.album-carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(74, 26, 92, 0.4), rgba(26, 10, 31, 0.8));
    border: 1px solid rgba(255, 153, 51, 0.2);
}

.carousel-track {
    position: relative;
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 153, 51, 0.9);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: #FFD700;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active,
.carousel-dots .dot:hover {
    background: #FF9933;
    transform: scale(1.2);
}

/* ============================================
   ALBUM PROMO CARD (inside carousel)
   ============================================ */
.album-promo-card {
    display: flex;
    gap: 25px;
    padding: 25px;
    align-items: center;
}

@media (max-width: 768px) {
    .album-promo-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

.album-image {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-image:hover img {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-image:hover .album-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1DB954;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.album-info {
    flex: 1;
}

.album-tagline {
    display: inline-block;
    font-size: 0.8rem;
    color: #FF9933;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.album-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
    margin: 0 0 5px;
    font-family: 'Playfair Display', serif;
}

.album-title-en {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px;
}

.album-artist {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px;
}

.album-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 15px;
    line-height: 1.6;
}

.album-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .album-buttons {
        justify-content: center;
    }
}

.album-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.album-btn.spotify {
    background: #1DB954;
    color: #fff;
}

.album-btn.spotify:hover {
    background: #1ed760;
    transform: translateY(-2px);
}

.album-btn.ytmusic {
    background: #ff0000;
    color: #fff;
}

.album-btn.ytmusic:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.album-btn.more {
    background: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.album-btn.more:hover {
    background: rgba(255, 215, 0, 0.2);
}

/* ============================================
   SIDEBAR PROMO
   ============================================ */
.sidebar-album-promo {
    background: linear-gradient(135deg, rgba(74, 26, 92, 0.6), rgba(45, 27, 61, 0.8));
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 153, 51, 0.25);
}

.promo-header {
    margin-bottom: 12px;
}

.promo-badge {
    display: inline-block;
    background: rgba(255, 153, 51, 0.2);
    color: #FF9933;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.promo-image {
    width: 100%;
    max-width: 180px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.promo-title {
    font-size: 1.2rem;
    color: #FFD700;
    margin: 0 0 5px;
}

.promo-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 5px;
}

.promo-artist {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 15px;
}

.promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.promo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.promo-btn.spotify {
    background: #1DB954;
    color: #fff;
}

.promo-btn.ytmusic {
    background: #ff0000;
    color: #fff;
}

.promo-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.promo-link {
    display: block;
    color: #FF9933;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 10px;
}

.promo-link:hover {
    text-decoration: underline;
}

/* ============================================
   INLINE PROMO (between content sections)
   ============================================ */
.inline-album-promo {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(74, 26, 92, 0.3));
    border: 1px solid rgba(255, 153, 51, 0.25);
    border-radius: 16px;
    padding: 20px;
    margin: 30px 0;
}

.inline-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media (max-width: 600px) {
    .inline-content {
        flex-direction: column;
        text-align: center;
    }
}

.inline-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.inline-info {
    flex: 1;
}

.inline-badge {
    display: inline-block;
    font-size: 0.75rem;
    color: #FF9933;
    font-weight: 600;
    margin-bottom: 5px;
}

.inline-info h4 {
    font-size: 1.1rem;
    color: #FFD700;
    margin: 0 0 5px;
}

.inline-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 12px;
}

.inline-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 600px) {
    .inline-buttons {
        justify-content: center;
    }
}

.inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #FF9933, #e67300);
    color: #fff;
    transition: all 0.3s ease;
}

.inline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.4);
}

.inline-btn.outline {
    background: transparent;
    border: 1px solid rgba(255, 153, 51, 0.5);
    color: #FF9933;
}

/* ============================================
   MINI PROMO (compact version)
   ============================================ */
.mini-album-promo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mini-album-promo:hover {
    background: rgba(255, 153, 51, 0.2);
    transform: translateX(5px);
}

.mini-album-promo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mini-info span:first-child {
    font-size: 0.9rem;
    color: #FFD700;
    font-weight: 600;
}

.mini-cta {
    font-size: 0.8rem;
    color: #FF9933;
}

/* ============================================
   ALBUM BANNER (simple banner style)
   ============================================ */
.album-banner {
    background: linear-gradient(135deg, rgba(74, 26, 92, 0.5), rgba(26, 10, 31, 0.9));
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 153, 51, 0.2);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

@media (max-width: 600px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
}

.banner-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.banner-info {
    flex: 1;
}

.banner-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF9933, #FFD700);
    color: #1a0a1f;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-info h3 {
    font-size: 1.3rem;
    color: #FFD700;
    margin: 0 0 3px;
}

.banner-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.banner-artist {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 12px !important;
}

.banner-buttons {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

@media (max-width: 600px) {
    .banner-buttons {
        justify-content: center;
    }
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.banner-btn.primary {
    background: #1DB954;
    color: #fff;
}

.banner-btn.secondary {
    background: #ff0000;
    color: #fff;
}

.banner-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ============================================
   STICKY FLOATING SIDE BANNER
   ============================================ */
.sticky-album-banner {
    position: fixed;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-album-banner.right {
    right: 0;
}

.sticky-album-banner.left {
    left: 0;
    transform: translateY(-50%) translateX(-100%);
}

.sticky-album-banner.visible {
    transform: translateY(-50%) translateX(0);
}

.sticky-album-banner.visible.left {
    transform: translateY(-50%) translateX(0);
}

.sticky-banner-content {
    background: linear-gradient(180deg, rgba(26, 10, 31, 0.98), rgba(74, 26, 92, 0.95));
    border: 1px solid rgba(255, 153, 51, 0.4);
    border-right: none;
    border-radius: 16px 0 0 16px;
    padding: 15px;
    width: 160px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
}

.sticky-album-banner.left .sticky-banner-content {
    border-radius: 0 16px 16px 0;
    border-left: none;
    border-right: 1px solid rgba(255, 153, 51, 0.4);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.4);
}

.sticky-close {
    position: absolute;
    top: 5px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.sticky-close:hover {
    background: rgba(255, 0, 0, 0.3);
    color: #fff;
}

.sticky-album-link {
    display: block;
    margin-bottom: 10px;
}

.sticky-album-img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.sticky-album-img:hover {
    transform: scale(1.05);
}

.sticky-album-info {
    margin-bottom: 12px;
}

.sticky-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF9933, #FFD700);
    color: #1a0a1f;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.sticky-title {
    font-size: 0.95rem;
    color: #FFD700;
    margin: 0;
    font-weight: 600;
}

.sticky-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 2px 0 0;
}

.sticky-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sticky-btn.spotify {
    background: #1DB954;
    color: #fff;
}

.sticky-btn.ytmusic {
    background: #ff0000;
    color: #fff;
}

.sticky-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Carousel dots for multiple albums in sticky banner */
.sticky-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.sticky-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sticky-dots .dot.active {
    background: #FF9933;
    transform: scale(1.3);
}

/* Sticky slides */
.sticky-slides {
    position: relative;
}

.sticky-slide {
    display: none;
    animation: fadeIn 0.4s ease;
}

.sticky-slide.active {
    display: block;
}

/* Hide on mobile/tablet */
@media (max-width: 1200px) {
    .sticky-album-banner {
        display: none !important;
    }
}