/* Use the same CSS from your original code, but make background dynamic */
.ivs-slider-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.ivs-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.ivs-header {
    text-align: center;
    margin-bottom: 40px;
}

.ivs-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.ivs-header h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #ccc;
}

.ivs-header .subtitle {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

.ivs-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(
        to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
}

.ivs-slider {
    display: flex;
    gap: 40px;
    will-change: transform;
}

.ivs-slider.smooth-transition {
    transition: transform 0.5s linear !important;
}

.ivs-slider-item {
    flex: 0 0 280px;
    height: 580px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    transition: transform 0.3s ease;
    transform-origin: center;
    background: #000;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

/* Zoom effect on hover */
.ivs-slider-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.ivs-iphone-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.8),
        inset 0 6px 6px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.1);
    border: 8px solid #1a1a1a;
}

/*iphone 15 Notch styling */
.ivs-iphone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 15px;
    z-index: 11;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.5);
}

.ivs-iphone-frame::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 6px;
    background: #0a0a0a;
    border-radius: 3px;
    z-index: 12;
}

.ivs-video-container {
    position: relative;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 32px;
    overflow: hidden;
    margin: 10px;
    z-index: 1;
}

.ivs-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ivs-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
}

.ivs-play-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 16px;
    flex-shrink: 0;
}

.ivs-video-stats {
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    min-width: 120px;
    height: 30px;
    display: flex;
    align-items: center;
}

.ivs-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.ivs-control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ivs-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.ivs-progress-container {
    flex: 1;
    max-width: 400px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.ivs-progress-bar {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ffa726);
    width: 0%;
    transition: width 0.3s ease;
}

.ivs-slider-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.ivs-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ivs-indicator-dot.active {
    background: #fff;
    transform: scale(1.2);
}

div#ivsSlider a:where(:not(.wp-element-button)) {
    color: transparent;
}

img.ivs-play-img {
    width: 35px;
    height: 35px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ivs-header h1 {
        font-size: 2.5rem;
    }
    
    .ivs-header h2 {
        font-size: 1.5rem;
    }
    
    .ivs-slider-item {
        flex: 0 0 240px;
        height: 500px;
    }
    
    .ivs-video-stats {
        font-size: 20px;
    }
    
    .ivs-iphone-frame::before {
        width: 120px;
        height: 20px;
    }
    
    .ivs-iphone-frame::after {
        width: 40px;
        height: 5px;
    }
}