/* ==========================================================================
   PREMIUM 3D CURVED CAROUSEL STYLE SHEET
   ========================================================================== */

:root {
    --luxury-gold: #b8ff34;
    --gold-glow: rgba(184, 255, 52, 0.45);
    --premium-bg: #080a0e;
    --card-width: 320px;
    --card-height: 460px;
}

.premium-carousel-section {
    position: relative;
    padding: 10rem 0;
    background-color: var(--premium-bg);
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Edge shadow fades on the left and right sides of the screen (aligned to viewport borders) */
.premium-carousel-section::before,
.premium-carousel-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25vw;
    z-index: 5;
    pointer-events: none;
}

.premium-carousel-section::before {
    left: 0;
    background: linear-gradient(to right, rgba(8, 10, 14, 1) 0%, rgba(8, 10, 14, 0.95) 40%, transparent 100%);
}

.premium-carousel-section::after {
    right: 0;
    background: linear-gradient(to left, rgba(8, 10, 14, 1) 0%, rgba(8, 10, 14, 0.95) 40%, transparent 100%);
}

/* Background Premium Effects */
.premium-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.premium-radial-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(184, 255, 52, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    pointer-events: none;
}

.premium-noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.025;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.premium-floating-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Section Header Block */
.premium-header-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
    position: relative;
    z-index: 2;
}

.premium-subtitle-container {
    margin-bottom: 1.5rem;
}

.premium-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: #b8ff34; /* Framer template style orange accent */
    background: rgba(184, 255, 52, 0.12); /* Subtle colored pill background */
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    opacity: 1;
    border: 1px solid rgba(184, 255, 52, 0.18);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0 0 1.2rem 0;
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.premium-title span {
    background: linear-gradient(135deg, #ffffff 30%, #b8ff34 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-section-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 1rem auto 2.2rem auto;
    max-width: 620px;
    line-height: 1.6;
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.premium-carousel-section.in-view .premium-section-desc {
    opacity: 1;
    transform: translateY(0);
}

.premium-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff; /* White pill background */
    border: none;
    padding: 0.5rem 0.5rem 0.5rem 1.8rem;
    border-radius: 50px;
    color: #080a0e; /* Dark text */
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
                box-shadow 0.4s ease;
}

.premium-cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 35px rgba(184, 255, 52, 0.2);
}

.premium-btn-text {
    margin-right: 1.2rem;
}

.premium-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #b8ff34; /* Circular orange icon container */
    color: #ffffff;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-cta-btn:hover .premium-btn-icon {
    transform: rotate(45deg);
}

/* Visibility animations when entering viewport */
.premium-carousel-section.in-view .premium-subtitle,
.premium-carousel-section.in-view .premium-title {
    opacity: 1;
}

.premium-carousel-section.in-view .premium-cta-btn {
    opacity: 1;
}

/* ==========================================================================
   CAROUSEL CONTAINER & STAGE
   ========================================================================== */
.premium-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
    overflow: visible;
}

.premium-carousel-stage {
    width: 100%;
    height: 600px;
    position: relative;
    perspective: 2000px;
    perspective-origin: 50% 30%;
    overflow: visible;
    user-select: none;
    -webkit-user-select: none;
}

.premium-carousel-track {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
}

/* ==========================================================================
   PREMIUM 3D CARD
   ========================================================================== */
.premium-carousel-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--card-width);
    height: var(--card-height);
    margin-left: calc(-1 * var(--card-width) / 2);
    margin-top: calc(-1 * var(--card-height) / 2);
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
}

.premium-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.02);
    transform-style: preserve-3d;
    /* Luxury reflections beneath the cards */
    -webkit-box-reflect: below 18px linear-gradient(transparent 50%, rgba(0, 0, 0, 0.15));
}

.premium-card-img-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    background: #080a0e;
}

.premium-card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transform: scale(1);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-carousel-card:hover .premium-card-img-container img {
    transform: scale(1.08);
}

/* Dynamic glow effect behind active card */
.premium-carousel-card.active-card::before {
    content: '';
    position: absolute;
    inset: 15px;
    background: #ffffff;
    filter: blur(40px);
    opacity: 0.12;
    z-index: -1;
    border-radius: 20px;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

/* Content overlays */
.premium-card-overlay {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(to top, 
        rgba(8, 10, 14, 0.98) 0%, 
        rgba(8, 10, 14, 0.4) 55%, 
        transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 2rem;
    z-index: 2;
    opacity: 0.6;
    transform: translateZ(0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-carousel-card.active-card .premium-card-overlay {
    opacity: 1;
}

.premium-card-meta {
    transform: translateY(15px);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-carousel-card.active-card .premium-card-meta {
    transform: translateY(0);
}

.premium-card-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--luxury-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: block;
}

.premium-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    line-height: 1.25;
}

.premium-card-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.premium-carousel-card.active-card .premium-card-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Play/View Button overlay */
.premium-play-indicator {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--luxury-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #080a0e;
    box-shadow: 0 10px 20px rgba(184, 255, 52, 0.35);
    opacity: 0;
    transform: scale(0.7) translateZ(30px);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
    pointer-events: none;
}

.premium-carousel-card.active-card:hover .premium-play-indicator {
    opacity: 1;
    transform: scale(1) translateZ(30px);
    pointer-events: auto;
}

.premium-play-indicator:hover {
    transform: scale(1.15) translateZ(35px) !important;
    background: #ffffff;
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   NAVIGATION & UI CONTROLS
   ========================================================================== */
.premium-nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.premium-arrow-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    outline: none;
}

.premium-arrow-btn:focus-visible {
    border-color: var(--luxury-gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.premium-arrow-btn:hover {
    background: rgba(184, 255, 52, 0.06);
    border-color: rgba(184, 255, 52, 0.3);
    color: var(--luxury-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 255, 52, 0.12);
}

.premium-arrow-btn:active {
    transform: translateY(0);
}

.premium-indicator-container {
    width: 250px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.premium-indicator-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--luxury-gold);
    box-shadow: 0 0 8px var(--luxury-gold);
    will-change: width;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
