/* ==========================================================================
   LADIESHE.COM - Escort Reels & Vertical Video Feed Stylesheet (reels.css)
   Externalized for Browser Caching, Core Web Vitals & Google SEO
   ========================================================================== */

html, body {
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

select.city-select-pill, select[name="sehir"] {
    background-color: #14151b !important;
    background-image: none !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    height: 32px !important;
    line-height: 30px !important;
    padding: 0 30px 0 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    outline: none !important;
}

select.city-select-pill:hover, select[name="sehir"]:hover {
    background-color: #1a1c24 !important;
    color: #ffffff !important;
    border-color: rgba(245, 158, 11, 0.5) !important;
}

select.city-select-pill option, select[name="sehir"] option {
    background-color: #14151b !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
}

.reels-feed {
    height: 100%;
    height: 100dvh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.reels-feed::-webkit-scrollbar {
    display: none;
}

.reel-item {
    position: relative;
    height: 100%;
    height: 100dvh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000000;
    isolation: isolate;
    contain: strict;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.reel-phone-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000000;
    isolation: isolate;
    contain: paint;
    transform: translate3d(0, 0, 0);
}

.reel-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #000000;
    display: block;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Ambient Backdrop on Desktop */
@media (min-width: 768px) {
    .reel-bg-ambient {
        position: absolute;
        inset: 0;
        filter: blur(50px) brightness(0.2);
        transform: scale(1.05) translate3d(0, 0, 0);
        z-index: 1;
        pointer-events: none;
        opacity: 0.5;
    }
    .reel-phone-frame {
        max-width: 440px;
        height: 96%;
        max-height: 880px;
        border-radius: 32px;
        box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12);
    }
}

.overlay-gradient {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 76px !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.08) 75%, transparent 100%);
}

.top-gradient {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

/* Floating Hearts Animation */
@keyframes floatHeart {
    0% { transform: scale(0.6) translateY(0); opacity: 1; }
    50% { transform: scale(1.3) translateY(-40px); opacity: 0.9; }
    100% { transform: scale(1.6) translateY(-90px); opacity: 0; }
}

.heart-particle {
    position: absolute;
    pointer-events: none;
    animation: floatHeart 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.action-btn-circle {
    width: 46px;
    height: 46px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn-circle:active {
    transform: scale(0.92);
}

/* Progress scrubber */
.reel-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 30;
}

.reel-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f43f5e, #f59e0b);
    transition: width 0.1s linear;
}

/* Instagram-Style Minimalist Play & Sound Indicators (Auto-hidden during playback) */
.reel-paused-controls {
    opacity: 0;
    transform: scale(0.88);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.reel-item.is-paused .reel-paused-controls {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.reel-sound-flash-indicator {
    position: absolute;
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reel-sound-flash-indicator.flash-active {
    opacity: 1;
    transform: scale(1.15);
}

/* Non-Destructive Center Transparent PNG Watermark Overlay on Reels Video */
.reel-watermark-overlay {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('../img/watermark.png?v=2') center center / 225px auto no-repeat !important;
    opacity: 0.75 !important;
    pointer-events: none !important;
    user-select: none !important;
    z-index: 15 !important;
    transition: opacity 0.2s ease;
}
.reel-item.is-paused .reel-watermark-overlay {
    opacity: 0.25 !important;
}
.reel-top-vid-btn {
    height: 32px !important;
    line-height: 30px !important;
}
