﻿/* Plan Heading */
.premium-bundle-plan-featured {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    gap: 10px;
    width: 100%;
    height: 68px;
    background: linear-gradient(90deg, #3627CB 0%, #D90958 100%);
    border-radius: 20px 20px 0 0;
}

.premium-bundle-plan-name-featured {
    width: auto;
    flex-grow: 1;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.21;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    text-shadow: 0 2.8px 8.4px rgba(30, 215, 96, 0.1);
}

.premium-bundle-channels {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 0;
    gap: 4px;
}

.premium-bundle-channel-count,
.premium-bundle-channel-breakdown {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-size: 0.875rem;
    line-height: 1.14;
    color: #FFFFFF;
}

/* Responsive layout changes for smaller screens */
@media screen and (max-width: 768px) {
    .premium-bundle-plan-featured {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        min-height: 68px;
        padding: 16px 20px;
        gap: 8px;
    }

    .premium-bundle-plan-name-featured {
        width: 100%;
        font-size: 1.25rem;
        margin-bottom: 4px;
    }

    .premium-bundle-channels {
        display: block;
        align-items: flex-start;
        align-self: flex-start;
        gap: 2px;
    }

    .premium-bundle-channel-count,
    .premium-bundle-channel-breakdown {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .premium-bundle-plan-featured {
        padding: 12px 16px;
        gap: 6px;
    }

    .premium-bundle-plan-name-featured {
        font-size: 1.125rem;
        line-height: 1.2;
    }

    .premium-bundle-channel-count,
    .premium-bundle-channel-breakdown {
        font-size: 0.75rem;
    }
}


/* Premium Bundle Section */
.premium-bundle-wrapper {
    width: 100%;
    background: linear-gradient(0deg, rgba(18, 18, 18, 0.75), rgba(18, 18, 18, 0.75)), url('/Content/images/backgrounds/premium-bundle-2.jpg');
    background-size: cover;
    background-position: center;
}

.premium-bundle-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px;
    gap: 64px;
    width: 100%;
    margin: 0 auto;
}

.premium-bundle-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

.premium-bundle-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    width: 100%;
    margin-bottom: 64px;
}

.premium-bundle-heading {
    width: 100%;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.21;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0px 4px 12px rgba(30, 215, 96, 0.1);
}

.premium-bundle-description {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.17;
    text-align: center;
    color: #FFFFFF;
}

/* Premium Bundle Carousel */
.premium-bundle-carousel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 40px;
    gap: 40px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    margin-bottom: 40px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    position: relative;
}

    .premium-bundle-carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

    .premium-bundle-carousel.grabbing {
        cursor: grabbing !important;
        user-select: none;
    }

/* Premium Bundle Card */
.premium-bundle-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 12px;
    background: #FFFFFF;
    flex: 0 0 auto;
    position: relative;
    scroll-snap-align: center;
    transition: all 0.3s ease;
}

.premium-bundle-card-featured {
    width: 540px;
    height: 324px;
    padding: 0;
    gap: 24px;
    border-radius: 20px;
}


@media screen and (min-width: 1025px) {
    .premium-bundle-container {
        max-width: 1800px;
        padding: 0 20px;
    }

    .premium-bundle-carousel {
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 40px 60px;
        max-width: none;
        margin: 0;
    }

    .premium-bundle-card-featured {
        width: 500px;
        margin: 0 15px;
        flex-shrink: 0;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .premium-bundle-carousel {
        padding: 16px 40px;
    }

    .premium-bundle-card-featured {
        width: 380px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .premium-bundle-carousel {
        padding: 20px 60px;
        gap: 30px;
    }

    .premium-bundle-card-featured {
        width: 450px;
        height: 320px;
    }
}

.premium-bundle-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    height: 100%;
}

/* Main content container */
.premium-bundle-main-content {
    /*display: flex;*/
    width: 100%;
    padding: 0 24px 24px;
    flex-grow: 1;
}

/* Details */
.premium-bundle-details {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* justify-content: center;*/
    align-items: center;
    padding: 16px;
    gap: 20px;
    margin-top: 12px;
    width: 100%;
    border: 1px solid rgba(125, 125, 125, 0.5);
    border-radius: 12px;
}

    .premium-bundle-details > p {
        font-family: 'Roboto', sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.19;
        color: #121212;
        width: 100%;
        margin: 0;
    }

/* Shows */
.premium-bundle-shows {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 9px;
    width: 100%;
    height: 40px;
    overflow-x: auto;
}

.premium-bundle-show-logo {
    height: 40px;
    width: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .premium-bundle-show-logo img {
        max-height: 40px;
        max-width: 100%;
        object-fit: contain;
    }

/* Footer */
.premium-bundle-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px 24px;
    gap: 12px; /* Reduce gap */
    width: 100%;
    box-sizing: border-box; /* Ensure proper sizing */
    overflow: hidden; /* Prevent overflow */
}

/* Access */
.premium-bundle-access {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
}

.premium-bundle-plus {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.15;
    display: flex;
    align-items: center;
    color: #121212;
}

.premium-bundle-mobile,
.premium-bundle-premium {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 8px;
}

    .premium-bundle-mobile span,
    .premium-bundle-premium span {
        font-family: 'Roboto', sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 0.875rem;
        line-height: 1.14;
        display: flex;
        align-items: center;
        text-align: center;
        color: #7D7D7D;
    }

.premium-bundle-mobile-icon,
.premium-bundle-premium-icon,
.premium-bundle-disney-icon {
    width: 35px;
    height: 35px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
}

.premium-bundle-disney-icon {
    background-image: url('/Content/images/channels/disney-plus.png');
}

.premium-bundle-mobile-icon {
    background-image: url('/Content/images/channels/max-july.png');
}

.premium-bundle-premium-icon {
    background-image: url('/Content/images/channels/premium-logo.png');
}

/* Carousel Controls */
.premium-bundle-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 32px;
    width: 100%;
    justify-content: center;
}

.premium-bundle-indicators {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 16px;
    height: 28px;
    justify-content: center;
}

/* Hide indicators that exceed the maximum */
.premium-bundle-indicator:nth-child(n+5),
.premium-bundle-indicator-active:nth-child(n+5) {
    display: none;
}

.premium-bundle-indicator-active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 16px;
    width: 52px;
    height: 28px;
    border: 1px solid #FFFFFF;
    border-radius: 16px;
    cursor: pointer;
}

.premium-bundle-indicator-bar {
    width: 36px;
    height: 12px;
    background: #FFFFFF;
    border-radius: 12px;
}

.premium-bundle-indicator {
    width: 12px;
    height: 12px;
    background: #7D7D7D;
    border-radius: 12px;
    cursor: pointer;
}

@media screen and (min-width: 1441px) {
    .premium-bundle-carousel {
        padding: 40px 80px;
        max-width: 1700px;
    }

    .premium-bundle-card-featured {
        width: 520px;
        margin: 0 20px;
    }
}

/* Responsive styles */
@media screen and (max-width: 1440px) {
    .premium-bundle-section {
        padding: 48px 32px;
        gap: 48px;
    }

    .premium-bundle-copy {
        margin-bottom: 48px;
    }

    .premium-bundle-carousel {
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .premium-bundle-section {
        padding: 32px 16px;
        gap: 32px;
    }

    .premium-bundle-copy {
        margin-bottom: 32px;
    }

    .premium-bundle-heading {
        font-size: 2.25rem;
        line-height: 1.22;
    }

    .premium-bundle-description {
        font-size: 1rem;
    }

    .premium-bundle-card-featured {
        width: 400px;
        height: 340px; 
    }

    .premium-bundle-main-content {
        padding: 0 20px 20px;
    }

    .premium-bundle-footer {
        padding: 0 20px 20px;
    }

    .premium-bundle-show-logo {
        width: 50px;
        height: 35px;
    }

        .premium-bundle-show-logo img {
            max-height: 35px;
        }

    .premium-bundle-carousel {
        gap: 20px;
        padding: 16px 30px;
        overflow-x: auto;
    }

    .premium-bundle-controls {
        gap: 24px;
    }
}

@media screen and (max-width: 520px) {
    .premium-bundle-footer {
        gap: 8px;
        padding: 0 20px 20px;
    }

    .premium-bundle-access {
        gap: 4px;
    }

    .premium-bundle-mobile span,
    .premium-bundle-premium span {
        font-size: 0.7rem;
    }

    .premium-bundle-plus {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 400px) {
    .premium-bundle-footer {
        gap: 6px;
        padding: 0 16px 16px;
    }

    .premium-bundle-mobile-icon,
    .premium-bundle-premium-icon,
    .premium-bundle-disney-icon {
        width: 24px;
        height: 24px;
    }
}

@media screen and (max-width: 480px) {
    .premium-bundle-heading {
        font-size: 1.75rem;
        line-height: 1.21;
    }

    .premium-bundle-description {
        font-size: 0.875rem;
    }

    .premium-bundle-card-featured {
        width: 320px;
        height: 370px;
    }

    .premium-bundle-main-content {
        padding: 0 16px 16px;
    }

    .premium-bundle-details {
        padding: 12px;
        gap: 16px;
    }

        .premium-bundle-details > p {
            font-size: 0.875rem;
        }

    .premium-bundle-shows {
        height: 30px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .premium-bundle-show-logo {
        width: 40px;
        height: 30px;
    }

        .premium-bundle-show-logo img {
            max-height: 30px;
        }

    .premium-bundle-card-featured .premium-bundle-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 16px !important;
        gap: 16px !important;
        width: 100% !important;
        order: 10 !important;
    }

    .premium-bundle-card-featured .premium-bundle-access {
        width: 100% !important;
        justify-content: center !important;
        order: 1 !important;
    }

    .premium-bundle-footer .btn-primary-bordered {
        flex-shrink: 0;
        overflow: hidden;
    }

    .premium-bundle-card-featured .premium-bundle-footer .btn-primary-bordered {
        width: 100% !important;
        margin-top: 12px !important;
        order: 2 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .premium-bundle-plus {
        font-size: 1rem;
    }

    .premium-bundle-mobile-icon,
    .premium-bundle-premium-icon {
        width: 28px;
        height: 28px;
    }

    .premium-bundle-mobile span,
    .premium-bundle-premium span {
        font-size: 0.75rem;
    }

    .premium-bundle-controls {
        gap: 16px;
    }

    .premium-bundle-indicators {
        gap: 12px;
    }

    .premium-bundle-carousel {
        padding: 25px 25px;
    }
}

.premium-bundle-card-active {
    transform: scale(1.1);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.premium-bundle-card-inactive {
    transform: scale(0.9);
    opacity: 0.8;
    transition: all 0.3s ease;
}
