/* General Styles */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #ff4081;
    --text-color: #333;
    --background-color: #f4f4f4;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden !important;
}

.navbar-dark {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Video Card Styles */
.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.video-card .card-img-top {
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .card-img-top {
    transform: scale(1.05);
}

.video-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /*height: 3rem;*/
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-color);
}

.video-card .card-info {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-color);
}

/* Header Image */
.header-image-container {
    position: relative;
    overflow: hidden;
}

.header-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
}

.promo-column {
    background: linear-gradient(135deg, #6a11cb, #2575fc) !important;
    color: white !important;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem !important;
    min-height: 300px;
}

.promo-column h3 {
    color: white !important;
    margin-bottom: 1rem;
    font-weight: bold;
}

.promo-column p {
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 1.5rem;
}

.promo-column .btn {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-card .card-title {
        font-size: 1rem;
        height: 2.8rem;
    }
}


/* Video Player Styles */
.video-player-container {
    background-color: #000;
    position: relative;
}

.video-player-container video {
    width: 100%;
    max-height: 70vh;
}

.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Tag and Model Links */
.tag-link, .model-link {
    transition: all 0.2s;
    text-decoration: none;
    margin: 0.25rem;
    display: inline-block;
}

.tag-link:hover, .model-link:hover {
    transform: scale(1.05);
}

/* Pagination Styles */
.pagination {
    margin-top: 2rem;
}

.page-link {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .video-grid {
        margin: -0.5rem;
    }
    
    .video-card {
        margin: 0.5rem;
    }
    
    .video-info {
        font-size: 0.9rem;
    }
    
    .tag-link, .model-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body.dark-mode {
        background-color: #1a1a1a;
        color: #f5f5f5;
    }
    
    .dark-mode .card {
        background-color: #2d2d2d;
        border-color: #404040;
    }
    
    .dark-mode .navbar {
        background-color: #2d2d2d !important;
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Button States */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1050;
}


.video-card {
    transition: transform 0.2s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card .card-img-top {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-card .card-title {
        font-size: 1rem;
        height: 2.8rem;
    }
}



.container-fix {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}


/* Option 1: Subtle Rainbow Gradient */
.rainbow-gradient {
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.3) 0%,   /* Light pink */
        rgba(255, 218, 185, 0.3) 16%,  /* Peach */
        rgba(255, 255, 186, 0.3) 33%,  /* Light yellow */
        rgba(186, 255, 201, 0.3) 50%,  /* Light green */
        rgba(186, 225, 255, 0.3) 66%,  /* Light blue */
        rgba(221, 186, 255, 0.3) 83%,  /* Light purple */
        rgba(255, 182, 193, 0.3) 100%  /* Back to light pink */
    );
}

/* Option 2: Soft Pastel Gradient */
.pastel-gradient {
    background: linear-gradient(45deg, 
        rgba(255, 240, 245, 0.8) 0%,   /* Very light pink */
        rgba(240, 248, 255, 0.8) 25%,  /* Very light blue */
        rgba(245, 255, 250, 0.8) 50%,  /* Very light green */
        rgba(255, 250, 240, 0.8) 75%,  /* Very light orange */
        rgba(248, 240, 255, 0.8) 100%  /* Very light purple */
    );
}

/* Option 3: Warm Sunset Gradient */
.sunset-gradient {
    background: linear-gradient(135deg, 
        rgba(255, 154, 158, 0.2) 0%,   /* Light coral */
        rgba(250, 208, 196, 0.2) 33%,  /* Light peach */
        rgba(255, 206, 84, 0.2) 66%,   /* Light gold */
        rgba(255, 154, 158, 0.2) 100%  /* Back to coral */
    );
}

/* Option 4: Cool Ocean Gradient */
.ocean-gradient {
    background: linear-gradient(45deg, 
        rgba(174, 198, 207, 0.3) 0%,   /* Light blue-gray */
        rgba(230, 230, 250, 0.3) 25%,  /* Lavender */
        rgba(175, 238, 238, 0.3) 50%,  /* Pale turquoise */
        rgba(245, 245, 220, 0.3) 75%,  /* Beige */
        rgba(174, 198, 207, 0.3) 100%  /* Back to blue-gray */
    );
}

/* Option 5: Subtle Prism (Most Rainbow-like but very light) */
.prism-gradient {
    background: linear-gradient(90deg, 
        rgba(255, 99, 132, 0.15) 0%,   /* Light red */
        rgba(255, 159, 64, 0.15) 14%,  /* Light orange */
        rgba(255, 205, 86, 0.15) 28%,  /* Light yellow */
        rgba(75, 192, 192, 0.15) 42%,  /* Light teal */
        rgba(54, 162, 235, 0.15) 57%,  /* Light blue */
        rgba(153, 102, 255, 0.15) 71%, /* Light purple */
        rgba(255, 99, 132, 0.15) 85%,  /* Light pink */
        rgba(255, 159, 64, 0.15) 100%  /* Back to orange */
    );
}


/* Layered Flowing Background Shapes - Left Group (20-40%) */
.bg-left-layer1 {
    position: fixed;
    left: 20%;
    top: 0;
    width: 20%;
    height: 100vh;
    background: #FF1493;
    opacity: 0.25;
    clip-path: polygon(0% 0%, 85% 0%, 75% 100%, 10% 100%);
    z-index: -5;
    filter: drop-shadow(0 8px 32px rgba(255, 20, 147, 0.3));
}

.bg-left-layer2 {
    position: fixed;
    left: 22%;
    top: 0;
    width: 18%;
    height: 100vh;
    background: #FF5722;
    opacity: 0.3;
    clip-path: polygon(20% 0%, 100% 0%, 90% 100%, 0% 100%);
    z-index: -4;
    filter: drop-shadow(0 6px 24px rgba(255, 87, 34, 0.25));
}

.bg-left-layer3 {
    position: fixed;
    left: 25%;
    top: 0;
    width: 15%;
    height: 100vh;
    background: #FF6B35;
    opacity: 0.35;
    clip-path: polygon(0% 0%, 80% 0%, 95% 30%, 85% 70%, 70% 100%, 15% 100%);
    z-index: -3;
    filter: drop-shadow(0 4px 16px rgba(255, 107, 53, 0.2));
}

.bg-left-layer4 {
    position: fixed;
    left: 28%;
    top: 0;
    width: 12%;
    height: 100vh;
    background: #FF8A65;
    opacity: 0.4;
    clip-path: polygon(30% 0%, 100% 0%, 85% 100%, 0% 100%);
    z-index: -2;
    filter: drop-shadow(0 2px 12px rgba(255, 138, 101, 0.15));
}

.bg-left-layer5 {
    position: fixed;
    left: 32%;
    top: 0;
    width: 8%;
    height: 100vh;
    background: #FFAB91;
    opacity: 0.45;
    clip-path: polygon(0% 0%, 70% 0%, 90% 40%, 80% 80%, 60% 100%, 20% 100%);
    z-index: -1;
    filter: drop-shadow(0 1px 8px rgba(255, 171, 145, 0.1));
}

/* Layered Flowing Background Shapes - Right Group (60-80%) */
.bg-right-layer1 {
    position: fixed;
    right: 20%;
    top: 0;
    width: 20%;
    height: 100vh;
    background: #1E88E5;
    opacity: 0.25;
    clip-path: polygon(15% 0%, 100% 0%, 90% 100%, 25% 100%);
    z-index: -5;
    filter: drop-shadow(0 8px 32px rgba(30, 136, 229, 0.3));
}

.bg-right-layer2 {
    position: fixed;
    right: 22%;
    top: 0;
    width: 18%;
    height: 100vh;
    background: #8E24AA;
    opacity: 0.3;
    clip-path: polygon(0% 0%, 80% 0%, 100% 100%, 20% 100%);
    z-index: -4;
    filter: drop-shadow(0 6px 24px rgba(142, 36, 170, 0.25));
}

.bg-right-layer3 {
    position: fixed;
    right: 25%;
    top: 0;
    width: 15%;
    height: 100vh;
    background: #00ACC1;
    opacity: 0.35;
    clip-path: polygon(5% 0%, 100% 0%, 85% 100%, 30% 100%, 15% 70%, 20% 30%);
    z-index: -3;
    filter: drop-shadow(0 4px 16px rgba(0, 172, 193, 0.2));
}

.bg-right-layer4 {
    position: fixed;
    right: 28%;
    top: 0;
    width: 12%;
    height: 100vh;
    background: #26C6DA;
    opacity: 0.4;
    clip-path: polygon(0% 0%, 70% 0%, 100% 100%, 15% 100%);
    z-index: -2;
    filter: drop-shadow(0 2px 12px rgba(38, 198, 218, 0.15));
}

.bg-right-layer5 {
    position: fixed;
    right: 32%;
    top: 0;
    width: 8%;
    height: 100vh;
    background: #4DD0E1;
    opacity: 0.45;
    clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 40% 100%, 20% 80%, 30% 40%);
    z-index: -1;
    filter: drop-shadow(0 1px 8px rgba(77, 208, 225, 0.1));
}

/* Navbar with Muted Layered Shapes */
.navbar-left-layer1 {
    position: absolute;
    left: 20%;
    top: 0;
    width: 20%;
    height: 100%;
    background: rgba(255, 20, 147, 0.08);
    clip-path: polygon(0% 0%, 85% 0%, 75% 100%, 10% 100%);
    z-index: -5;
}

.navbar-left-layer2 {
    position: absolute;
    left: 22%;
    top: 0;
    width: 18%;
    height: 100%;
    background: rgba(255, 87, 34, 0.1);
    clip-path: polygon(20% 0%, 100% 0%, 90% 100%, 0% 100%);
    z-index: -4;
}

.navbar-left-layer3 {
    position: absolute;
    left: 25%;
    top: 0;
    width: 15%;
    height: 100%;
    background: rgba(255, 107, 53, 0.12);
    clip-path: polygon(0% 0%, 80% 0%, 95% 30%, 85% 70%, 70% 100%, 15% 100%);
    z-index: -3;
}

.navbar-right-layer1 {
    position: absolute;
    right: 20%;
    top: 0;
    width: 20%;
    height: 100%;
    background: rgba(30, 136, 229, 0.08);
    clip-path: polygon(15% 0%, 100% 0%, 90% 100%, 25% 100%);
    z-index: -5;
}

.navbar-right-layer2 {
    position: absolute;
    right: 22%;
    top: 0;
    width: 18%;
    height: 100%;
    background: rgba(142, 36, 170, 0.1);
    clip-path: polygon(0% 0%, 80% 0%, 100% 100%, 20% 100%);
    z-index: -4;
}

.navbar-right-layer3 {
    position: absolute;
    right: 25%;
    top: 0;
    width: 15%;
    height: 100%;
    background: rgba(0, 172, 193, 0.12);
    clip-path: polygon(5% 0%, 100% 0%, 85% 100%, 30% 100%, 15% 70%, 20% 30%);
    z-index: -3;
}

/* Update navbar positioning for new layers */
.navbar {
    position: relative;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bg-left-layer1,
    .bg-left-layer2,
    .bg-left-layer3,
    .bg-left-layer4,
    .bg-left-layer5 {
        left: 15%;
        width: 25%;
    }
    
    .bg-right-layer1,
    .bg-right-layer2,
    .bg-right-layer3,
    .bg-right-layer4,
    .bg-right-layer5 {
        right: 15%;
        width: 25%;
    }
    
    .navbar-left-layer1,
    .navbar-left-layer2,
    .navbar-left-layer3 {
        left: 15%;
        width: 25%;
    }
    
    .navbar-right-layer1,
    .navbar-right-layer2,
    .navbar-right-layer3 {
        right: 15%;
        width: 25%;
    }
}

/* Colorful Enhanced Navbar Links */
.navbar-nav .nav-link {
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.2), rgba(255, 171, 145, 0.15));
    border: 1px solid rgba(255, 138, 101, 0.3);
    border-radius: 25px;
    padding: 8px 16px !important;
    margin: 0 4px;
    color: black !important;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link:hover {
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.3), rgba(255, 171, 145, 0.25));
    border-color: rgba(255, 138, 101, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Account button with cool colors */
.navbar-nav .dropdown-toggle {
    background: linear-gradient(45deg, rgba(0, 172, 193, 0.2), rgba(77, 208, 225, 0.15));
    border: 1px solid rgba(38, 198, 218, 0.3);
    border-radius: 25px;
    padding: 8px 18px !important;
    margin: 0 4px;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-nav .dropdown-toggle:hover {
    background: linear-gradient(45deg, rgba(0, 172, 193, 0.3), rgba(77, 208, 225, 0.25));
    border-color: rgba(38, 198, 218, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 172, 193, 0.3);
}

/* Hero Video Section */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

.hero-video-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Glass panels */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-panel {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px 20px;
    color: white;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    pointer-events: auto;
}

.hero-panel.show {
    opacity: 1;
    transform: translateY(0);
}

/* Panel positions */
.panel-top-left { top: 60px; left: 40px; width: 200px; }
.panel-middle-left { top: 50%; left: 40px; transform: translateY(-50%); width: 180px; }
.panel-bottom-center { 
    bottom: 60px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 280px; 
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.3), rgba(255, 171, 145, 0.2));
    border: 2px solid rgba(255, 107, 53, 0.4);
}
.panel-middle-right { top: 50%; right: 40px; transform: translateY(-50%); width: 200px; }

/* Main CTA animation */
.panel-bottom-center {
    animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.02); }
}

/* Close button */
.hero-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.hero-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-video-section {
        padding-bottom: 75%; /* Taller on mobile */
    }
    
    .panel-top-left,
    .panel-middle-left,
    .panel-middle-right {
        display: none;
    }

    .panel-bottom-center {
        bottom: 30px;
        width: 85%;
        left: 7.5%;
        transform: none;
        padding: 12px 16px;
        font-size: 0.9em;
    }    
    
    .panel-bottom-center div:first-child {
        font-size: 1.1em !important;
    }
    
    .panel-bottom-center {
        animation: none;
    }
    
    .hero-close {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
        font-size: 18px;
    }
    
    @keyframes gentlePulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.02); }
    }
}


/* Header Panel Styles */
.header-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-panel-custom {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-content .welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #FF6B35, #FF1493, #1E88E5, #8E24AA);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-content .page-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.header-content .promo-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
    font-weight: 400;
}

.watching-text {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #666;
}

/* Sort Dropdown Styles */
.dropdown.d-inline {
    display: inline-block !important;
}

.sort-current {
    color: #FF6B35;
    text-decoration: none;
    border-bottom: 2px solid #FF6B35;
    padding-bottom: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.sort-current:hover {
    color: #FF1493;
    border-bottom-color: #FF1493;
    transform: translateY(-1px);
}

.sort-current::after {
    display: none; /* Hide Bootstrap's default dropdown arrow */
}

.dropdown .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 8px;
}

.dropdown .dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.dropdown .dropdown-item:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
}

.dropdown .dropdown-item.active {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .header-panel {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }
    .header-panel-custom {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }    
    
    .header-content .welcome-title {
        font-size: 2rem;
    }
    
    .header-content .promo-text {
        font-size: 1rem;
    }
    
    .watching-text {
        font-size: 1rem;
    }
}



/* Hot Tags Section */
.hot-tags-section {
    margin: 3rem 0;
    display: block !important;
    visibility: visible !important;
}

.hot-tags-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.hot-tags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 400px;
    width: 100%;
}

.main-tag {
    grid-row: 1 / 3;
    grid-column: 1;
}

.secondary-tags {
    grid-column: 2;
    grid-row: 1 / 3;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hot-tag-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    min-height: 150px;
    display: block;
}

.hot-tag-card:hover {
    transform: scale(1.02);
    background-size: 110%;
}

.hot-tag-card:hover .tag-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.tag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tag-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
}

.tag-name-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-count-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.main-tag .tag-name-button {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
}

.main-tag .tag-count-circle {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
}

/* Mobile Layout */
@media (max-width: 768px) {
    .hot-tags-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 200px auto;
        height: auto;
        gap: 0.75rem;
    }
    
    .main-tag {
        grid-row: 1;
        grid-column: 1;
    }
    
    .secondary-tags {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 150px 150px;
        gap: 0.75rem;
    }
    
    .hot-tags-title {
        font-size: 1.5rem;
    }
    
    .tag-content {
        padding: 0.75rem;
    }
    
    .tag-name-button {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .tag-count-circle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .main-tag .tag-name-button {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .main-tag .tag-count-circle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}


/* Popular People Section */
.popular-people-section {
    margin: 3rem 0;
    display: block !important;
    visibility: visible !important;
}

.popular-people-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.popular-people-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 400px;
    width: 100%;
}

.secondary-models {
    grid-column: 1;
    grid-row: 1 / 3;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.main-model {
    grid-row: 1 / 3;
    grid-column: 2;
}

.popular-model-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    min-height: 150px;
    display: block;
}

.popular-model-card:hover {
    transform: scale(1.02);
    background-size: 110%;
}

.popular-model-card:hover .model-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.model-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.model-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
}

.model-name-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-count-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.main-model .model-name-button {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
}

.main-model .model-count-circle {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
}

/* Mobile Layout for Popular People */
@media (max-width: 768px) {
    .popular-people-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 200px auto;
        height: auto;
        gap: 0.75rem;
    }
    
    .main-model {
        grid-row: 1;
        grid-column: 1;
    }
    
    .secondary-models {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 150px 150px;
        gap: 0.75rem;
    }
    
    .popular-people-title {
        font-size: 1.5rem;
    }
    
    .model-content {
        padding: 0.75rem;
    }
    
    .model-name-button {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .model-count-circle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .main-model .model-name-button {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .main-model .model-count-circle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Mobile pagination fix */
@media (max-width: 768px) {
    .pagination-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
    }
    
    .pagination {
        white-space: nowrap;
        min-width: max-content;
        margin: 0;
        justify-content: flex-start !important;
    }
    
    .page-item {
        flex-shrink: 0;
    }
    
    .page-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

        .option-3 {
            margin-bottom: 60px;
        }

        .hot-tags-title-3 {
            font-size: 1.8rem;
            font-weight: 700;
            margin: 0;
            color: #495057;
            text-shadow: 
                inset 0 1px 0 rgba(255, 255, 255, 0.8),
                0 1px 0 rgba(255, 255, 255, 1),
                0 2px 4px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(0, 0, 0, 0.05);
            background: linear-gradient(145deg, #f8f9fa, #e9ecef);
            background-clip: text;
            -webkit-background-clip: text;
            letter-spacing: 0.4px;
        }

.fire-emoji-glow {
            display: inline-block;
            filter: 
                drop-shadow(0 0 4px #ff4500)
                drop-shadow(0 0 8px #ff6b35)
                drop-shadow(0 0 12px rgba(255, 69, 0, 0.3));
            animation: fireGlow 3s ease-in-out infinite;
            margin-right: 8px;
        }

        @keyframes fireGlow {
            0%, 100% { 
                filter: 
                    drop-shadow(0 0 4px #ff4500)
                    drop-shadow(0 0 8px #ff6b35)
                    drop-shadow(0 0 12px rgba(255, 69, 0, 0.3));
            }
            50% { 
                filter: 
                    drop-shadow(0 0 6px #ff4500)
                    drop-shadow(0 0 12px #ff6b35)
                    drop-shadow(0 0 18px rgba(255, 69, 0, 0.5));
            }
        }


          @media (max-width: 768px) {
            .hot-tags-title-3 {
                font-size: 1.5rem;
            }
        }      

.logo-placeholder {
    max-width: 240px;
}



/* Custom modal height control */
.modal-dialog.modal-height-80 {
    max-height: 80vh;
    margin: 10vh auto; /* Centers vertically in remaining space */
}

.modal-dialog.modal-height-80 .modal-content {
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-dialog.modal-height-80 .modal-body {
    max-height: calc(80vh - 120px); /* Subtract header + footer height */
    overflow-y: auto;
    flex: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .modal-dialog.modal-height-80 {
        max-height: 90vh;
        margin: 5vh auto;
    }
    
    .modal-dialog.modal-height-80 .modal-content {
        max-height: 90vh;
    }
    
    .modal-dialog.modal-height-80 .modal-body {
        max-height: calc(90vh - 100px);
    }
}

        .stripe-container {
            width: 100%;
            height: 10px;
            display: flex;
            margin: 0;
        }
        
        .stripe {
            height: 100%;
            flex: 1;
        }
        
        .stripe-bitcoin { background-color: #f7931a; }
        .stripe-banana { background-color: #ffdd44; }
        .stripe-spotify { background-color: #1db954; }
        .stripe-paypal { background-color: #0070ba; }
        .stripe-viber { background-color: #665cac; }
        
        .join-header {
            background-color: rgba(248, 249, 250, 0.3);
            margin: 0;
            width: 100%;
            padding: 20px 30px;
            border: none;
        }
        
        .join-header h5 {
            font-size: 1.2rem;
            font-weight: 400;
            margin-bottom: 15px;
            background: linear-gradient(-45deg, #6a4c93, #8b4a6b, #7b68aa, #9b4d78);
            background-size: 400% 400%;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: gradientShift 4s ease-in-out infinite;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }        
        
        .feature-list {
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            color: #495057;
            font-weight: 500;
        }
        
        .feature-item i {
            margin-right: 8px;
            color: #28a745;
        }
        
        @media (max-width: 768px) {
            .feature-list {
                flex-direction: column;
                gap: 10px;
            }
            
            .join-header {
                padding: 15px 20px;
            }
        }

.tagcloud-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 400;
}

.tagcloud-stats {
    margin-top: 15px;
}

.tagcloud-stats .badge {
    font-size: 0.9rem;
    padding: 8px 12px;
}

.tagcloud-search {
    max-width: 500px;
    margin: 0 auto;
}

.tagcloud-container {
    background: rgba(248, 249, 250, 0.6);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tagcloud-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.7), rgba(139, 74, 107, 0.7));
    color: white;
    border-radius: 25px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.tag-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(106, 76, 147, 0.3);
    color: white;
    text-decoration: none;
}

.tag-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.7), rgba(139, 74, 107, 0.7));
    transition: left 0.5s;
}

.tag-item:hover::before {
    left: 100%;
}

.tag-name {
    margin-right: 8px;
    font-weight: 500;
}

.tag-count-badge {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.8em;
    font-weight: 600;
}

/* Tag Size Classes */
.tag-size-largest {
    font-size: 1.4rem;
    padding: 12px 20px;
}

.tag-size-large {
    font-size: 1.2rem;
    padding: 10px 18px;
}

.tag-size-medium {
    font-size: 1rem;
    padding: 8px 16px;
}

.tag-size-small {
    font-size: 0.9rem;
    padding: 6px 14px;
}

.tag-size-smallest {
    font-size: 0.8rem;
    padding: 5px 12px;
}

.tagcloud-legend {
    max-width: 600px;
    margin: 0 auto;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.legend-item {
    display: inline-block;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 0.8rem;
    cursor: default;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tagcloud-container {
        padding: 20px 15px;
    }
    
    .tagcloud-wrapper {
        gap: 10px;
    }
    
    .tag-size-largest {
        font-size: 1.2rem;
        padding: 10px 16px;
    }
    
    .tag-size-large {
        font-size: 1.1rem;
        padding: 8px 14px;
    }
    
    .legend-items {
        flex-direction: column;
        align-items: center;
    }
}

/* Search highlighting */
.tag-item.search-highlight {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hidden state for search */
.tag-item.search-hidden {
    display: none;
}

.search-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
    font-weight: 400;
}

.search-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.search-input-group .input-group-text {
    background: linear-gradient(135deg, #6a4c93, #8b4a6b);
    color: white;
    border: none;
    padding: 12px 15px;
}

.search-input {
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.search-button {
    background: linear-gradient(135deg, #6a4c93, #8b4a6b);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: linear-gradient(135deg, #5a3c83, #7b3a5b);
    transform: translateY(-1px);
}

.search-help {
    text-align: center;
    margin-top: 10px;
}

.results-header {
    text-align: center;
    padding: 20px;
    background: rgba(248, 249, 250, 0.6);
    border-radius: 15px;
    margin-bottom: 30px;
}

.results-title {
    color: #2c3e50;
    margin-bottom: 10px;
}

.search-term-highlight {
    background: linear-gradient(-45deg, #6a4c93, #8b4a6b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.results-count {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Search result highlighting */
.search-highlight {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2c3e50;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .search-form-container {
        margin: 0 15px;
    }
    
    .search-input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-input-group .input-group-text,
    .search-input,
    .search-button {
        border-radius: 0;
    }
    
    .search-input-group .input-group-text {
        border-radius: 15px 15px 0 0;
    }
    
    .search-button {
        border-radius: 0 0 15px 15px;
    }
}


        .adult-warning-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.99);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            color: #ffffff;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }
        
        .adult-warning-overlay.hidden {
            display: none;
        }
        
        .adult-warning-content {
            max-width: 450px;
            padding: 2rem;
            text-align: center;
            margin: 0 1rem;
        }
        
        .adult-warning-icon {
            font-size: 5rem;
            color: #ffffff;
            margin-bottom: 1rem;
        }
        
        .adult-warning-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: #ffffff;
            margin-bottom: 1rem;
        }
        
        .adult-warning-text {
            font-size: 0.9rem;
            line-height: 1.4;
            color: #e9ecef;
            margin-bottom: 1rem;
        }
        
        .adult-warning-text strong {
            color: #ffffff;
        }
        
        .adult-warning-list {
            font-size: 0.85rem;
            color: #e9ecef;
            text-align: center;
            list-style: none;
            padding: 0;
            margin-bottom: 2rem;
        }
        
        .adult-warning-list li {
            margin-bottom: 0.5rem;
        }
        
        .adult-warning-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .adult-warning-btn {
            padding: 10px 25px;
            font-weight: 500;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.2s ease;
            text-decoration: none;
            display: inline-block;
            min-width: 120px;
        }
        
        .adult-warning-btn-continue {
            background-color: #28a745;
            color: #ffffff;
            font-size: 1.2rem;
        }
        
        .adult-warning-btn-continue:hover {
            background-color: #218838;
        }
        
        .adult-warning-btn-exit {
            background-color: #dc3545;
            color: #ffffff;
            font-size: 0.8rem;
            min-width: 90px;
            padding: 6px 12px;
        }
        
        .adult-warning-btn-exit:hover {
            background-color: #c82333;
        }
        
        /* Mobile styles */
        @media (max-width: 576px) {
            .adult-warning-content {
                padding: 1.5rem;
            }
            
            .adult-warning-icon {
                font-size: 2.5rem;
            }
            
            .adult-warning-title {
                font-size: 1.3rem;
            }
            
            .adult-warning-text {
                font-size: 0.85rem;
            }
            
            .adult-warning-list {
                font-size: 0.8rem;
            }
            
            .adult-warning-buttons {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .adult-warning-btn {
                padding: 12px 20px;
                width: 100%;
            }
        }