/* ============================================
   🔥 HotGirls — Premium Dark Theme
   Mobile-First | Fast | Ad-Ready
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0f;
    --bg-card: #14141f;
    --bg-card-hover: #1c1c2e;
    --surface: #1a1a2e;
    --border: rgba(255, 255, 255, 0.06);
    --text: #f0f0f5;
    --text-muted: #8888a0;
    --accent: #ff2d55;
    --accent-glow: rgba(255, 45, 85, 0.4);
    --accent2: #ff6b35;
    --gradient: linear-gradient(135deg, #ff2d55 0%, #ff6b35 50%, #ffb700 100%);
    --gradient-dark: linear-gradient(135deg, #ff2d55 0%, #c2185b 100%);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(255, 45, 85, 0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: contain;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- Ad Slots ---------- */
.ad-slot {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111122 0%, #0d0d18 100%);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    position: relative;
    min-height: 60px;
    overflow: hidden;
}

.ad-label {
    position: absolute;
    top: 4px;
    left: 8px;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    opacity: 0.5;
}

.ad-banner-top {
    min-height: 50px;
    flex-direction: column;
}

.ad-banner-mid {
    min-height: 90px;
    margin: 8px 0;
}

.ad-sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    min-height: 50px;
    background: linear-gradient(135deg, #111122 0%, #0d0d18 100%);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.ad-close-btn {
    position: absolute;
    top: 4px;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.2s;
}

.ad-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 24px;
    animation: firePulse 2s ease-in-out infinite;
}

@keyframes firePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.logo-text {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #fff;
}

.logo-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: none;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 45, 85, 0.15);
}

.nav-link.active {
    background: var(--gradient-dark);
    color: #fff;
}

/* Menu Button */
.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 0;
    /* FLOW UNDER HEADER FOR SLEEK LOOK */
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: flex; /* Display side by side */
    grid-template-columns: 1fr 1fr;
    background: #0a0a0f;
    overflow: hidden;
}

.hero-img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 1.5s ease;
}

#heroVid {
    object-position: center 50%; /* Zoom out/Center to see more area */
}

.hero-img.ready {
    opacity: 1;
}

@media (min-width: 1024px) {
    .header {
        position: absolute;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
    }

    .header-inner {
        padding: 24px 40px;
    }

    .nav {
        display: flex;
    }

    .menu-btn {
        display: none;
    }

    .hero {
        min-height: 120vh; /* Increased height to show more video area */
    }

    .hero-bg {
        background: none;
        gap: 0;
    }

    .hero-img {
        width: 50%;
        transform: none;
        filter: none;
        transition: opacity 1.5s ease;
    }
    
    .hero-bg::after {
        background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    }

    .hero-content {
        max-width: 800px;
        margin-left: 50px;
        text-align: left;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        transform: translateY(-50px);
        align-items: flex-start;
    }

    .hero-title {
        font-size: 36px; /* Smaller size */
        margin-bottom: 20px;
        text-shadow: 0 4px 15px rgba(0,0,0,0.4); /* Lighter shadow */
    }

    .hero-sub {
        font-size: 18px; /* Smaller size */
        margin-bottom: 50px;
        margin-left: 0;
        max-width: 600px;
        text-shadow: 0 2px 6px rgba(0,0,0,0.3); /* Much lighter */
    }

    .watch-btn.hero-watch-btn {
        padding: 22px 65px;
        font-size: 22px;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 10, 15, 0.4) 0%, /* Lighter bottom gradient */
            rgba(10, 10, 15, 0.1) 30%,
            transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 24px 30px 40px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.3), transparent); /* Lightened */
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 45, 85, 0.2);
    border: 1px solid rgba(255, 45, 85, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 16px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.3);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 45, 85, 0);
    }
}

.hero-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 500px;
}

.hero-viewers {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    animation: liveDot 1.5s ease-in-out infinite;
}

@keyframes liveDot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ---------- Watch Now Buttons ---------- */
.watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gradient);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.watch-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 50px rgba(255, 45, 85, 0.5);
}

.watch-btn:active {
    transform: scale(0.97);
}

.btn-pulse {
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: var(--gradient);
    animation: btnPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes btnPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.btn-icon {
    font-size: 14px;
}

.card-watch-btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 11px;
    margin-top: 6px;
    border-radius: 8px;
}

/* ---------- Floating CTA ---------- */
.floating-cta {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 90;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.floating-cta.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.floating-watch-btn {
    padding: 14px 32px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 8px 40px rgba(255, 45, 85, 0.5);
}

/* ---------- Sections ---------- */
.section {
    padding: 20px 8px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    transition: opacity 0.2s;
}

.see-all:hover {
    opacity: 0.8;
}

/* ---------- Grid ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* ---------- Cards ---------- */
.card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 45, 85, 0.2);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.card-img-wrap {
    position: relative;
    aspect-ratio: 9/14;
    overflow: hidden;
    background: #111;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    gap: 6px;
}

.card-duration {
    align-self: flex-end;
    background: rgba(0, 0, 0, 0.75);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.card-badge-hot,
.card-badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.card-badge-hot {
    background: rgba(255, 45, 85, 0.9);
    color: #fff;
}

.card-badge-new {
    background: rgba(255, 183, 0, 0.9);
    color: #111;
}

.card-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 45, 85, 0.9);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(255, 45, 85, 0.5);
}

.card:hover .card-play-btn {
    transform: translate(-50%, -50%) scale(1);
}

.card-info {
    padding: 8px 8px 6px;
}

.card-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--text-muted);
}

/* ---------- Video Cards ---------- */
.card-video-wrap {
    position: relative;
}

.card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    background: #111;
}

.card:hover .card-video {
    transform: scale(1.08);
}

/* Video indicator icon */
.card-video-wrap::after {
    content: '🎬';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.6);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* ---------- Footer ---------- */
.footer {
    padding: 32px 16px 100px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ---------- Popup ---------- */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: var(--surface);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 80px rgba(255, 45, 85, 0.2);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--gradient-dark);
    font-size: 15px;
    font-weight: 700;
}

.popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.popup-body {
    padding: 28px 24px;
    text-align: center;
}

.popup-body p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.popup-body strong {
    color: #fff;
}

.popup-watch-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
}

.popup-small {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.3) !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

/* ---------- Responsive: Tablet & Desktop ---------- */
@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .section {
        padding: 40px 24px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-content {
        padding: 40px 32px 60px;
    }
}

@media (min-width: 900px) {
    .nav {
        display: flex;
    }

    .menu-btn {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

    .header-inner {
        padding: 14px 32px;
    }

    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .section {
        padding: 48px 32px;
        max-width: 1440px;
        margin: 0 auto;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-title {
        font-size: 44px;
        max-width: 650px;
    }

    .hero-sub {
        font-size: 17px;
    }

    .hero-content {
        padding: 60px 48px 80px;
    }

    .card-img-wrap {
        aspect-ratio: 2/3;
    }

    .card-title {
        font-size: 15px;
    }

    .card-meta {
        font-size: 12px;
    }

    .footer {
        padding-bottom: 80px;
    }

    .ad-banner-top {
        display: flex;
        max-width: 300px;
        margin: 0 auto;
        background: transparent;
        border: none;
    }

    .ad-banner-mid {
        max-width: 728px;
        margin: 16px auto;
    }
}

@media (min-width: 1200px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ---------- Scroll Animations ---------- */
.card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Skeleton Loading ---------- */
.card-img[src=""],
.card-img:not([src]),
.hero-img[src=""],
.hero-img:not([src]) {
    background: linear-gradient(110deg, #1a1a2e 30%, #252540 50%, #1a1a2e 70%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 45, 85, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 45, 85, 0.5);
}

/* ---------- Video Player Modal ---------- */
.video-player-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.video-player-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-player-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(255, 45, 85, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-player-overlay.active .video-player-wrap {
    transform: scale(1);
}

.video-player-main {
    width: 100%;
    max-height: 80vh;
    background: #000;
    display: block;
}

.video-player-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 45, 85, 0.9);
    border: none;
    color: #fff;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.video-player-close:hover {
    background: #ff2d55;
    transform: scale(1.1);
}

/* ---------- Fake Buffering Screen ---------- */
.video-buffering {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff2d55;
    font-weight: 700;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.video-buffering p {
    margin-top: 15px;
    animation: pulse-live 1.5s infinite;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 45, 85, 0.3);
    border-top-color: #ff2d55;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.video-player-wrap.playing .video-buffering {
    opacity: 0;
    pointer-events: none;
}

/* ---------- Video Lock Screen Trap ---------- */
.video-player-wrap.locked .video-player-main {
    filter: blur(15px);
    pointer-events: none;
}

.video-lock-screen {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 24px;
    text-align: center;
}

.video-player-wrap.locked .video-lock-screen {
    opacity: 1;
    visibility: visible;
}

.lock-icon {
    font-size: 60px;
    margin-bottom: 12px;
    animation: pulse-live 2s infinite;
}

.lock-title {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.lock-text {
    color: #ffd700;
    font-size: 17px;
    font-weight: 600;
    max-width: 320px;
    margin-bottom: 24px;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.lock-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 18px 24px;
    font-size: 16px;
    box-shadow: 0 10px 40px rgba(255, 45, 85, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: none;
}

.lock-btn:hover {
    transform: scale(1.05);
}

/* ---------- Categories ---------- */
.categories-section {
    padding-top: 10px;
    padding-bottom: 0;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px;
}

.category-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.category-tag:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ---------- Live Cams ---------- */
.cams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 16px;
}

@media (max-width: 600px) {
    .cams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cam-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.cam-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent);
}

.cam-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.cam-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cam-blur-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.2);
}

.cam-live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 0, 0, 0.9);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    animation: pulse-live 1.5s infinite;
    z-index: 2;
}

@keyframes pulse-live {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.cam-viewers {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    z-index: 2;
}

.cam-info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cam-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

.cam-status {
    font-size: 0.75rem;
    color: #4caf50;
}

.live-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    animation: pulse-live 1s infinite;
    margin-left: 4px;
}

.cams-join-btn {
    display: flex;
    margin: 16px auto 0;
    width: fit-content;
}

/* ---------- Vote Section ---------- */
.vote-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    flex-wrap: nowrap;
}

.vote-card {
    position: relative;
    flex: 1;
    max-width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.vote-card:hover {
    border-color: var(--accent);
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.vote-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.vote-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.vote-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.vote-percent {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.1rem;
}

.vote-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--gradient);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.vote-btn:hover {
    filter: brightness(1.2);
}

.vote-vs {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
    flex-shrink: 0;
}

.vote-total {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
}

/* ---------- Top Models ---------- */
.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 16px;
}

@media (max-width: 600px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.model-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent);
}

.model-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.model-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.model-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.model-age {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.model-online {
    font-size: 0.75rem;
    color: #4caf50;
}

.model-msg-btn {
    display: block;
    width: 100%;
    padding: 8px;
    background: var(--gradient);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.model-msg-btn:hover {
    filter: brightness(1.2);
}

/* ---------- Fake Comments ---------- */
.comments-list {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-user {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
}

.comment-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.comment-text {
    font-size: 0.85rem;
    color: var(--text);
    margin-top: 4px;
    line-height: 1.4;
}

/* ---------- Countdown Timer ---------- */
.card-countdown {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 0, 0, 0.85);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 3;
    animation: pulse-live 2s infinite;
}

/* ---------- Notification Bell ---------- */
.notif-bell {
    position: fixed;
    top: 80px;
    right: 16px;
    z-index: 900;
    cursor: pointer;
    animation: bell-shake 3s infinite;
}

@keyframes bell-shake {

    0%,
    100% {
        transform: rotate(0);
    }

    10%,
    30% {
        transform: rotate(10deg);
    }

    20%,
    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0);
    }
}

.notif-bell-icon {
    font-size: 28px;
}

.notif-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
}

.notif-tooltip {
    position: absolute;
    top: 40px;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.notif-bell:hover .notif-tooltip {
    opacity: 1;
}

/* ---------- Ad Banners Core Styles ---------- */
.ad-slot {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    text-align: center;
}

.ad-banner-top {
    padding-top: 5px;
    /* Fixed sticky header took care of top space! */
    padding-bottom: 5px;
}

.ad-banner-mid {
    margin: 20px 0;
}

/* ==============================================
   PROFESSIONAL LEGAL FOOTER
   ============================================== */
.legal-footer {
    background: #050508;
    color: #555;
    padding: 60px 20px 100px;
    border-top: 1px solid var(--border);
    font-size: 13px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.footer-branding .logo-text {
    font-size: 28px;
    opacity: 0.8;
}

.footer-tagline {
    margin-top: 10px;
    color: #444;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    color: #888;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-group a {
    display: block;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.link-group a:hover {
    color: var(--accent);
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-badges {
    display: flex;
    gap: 15px;
}

.badge {
    border: 1px solid #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 10px;
    color: #444;
}

@media (max-width: 768px) {
    .legal-footer {
        padding: 40px 20px 120px;
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* ============================================
   📞 Incoming Call Screen
   ============================================ */

.call-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font-family: var(--font);
    color: #fff;
}

.call-overlay.active {
    display: flex;
    animation: callOverlayIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes callOverlayIn {
    from { opacity: 0; transform: scale(1.1); }
    to { opacity: 1; transform: scale(1); }
}

.call-canvas {
    width: 100%;
    height: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 80px 40px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.call-info-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.call-avatar-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
}

.call-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.call-ripple {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: rgba(255, 45, 85, 0.2);
    z-index: 1;
    animation: ripplePulse 2s infinite;
}

@keyframes ripplePulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.call-user-name {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 5px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.call-subtext {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.call-free-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-top: 10px;
    backdrop-filter: blur(5px);
}

.call-footer {
    width: 100%;
}

.call-btns {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.call-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.call-btn-group span {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.call-action-btn {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
}

.btn-decline {
    background: #ff3b30;
    color: #fff;
}

.btn-decline svg {
    transform: rotate(135deg);
}

.btn-decline:hover {
    background: #ff453a;
    transform: scale(1.1);
}

.btn-accept {
    background: #34c759;
    color: #fff;
}

.btn-accept:hover {
    background: #30d158;
    transform: scale(1.1);
}

.btn-icon-svg {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-svg svg {
    width: 100%;
    height: 100%;
}

.btn-pulse-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 3px solid #34c759;
    animation: buttonPulse 1.5s infinite;
}

@keyframes buttonPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 480px) {
    .call-canvas {
        padding: 100px 20px 80px;
    }
    
    .call-avatar-wrap {
        width: 140px;
        height: 140px;
    }
    
    .call-user-name {
        font-size: 28px;
    }
    
    .call-action-btn {
        width: 65px;
        height: 65px;
    }
}

/* ==============================================
   VIRAL SHARE-TO-UNLOCK SECTION
   ============================================== */
.viral-section {
    padding: 0 16px;
    margin-bottom: 30px;
}

.viral-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(255, 45, 85, 0.2);
    position: relative;
}

.viral-content-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.viral-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease;
}

.viral-img.blurred {
    filter: blur(25px) brightness(0.6);
}

.viral-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    z-index: 10;
    color: #fff;
}

.lock-icon-big {
    font-size: 50px;
    margin-bottom: 10px;
    animation: lockShake 3s infinite;
}

@keyframes lockShake {
    0%, 100% { transform: scale(1); }
    10%, 20% { transform: rotate(-10deg) scale(1.1); }
    15%, 25% { transform: rotate(10deg) scale(1.1); }
    30% { transform: rotate(0) scale(1); }
}

.viral-overlay h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.viral-overlay p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 260px;
}

.share-progress-bar {
    width: 100%;
    max-width: 220px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #25D366;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px !important;
}

.share-wa-btn {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.2s;
    animation: btnBreath 2s infinite;
}

@keyframes btnBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.share-wa-btn:active {
    transform: scale(0.95);
}

.small-hint {
    font-size: 11px !important;
    margin-top: 15px !important;
    opacity: 0.6 !important;
}

.unlocked-msg {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    z-index: 20;
    gap: 10px;
}

.badge-premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.viral-info {
    padding: 15px;
}

.viral-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.viral-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==============================================
   📊 LIVE STATS BAR AI
   ============================================== */
.live-stats-bar {
    width: 100%;
    background: #000;
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow-x: auto;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-item strong {
    color: #fff;
    font-weight: 800;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff2d55;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff2d55;
    animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
    .hidden-mobile {
        display: none;
    }
    .live-stats-bar {
        gap: 12px;
        padding: 6px 12px;
    }
}

/* ==============================================
   🔔 SOCIAL PROOF POPUP AI
   ============================================== */
.social-proof-container {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 10000;
    pointer-events: none;
}

.social-proof-popup {
    background: rgba(30, 30, 45, 0.95);
    border: 1px solid rgba(255, 45, 85, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    margin-bottom: 10px;
    animation: slideInPopup 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, 
               fadeOutPopup 0.5s 6s forwards;
    width: 280px;
}

.popup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}

.popup-content {
    flex: 1;
}

.popup-text {
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.popup-text b {
    color: var(--accent);
}

.popup-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

@keyframes slideInPopup {
    from { transform: translateX(-120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOutPopup {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}

@media (max-width: 768px) {
    .social-proof-container {
        bottom: 100px; /* Above the sticky ad if it exists */
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
    }
    .social-proof-popup {
        width: 100%;
    }
}

/* ---------- Skeleton & Performance ---------- */
.skeleton {
    background: linear-gradient(90deg, #14141f 0%, #1c1c2e 50%, #14141f 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.card-img-wrap {
    background: #111;
}

img:not([src]) {
    visibility: hidden;
}

.hero-img {
    transition: opacity 1s ease, transform 0.5s ease;
}

.hero-img:not(.ready) {
    opacity: 0;
}
