/* Pixelvolution GSAP Animations */

/* Base visibility for animated elements */
.pxv-gsap-hidden {
    visibility: hidden;
}

/* Text Reveal */
.pxv-text-reveal {
    overflow: hidden;
}

.pxv-text-reveal .pxv-line {
    display: block;
    overflow: hidden;
}

.pxv-text-reveal .pxv-word {
    display: inline-block;
    margin-right: 0.25em;
}

.pxv-text-reveal .pxv-char {
    display: inline-block;
}

/* Fade In */
.pxv-fade-in {
    opacity: 0;
}

/* Counter */
.pxv-counter {
    display: inline-block;
}

/* Marquee */
.pxv-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.pxv-marquee-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
}

.pxv-marquee-content {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.pxv-marquee-content > * {
    flex-shrink: 0;
}

/* Image Reveal */
.pxv-image-reveal {
    overflow: hidden;
    position: relative;
}

.pxv-image-reveal img {
    display: block;
    width: 100%;
    height: auto;
}

.pxv-image-reveal-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: currentColor;
    transform-origin: left center;
}

/* Parallax */
.pxv-parallax {
    overflow: hidden;
}

.pxv-parallax-inner {
    will-change: transform;
}

/* Stagger Grid */
.pxv-stagger-grid {
    display: grid;
}

.pxv-stagger-grid-item {
    opacity: 0;
}

/* Magnetic */
.pxv-magnetic {
    display: inline-block;
    will-change: transform;
}

/* Floating */
.pxv-floating {
    will-change: transform;
}

/* Text Marquee */
.pxv-text-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.pxv-text-marquee-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.pxv-text-marquee-item {
    flex-shrink: 0;
}

.pxv-text-marquee-text {
    padding: 0 var(--pxv-marquee-gap, 2rem);
}

.pxv-text-marquee-separator {
    padding: 0;
}

/* ========================================
   ANIMATED BUTTONS
   ======================================== */

.pxv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: 500;
    transition: border-color 0.3s ease;
    gap: 0.5em;
}

.pxv-btn--pill {
    border-radius: 100px;
}

.pxv-btn--rounded {
    border-radius: 8px;
}

.pxv-btn--square {
    border-radius: 0;
}

.pxv-btn__content {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    position: relative;
    z-index: 2;
}

.pxv-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.pxv-btn__label {
    white-space: nowrap;
}

/* Arrow Slide */
.pxv-btn--arrow-slide .pxv-btn__icon {
    transform: translateX(-10px);
    opacity: 0;
}

.pxv-btn--arrow-slide:hover .pxv-btn__icon {
    transform: translateX(0);
    opacity: 1;
}

.pxv-btn--arrow-slide.pxv-btn--icon-right .pxv-btn__icon {
    transform: translateX(10px);
}

.pxv-btn--arrow-slide.pxv-btn--icon-right:hover .pxv-btn__icon {
    transform: translateX(0);
}

/* Text Slide Up */
.pxv-btn--text-slide {
    overflow: hidden;
}

.pxv-btn__text-wrapper {
    display: block;
    overflow: hidden;
    position: relative;
}

.pxv-btn__text {
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pxv-btn__text--clone {
    position: absolute;
    top: 100%;
    left: 0;
}

.pxv-btn--text-slide:hover .pxv-btn__text {
    transform: translateY(-100%);
}

/* Fill Effects */
.pxv-btn--fill-left .pxv-btn__bg,
.pxv-btn--fill-right .pxv-btn__bg,
.pxv-btn--fill-bottom .pxv-btn__bg,
.pxv-btn--circle-grow .pxv-btn__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pxv-btn--fill-left .pxv-btn__bg {
    transform: scaleX(0);
    transform-origin: left center;
}

.pxv-btn--fill-left:hover .pxv-btn__bg {
    transform: scaleX(1);
}

.pxv-btn--fill-right .pxv-btn__bg {
    transform: scaleX(0);
    transform-origin: right center;
}

.pxv-btn--fill-right:hover .pxv-btn__bg {
    transform: scaleX(1);
}

.pxv-btn--fill-bottom .pxv-btn__bg {
    transform: scaleY(0);
    transform-origin: bottom center;
}

.pxv-btn--fill-bottom:hover .pxv-btn__bg {
    transform: scaleY(1);
}

.pxv-btn--circle-grow .pxv-btn__bg {
    border-radius: 50%;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.pxv-btn--circle-grow:hover .pxv-btn__bg {
    width: 300%;
    height: 300%;
}

/* Border Draw */
.pxv-btn--border-draw {
    background: transparent !important;
}

.pxv-btn__border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pxv-btn__border rect {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 0.6s ease;
}

.pxv-btn--border-draw:hover .pxv-btn__border rect {
    stroke-dashoffset: 0;
}

/* Shine Effect */
.pxv-btn--shine {
    overflow: hidden;
}

.pxv-btn__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    z-index: 3;
    transition: left 0.5s ease;
}

.pxv-btn--shine:hover .pxv-btn__shine {
    left: 150%;
}

/* Magnetic Button */
.pxv-btn--magnetic {
    will-change: transform;
}

/* Blob / Gooey Button */
.pxv-btn--blob {
    z-index: 1;
    position: relative;
    background-color: transparent !important;
    transition: color 0.5s;
}

.pxv-btn--blob::before {
    content: "";
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid currentColor;
    border-radius: inherit;
}

.pxv-btn--blob .pxv-btn__content {
    z-index: 2;
}

.pxv-btn__blob-inner {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--pxv-blob-inner-bg, #ffffff);
}

.pxv-btn__blobs {
    position: relative;
    display: block;
    height: 100%;
    filter: url('#pxv-goo');
}

.pxv-btn__blob {
    position: absolute;
    top: 2px;
    width: 25%;
    height: 100%;
    background: var(--pxv-blob-color, currentColor);
    border-radius: 100%;
    transform: translate3d(0, 150%, 0) scale(1.7);
    transition: transform 0.45s;
}

@supports (filter: url('#pxv-goo')) {
    .pxv-btn__blob {
        transform: translate3d(0, 150%, 0) scale(1.4);
    }
}

.pxv-btn__blob:nth-child(1) {
    left: 0%;
    transition-delay: 0s;
}

.pxv-btn__blob:nth-child(2) {
    left: 30%;
    transition-delay: 0.08s;
}

.pxv-btn__blob:nth-child(3) {
    left: 60%;
    transition-delay: 0.16s;
}

.pxv-btn__blob:nth-child(4) {
    left: 90%;
    transition-delay: 0.24s;
}

.pxv-btn--blob:hover {
    color: var(--pxv-blob-hover-text, #ffffff);
}

.pxv-btn--blob:hover .pxv-btn__blob {
    transform: translateZ(0) scale(1.7);
}

@supports (filter: url('#pxv-goo')) {
    .pxv-btn--blob:hover .pxv-btn__blob {
        transform: translateZ(0) scale(1.4);
    }
}

/* Diagonal Swipe */
.pxv-btn--diagonal-swipe .pxv-btn__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: -50px;
    bottom: 0;
    border-right: 50px solid transparent;
    border-bottom: 100px solid var(--pxv-btn-hover-bg, #333);
    background: transparent;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
    z-index: 1;
}

.pxv-btn--diagonal-swipe:hover .pxv-btn__bg {
    transform: translateX(0);
}

/* Double Swipe */
.pxv-btn--double-swipe .pxv-btn__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    border-bottom: 100px solid var(--pxv-btn-hover-bg, #333);
    background: transparent;
    transition: transform 0.5s ease-in-out;
    z-index: 1;
}

.pxv-btn--double-swipe .pxv-btn__bg--1 {
    left: 0;
    right: -50px;
    border-right: 50px solid transparent;
    transform: translateX(-100%);
}

.pxv-btn--double-swipe .pxv-btn__bg--2 {
    right: 0;
    left: -50px;
    border-left: 50px solid transparent;
    transform: translateX(100%);
}

.pxv-btn--double-swipe:hover .pxv-btn__bg--1 {
    transform: translateX(-40%);
}

.pxv-btn--double-swipe:hover .pxv-btn__bg--2 {
    transform: translateX(40%);
}

/* Diagonal Close */
.pxv-btn--diagonal-close .pxv-btn__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    background: transparent;
    transition: transform 0.5s ease-in-out;
    z-index: 1;
}

.pxv-btn--diagonal-close .pxv-btn__bg--1 {
    left: 0;
    right: -50px;
    border-right: 50px solid transparent;
    border-bottom: 100px solid var(--pxv-btn-hover-bg, #333);
    transform: translateX(-100%);
}

.pxv-btn--diagonal-close .pxv-btn__bg--2 {
    right: 0;
    left: -50px;
    border-left: 50px solid transparent;
    border-top: 100px solid var(--pxv-btn-hover-bg, #333);
    transform: translateX(100%);
}

.pxv-btn--diagonal-close:hover .pxv-btn__bg--1 {
    transform: translateX(-49%);
}

.pxv-btn--diagonal-close:hover .pxv-btn__bg--2 {
    transform: translateX(49%);
}

/* Zoning In */
.pxv-btn--zoning-in .pxv-btn__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    border-top: 50px solid var(--pxv-btn-hover-bg, #333);
    border-bottom: 50px solid var(--pxv-btn-hover-bg, #333);
    background: transparent;
    transition: transform 0.5s ease-in-out;
    z-index: 1;
}

.pxv-btn--zoning-in .pxv-btn__bg--left {
    left: 0;
    right: 0;
    border-right: 50px solid transparent;
    transform: translateX(-100%);
}

.pxv-btn--zoning-in .pxv-btn__bg--right {
    left: 0;
    right: 0;
    border-left: 50px solid transparent;
    transform: translateX(100%);
}

.pxv-btn--zoning-in:hover .pxv-btn__bg--left {
    transform: translateX(-30%);
}

.pxv-btn--zoning-in:hover .pxv-btn__bg--right {
    transform: translateX(30%);
}

/* 4 Corners */
.pxv-btn--four-corners .pxv-btn__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--pxv-btn-hover-bg, #333);
    transition: transform 0.5s ease-in-out;
    z-index: 1;
}

.pxv-btn--four-corners .pxv-btn__bg--tl {
    top: 0;
    left: 0;
    transform: translate(-100%, -100%);
}

.pxv-btn--four-corners .pxv-btn__bg--tr {
    top: 0;
    right: 0;
    transform: translate(100%, -100%);
}

.pxv-btn--four-corners .pxv-btn__bg--bl {
    bottom: 0;
    left: 0;
    transform: translate(-100%, 100%);
}

.pxv-btn--four-corners .pxv-btn__bg--br {
    bottom: 0;
    right: 0;
    transform: translate(100%, 100%);
}

.pxv-btn--four-corners:hover .pxv-btn__bg--tl {
    transform: translate(-50%, -50%);
}

.pxv-btn--four-corners:hover .pxv-btn__bg--tr {
    transform: translate(50%, -50%);
}

.pxv-btn--four-corners:hover .pxv-btn__bg--bl {
    transform: translate(-50%, 50%);
}

.pxv-btn--four-corners:hover .pxv-btn__bg--br {
    transform: translate(50%, 50%);
}

/* Position Aware */
.pxv-btn--position-aware .pxv-btn__bg--circle {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--pxv-btn-hover-bg, #333);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
    z-index: 1;
}

.pxv-btn--position-aware:hover .pxv-btn__bg--circle {
    width: 300%;
    height: 300%;
}

/* Smoosh */
.pxv-btn--smoosh .pxv-btn__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--pxv-btn-hover-bg, #333);
    transition: transform 0.5s ease-in-out;
    z-index: 1;
}

.pxv-btn--smoosh .pxv-btn__bg::before,
.pxv-btn--smoosh .pxv-btn__bg::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    background: inherit;
    transition: transform 0.5s ease-in-out;
}

.pxv-btn--smoosh .pxv-btn__bg::before {
    top: 0;
    transform: translateY(-100%);
}

.pxv-btn--smoosh .pxv-btn__bg::after {
    bottom: 0;
    transform: translateY(100%);
}

.pxv-btn--smoosh .pxv-btn__bg {
    transform: scaleY(0);
}

.pxv-btn--smoosh:hover .pxv-btn__bg::before {
    transform: translateY(-50%);
}

.pxv-btn--smoosh:hover .pxv-btn__bg::after {
    transform: translateY(50%);
}

/* Collision */
.pxv-btn--collision .pxv-btn__bg {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pxv-btn-hover-bg, #333);
    z-index: 1;
}

.pxv-btn--collision .pxv-btn__bg--1 {
    left: -20px;
    transform: translate(-50%, -50%);
}

.pxv-btn--collision .pxv-btn__bg--2 {
    right: -20px;
    transform: translate(50%, -50%);
}

@keyframes pxv-collision-left {
    0% { left: -20px; width: 20px; height: 20px; }
    50% { left: 50%; width: 20px; height: 20px; }
    100% { left: 50%; width: 150%; height: 150%; }
}

@keyframes pxv-collision-right {
    0% { right: -20px; width: 20px; height: 20px; }
    50% { right: 50%; width: 20px; height: 20px; }
    100% { right: 50%; width: 150%; height: 150%; }
}

.pxv-btn--collision:hover .pxv-btn__bg--1 {
    animation: pxv-collision-left 0.8s both;
}

.pxv-btn--collision:hover .pxv-btn__bg--2 {
    animation: pxv-collision-right 0.8s both;
}

/* Hover text color for all new styles */
.pxv-btn--diagonal-swipe:hover,
.pxv-btn--double-swipe:hover,
.pxv-btn--diagonal-close:hover,
.pxv-btn--zoning-in:hover,
.pxv-btn--four-corners:hover,
.pxv-btn--position-aware:hover,
.pxv-btn--smoosh:hover,
.pxv-btn--collision:hover {
    color: var(--pxv-btn-hover-text, #fff);
}

/* Line Scale */
.pxv-btn--line-scale {
    background: transparent;
}

.pxv-btn--line-scale .pxv-btn__content {
    transition: letter-spacing 0.3s;
}

.pxv-btn--line-scale::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: scaleX(0.1);
}

.pxv-btn--line-scale::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: all 0.3s;
    background-color: var(--pxv-btn-hover-bg, rgba(255,255,255,0.1));
    opacity: 0.2;
}

.pxv-btn--line-scale:hover .pxv-btn__content {
    letter-spacing: 2px;
}

.pxv-btn--line-scale:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.pxv-btn--line-scale:hover::after {
    opacity: 0;
    transform: scaleX(0.1);
}

/* Rotate Split */
.pxv-btn--rotate-split {
    background: transparent;
}

.pxv-btn--rotate-split .pxv-btn__content {
    z-index: 2;
    position: relative;
}

.pxv-btn--rotate-split::before,
.pxv-btn--rotate-split::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.5s;
    border: 1px solid currentColor;
    background-color: var(--pxv-btn-hover-bg, rgba(255,255,255,0.1));
    opacity: 0.3;
}

.pxv-btn--rotate-split:hover::before {
    transform: rotate(-45deg);
    background-color: transparent;
}

.pxv-btn--rotate-split:hover::after {
    transform: rotate(45deg);
    background-color: transparent;
}

/* Scale Swap */
.pxv-btn--scale-swap {
    background: transparent;
}

.pxv-btn--scale-swap .pxv-btn__content {
    z-index: 2;
    position: relative;
}

.pxv-btn--scale-swap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: var(--pxv-btn-hover-bg, rgba(255,255,255,0.1));
    opacity: 0.3;
    transition: all 0.3s;
}

.pxv-btn--scale-swap:hover::before {
    opacity: 0;
    transform: scale(0.5);
}

.pxv-btn--scale-swap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border: 1px solid currentColor;
    transform: scale(1.2);
}

.pxv-btn--scale-swap:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   BUBBLE BUTTON
   ======================================== */

.pxv-bubble-btn {
    position: relative;
    display: inline-block;
}

.pxv-bubble-btn__link {
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 2;
    display: inline-block;
    background: none;
    border: none;
    color: var(--pxv-bubble-text, #fff);
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.1s ease-out;
}

.pxv-bubble-btn__link:active {
    transform: scale(0.95);
}

.pxv-bubble-btn__effect {
    position: absolute;
    display: block;
    width: 200%;
    height: 400%;
    top: -150%;
    left: -50%;
    filter: url("#pxv-goo-bubble");
    transition: all 0.1s ease-out;
    pointer-events: none;
}

.pxv-bubble-btn__bg {
    position: absolute;
    width: 50%;
    height: 25%;
    top: 50%;
    left: 25%;
    z-index: 1;
    transform: translateY(-50%);
    background: var(--pxv-bubble-bg, #222);
    transition: background 0.1s ease-out;
}

.pxv-bubble-btn__circle {
    position: absolute;
    width: var(--pxv-bubble-size, 25px);
    height: var(--pxv-bubble-size, 25px);
    border-radius: 50%;
    background: var(--pxv-bubble-bg, #222);
    transition: background 0.1s ease-out;
    will-change: transform, opacity;
}

/* Circle positions */
.pxv-bubble-btn__circle--top-left {
    top: 40%;
    left: 27%;
}

.pxv-bubble-btn__circle--top-right {
    top: 40%;
    right: 27%;
}

.pxv-bubble-btn__circle--bottom-left {
    bottom: 40%;
    left: 27%;
}

.pxv-bubble-btn__circle--bottom-right {
    bottom: 40%;
    right: 27%;
}

.pxv-bubble-btn__circle--left {
    top: 50%;
    left: 27%;
    transform: translateY(-50%);
}

.pxv-bubble-btn__circle--right {
    top: 50%;
    right: 27%;
    transform: translateY(-50%);
}

/* Hover states */
.pxv-bubble-btn:hover .pxv-bubble-btn__circle,
.pxv-bubble-btn:hover .pxv-bubble-btn__bg {
    background: var(--pxv-bubble-hover, #90feb5);
}

/* ========================================
   SMART VIDEO
   ======================================== */

.pxv-smart-video {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.pxv-smart-video video {
    display: block;
    width: 100%;
    height: auto;
}

.pxv-smart-video__poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.pxv-smart-video.is-playing .pxv-smart-video__poster {
    opacity: 0;
    pointer-events: none;
}

.pxv-smart-video__play {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pxv-smart-video__play svg {
    width: 30%;
    height: 30%;
    margin-left: 5%;
}

.pxv-smart-video--magnetic-play .pxv-smart-video__play {
    will-change: transform;
}

.pxv-smart-video--center-play .pxv-smart-video__play {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pxv-smart-video.is-playing .pxv-smart-video__play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* ========================================
   CARD FAN GALLERY
   ======================================== */

.pxv-card-fan {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.pxv-card-fan__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pxv-card-fan__card {
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pxv-card-fan__card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover effects handled by GSAP for smooth animations */
.pxv-card-fan--lift .pxv-card-fan__card,
.pxv-card-fan--expand .pxv-card-fan__card,
.pxv-card-fan--focus .pxv-card-fan__card {
    will-change: transform, opacity, filter;
}

/* ========================================
   HOVER IMAGE PREVIEW
   ======================================== */

.pxv-hover-preview {
    position: relative;
}

.pxv-hover-preview__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pxv-hover-preview__item {
    position: relative;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.pxv-hover-preview__item:hover {
    opacity: 0.6;
}

.pxv-hover-preview__image {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pxv-hover-preview__image.is-visible {
    opacity: 1;
    transform: scale(1);
}

.pxv-hover-preview__image img {
    display: block;
    width: 100%;
    height: auto;
}

.pxv-hover-preview__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--pxv-preview-label-bg, #4444ff);
    color: var(--pxv-preview-label-color, #fff);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   INTERACTIVE IMAGE GRID
   ======================================== */

.pxv-image-grid {
    position: relative;
    overflow: visible;
}

/* Header Section */
.pxv-image-grid__header {
    text-align: center;
    margin-bottom: 40px;
}

.pxv-image-grid__header-title {
    margin: 0 0 20px 0;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.pxv-image-grid__button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.pxv-image-grid__button:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Grid Container - Width + Offset */
.pxv-image-grid__container {
    display: grid;
    gap: 20px;
    align-items: start;
    /* Width = base width + (offset * 2), centered with negative margins */
    width: calc(var(--pxv-grid-width, 100%) + (var(--pxv-grid-offset, 0%) * 2));
    margin-left: calc(-1 * var(--pxv-grid-offset, 0%));
    margin-right: calc(-1 * var(--pxv-grid-offset, 0%));
}

/* 3 Columns */
.pxv-image-grid--cols-3 .pxv-image-grid__container {
    grid-template-columns: repeat(3, 1fr);
}

/* 4 Columns */
.pxv-image-grid--cols-4 .pxv-image-grid__container {
    grid-template-columns: repeat(4, 1fr);
}

.pxv-image-grid__item {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--pxv-grid-text, #fff);
    cursor: pointer;
    min-width: 0;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active item */
.pxv-image-grid__item.is-active {
    z-index: 10;
}

/* Active item image extends downward via padding */
.pxv-image-grid__item.is-active .pxv-image-grid__image-wrap {
    padding-bottom: var(--pxv-grid-expand, 80px);
}

/* Image fills the extra padding area */
.pxv-image-grid__item.is-active .pxv-image-grid__image {
    height: calc(100% + var(--pxv-grid-expand, 80px));
    margin-bottom: calc(-1 * var(--pxv-grid-expand, 80px));
}

/* Title wrapper above image - collapses when not active */
.pxv-image-grid__title-wrap {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease,
                margin 0.4s ease;
    margin-bottom: 0;
}

/* Only .is-active triggers expanded state - JS manages this on hover */
.pxv-image-grid__item.is-active .pxv-image-grid__title-wrap {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 15px;
}

/* Image container - height controlled by Bricks */
.pxv-image-grid__image-wrap {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    background: var(--pxv-grid-bg, #1a1a1a);
    border-radius: var(--pxv-grid-radius, 0);
}

.pxv-image-grid__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scale on active state - JS manages .is-active on hover */
.pxv-image-grid__item.is-active .pxv-image-grid__image {
    transform: scale(var(--pxv-grid-scale, 1.05));
}

.pxv-image-grid__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pxv-grid-bg, #1a1a1a) 0%, #333 100%);
}

/* Overlay text mode */
.pxv-image-grid__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pxv-image-grid__item.is-active .pxv-image-grid__overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Description wrapper below image - collapses when not active */
.pxv-image-grid__desc-wrap {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease,
                padding 0.4s ease;
}

.pxv-image-grid__item.is-active .pxv-image-grid__desc-wrap {
    max-height: 500px;
    opacity: 1;
    padding-top: 15px;
}

/* Typography */
.pxv-image-grid__title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pxv-grid-text, #fff);
}

.pxv-image-grid__desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--pxv-grid-accent, #c9a227);
    transition-delay: 0.05s;
}

/* Item Button */
.pxv-image-grid__item-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pxv-image-grid__item-button:hover {
    background-color: #555;
}

/* Mobile: Stack to 1 column, no animations */
@media (max-width: 768px) {
    .pxv-image-grid__container {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .pxv-image-grid__item {
        transition: none !important;
    }

    /* Always show all content on mobile */
    .pxv-image-grid__title-wrap,
    .pxv-image-grid__desc-wrap {
        max-height: none !important;
        opacity: 1 !important;
        margin-bottom: 15px;
        padding-top: 15px;
    }

    .pxv-image-grid__image-wrap {
        height: auto !important;
        min-height: 200px;
        aspect-ratio: 4/3;
    }
}

/* ========================================
   ANIMATED TIMELINE
   ======================================== */

.pxv-timeline {
    position: relative;
    padding: 20px 0;
}

/* Timeline line */
.pxv-timeline__line {
    position: absolute;
    background: var(--pxv-timeline-line, #c9a227);
}

.pxv-timeline--vertical .pxv-timeline__line {
    width: var(--pxv-timeline-line-width, 2px);
    top: 0;
    bottom: 0;
}

.pxv-timeline--vertical.pxv-timeline--left .pxv-timeline__line {
    left: calc(var(--pxv-timeline-dot, 16px) / 2);
}

.pxv-timeline--vertical.pxv-timeline--right .pxv-timeline__line {
    right: calc(var(--pxv-timeline-dot, 16px) / 2);
}

.pxv-timeline--vertical.pxv-timeline--center .pxv-timeline__line {
    left: 50%;
    transform: translateX(-50%);
}

.pxv-timeline--horizontal .pxv-timeline__line {
    height: var(--pxv-timeline-line-width, 2px);
    left: 0;
    right: 0;
    top: calc(var(--pxv-timeline-dot, 16px) / 2);
}

/* Line animation */
.pxv-timeline[data-line-animate="true"] .pxv-timeline__line {
    transform-origin: top;
    transform: scaleY(0);
}

.pxv-timeline--horizontal[data-line-animate="true"] .pxv-timeline__line {
    transform-origin: left;
    transform: scaleX(0);
}

/* Items container */
.pxv-timeline__items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--pxv-timeline-spacing, 60px);
}

.pxv-timeline--horizontal .pxv-timeline__items {
    flex-direction: row;
    justify-content: space-between;
}

/* Individual item */
.pxv-timeline__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.pxv-timeline--horizontal .pxv-timeline__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(0) translateX(-30px);
}

/* Left alignment */
.pxv-timeline--left .pxv-timeline__item {
    padding-left: calc(var(--pxv-timeline-dot, 16px) + 30px);
}

/* Right alignment */
.pxv-timeline--right .pxv-timeline__item {
    padding-right: calc(var(--pxv-timeline-dot, 16px) + 30px);
    flex-direction: row-reverse;
    text-align: right;
}

/* Center alignment (alternating) */
.pxv-timeline--center .pxv-timeline__item {
    width: 50%;
}

.pxv-timeline--center .pxv-timeline__item--left {
    margin-right: auto;
    padding-right: calc(var(--pxv-timeline-dot, 16px) / 2 + 30px);
    text-align: right;
    flex-direction: row-reverse;
}

.pxv-timeline--center .pxv-timeline__item--right {
    margin-left: auto;
    padding-left: calc(var(--pxv-timeline-dot, 16px) / 2 + 30px);
}

/* Timeline dot */
.pxv-timeline__dot {
    position: absolute;
    width: var(--pxv-timeline-dot, 16px);
    height: var(--pxv-timeline-dot, 16px);
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 2;
}

.pxv-timeline--left .pxv-timeline__dot {
    left: 0;
}

.pxv-timeline--right .pxv-timeline__dot {
    right: 0;
}

.pxv-timeline--center .pxv-timeline__item--left .pxv-timeline__dot {
    right: calc(-1 * var(--pxv-timeline-dot, 16px) / 2);
}

.pxv-timeline--center .pxv-timeline__item--right .pxv-timeline__dot {
    left: calc(-1 * var(--pxv-timeline-dot, 16px) / 2);
}

.pxv-timeline--horizontal .pxv-timeline__dot {
    position: relative;
    margin-bottom: 20px;
}

/* Dot styles */
.pxv-timeline__dot--filled {
    background: var(--pxv-timeline-line, #c9a227);
}

.pxv-timeline__dot--outline {
    background: transparent;
    border: 2px solid var(--pxv-timeline-line, #c9a227);
}

.pxv-timeline__dot--ring {
    background: var(--pxv-timeline-line, #c9a227);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.3);
}

/* Content */
.pxv-timeline__content {
    flex: 1;
}

.pxv-timeline__year {
    font-size: var(--pxv-timeline-year-size, 48px);
    font-weight: 700;
    color: var(--pxv-timeline-year-color, #c9a227);
    line-height: 1;
    margin-bottom: 10px;
}

.pxv-timeline__title {
    font-size: var(--pxv-timeline-title-size, 24px);
    font-weight: 600;
    color: var(--pxv-timeline-title-color, #fff);
    margin: 0 0 10px;
}

.pxv-timeline__desc {
    font-size: 1rem;
    color: var(--pxv-timeline-desc-color, #999);
    margin: 0;
    line-height: 1.6;
}

.pxv-timeline__image {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.pxv-timeline__image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Responsive - Mobile: Line on right, content on left at 80% */
@media (max-width: 768px) {
    /* Timeline container */
    .pxv-timeline {
        overflow-x: hidden;
    }

    /* All vertical timelines: line moves to far right on mobile */
    .pxv-timeline--vertical.pxv-timeline--left .pxv-timeline__line,
    .pxv-timeline--vertical.pxv-timeline--right .pxv-timeline__line,
    .pxv-timeline--vertical.pxv-timeline--center .pxv-timeline__line {
        left: auto;
        right: calc(var(--pxv-timeline-dot, 16px) / 2);
        transform: none;
    }

    /* All items: content on left, configurable width */
    .pxv-timeline--left .pxv-timeline__item,
    .pxv-timeline--right .pxv-timeline__item,
    .pxv-timeline--center .pxv-timeline__item {
        width: var(--pxv-timeline-mobile-width, 80%);
        padding-left: 0;
        padding-right: calc(var(--pxv-timeline-dot, 16px) + 20px);
        margin-left: 0;
        margin-right: 0;
        text-align: left;
        flex-direction: row;
    }

    /* Dot moves to right */
    .pxv-timeline--left .pxv-timeline__dot,
    .pxv-timeline--right .pxv-timeline__dot,
    .pxv-timeline--center .pxv-timeline__item--left .pxv-timeline__dot,
    .pxv-timeline--center .pxv-timeline__item--right .pxv-timeline__dot {
        left: auto;
        right: 0;
    }

    /* Content takes full width of item */
    .pxv-timeline__content {
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Horizontal timeline */
    .pxv-timeline--horizontal {
        overflow-x: auto;
    }

    .pxv-timeline--horizontal .pxv-timeline__items {
        min-width: max-content;
        padding: 0 20px;
    }
}

/* Builder mode - show all content without animations */
.pxv-timeline--builder .pxv-timeline__item,
.pxv-timeline--builder .pxv-timeline__dot,
.pxv-timeline--builder .pxv-timeline__line {
    opacity: 1 !important;
    transform: none !important;
}

.pxv-timeline--builder .pxv-timeline__line {
    transform: scaleY(1) !important;
}

.pxv-timeline--builder.pxv-timeline--horizontal .pxv-timeline__line {
    transform: scaleX(1) !important;
}

/* ========================================
   PARALLAX SECTION
   ======================================== */

.pxv-parallax-section {
    position: relative;
    min-height: 100vh;
}

/* Fixed images container - uses position:fixed via JS */
.pxv-parallax-section__images {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--pxv-parallax-image-width, 50%);
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.pxv-parallax-section--image-right .pxv-parallax-section__images {
    left: auto;
    right: 0;
}

/* When active/in view - fixed positioning */
.pxv-parallax-section__images.is-fixed {
    position: fixed;
    top: 0;
}

/* When scrolled past - stick to bottom */
.pxv-parallax-section__images.is-bottom {
    position: absolute;
    top: auto;
    bottom: 0;
}

.pxv-parallax-section__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pxv-parallax-section__image.is-active {
    opacity: 1;
}

.pxv-parallax-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pxv-parallax-section__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

/* Progress indicator */
.pxv-parallax-section__progress {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pxv-parallax-section__progress.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.pxv-parallax-section__progress--left {
    left: calc(var(--pxv-parallax-image-width, 50%) + 30px);
}

.pxv-parallax-section--image-right .pxv-parallax-section__progress--left {
    left: 30px;
}

.pxv-parallax-section__progress--right {
    right: 30px;
}

.pxv-parallax-section--image-right .pxv-parallax-section__progress--right {
    right: calc(var(--pxv-parallax-image-width, 50%) + 30px);
}

.pxv-parallax-section__progress--center {
    left: calc(var(--pxv-parallax-image-width, 50%) / 2);
    transform: translate(-50%, -50%);
}

.pxv-parallax-section__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.pxv-parallax-section__dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.pxv-parallax-section__dot.is-active {
    background: var(--pxv-parallax-progress, #c9a227);
    transform: scale(1.3);
}

/* Content sections */
.pxv-parallax-section__content {
    position: relative;
    width: var(--pxv-parallax-content-width, 50%);
    margin-left: var(--pxv-parallax-image-width, 50%);
    background: #1a1a1a;
    z-index: 2;
}

.pxv-parallax-section--image-right .pxv-parallax-section__content {
    margin-left: 0;
    margin-right: var(--pxv-parallax-image-width, 50%);
}

.pxv-parallax-section__panel {
    min-height: var(--pxv-parallax-section-height, 100vh);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.pxv-parallax-section__panel.is-active {
    opacity: 1;
}

.pxv-parallax-section__content-inner {
    max-width: 500px;
}

.pxv-parallax-section__label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #c9a227;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.pxv-parallax-section__title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.1;
}

.pxv-parallax-section__desc {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.7;
    margin: 0 0 30px;
}

.pxv-parallax-section__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c9a227;
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.pxv-parallax-section__link:hover {
    gap: 15px;
}

.pxv-parallax-section__link svg {
    transition: transform 0.3s ease;
}

.pxv-parallax-section__link:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .pxv-parallax-section__images {
        position: relative;
        width: 100%;
        height: 50vh;
    }

    .pxv-parallax-section__images.is-fixed,
    .pxv-parallax-section__images.is-bottom {
        position: relative;
    }

    .pxv-parallax-section__content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .pxv-parallax-section--image-right .pxv-parallax-section__content {
        margin-left: 0;
        margin-right: 0;
    }

    .pxv-parallax-section__progress {
        position: fixed;
        top: auto;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }

    .pxv-parallax-section__progress--left,
    .pxv-parallax-section__progress--right,
    .pxv-parallax-section--image-right .pxv-parallax-section__progress--left,
    .pxv-parallax-section--image-right .pxv-parallax-section__progress--right {
        left: 50%;
        right: auto;
    }
}

/* ========================================
   SCROLL VIDEO REVEAL
   ======================================== */

.pxv-scroll-video-reveal {
    position: relative;
    width: 100%;
    max-width: var(--pxv-video-max-width, 100%);
    margin: 0 auto;
}

.pxv-scroll-video-reveal__video {
    position: relative;
    width: 100%;
    aspect-ratio: var(--pxv-video-aspect, 16/9);
    overflow: hidden;
    background: #000;
    transform: scale(var(--pxv-video-start-scale, 0.3));
    transform-origin: center center;
}

/* Builder mode - show full size */
.pxv-scroll-video-reveal--builder .pxv-scroll-video-reveal__video {
    transform: scale(1) !important;
}

.pxv-scroll-video-reveal__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pxv-scroll-video-reveal__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #666;
    font-size: 1rem;
}

/* Overlay */
.pxv-scroll-video-reveal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    pointer-events: none;
}

.pxv-scroll-video-reveal__overlay > * {
    pointer-events: auto;
}

.pxv-scroll-video-reveal__label {
    display: block;
    font-size: 1.25rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 10px;
    opacity: 0.9;
}

.pxv-scroll-video-reveal__title {
    margin: 0 0 10px;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.pxv-scroll-video-reveal__subtitle {
    margin: 0 0 20px;
    font-size: 1.5rem;
    color: #fff;
    opacity: 0.9;
}

.pxv-scroll-video-reveal__button {
    display: inline-block;
    padding: 12px 30px;
    background: #e91e8c;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.pxv-scroll-video-reveal__button:hover {
    transform: scale(1.05);
    background: #d11a7d;
}

/* Control Button - Cursor Follower (Play when paused, Mute when playing) */
.pxv-scroll-video-reveal__control-btn {
    position: absolute;
    z-index: 20;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    pointer-events: auto;
    opacity: 0;
    transform: scale(0.5);
    /* Start centered, JS will position */
    left: 50%;
    top: 50%;
}

.pxv-scroll-video-reveal__control-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.pxv-scroll-video-reveal__control-btn svg {
    width: 28px;
    height: 28px;
}

/* Hide all icons by default */
.pxv-scroll-video-reveal__control-btn .pxv-control-icon {
    display: none;
}

/* When paused: show play icon */
.pxv-scroll-video-reveal__control-btn.is-paused .pxv-control-icon--play {
    display: block;
}

/* When playing (not paused): show mute icons based on muted state */
.pxv-scroll-video-reveal__control-btn:not(.is-paused) .pxv-control-icon--sound-on {
    display: block;
}

.pxv-scroll-video-reveal__control-btn:not(.is-paused).is-muted .pxv-control-icon--sound-on {
    display: none;
}

.pxv-scroll-video-reveal__control-btn:not(.is-paused).is-muted .pxv-control-icon--sound-off {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .pxv-scroll-video-reveal__title {
        font-size: 2rem;
    }

    .pxv-scroll-video-reveal__subtitle {
        font-size: 1.25rem;
    }

    .pxv-scroll-video-reveal__label {
        font-size: 1rem;
    }

    .pxv-scroll-video-reveal__overlay {
        padding: 20px;
    }

    .pxv-scroll-video-reveal__control-btn {
        width: 50px;
        height: 50px;
    }

    .pxv-scroll-video-reveal__control-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* ========================================
   MUSIC PLAYER
   ======================================== */

.pxv-music-player {
    --pxv-player-accent: #e91e63;
    --pxv-player-cover-size: 200px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pxv-music-player__empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

/* Now Playing Section */
.pxv-music-player__now-playing {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.pxv-music-player__cover {
    width: var(--pxv-player-cover-size);
    height: var(--pxv-player-cover-size);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #2a2a4a;
    flex-shrink: 0;
}

.pxv-music-player__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pxv-music-player__cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.pxv-music-player__cover-placeholder svg {
    width: 60px;
    height: 60px;
}

.pxv-music-player__track-info {
    width: 100%;
}

.pxv-music-player__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pxv-music-player__artist {
    font-size: 0.9rem;
    color: #aaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Progress Bar */
.pxv-music-player__progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.pxv-music-player__time {
    font-size: 0.75rem;
    color: #888;
    min-width: 35px;
}

.pxv-music-player__time--current {
    text-align: right;
}

.pxv-music-player__progress {
    flex: 1;
    height: 4px;
    background: #333;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.pxv-music-player__progress-bar {
    height: 100%;
    background: var(--pxv-player-accent);
    border-radius: 2px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

.pxv-music-player__progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.pxv-music-player__progress:hover .pxv-music-player__progress-bar::after {
    opacity: 1;
}

/* Controls */
.pxv-music-player__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.pxv-music-player__btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.pxv-music-player__btn svg {
    width: 20px;
    height: 20px;
}

.pxv-music-player__btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pxv-music-player__btn--play {
    background: var(--pxv-player-accent);
    width: 50px;
    height: 50px;
}

.pxv-music-player__btn--play svg {
    width: 24px;
    height: 24px;
}

.pxv-music-player__btn--play:hover {
    background: var(--pxv-player-accent);
    transform: scale(1.05);
}

.pxv-music-player__btn--play .pxv-icon-pause {
    display: none;
}

.pxv-music-player.is-playing .pxv-music-player__btn--play .pxv-icon-play {
    display: none;
}

.pxv-music-player.is-playing .pxv-music-player__btn--play .pxv-icon-pause {
    display: block;
}

.pxv-music-player__btn--shuffle.is-active,
.pxv-music-player__btn--loop.is-active {
    color: var(--pxv-player-accent);
}

/* Volume */
.pxv-music-player__volume-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 0 10px;
}

.pxv-music-player__btn--volume .pxv-icon-volume-mute {
    display: none;
}

.pxv-music-player__btn--volume.is-muted .pxv-icon-volume-high {
    display: none;
}

.pxv-music-player__btn--volume.is-muted .pxv-icon-volume-mute {
    display: block;
}

.pxv-music-player__volume {
    flex: 1;
    height: 4px;
    background: #333;
    border-radius: 2px;
    cursor: pointer;
    max-width: 100px;
}

.pxv-music-player__volume-bar {
    height: 100%;
    background: var(--pxv-player-accent);
    border-radius: 2px;
    width: 100%;
}

/* Track List */
.pxv-music-player__tracklist {
    max-height: 250px;
    overflow-y: auto;
    border-top: 1px solid #333;
    padding-top: 10px;
    margin-top: 10px;
}

.pxv-music-player__track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pxv-music-player__track:hover {
    background: rgba(255, 255, 255, 0.05);
}

.pxv-music-player__track.is-active {
    background: rgba(255, 255, 255, 0.1);
}

.pxv-music-player__track.is-active .pxv-music-player__track-title {
    color: var(--pxv-player-accent);
}

.pxv-music-player__track-num {
    font-size: 0.85rem;
    color: #666;
    min-width: 20px;
}

.pxv-music-player__track.is-active .pxv-music-player__track-num {
    color: var(--pxv-player-accent);
}

.pxv-music-player__track-details {
    flex: 1;
    min-width: 0;
}

.pxv-music-player__track-title {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.pxv-music-player__track-artist {
    font-size: 0.8rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.pxv-music-player__track-duration {
    font-size: 0.8rem;
    color: #666;
}

.pxv-music-player__track-playing {
    display: none;
    color: var(--pxv-player-accent);
}

.pxv-music-player__track-playing svg {
    width: 18px;
    height: 18px;
    animation: pxv-music-pulse 1s ease-in-out infinite;
}

.pxv-music-player__track.is-active .pxv-music-player__track-playing {
    display: block;
}

@keyframes pxv-music-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Compact Layout */
.pxv-music-player--compact .pxv-music-player__now-playing {
    display: none;
}

.pxv-music-player--compact .pxv-music-player__tracklist {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* Minimal Layout */
.pxv-music-player--minimal {
    max-width: 350px;
}

.pxv-music-player--minimal .pxv-music-player__now-playing {
    flex-direction: row;
    text-align: left;
    gap: 15px;
}

.pxv-music-player--minimal .pxv-music-player__cover {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
}

.pxv-music-player--minimal .pxv-music-player__cover-placeholder svg {
    width: 30px;
    height: 30px;
}

/* Scrollbar styling */
.pxv-music-player__tracklist::-webkit-scrollbar {
    width: 6px;
}

.pxv-music-player__tracklist::-webkit-scrollbar-track {
    background: transparent;
}

.pxv-music-player__tracklist::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.pxv-music-player__tracklist::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive */
@media (max-width: 480px) {
    .pxv-music-player {
        padding: 15px;
        border-radius: 8px;
    }

    .pxv-music-player__cover {
        width: 150px;
        height: 150px;
    }

    .pxv-music-player__title {
        font-size: 1.1rem;
    }

    .pxv-music-player__btn--play {
        width: 45px;
        height: 45px;
    }
}
