    /* Dark Mode Toggle Button */
    .dark-mode-toggle {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary) 0%, var(--pink) 100%);
        border: none;
        color: white;
        cursor: pointer;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .dark-mode-toggle:hover {
        transform: scale(1.1) rotate(15deg);
    }

    .dark-mode-toggle .fa-sun {
        display: none;
    }

    /* Dark Mode Styles */
    body.dark-mode {
        background: linear-gradient(135deg, #0a0f1a 0%, #0f172a 100%);
        color: #ffffff;
    }

    body.dark-mode .app-header {
        background: rgba(30, 41, 59, 0.9);
        color: #ffffff;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.dark-mode .filter-section {
        background: rgba(30, 41, 59, 0.9);
        color: #ffffff;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.dark-mode .filter-select {
        background: #334155;
        color: #ffffff;
        border-color: #4b5563;
    }

    body.dark-mode .filter-select:focus {
        border-color: #60a5fa;
        box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
    }

    /* Card Glow Effects */
    body.dark-mode .card {
        background: rgba(30, 41, 59, 0.9);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        transition: all 0.4s ease;
    }

    body.dark-mode .card:hover {
        transform: translateY(-8px);
        box-shadow: 
            0 10px 25px -3px rgba(0, 0, 0, 0.4),
            0 0 20px rgba(96, 165, 250, 0.3),
            0 0 30px rgba(139, 92, 246, 0.2);
        border-color: rgba(96, 165, 250, 0.5);
    }

    body.dark-mode .card:active {
        transform: translateY(-4px) scale(0.98);
        box-shadow: 
            0 5px 15px -3px rgba(0, 0, 0, 0.3),
            0 0 25px rgba(96, 165, 250, 0.4),
            0 0 35px rgba(139, 92, 246, 0.3);
    }

    body.dark-mode .card-title {
        background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    }

    body.dark-mode .card-price {
        background: linear-gradient(135deg, #c084fc 0%, #a78bfa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 15px rgba(192, 132, 252, 0.4);
    }

    body.dark-mode .card-location,
    body.dark-mode .card-address {
        color: #d1d5db;
    }

    body.dark-mode .feature-tag {
        background: rgba(51, 65, 85, 0.7);
        color: #e5e7eb;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.dark-mode .feature-tag i {
        color: #60a5fa;
    }

    body.dark-mode .btn-outline {
        border-color: #60a5fa;
        color: #60a5fa;
        background: transparent;
    }

    body.dark-mode .btn-outline:hover {
        background: #60a5fa;
        color: #1e293b;
        box-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
    }

    body.dark-mode .no-results {
        background: rgba(30, 41, 59, 0.9);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Enhanced Star Animation Background */
    .stars-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: -1;
        opacity: 0;
        transition: opacity 1.5s ease;
        background: radial-gradient(ellipse at center, #0a0f1a 0%, #000000 100%);
    }

    body.dark-mode .stars-container {
        opacity: 1;
    }

    .star {
        position: absolute;
        background: white;
        border-radius: 50%;
        animation: twinkle var(--duration) infinite ease-in-out;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    }

    .star.small {
        width: 1px;
        height: 1px;
    }

    .star.medium {
        width: 2px;
        height: 2px;
    }

    .star.large {
        width: 3px;
        height: 3px;
    }

    .shooting-star {
        position: absolute;
        width: 2px;
        height: 2px;
        background: white;
        border-radius: 50%;
        box-shadow: 0 0 10px 2px white;
        opacity: 0;
    }

    @keyframes twinkle {
        0%, 100% { 
            opacity: 0.3; 
            transform: scale(1);
        }
        50% { 
            opacity: 1; 
            transform: scale(1.2);
        }
    }

    @keyframes shoot {
        0% {
            opacity: 0;
            transform: translateX(0) translateY(0);
        }
        10% {
            opacity: 1;
        }
        100% {
            opacity: 0;
            transform: translateX(-100vw) translateY(100vh);
        }
    }

    /* Toggle icon states */
    body.dark-mode .dark-mode-toggle .fa-moon {
        display: none;
    }

    body.dark-mode .dark-mode-toggle .fa-sun {
        display: block;
    }

    /* Area tags in dark mode */
    body.dark-mode .area-tag {
        opacity: 0.9;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    /* Card badges in dark mode */
    body.dark-mode .card-badge {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }