/* Explain: Styles for product claim cards, media banners, reels gallery, and film stage. */
/* VOLT case study — product claims catalogue and reels gallery components. */

/* ---------- claims por producto ---------- */

.volt-claims-banner {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--volt-line);
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at 50% 16%, rgba(6, 71, 217, 0.42), transparent 64%),
        linear-gradient(150deg, rgba(6, 20, 55, 0.78), rgba(3, 7, 18, 0.96));
}

.volt-claims-banner-glow {
    position: absolute;
    top: -34%;
    left: 50%;
    width: min(70vw, 32rem);
    height: min(70vw, 32rem);
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(6, 71, 217, 0.6), transparent 68%);
    filter: blur(46px);
    pointer-events: none;
}

.volt-claims-banner-media {
    position: relative;
    display: flex;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.2rem) clamp(1rem, 5vw, 3.5rem) clamp(2.6rem, 6vw, 3.4rem);
}

.volt-claims-banner-media img {
    position: relative;
    z-index: 1;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 26px 54px rgba(0, 0, 0, 0.62));
    animation: volt-product-drift 13s ease-in-out infinite;
}

.volt-claims-banner-scrim {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    height: 58%;
    background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.92));
    pointer-events: none;
}

.volt-claims-banner-cap {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1rem;
    z-index: 3;
    color: var(--volt-steel);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-align: center;
    text-transform: uppercase;
}

/* ---------- full-bleed campaign banner ---------- */

.volt-claims-banner--bleed {
    margin: 2.5rem 0 0;
    border: 0;
    border-radius: 0;
    background: #030712;
}

.volt-claims-banner--bleed .volt-claims-banner-media {
    display: block;
    aspect-ratio: 2 / 1;
    padding: 0;
}

.volt-claims-banner--bleed .volt-claims-banner-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    filter: none;
    animation: none;
}

.volt-claims-banner--bleed .volt-claims-banner-scrim {
    height: 60%;
}

@media (min-width: 768px) {
    .volt-claims-banner--bleed .volt-claims-banner-media {
        aspect-ratio: 11 / 4;
    }
}

@media (min-width: 1024px) {
    .volt-claims-banner--bleed .volt-claims-banner-media {
        aspect-ratio: 21 / 4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .volt-claims-banner--bleed .volt-claims-banner-media img {
        animation: none !important;
    }
}

.volt-claim-card {
    --volt-accent: var(--volt-yellow);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--volt-line);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(6, 20, 55, 0.6), rgba(3, 7, 18, 0.94));
    transition: transform 340ms cubic-bezier(0.16, 1, 0.3, 1), border-color 340ms ease, box-shadow 340ms ease;
}

.volt-claim-card--photo {
    border-color: var(--volt-accent);
}

.volt-claim-card:hover {
    transform: translateY(-0.45rem);
    border-color: var(--volt-accent);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.58);
}

.volt-claim-card-media {
    position: relative;
    display: flex;
    aspect-ratio: 12 / 5;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1.15rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 130%, rgba(3, 7, 18, 0.78), transparent 70%),
        var(--volt-accent);
}

.volt-claim-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.04) contrast(1.04);
    transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.volt-claim-card:hover .volt-claim-card-media img {
    transform: scale(1.06);
}

.volt-claim-card-media::after {
    position: absolute;
    inset: 0;
    content: '';
    background-image: repeating-linear-gradient(112deg, rgba(3, 7, 18, 0.16) 0 2px, transparent 2px 10px);
    opacity: 0.7;
    pointer-events: none;
}

.volt-claim-card-media.has-photo {
    background: var(--volt-night);
}

.volt-claim-card-media.has-photo::after {
    background-image: linear-gradient(115deg, rgba(3, 7, 18, 0.68), rgba(3, 7, 18, 0.08) 48%, rgba(3, 7, 18, 0.62));
    opacity: 1;
}

.volt-claim-card-media.has-photo .volt-claim-card-tag {
    color: rgba(244, 247, 255, 0.72);
}

.volt-claim-card-media.has-photo .volt-claim-card-index {
    color: rgba(255, 230, 0, 0.92);
    text-shadow: 0 2px 16px rgba(3, 7, 18, 0.85);
}

.volt-claim-card:hover .volt-claim-card-media.has-photo .volt-claim-card-index {
    color: #ffffff;
}

.volt-claim-card:nth-child(2):hover .volt-claim-card-media .volt-claim-card-index {
    color: #ffffff;
}

.volt-claim-card:nth-child(3):hover .volt-claim-card-media .volt-claim-card-index {
    color: #ffffff;
}

.volt-claim-card:nth-child(4):hover .volt-claim-card-media .volt-claim-card-index {
    color: #ffffff;
}

.volt-claim-card:nth-child(5):hover .volt-claim-card-media .volt-claim-card-index {
    color: #ffffff;
}

.volt-claim-card:nth-child(6):hover .volt-claim-card-media .volt-claim-card-index {
    color: #ffffff;
}

.volt-claim-card-tag {
    position: relative;
    z-index: 1;
    color: rgba(3, 7, 18, 0.44);
    font-size: 0.56rem;
}

.volt-claim-card-index {
    position: relative;
    z-index: 1;
    color: rgba(3, 7, 18, 0.3);
    font-size: clamp(2.1rem, 5vw, 2.9rem);
    line-height: 1;
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), color 340ms ease;
}

.volt-claim-card:hover .volt-claim-card-index {
    transform: scale(1.08);
    color: rgba(3, 7, 18, 0.46);
}

.volt-claim-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.15rem 1.25rem 1.4rem;
}

.volt-claim-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.3rem 0.75rem;
}

.volt-claim-card-name {
    color: #f4f7ff;
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.2;
}

.volt-claim-card-variant {
    color: var(--volt-steel);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.volt-claim-card-formula {
    color: var(--volt-steel);
    font-size: 0.76rem;
    line-height: 1.5;
}

.volt-claim-card-claim {
    margin-top: auto;
    padding-top: 0.85rem;
    color: var(--volt-claim, var(--volt-accent));
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
}

@media (min-width: 640px) {
    .volt-claims-banner-media {
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 1024px) {
    .volt-claims-banner-media {
        aspect-ratio: 19 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .volt-claims-banner-media img,
    .volt-claim-card-index {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- reels gallery ---------- */

.volt-reels {
    position: relative;
}

.volt-reels-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 22rem);
    gap: 1rem;
    width: fit-content;
    max-width: 100%;
    margin: 2.5rem auto 0;
    padding-bottom: 0.6rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    -webkit-user-drag: none;
    user-select: none;
}

.volt-reels-track::-webkit-scrollbar {
    display: none;
}

.volt-reels-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.volt-reel {
    min-width: 0;
    scroll-snap-align: start;
}

.volt-reel-button {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--volt-line);
    border-radius: 1.4rem;
    background: var(--volt-night);
    cursor: pointer;
}

.volt-reel-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05);
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 900ms ease;
    -webkit-user-drag: none;
}

.volt-reel:hover .volt-reel-button img,
.volt-reel:focus-within .volt-reel-button img {
    transform: scale(1.07);
    filter: saturate(1.14) contrast(1.1);
}

.volt-reel-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.35) 0%, rgba(3, 7, 18, 0.12) 42%, rgba(3, 7, 18, 0.86) 100%);
}

.volt-reel-index {
    position: absolute;
    top: 0.85rem;
    left: 1rem;
    color: #eef2f9;
    font-size: 0.58rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.volt-reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 3.6rem;
    height: 3.6rem;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 230, 0, 0.55);
    border-radius: 999px;
    background: rgba(3, 7, 18, 0.55);
    color: var(--volt-yellow);
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, color 300ms ease;
}

.volt-reel:hover .volt-reel-play,
.volt-reel:focus-within .volt-reel-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--volt-yellow);
    color: #05070f;
}

.volt-reels-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.volt-reels-arrow {
    display: flex;
    width: 2.9rem;
    height: 2.9rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--volt-line);
    border-radius: 999px;
    background: rgba(6, 20, 55, 0.4);
    color: #eef2f9;
    cursor: pointer;
    transition: transform 240ms ease, border-color 240ms ease, color 240ms ease, background 240ms ease;
}

.volt-reels-arrow:hover,
.volt-reels-arrow:focus-visible {
    transform: translateY(-2px);
    border-color: var(--volt-yellow);
    color: var(--volt-yellow);
}



/* ---------- reel player modal ---------- */

.volt-reel-modal {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(10px);
}

.volt-reel-modal.is-open {
    display: flex;
}

.volt-reel-player {
    position: relative;
    width: min(92vw, 47vh);
    aspect-ratio: 9 / 16;
}

.volt-reel-player video,
.volt-reel-player img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--volt-line);
    border-radius: 1.1rem;
    background: #030712;
}

.volt-reel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    width: 2.9rem;
    height: 2.9rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--volt-line);
    border-radius: 999px;
    background: rgba(3, 7, 18, 0.85);
    color: #eef2f9;
    cursor: pointer;
    transition: border-color 220ms ease, color 220ms ease;
}

.volt-reel-close:hover,
.volt-reel-close:focus-visible {
    border-color: var(--volt-yellow);
    color: var(--volt-yellow);
}

@media (prefers-reduced-motion: reduce) {
    .volt-claims-img {
        animation: none !important;
    }

    .volt-claims-info.is-swap > * {
        animation-duration: 1ms !important;
    }

    .volt-reel-button img {
        transition: none !important;
    }
}

/* ---------- horizontal film stage (spot) ---------- */

.volt-film {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--volt-line);
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at 50% 18%, rgba(6, 71, 217, 0.42), transparent 62%),
        linear-gradient(150deg, rgba(6, 20, 55, 0.82), rgba(3, 7, 18, 0.97));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

/* reserved stage for the upcoming horizontal spot video */

.volt-film--blue {
    border: 2px solid var(--volt-blue);
    box-shadow: 0 0 0 1px rgba(6, 71, 217, 0.5), 0 26px 70px rgba(6, 71, 217, 0.3);
}

.volt-film--blue .volt-film-button {
    outline: 1px dashed rgba(47, 123, 255, 0.45);
    outline-offset: -0.85rem;
}

.volt-film--blue .volt-film-play {
    border-color: rgba(47, 123, 255, 0.9);
    background: rgba(3, 7, 18, 0.62);
    color: #6ea8ff;
    box-shadow: 0 0 30px rgba(6, 71, 217, 0.65);
}

.volt-film--blue .volt-film-button:hover .volt-film-play,
.volt-film--blue .volt-film-button:focus-visible .volt-film-play {
    background: var(--volt-blue);
    color: #ffffff;
    box-shadow: 0 0 42px rgba(6, 71, 217, 0.85);
}

.volt-film--blue .volt-film-label {
    color: #7fb4ff;
}

.volt-film-button {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: none;
    cursor: pointer;
}

.volt-film-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.volt-film-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.92) contrast(1.05);
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 900ms ease;
    -webkit-user-drag: none;
}

.volt-film:hover .volt-film-media img,
.volt-film:focus-within .volt-film-media img {
    transform: scale(1.06);
    filter: saturate(1.14) contrast(1.1);
}

.volt-film-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 7, 18, 0.5), transparent 40%, rgba(3, 7, 18, 0.88)),
        linear-gradient(90deg, rgba(3, 7, 18, 0.62), transparent 52%);
    pointer-events: none;
}

.volt-film-meta {
    position: absolute;
    left: clamp(1rem, 3.6vw, 2.4rem);
    right: clamp(1rem, 3.6vw, 2.4rem);
    bottom: clamp(0.9rem, 3vw, 1.8rem);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.volt-film-label {
    color: var(--volt-yellow);
    font-size: 0.56rem;
}

.volt-film-title {
    color: #f4f7ff;
    font-size: clamp(1.35rem, 4.6vw, 2.9rem);
    line-height: 0.95;
}

.volt-film-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 3.6rem;
    height: 3.6rem;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 230, 0, 0.55);
    border-radius: 999px;
    background: rgba(3, 7, 18, 0.55);
    color: var(--volt-yellow);
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, color 300ms ease;
}

.volt-film-button:hover .volt-film-play,
.volt-film-button:focus-visible .volt-film-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--volt-yellow);
    color: #05070f;
}

.volt-film-cap {
    margin: 0;
    padding: 0.9rem 1.2rem 1.1rem;
    color: var(--volt-steel);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .volt-film-play {
        width: 4.6rem;
        height: 4.6rem;
        font-size: 1.15rem;
    }
}

/* landscape variant of the shared player */

.volt-reel-player.is-landscape {
    width: min(94vw, 70rem);
    aspect-ratio: 16 / 9;
}

.volt-reel-player.is-landscape img,
.volt-reel-player.is-landscape video {
    object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
    .volt-film-media img {
        transition: none !important;
    }

    .volt-film-play {
        transition: none !important;
    }
}

/* ---------- inline campaign video player ---------- */

.volt-player {
    margin-top: clamp(2.8rem, 6vw, 4.5rem);
}

.volt-player-frame {
    position: relative;
    width: 88%;
    max-width: 100%;
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 2px solid #1769FF;
    border-radius: 16px;
    background: #030712;
    box-shadow:
        0 0 0 1px rgba(23, 105, 255, 0.22),
        0 0 34px rgba(23, 105, 255, 0.24),
        0 26px 64px rgba(0, 0, 0, 0.55);
    transition: box-shadow 360ms ease;
}

.volt-player-frame.is-playing {
    box-shadow:
        0 0 0 1px rgba(23, 105, 255, 0.4),
        0 0 48px rgba(23, 105, 255, 0.42),
        0 26px 64px rgba(0, 0, 0, 0.6);
}

.volt-player-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #030712;
}

.volt-player-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    width: clamp(4.2rem, 10vw, 5.8rem);
    height: clamp(4.2rem, 10vw, 5.8rem);
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    background: rgba(23, 105, 255, 0.55);
    color: #ffffff;
    font-size: clamp(1.1rem, 2.6vw, 1.55rem);
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 26px rgba(23, 105, 255, 0.55);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background 320ms ease, box-shadow 320ms ease, opacity 320ms ease;
}

.volt-player-play i {
    margin-left: 0.22rem;
}

.volt-player-play:hover,
.volt-player-play:focus-visible {
    transform: translate(-50%, -50%) scale(1.12);
    background: #1769FF;
    box-shadow: 0 0 54px rgba(23, 105, 255, 0.9);
}

.volt-player-frame.is-playing .volt-player-play {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1023px) {
    .volt-player-frame {
        width: 92%;
    }
}

@media (max-width: 639px) {
    .volt-player-frame {
        width: 100%;
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .volt-player-frame,
    .volt-player-play {
        transition: none !important;
    }
}