/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   1. Base Styles & Reset
   2. Header & Navigation
   3. Mobile Menu
   4. Layout Structure
   5. Site Cards
   6. Badges & Labels
   7. Image Carousel
   8. Modal Styling
   9. Footer
   10. Form Elements
   11. Buttons
   12. Filter Components
   13. Legal Content
   14. Age Verification
   15. Responsive Design
   16. Typography & Links
   ========================================================================== */

/* ==========================================================================
   1. BASE STYLES & RESET
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0D0D0D;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */

/**
 * Main header bar
 * Fixed at top with shadow for depth
 */
header {
    background-color: #181818;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    width: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none;
}

/**
 * Logo container and image
 */
.logo-container {
    display: flex;
    align-items: center;
    margin-right: auto;
    padding-left: 0;
}

.logo-image {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    background-image: url('https://siftek.com/logo_web_1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 700;
}

/**
 * Main desktop navigation
 */
.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin-left: 25px;
    padding-top: 5px;
}

.main-nav a {
    color: rgba(204, 204, 204, 0.95);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    padding: 5px 5px;
    position: relative;
}

.main-nav a:hover {
    color: #5A8BFF;
}

/**
 * Animated underline effect for navigation links
 */
.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(135deg, #6E57FF 0%, #5A8BFF 100%);
    transition: width 0.3s ease;
    opacity: 0.8;
}

.main-nav a:hover:after {
    width: 100%;
}

/* ==========================================================================
   3. MOBILE MENU
   ========================================================================== */

/**
 * Mobile menu toggle button
 * Only visible on smaller screens
 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/**
 * Mobile menu container
 * Slides in from left when activated
 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: #181818;
    padding: 20px 20px 20px;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu h3 {
    color: #5A8BFF;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.mobile-menu h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 230px;
    height: 2px;
    background: #6E57FF;
}

/**
 * Dark overlay behind mobile menu
 * Appears when menu is active
 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}



.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* Make sure the mobile menu displays correctly */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: #181818;
    padding: 20px 20px 20px;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

/* Fix overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile-specific responsive adjustments */
@media (max-width: 1100px) {
    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}



/* ==========================================================================
   4. LAYOUT STRUCTURE
   ========================================================================== */

/**
 * Main content container
 * Flexbox for sidebar + main content layout
 */
.content-container {
    display: flex;
    flex: 1;
}

/**
 * Sidebar/aside container
 * Fixed width with sticky positioning
 */
aside {
    width: 300px;
    background: #181818;
    padding: 2em;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

aside h3 {
    color: #5A8BFF;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

aside h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 230px;
    height: 2px;
    background: #6E57FF;
}

/**
 * Main content area
 * Flexible width, grows to fill available space
 */
main {
    flex: 1;
    padding: 2em;
    background-color: #222222;
}

/* ==========================================================================
   5. SITE CARDS
   ========================================================================== */

/**
 * Site review card
 * Hover effect for subtle interaction
 */
/* Update site cards with gradient border */
.site-card {
    background: #2A2A2A;
    padding: 1.5em;
    margin-bottom: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s;
    position: relative;

    /* Remove standard border */
    border: none;

    /* Create space for gradient border */
    background-clip: padding-box;
}

/* Add gradient border using pseudo-element */
.site-card {
    /* Change from solid background to gradient background */
    background: linear-gradient(135deg,
            rgba(45, 30, 70, 1) 0%,
            /* Dark purple */
            rgba(42, 35, 65, 1) 20%,
            rgba(38, 35, 55, 1) 40%,
            rgba(34, 32, 50, 1) 60%,
            rgba(30, 30, 40, 1) 80%,
            rgba(25, 25, 30, 1) 100%);
    /* Near black */

    padding: calc(1.5em - 2px);
    /* Adjusting for 2px border */
    margin-bottom: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s;
    position: relative;

    /* 2px gradient border */
    border: 2px solid transparent;
    background-image: linear-gradient(135deg,
            rgba(45, 30, 70, 1) 0%,
            /* Dark purple */
            rgba(42, 35, 65, 1) 20%,
            rgba(38, 35, 55, 1) 40%,
            rgba(34, 32, 50, 1) 60%,
            rgba(30, 30, 40, 1) 80%,
            rgba(25, 25, 30, 1) 100%),
        /* Matching gradient for background */
        linear-gradient(135deg,
            rgba(110, 87, 255, 0.8) 0%,
            rgba(90, 139, 255, 0.8) 40%,
            rgba(90, 139, 255, 0.4) 70%,
            rgba(110, 87, 255, 0.6) 100%);
    /* Border gradient */
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Enhanced hover effect */
.site-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(135deg,
            rgba(50, 35, 75, 1) 0%,
            /* Slightly lighter on hover */
            rgba(47, 40, 70, 1) 20%,
            rgba(43, 40, 60, 1) 40%,
            rgba(39, 37, 55, 1) 60%,
            rgba(35, 35, 45, 1) 80%,
            rgba(30, 30, 35, 1) 100%),
        linear-gradient(135deg,
            rgba(110, 87, 255, 1) 0%,
            rgba(90, 139, 255, 1) 40%,
            rgba(90, 139, 255, 0.7) 70%,
            rgba(110, 87, 255, 0.8) 100%);
    /* Brighter border gradient */
}

/* Make sure text is still clearly readable against the new background */
.site-card .description-container,
.site-card .description-column ul {
    color: rgba(255, 255, 255, 0.95);
    /* Slightly brighter text for contrast */
}

/**
 * Card headings and titles
 */
h2 {
    margin-top: 0;
    color: #5A8BFF;
    font-size: 2rem;
    font-weight: 700;
}

/**
 * Rating star display
 */
.rating-stars {
    margin-left: 10px;
    font-weight: normal;
    color: #FFD700;
}

/**
 * Quality rating badge with color variants
 */
.quality-badge {
    display: inline-block;
    background: linear-gradient(135deg, #5A8BFF 0%, #6E57FF 100%);
    color: white;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.7em;
    margin-left: 8px;
    font-weight: 700;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

.quality-badge.legendary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.quality-badge.amazing {
    background: linear-gradient(135deg, #FF00FF 0%, #9400D3 100%);
}

.quality-badge.excellent {
    background: linear-gradient(135deg, #9400D3 0%, #4B0082 100%);
}

.quality-badge.great {
    background: linear-gradient(135deg, #4B0082 0%, #0000FF 100%);
}

.quality-badge.very-good {
    background: linear-gradient(135deg, #0000FF 0%, #00BFFF 100%);
}

.quality-badge.good {
    background: linear-gradient(135deg, #00BFFF 0%, #00FF7F 100%);
}

.quality-badge.okay {
    background: linear-gradient(135deg, #00FF7F 0%, #ADFF2F 100%);
}

/**
 * Two-column layout for description and media
 */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
}

/**
 * Description column styling
 */
.description-column {
    flex: 1;
    min-width: 60%;
    padding-right: 1.5em;
}

.description-container {
    margin-bottom: 1em;
    position: relative;
}

.description-container p {
    margin-bottom: 1em;
}

.description-container p:last-child {
    margin-bottom: 0;
}

/**
 * Show more/less button for descriptions
 */
.toggle-desc {
    display: inline-block;
    border: none;
    background: #6E57FF;
    color: white;
    padding: 4px 10px;
    font-size: 0.8em;
    border-radius: 20px;
    margin-left: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: 600;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.toggle-desc:hover {
    background: #5A44E4;
    transform: scale(1.05);
}

/* ==========================================================================
   6. BADGES & LABELS
   ========================================================================== */

/**
 * Badge container
 */
.badge-container {
    display: flex;
    flex-wrap: wrap;
}

.visible-badges {
    display: flex;
    flex-wrap: wrap;
}

/**
 * Standard feature badge
 */
.badge {
    display: inline-block;
    background: rgba(110, 87, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(110, 87, 255, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8em;
    margin: 3px 7px 3px 0;
    font-weight: 600;
    transition: all 0.2s ease;
}

/**
 * Highlighted badge for active filters
 */
.badge.highlighted {
    background: rgba(110, 87, 255, 0.5);
    /* Brighter purple background */
    border: 1px solid rgba(110, 87, 255, 0.8);
    /* More visible border */
    box-shadow: 0 0 5px rgba(110, 87, 255, 0.3);
    /* Subtle glow effect */
    transform: translateY(-1px);
    /* Slight lift effect */
}

/**
 * "View More" badge button
 */
.badge-more {
    background: rgba(255, 124, 187, 0.2);
    border: 1px solid rgba(255, 124, 187, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.badge-more:hover {
    background: rgba(255, 124, 187, 0.3);
    transform: translateY(-2px);
}

.badge-more:before {
    content: "👁️ ";
    margin-right: 3px;
}

/**
 * Special highlight badge with trophy icon
 */
.special-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8em;
    margin: 2px 6px 2px 0;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.special-badge:before {
    content: "🏆 ";
    margin-right: 3px;
}


/**
 * Badge icons for different features
 */
.badge-free-trial:before {
    content: "🎁 ";
    margin-right: 3px;
}

.badge-credit-cards:before {
    content: "💳 ";
    margin-right: 3px;
}

.badge-crypto:before {
    content: "₿ ";
    margin-right: 3px;
}

.badge-ios:before {
    content: "📱 ";
    margin-right: 3px;
}

.badge-android:before {
    content: "🤖 ";
    margin-right: 3px;
}

.badge-voice:before {
    content: "🎤 ";
    margin-right: 3px;
}

.badge-free-generator:before {
    content: "🔄 ";
    margin-right: 3px;
}

.badge-free-gallery:before {
    content: "🖼️ ";
    margin-right: 3px;
}

.badge-interactive-ai:before {
    content: "🤖 ";
    margin-right: 3px;
}

.badge-image-gen:before {
    content: "🎨 ";
    margin-right: 3px;
}

.badge-video-gen:before {
    content: "🎬 ";
    margin-right: 3px;
}

.badge-prompt:before {
    content: "⌨️ ";
    margin-right: 3px;
}

.badge-img-to-vid:before {
    content: "📹 ";
    margin-right: 3px;
}

.badge-discord:before {
    content: "👥 ";
    margin-right: 3px;
}

.badge-character:before {
    content: "👤 ";
    margin-right: 3px;
}

.badge-undress:before {
    content: "👗 ";
    margin-right: 3px;
}

.badge-faceswap:before {
    content: "😎 ";
    margin-right: 3px;
}

/**
 * General list styling
 */
ul {
    padding-left: 20px;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

/**
 * Site visit button container
 */
.visit-btn-container {
    margin-top: 1.5em;
    text-align: left;
}

/* The base .visit-btn class already has good styling which we'll reuse */
.visit-btn,
.clear-filters-btn,
.browse-all-reviews-btn,
.return-to-site-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6E57FF 0%, #5A8BFF 100%);
    color: white;
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
}

/* Hover effects for all buttons */
.visit-btn:hover,
.clear-filters-btn:hover,
.browse-all-reviews-btn:hover,
.return-to-site-btn:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #5A44E4 0%, #4A7BEF 100%);
    text-decoration: none;
    color: white;
}

/* ==========================================================================
   7. IMAGE CAROUSEL
   ========================================================================== */

/**
 * Image carousel container
 */
.image-carousel {
    height: 500px;
    width: 500px;
    min-width: 250px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.image-carousel-inner {
    height: 100%;
    width: 100%;
}

.carousel-media {
    height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
}

/**
 * Video-specific styling
 */
.video-media {
    background: #000;
    cursor: pointer;
}

/**
 * Media type indicator icon
 */
.media-type {
    margin-left: 5px;
    font-size: 0.9em;
}

/**
 * Carousel navigation buttons
 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(110, 87, 255, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
    background: #5A44E4;
}

.carousel-arrow.left {
    left: 5px;
}

.carousel-arrow.right {
    right: 5px;
}

/**
 * Image counter badge
 */
.image-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 0.8em;
    z-index: 2;
}

/* Modal CSS Fix */
/* ==========================================================================
   8. MODAL STYLING
   ========================================================================== */

/**
 * Full-screen modal overlay - with proper z-index
 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/**
 * Modal content container
 */
.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/**
 * Modal media elements
 */
.modal-media {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/**
 * Modal close button
 */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(110, 87, 255, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: #5A44E4;
}

/**
 * Modal navigation arrows - fixed position, no bounce
 */
.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(110, 87, 255, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.modal-arrow:hover {
    background: #5A44E4;
}

.modal-arrow.left {
    left: 20px;
}

.modal-arrow.right {
    right: 20px;
}

/**
 * Modal image counter
 */
.modal-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 1em;
    z-index: 1000;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

/* Enhanced Full-Width Footer Styling */

/* Main footer container with gradient background */
footer {
    background: linear-gradient(to bottom, #181818, #121212);
    color: white;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(110, 87, 255, 0.2);
    width: 100%;
    position: relative;
}

/* Footer title styling - matches section headers */
.footer-title {
    color: #5A8BFF;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

/* Footer section title divider - matches the "All Site Reviews" style */
.footer-title-divider {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #6E57FF 0%, #5A8BFF 100%);
    margin: 0 0 0 0;
}

/* Remove max-width constraint to allow full-width content */
.footer-content {
    width: 100%;
    padding: 0 30px;
}

/* Content sections layout - full-width grid for desktop */
.footer-sections-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 2rem 0;
    width: 100%;
}

/* Individual section styling */
.footer-section {
    background: rgba(42, 42, 42, 0.5);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(110, 87, 255, 0.2);
}

/* Section headers with accent color and icon */
.footer-section h4 {
    color: #5A8BFF;
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    /* Match card title size */
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
    font-weight: 700;
    /* Match card title weight */
}

/* Extended underline for section headers */
.footer-section h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    /* Extended from 50px */
    height: 3px;
    background: linear-gradient(135deg, #6E57FF 0%, #5A8BFF 100%);
    border-radius: 3px;
}

/* Icon for section headers */
.footer-section h4:before {
    font-family: sans-serif;
    margin-right: 8px;
    background: linear-gradient(135deg, #6E57FF 0%, #5A8BFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#about-ai-porn h4:before {
    content: "🤖 ";
}

#about-us h4:before {
    content: "👋 ";
}

/* Section content styling - matched to card descriptions */
.footer-content-block {
    color: #ddd;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.footer-content-block p {
    margin-bottom: 1em;
    font-size: 1.0rem;
}

.footer-content-block p:last-child {
    margin-bottom: 0;
}

/* Site links section styling - also full width */
.site-links {
    margin-bottom: 2rem;
    background: rgba(42, 42, 42, 0.3);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

/* Site links section header (All Site Reviews) */
.site-links h4 {
    color: #5A8BFF;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    /* Match card title size */
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
    font-weight: 700;
    /* Match card title weight */
}

/* Extended underline for Site links header */
.site-links h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    /* Extended from 50px */
    height: 3px;
    background: linear-gradient(135deg, #6E57FF 0%, #5A8BFF 100%);
    border-radius: 3px;
}

.site-links h4:before {
    content: "🔍 ";
    margin-right: 8px;
    background: linear-gradient(135deg, #6E57FF 0%, #5A8BFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Expand site links grid */
.site-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    text-align: left;
    width: 100%;
}

/* Bottom footer section */
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(110, 87, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .footer-content {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .footer-sections-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section,
    .site-links {
        padding: 20px;
    }

    .footer-section h4,
    .site-links h4 {
        font-size: 1.2rem;
    }

    .site-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}


/* ==========================================================================
   10. FORM ELEMENTS
   ========================================================================== */

/**
 * Form labels
 */
label {
    display: block;
    margin: 0.9em 0;
    font-size: 0.95em;
    color: #ccc;
    font-weight: 500;
}

/**
 * Text inputs and selects
 */
input[type="text"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 1.2em;
    background: #2A2A2A;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #6E57FF;
    box-shadow: 0 0 0 2px rgba(110, 87, 255, 0.3);
}

/**
 * Checkboxes with custom color
 */
input[type="checkbox"] {
    accent-color: #6E57FF;
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/**
 * Rating slider elements
 */
.rating-slider-container {
    margin: 1.5rem 0;
}

.rating-slider-container label {
    display: block;
    margin-bottom: 0.8rem;
}

.range-slider {
    position: relative;
    width: 100%;
    height: 25px;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 5px;
    top: 10px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 3;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #6E57FF;
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.range-slider input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #6E57FF;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border: none;
}

.range-slider-track {
    position: absolute;
    width: 100%;
    height: 5px;
    top: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    z-index: 1;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #ccc;
}

/* ==========================================================================
   11. BUTTONS
   ========================================================================== */

/**
 * Primary action button - View Results
 */
.view-results-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6E57FF 0%, #5A8BFF 100%);
    color: white;
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: auto;
    margin-bottom: 20px;
    cursor: pointer;
    text-align: center;
}

.view-results-btn:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #5A44E4 0%, #4A7BEF 100%);
}

/**
 * Secondary action - Clear Filters
 */
/* Additional CSS to standardize all buttons across the site */
.clear-filters-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
}


.clear-filters-btn:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #5A44E4 0%, #4A7BEF 100%);
}

/* ==========================================================================
   12. FILTER COMPONENTS
   ========================================================================== */

/**
 * Filter count indicators
 */
.filter-count {
    display: inline-block;
    color: #ccc;
    font-size: 0.9em;
}

.filter-count.zero {
    color: #ff6e6e;
}

.filter-count.active {
    color: #5A8BFF;
    font-weight: bold;
}

/**
 * No results found message
 */
.no-results {
    background: #2A2A2A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3em;
    margin-bottom: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.no-results h2 {
    margin-bottom: 0.5em;
    color: #5A8BFF;
}

.no-results p {
    margin-bottom: 1.5em;
    font-size: 1.1em;
    color: #ccc;
}

.no-results .clear-filters-btn {
    margin: 20px 0;
    display: inline-block;
}

/* ==========================================================================
   13. LEGAL CONTENT
   ========================================================================== */
/**
 * Legal content styling with reduced margins for mobile
 * Same font sizes but optimized spacing
 */

/* Main container for legal content */
.legal-content {
    background-color: #1a1a1a;
    color: #ddd;
    width: 100%;
    margin: 0;
    padding: 1em;
    /* Reduced from 2em */
    border-radius: 8px;
    font-size: 1.05em;
    /* Unchanged */
    line-height: 1.6;
    /* Unchanged */
}

/* Primary section headers - aligned to the left edge */
.legal-content h2 {
    color: #5A8BFF;
    font-size: 1.8em;
    /* Unchanged */
    margin: 0 0 0.8em 0;
    padding: 0 0 0.4em 0;
    border-bottom: 1px solid rgba(90, 139, 255, 0.3);
}

/* First h2 to ensure no top gap */
.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

/* Subsection headers - also aligned to the left edge */
.legal-content h3 {
    color: #6E57FF;
    font-size: 1.3em;
    /* Unchanged */
    margin: 1.5em 0 0.6em 0;
    padding: 0;
}

/* Paragraphs with proper spacing but no indentation */
.legal-content p {
    color: #ccc;
    margin: 0 0 1em 0;
    padding: 0;
}

/* Fix list styling for proper alignment */
.legal-content ul,
.legal-content ol {
    color: #ccc;
    margin: 0 0 1.5em 1.5em;
    padding: 0;
}

/* Individual list items */
.legal-content li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

/* Main container padding */
main {
    padding: 0.8em;
    /* Reduced from default */
}

/* Mobile adjustments - focus on reducing margins only */
@media (max-width: 768px) {

    /* Container padding */
    .legal-content {
        padding: 0.6em;
        /* Minimal padding */
    }

    /* Margins for paragraphs and lists */
    .legal-content p {
        margin-bottom: 0.8em;
        /* Slightly reduced */
    }

    /* Lists with reduced margins */
    .legal-content ul,
    .legal-content ol {
        margin: 0 0 1em 1em;
        /* Reduced both bottom and left margins */
    }

    /* Reduce space around list items */
    .legal-content li {
        margin-bottom: 0.4em;
        /* Slightly reduced */
    }

    /* Main container padding */
    main {
        padding: 0.5em;
        /* Minimal margin around main content */
    }
}

/* Further optimization for very small screens */
@media (max-width: 480px) {
    .legal-content {
        padding: 0.4em;
        /* Minimal padding */
    }

    main {
        padding: 0.3em;
        /* Almost no padding */
    }

    /* Lists with further reduced margins */
    .legal-content ul,
    .legal-content ol {
        margin-left: 0.8em;
        /* Minimal left margin */
    }
}

/* Ensure links are properly styled */
.legal-content a {
    color: #5A8BFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: #6E57FF;
    text-decoration: underline;
}

/* ==========================================================================
   14. AGE VERIFICATION
   ========================================================================== */

/**
 * Age verification overlay
 * Fullscreen with blur effect
 */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    /* Increased z-index to ensure it's above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
    /* Ensure no margin */
    width: 100%;
    /* Ensure full width */
    height: 100vh;
    /* Ensure full height */
}

/**
 * Age verification modal container
 */
.age-verification-modal {
    background: #2A2A2A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/**
 * Logo in age verification
 */
.age-verification-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.age-logo-image {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background-image: url('https://siftek.com/logo_web_1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.age-verification-logo h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/**
 * Age verification content
 */
.age-verification-modal h2 {
    color: #5A8BFF;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.age-verification-modal p {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

/**
 * Age verification buttons
 */
.age-verification-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.age-btn {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.confirm-btn {
    background: linear-gradient(135deg, #6E57FF 0%, #5A8BFF 100%);
    color: white;
}

.confirm-btn:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #5A44E4 0%, #4A7BEF 100%);
}

.decline-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.decline-btn:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   15. RESPONSIVE DESIGN
   ========================================================================== */

/**
 * Large screen adjustments
 */
@media (min-width: 1500px) {
    .image-carousel {
        width: 600px;
        height: 600px;
        flex: 0 0 auto;
        /* Don't grow or shrink */
    }

    .description-column {
        flex: 1;
        min-width: 0;
        /* Remove the minimum width constraint */
        padding-right: 1.5em;
    }

    /* Make sure there's enough total space for side-by-side layout */
    @media (min-width: 1000px) {
        .content-wrapper {
            flex-direction: row;
        }
    }
}

/* Medium to large screens adjustments */
@media (max-width: 1499px) {
    .content-wrapper {
        flex-direction: column;
    }

    .image-carousel {
        width: 100%;
        max-width: 600px;
        height: 600px;
        margin-bottom: 1.5em;
        order: -1;
        /* Move carousel above description */
        align-self: flex-start;
        /* Align to left */
    }

    .description-column {
        width: 100%;
        padding-right: 0;
    }
}

/**
 * Tablet-sized screen adjustments
 */
@media (max-width: 992px) {
    .site-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .image-carousel {
        max-width: 500px;
        height: 450px;
    }
}

/**
 * Mobile navigation breakpoint
 */
@media (max-width: 1100px) {
    .main-nav {
        display: none;
    }
}

/**
 * Mobile device adjustments
 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .content-container {
        flex-direction: column;
    }

    .mobile-menu label {
        margin: 0.5em 0;
    }

    .mobile-menu input[type="text"],
    .mobile-menu select {
        margin-bottom: 0.9em;
    }

    aside {
        display: none;
        /* Hide sidebar on mobile */
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5em;
    }

    .header-container {
        padding-left: 60px;
        /* Make room for the menu button */
    }

    main {
        padding: 0.9em;
    }

    .site-card {
        padding: 1.2em;
    }

    h2 {
        font-size: 1.6rem;
        font-weight: 700;
    }

    .mobile-menu label,
    .mobile-menu select,
    .mobile-menu input[type="text"] {
        display: block;
        width: 100%;
    }

    .mobile-menu input[type="checkbox"] {
        margin-right: 8px;
    }

    .site-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .image-carousel {
        max-width: 100%;
        height: 350px;
        align-self: center;
        /* Center on mobile */
    }

    /* Adjustments for legal content on mobile */
    .legal-content h2 {
        padding: 0 1em 0.4em 1em;
        /* Smaller horizontal padding on mobile */
    }

    .legal-content h3,
    .legal-content p,
    .legal-content ul,
    .legal-content ol {
        padding: 0 1em;
        /* Smaller horizontal padding on mobile */
    }
}

/**
 * Small mobile device adjustments
 */
@media (max-width: 576px) {
    .image-carousel {
        height: 300px;
    }

    .visit-btn {
        width: 100%;
        text-align: center;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .site-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .age-verification-modal {
        padding: 1.5rem;
    }

    .age-verification-modal h2 {
        font-size: 1.8rem;
    }

    .age-verification-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }

    /* Responsive legal links in footer */
    .legal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .legal-links a {
        margin: 0;
    }
}

/* ==========================================================================
   16. TYPOGRAPHY & LINKS
   ========================================================================== */

/**
 * General link styling
 */
a {
    color: #5A8BFF;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-weight: 600;
}

a:hover {
    color: #6E57FF;
    text-shadow: 0 0 5px rgba(110, 87, 255, 0.3);
}

/* Additional styles to enhance performance and fix rendering issues */

/* Add these to the top of your styles.css file or include as a separate stylesheet */

/* Performance optimization for smoother animations */
* {
    will-change: transform;
    backface-visibility: hidden;
}

/* Fix for Vue.js template rendering issues */
[v-cloak] {
    display: none;
}

.template-loading {
    display: none;
}

/* Optimize images for better performance */
img,
video {
    content-visibility: auto;
}

/* More efficient box-shadow for cards */
.site-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Prevent flash of unstyled content */
html {
    visibility: visible;
    opacity: 1;
}

/* Better error styles */
.load-error {
    background-color: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.3);
    color: #ff5757;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Loading state styling */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    flex-direction: column;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(110, 87, 255, 0.3);
    border-radius: 50%;
    border-top-color: #6E57FF;
    animation: loading-spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton loading placeholder for cards */
.skeleton-card {
    background: #2A2A2A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5em;
    margin-bottom: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.05) 20%,
            rgba(255, 255, 255, 0.1) 60%,
            rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.skeleton-title {
    height: 32px;
    width: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 15px;
}

.skeleton-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.skeleton-badge {
    height: 24px;
    width: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.skeleton-content {
    display: flex;
    flex-wrap: wrap;
}

.skeleton-text {
    flex: 1;
    min-width: 60%;
    padding-right: 1.5em;
}

.skeleton-paragraph {
    height: 16px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-paragraph:last-child {
    width: 80%;
}

.skeleton-image {
    width: 35%;
    min-width: 250px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.skeleton-button {
    height: 42px;
    width: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-top: 20px;
}

/* Performance optimizations for scrolling and animations */
body {
    scroll-behavior: smooth;
}

/* Reduce repaints and optimize rendering */
.site-card,
.visit-btn,
.carousel-arrow,
.modal-arrow,
.clear-filters-btn {
    transform: translateZ(0);
}


/* Critical CSS for initial render - these should be inlined in head */
.critical-css {
    background-color: #0D0D0D;
    color: #fff;
    font-family: 'Manrope', sans-serif;
}

/* Optimize image loading to reduce layout shifts */
.image-carousel {
    aspect-ratio: 4/3;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
}

.image-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Fix for filter count display issues */
.filter-count {
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

/* Debounce search input to reduce processing */
input[type="text"] {
    transition: border-color 0.3s ease;
}

/* Improve loading behavior for modals */
.modal-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
}

.modal-content {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

/* Fix for template rendering - hide Vue template expressions until compiled */
[v-text],
[v-html],
[v-if],
[v-show],
[v-for] {
    visibility: hidden;
}

.vue-loaded [v-text],
.vue-loaded [v-html],
.vue-loaded [v-if],
.vue-loaded [v-show],
.vue-loaded [v-for] {
    visibility: visible;
}

/* Support script for adding vue-loaded class after initialization */
/* Add this to your JavaScript file:
document.addEventListener('DOMContentLoaded', function() {
  setTimeout(function() {
    document.body.classList.add('vue-loaded');
  }, 100);
});
*/

/* Better mobile optimization */
@media (max-width: 768px) {

    /* Badge container mobile optimization */
    .visible-badges {
        display: flex;
        flex-wrap: wrap;
    }

    /* Show only first 3 badges on mobile */
    .visible-badges span:nth-child(n+5) {
        display: none;
    }

    /* Show all badges when expanded */
    .badge-container.expanded .visible-badges span:nth-child(n+4) {
        display: inline-block;
    }

    .badge-more {
        background: rgba(110, 87, 255, 0.2);
        /* Changed to match regular badges */
        border: 1px solid rgba(110, 87, 255, 0.3);
        /* Changed to match regular badges */
        cursor: pointer;
        transition: all 0.2s ease;
    }

    /* And for hover state */
    .badge-more:hover {
        background: rgba(110, 87, 255, 0.3);
        /* Changed to match regular badges */
        transform: translateY(-2px);
    }

    /* Optimize tap targets for mobile */
    .carousel-arrow,
    .modal-arrow,
    .modal-close {
        min-width: 44px;
        min-height: 44px;
    }

    /* Prevent text size adjustments on orientation change */
    html {
        -webkit-text-size-adjust: 100%;
    }
}








/* Update review card paragraph text to match legal page crispness */
.site-card .description-container {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    /* Same line height as legal text */
    color: #ddd;
    /* Lighter color for better readability */
    font-size: 1.0 rem;
    /* Matches legal text size */
    font-weight: 400;
    letter-spacing: 0.01em;
    /* Slight letter spacing for readability */
}

.site-card .description-container p {
    margin-bottom: 1em;
}

/* Update highlight and drawback sections to match */
.site-card .description-column ul {
    color: #ddd;
    font-size: 1.0 rem;
    line-height: 1.4;
}

.site-card .description-column li {
    margin-bottom: 0.5em;
}

/* Update filter styles to use the blue link color from legal page */
aside label {
    display: block;
    margin: 0.9em 0;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
    /* Brighter text for better readability */
    font-weight: 500;
}

/* Change filter links color to match legal page links */
.legal-content a,
aside label input[type="checkbox"]:checked+span,
.footer-content-block a {
    color: #5A8BFF;
    /* Blue color from legal links */
    transition: color 0.2s ease;
}

.legal-content a:hover,
aside label:hover,
.footer-content-block a:hover {
    color: #6E57FF;
}

/* Adding span around checkbox label text to style it */
aside label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

aside label input[type="checkbox"] {
    margin-right: 8px;
}

/* Highlight active filters with the blue color */
aside label input[type="checkbox"]:checked+span {
    color: #5A8BFF;
    font-weight: 600;
}

/* Mobile menu filter styling (same blue accent) */
.mobile-menu label {
    display: flex;
    align-items: center;
    margin: 0.9em 0;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    cursor: pointer;
}

.mobile-menu label input[type="checkbox"] {
    margin-right: 8px;
}

.mobile-menu label input[type="checkbox"]:checked+span {
    color: #5A8BFF;
    font-weight: 600;
}

/* Update filter category count styling */
.filter-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

.filter-count.active {
    color: #5A8BFF;
    font-weight: bold;
}


.mobile-menu-btn {
    display: none !important;
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 2rem !important;
    cursor: pointer !important;
    z-index: 1100 !important;
    /* Higher z-index to ensure it's above everything */
    padding: 8px !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    /* Start off-screen */
    width: 80% !important;
    height: 100vh !important;
    background-color: #181818 !important;
    padding: 20px !important;
    transition: left 0.3s ease-in-out !important;
    z-index: 1099 !important;
    /* Just below the button but above other content */
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2) !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.mobile-menu.active {
    left: 0 !important;
    /* Show when active */
}

.overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    z-index: 1098 !important;
    /* Just below the menu */
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s !important;
}

.overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure mobile menu displays at proper breakpoints */
@media (max-width: 1100px) {
    .main-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
        /* Show the hamburger on mobile */
    }

    .header-container {
        padding-left: 60px !important;
        /* Make room for the hamburger */
    }
}

/* MOBILE MENU SPACING FIX - START */
.mobile-menu label {
    margin: 0.35em 0 !important;
    /* Moderate vertical spacing between filter items */
    padding: 0.15em 0 !important;
    font-size: 1rem !important;
    /* Larger font size */
    display: flex !important;
    align-items: center !important;
    line-height: 1.3 !important;
    /* Balanced line height */
}

.mobile-menu h3 {
    margin-bottom: 0.7rem !important;
    /* Moderate space below the "Filters" header */
    font-size: 1.5rem !important;
    /* Larger header font */
}

.mobile-menu input[type="text"],
.mobile-menu select {
    margin-bottom: 0.5em !important;
    /* Moderate space below inputs */
    padding: 9px !important;
    /* Comfortable padding inside inputs */
    font-size: 1rem !important;
    /* Larger font for inputs */
}

/* Make the entire menu moderately compact */
.mobile-menu {
    padding: 15px 18px !important;
}

/* Adjust checkbox size - moderate */
.mobile-menu input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
}

/* For mobile menu - ensure buttons maintain consistent styling */
.mobile-menu .clear-filters-btn,
.mobile-menu .view-results-btn {
    display: block;
    width: 100%;
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}

/* Moderate space between buttons */
.mobile-menu .clear-filters-btn {
    margin-bottom: 0.6em !important;
}

/* Filter counts with larger font */
.mobile-menu label span {
    font-size: 1rem !important;
    /* Match the label font size */
}

/* MOBILE MENU SPACING FIX - END */


/* Styles for Browse All Reviews button */
.browse-all-reviews-container {
    text-align: center;
    margin: 2em 0;
}


.browse-all-reviews-btn:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #5A44E4 0%, #4A7BEF 100%);
}

.browse-icon {
    margin-right: 8px;
}



/* ==========================================================================
   17. SLIDER SPACING ADJUSTMENTS
   ========================================================================== */

/**
 * Reduced spacing for resolution filter and slider elements
 */
/* Resolution slider styles */
.resolution-filter {
    margin: 0.0em 0 !important;
    /* Reduced from 1em */
}

.resolution-filter label {
    margin-bottom: 0.0em !important;
    /* Reduced from 0.5em */
}

.slider-container {
    padding: 0.0em 0 !important;
    /* Reduced from 0.5em */
    margin-bottom: 0.5em !important;
    /* Reduced from 1em */
}

.resolution-slider {
    margin: 0.3em 0 0.7em !important;
    /* Reduced from 0.5em 0 1.5em */
}

/* Prevent slider labels from changing color on hover */
.resolution-filter label:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    /* Match the normal label color */
}

/* For mobile menu too */
.mobile-menu .resolution-filter label:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}