/* Reel Showcase Section — Refined Cinematic Strip
   Provides a Netflix-style horizontal sliding layout with dark aesthetic
   -------------------------------------------------------------------------- */
:root {
    --rx-showcase-card-aspect: 9 / 13.8;
}

.rx-showcase {
    background-color: var(--rx-site-bg) !important;
    background-image: none !important;
    padding-top: var(--rx-section-space-y);
    padding-bottom: var(--rx-section-space-y);
}

.rx-showcase__title {
    font-size: var(--rx-section-title-size);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.rx-showcase__lead {
    font-size: var(--rx-copy-size);
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
 * Upgraded structure and hierarchy with minimal card effects.
 * Cards are intentionally static (no tilt/zoom/blur hover interactions).
 * -------------------------------------------------------------------------- */
.rx-showcase {
    position: relative;
    background: var(--rx-dark);
    overflow: hidden;
    isolation: isolate;
}

.rx-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(55% 45% at 14% 8%, rgba(255, 255, 255, 0.04), transparent 70%),
        radial-gradient(50% 40% at 88% 24%, rgba(231, 34, 101, 0.09), transparent 75%);
}

.rx-showcase__header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.rx-showcase__title {
    font-size: var(--rx-type-section-title-size);
    font-weight: 700;
    line-height: var(--rx-type-section-title-line);
    letter-spacing: var(--rx-type-section-title-track);
    color: var(--rx-type-heading-color);
    margin-top: 0.5rem;
}

.rx-showcase__lead {
    margin: clamp(0.8rem, 1.5vw, 1.1rem) auto 0;
    max-width: 66ch;
    color: var(--rx-type-body-color);
    font-size: var(--rx-type-body-size);
    line-height: var(--rx-type-body-line);
}

.rx-showcase__pills {
    margin-top: clamp(1rem, 2vw, 1.3rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.rx-showcase__pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--rx-home-pill-border);
    background: var(--rx-home-pill-fill);
    color: var(--rx-cream);
    font-size: var(--rx-type-meta-size);
    font-weight: var(--rx-type-meta-weight);
    letter-spacing: var(--rx-type-meta-track);
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

/* Marquee Viewport */
.rx-showcase__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
    padding-block: 8px;
}

.rx-showcase__viewport::before,
.rx-showcase__viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(18px, 5vw, 80px);
    z-index: 2;
    pointer-events: none;
}

.rx-showcase__viewport::before {
    left: 0;
    background: linear-gradient(to right, var(--rx-dark), transparent);
}

.rx-showcase__viewport::after {
    right: 0;
    background: linear-gradient(to left, var(--rx-dark), transparent);
}

.rx-showcase__viewport:active {
    cursor: grabbing;
}

.rx-showcase__track-wrapper {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: rxShowcaseMarquee 40s linear infinite;
}

@keyframes rxShowcaseMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.rx-showcase__track {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(0.95rem, 2vw, 1.6rem);
    padding-right: clamp(0.95rem, 2vw, 1.6rem);
}

/* Card Styling — static, no motion effects */
.rx-showcase__card {
    position: relative;
    flex: 0 0 clamp(212px, 27vw, 270px);
    border-radius: 24px;
    overflow: hidden;
    background: var(--rx-home-surface-fill);
    border: 1px solid var(--rx-home-surface-border);
}

.rx-showcase__card-inner {
    position: relative;
    width: 100%;
    aspect-ratio: var(--rx-showcase-card-aspect);
}

.rx-showcase__media {
    position: absolute;
    inset: 0;
}

.rx-showcase__img,
.rx-showcase__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rx-showcase__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.rx-showcase__overlay {
    position: absolute;
    inset: 0;
    padding: clamp(0.9rem, 1.8vw, 1.2rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.06) 72%);
}

.rx-showcase__meta {
    position: relative;
}

.rx-showcase__tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--rx-cream);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.rx-showcase__card-title {
    font-family: var(--rx-font-heading);
    font-size: var(--rx-type-card-title-size);
    font-weight: 700;
    line-height: var(--rx-type-card-title-line);
    letter-spacing: var(--rx-type-card-title-track);
    color: var(--rx-type-heading-color);
    margin: 0;
}

.rx-showcase__client {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--rx-type-body-compact-size);
    font-weight: 400;
}

.rx-showcase__year {
    position: absolute;
    top: 0;
    right: 0;
    font-size: var(--rx-type-caption-size);
    font-weight: var(--rx-type-meta-weight);
    letter-spacing: var(--rx-type-meta-track);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 4px 8px;
}

.rx-showcase__action {
    position: absolute;
    top: 12px;
    right: 12px;
}

.rx-showcase__play-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: var(--rx-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rx-showcase__empty {
    width: 100%;
    padding: 2.5rem 1rem;
    text-align: center;
    border: 1px dashed var(--rx-border);
    border-radius: 14px;
}

.rx-showcase__empty p {
    margin: 0;
    color: var(--rx-muted);
}

@media (max-width: 62rem) {
    .rx-showcase__card {
        flex: 0 0 clamp(204px, 54vw, 250px);
    }
}

@media (max-width: 48rem) {
    .rx-showcase__card {
        flex: 0 0 60vw;
    }

    .rx-showcase__lead {
        max-width: 34ch;
    }

    .rx-showcase__pills {
        gap: 8px;
    }

    .rx-showcase__track-wrapper {
        width: max-content;
        overflow: visible;
    }

    .rx-btn--book-any {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}

@media (min-width: 62rem) {
    .rx-showcase__card {
        flex: 0 0 var(--rx-section-card-width);
    }
}

/* --------------------------------------------------------------------------
 * Base Card Adjustments
 * -------------------------------------------------------------------------- */
.rx-showcase::before {
    opacity: 0.55;
}

.rx-showcase__header {
    margin-bottom: clamp(1.2rem, 2.6vw, 1.9rem);
}

.rx-showcase__title {
    font-size: var(--rx-type-section-title-size);
    line-height: var(--rx-type-section-title-line);
}

.rx-showcase__lead {
    margin-top: 0.65rem;
    line-height: var(--rx-type-body-line);
}

.rx-showcase__pills {
    margin-top: 0.8rem;
}

.rx-showcase__card {
    border-radius: 1rem;
}

.rx-showcase__track {
    gap: clamp(0.75rem, 1.5vw, 1rem);
}

.rx-showcase__pill {
    min-height: 0;
    padding: 0.35rem 0.8rem;
    font-size: var(--rx-type-caption-size);
    font-weight: var(--rx-type-meta-weight);
}

/* ==========================================
   MIGRATED FROM GLOBAL.CSS (Mobile Overrides)
   ========================================== */
@media (max-width: 47.9375rem) {
    #showcase .rx-showcase__viewport {
        padding-block: 0.75rem;
    }

    #showcase .rx-showcase__lead {
        max-width: none;
        line-height: 1.58;
        max-height: calc(1.58em * 2);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    #showcase .rx-showcase__track-wrapper {
        width: max-content;
        overflow: visible;
    }

    #showcase .rx-showcase__track {
        gap: 1rem;
        padding-right: 0;
    }

    #showcase .rx-showcase__card {
        flex: 0 0 clamp(16rem, 72vw, 20rem);
    }
}
