/**
 * Public Styles for SlideFlow
 */
.sf-slider-wrapper {
    width: 100% !important; background: transparent !important; padding: 0 !important;
    margin: 0 0 20px 0 !important; line-height: 0 !important; position: relative; overflow: hidden; 
}
.sf-main-swiper { position: relative !important; width: 100%; height: 100%; overflow: hidden; }
.sf-slide-inner { position: relative; width: 100%; height: 100%; overflow: hidden; }
.sf-anchor-wrap {
    display: block !important; width: 100% !important; height: 100% !important; border-radius: inherit !important; 
    overflow: hidden !important; background: transparent !important; position: relative;
}

/* --- YOUTUBE STYLES --- */
.sf-yt-wrapper {
    position: absolute; top: 0; left: 0; width: 100% !important; height: 115% !important; 
    overflow: hidden; pointer-events: none; z-index: 1;
    will-change: transform; transform-origin: center top;
}
.sf-yt-iframe {
    width: 100vw; height: 56.25vw; 
    min-height: 115vh; min-width: 204.44vh; 
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); pointer-events: none; border: none;
}

/* --- GRADIENTS & DECORATORS --- */
.sf-header-gradient {
    position: absolute; top: 0; left: 0; width: 100%; height: 200px; 
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0) 100%);
    z-index: 4; pointer-events: none;
}
.sf-header-decorator {
    position: absolute; top: 0; left: 0; width: 100%; z-index: 5; pointer-events: none;
}
.sf-style-glass {
    height: 140px; background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.sf-style-wave {
    height: 150px; background-repeat: no-repeat; background-size: cover;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
}
.sf-style-spotlight {
    height: 300px;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 30%, transparent 70%);
}
.sf-bottom-gradient {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; 
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 15%, rgba(255,255,255,0) 100%);
    z-index: 4; pointer-events: none;
}
.sf-film-grain {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none;
    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.12;
}

/* --- MEDIA & LAYOUT --- */
.sf-core-media {
    width: 100% !important; height: 115% !important; 
    display: block !important; border: none !important; margin: 0 !important;
    object-fit: cover; transform-origin: center top; will-change: transform; z-index: 1;
}
video.sf-core-media { pointer-events: none; }

.sf-overlay-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 6; pointer-events: none; will-change: transform, opacity; }
.sf-overlay-positioner { position: absolute; left: 0; right: 0; top: var(--sf-v-pos-d, 50%); transform: translateY(-50%); display: flex; justify-content: center; width: 100%; }
.sf-overlay-inner { max-width: 1280px; width: 100%; padding: 0 20px; }

.sf-align-d-left { text-align: left; } .sf-align-d-left .sf-overlay-buttons { justify-content: flex-start; }
.sf-align-d-center { text-align: center; } .sf-align-d-center .sf-overlay-buttons { justify-content: center; }
.sf-align-d-right { text-align: right; } .sf-align-d-right .sf-overlay-buttons { justify-content: flex-end; }

/* --- REVEAL ANIMATIONS --- */
.sf-reveal-wait { opacity: 0; transform: translateY(40px); transition: opacity 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1); display: inline-block; max-width: 700px; line-height: 1.2 !important; text-align: inherit; }
.sf-reveal-active { opacity: 1 !important; transform: translateY(0) !important; }
.sf-reveal-wait * { pointer-events: auto; }

.sf-overlay-headline { font-weight: 800; margin: 0 0 25px 0; line-height: 1.2; text-shadow: none !important; font-size: var(--sf-hl-d, 48px); }
.sf-overlay-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.sf-btn { display: inline-block; padding: 14px 30px; font-weight: bold; text-decoration: none !important; border-radius: 100px; border: 2px solid transparent; text-align: center; font-size: var(--sf-btn-d, 16px); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.sf-btn:hover { transform: translateY(-3px); box-shadow: 0 7px 14px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.10); opacity: 0.95; }
.sf-btn:active { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }

.sf-desktop-view { display: block !important; }
.sf-mobile-view { display: none !important; }

.sf-main-swiper .swiper-pagination { bottom: 15px !important; z-index: 10 !important; }
.sf-main-swiper .swiper-pagination-bullet { background: #fff !important; opacity: 0.6; width: 10px; height: 10px; margin: 0 5px !important; box-shadow: 0 0 4px rgba(0,0,0,0.3); }
.sf-main-swiper .swiper-pagination-bullet-active { background: #fff !important; opacity: 1; transform: scale(1.2); }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .sf-slider-wrapper { aspect-ratio: 1080 / 1350; height: auto !important; }
    .sf-main-swiper, .sf-slide-inner, .sf-anchor-wrap { height: 100% !important; }
    
    .sf-header-gradient { height: 150px !important; background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 15%, rgba(255,255,255,0) 100%) !important; }
    .sf-bottom-gradient { height: 75px !important; background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 15%, rgba(255,255,255,0) 100%) !important; }
    
    .sf-style-glass { height: 100px !important; } .sf-style-wave { height: 100px !important; } .sf-style-spotlight { height: 200px !important; }

    .sf-desktop-view { display: none !important; }
    .sf-mobile-view { display: block !important; }
    .sf-main-swiper .swiper-pagination { bottom: 10px !important; }
    .sf-overlay-positioner { top: var(--sf-v-pos-m, 50%) !important; }
    
    .sf-align-m-left { text-align: left !important; } .sf-align-m-left .sf-overlay-buttons { justify-content: flex-start !important; flex-direction: column; align-items: flex-start; }
    .sf-align-m-center { text-align: center !important; } .sf-align-m-center .sf-overlay-buttons { justify-content: center !important; flex-direction: column; align-items: center; }
    .sf-align-m-right { text-align: right !important; } .sf-align-m-right .sf-overlay-buttons { justify-content: flex-end !important; flex-direction: column; align-items: flex-end; }
    
    .sf-overlay-headline { font-size: var(--sf-hl-m, 28px) !important; margin-bottom: 20px !important; }
    .sf-btn { padding: 12px 24px !important; font-size: var(--sf-btn-m, 14px) !important; width: 100% !important; max-width: 300px; }
}