        /* 1. LAADIME PREMIUM FONDI (Inter) */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

        /* 2. GLOBAALSED MUUTUJAD JA VÄRVID */
        :root {
            --primary: #FF7B54;
            --primary-glow: rgba(255, 123, 84, 0.3);
            --bg-light: #FDFBF7;
            --surface: #FFFFFF;
            --text-dark: #111827;
            --text-gray: #6B7280;
            --border: #E5E7EB;
            --radius-xl: 32px;
            --radius-lg: 20px;
            --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
            --shadow-float: 0 20px 40px -10px rgba(0,0,0,0.1);
        }

        * { 
            box-sizing: border-box; 
            margin: 0; 
            padding: 0; 
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
            -webkit-tap-highlight-color: transparent; 
        }

        body { 
            display: flex; 
            height: 100vh; 
            overflow: hidden; 
            background: var(--bg-light); 
            color: var(--text-dark); 
        }

        .app-layout { 
            display: flex; 
            height: 100vh; 
            width: 100vw; 
            position: relative; 
        }

        /* 3. KAART JA SELLE ORGAANILINE MASK (Arvutis) */
        .map-area { flex: 1; position: relative; background: radial-gradient(circle at 30% 30%, #FDFBF7 0%, #E8F3EE 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 40px; }
        .bg-icon { position: absolute; color: rgba(42, 157, 143, 0.15); font-size: 120px; z-index: 0; animation: float 8s ease-in-out infinite; }
        .icon-swing { top: 10%; left: 10%; animation-delay: 0s; }
        .icon-disc { bottom: 15%; left: 20%; animation-delay: 2s; font-size: 160px;}
        .icon-compass { top: 20%; right: 15%; animation-delay: 4s; }
        .icon-binoculars { bottom: 10%; right: 25%; animation-delay: 1s; font-size: 100px;}
        .icon-tent { top: 8%; left: 45%; animation-delay: 3s; font-size: 90px; }
        .icon-bicycle { bottom: 1%; left: 2%; animation-delay: 1.5s; font-size: 110px; }
        .icon-tree { bottom: 1%; right: 3%; animation-delay: 5s; font-size: 140px; }
        .icon-sun { top: 15%; right: 3%; animation-delay: 2.5s; font-size: 120px; }

        @keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } 100% { transform: translateY(0px) rotate(0deg); } }

        .map-wrapper { position: relative; width: 100%; height: 100%; max-width: 900px; max-height: 800px; z-index: 2; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; animation: morph 15s ease-in-out infinite; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.1); will-change: border-radius; }
        .map-border-container { position: absolute; width: calc(100% + 40px); height: calc(100% + 40px); max-width: 940px; max-height: 840px; z-index: 1; border: 3px dashed var(--primary); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; animation: morph 15s ease-in-out infinite, pulse-border 3s infinite; pointer-events: none; opacity: 0.6; }
        
        @keyframes morph { 0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } 50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; } 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } }
        @keyframes pulse-border { 0% { transform: scale(1); opacity: 0.4; } 50% { transform: scale(1.02); opacity: 0.8; } 100% { transform: scale(1); opacity: 0.4; } }
        #map { width: 100%; height: 100%; background-color: #e5e0d8; outline: none; }

        /* 4. KÜLGPANEEL (Põhisisu) */
        .content-panel { position: relative; width: 480px; height: 100vh; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border-left: 1px solid rgba(255,255,255,0.8); display: flex; flex-direction: column; z-index: 100; box-shadow: -20px 0 50px rgba(0,0,0,0.08); overflow: visible; }
        .main-view { display: flex; flex-direction: column; height: 100%; }
        .header { padding: 32px 32px 16px; flex-shrink: 0; position: relative; z-index: 100; }
        
        .brand-wrapper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; position: relative; }
        
        /* HAMBURGER MENÜÜ NUPP JA LOGO */
        .brand-left { display: flex; align-items: center; gap: 16px; }
        .menu-btn { 
            width: 44px; height: 44px; border-radius: 50%; 
            background: var(--surface); border: 1px solid var(--border); 
            display: flex; justify-content: center; align-items: center; 
            font-size: 24px; cursor: pointer; transition: all 0.2s ease; 
            color: var(--text-dark); box-shadow: var(--shadow-soft);
        }
        .menu-btn:hover { background: var(--text-dark); color: white; transform: scale(1.05); }
        .logo { font-size: 32px; font-weight: 900; letter-spacing: -1.5px; }
        .logo span { color: var(--primary); }

        /* PROFIIL JA KONTO RIPPMENÜÜ */
        .profile-btn { position: relative; cursor: pointer; border-radius: 50%; display: flex; justify-content: center; align-items: center; z-index: 50; }
        .avatar-unlogged { width: 44px; height: 44px; background: var(--surface); border: 2px solid var(--primary); color: var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 22px; transition: 0.2s; position: relative; }
        .avatar-unlogged::before { content: ''; position: absolute; top: -6px; left: -6px; right: -6px; bottom: -6px; border-radius: 50%; border: 2px solid var(--primary); animation: pulse-avatar 2s infinite; opacity: 0.5; pointer-events: none; }
        @keyframes pulse-avatar { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.4); opacity: 0; } }
        .avatar-logged { width: 44px; height: 44px; border-radius: 50%; background: #eee; overflow: hidden; border: 2px solid white; box-shadow: var(--shadow-soft); display: none; }
        .avatar-logged img { width: 100%; height: 100%; object-fit: cover; }

        .profile-popover { position: absolute; top: 60px; right: 0; width: 280px; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); border-radius: 20px; box-shadow: 0 15px 50px rgba(0,0,0,0.15); border: 1px solid var(--border); padding: 8px; transform: scale(0.95) translateY(-10px); opacity: 0; pointer-events: none; transition: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 2000; transform-origin: top right; }
        .profile-popover.active { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
        .popover-header { padding: 12px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-gray); font-weight: 700; }
        .popover-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text-dark); text-decoration: none; font-size: 15px; font-weight: 600; border-radius: 12px; transition: 0.2s; cursor: pointer; }
        .popover-item:hover { background: #F3F4F6; color: var(--primary); }
        .popover-item i { font-size: 20px; color: var(--text-gray); transition: 0.2s; }
        .popover-item:hover i { color: var(--primary); }
        .popover-divider { height: 1px; background: var(--border); margin: 8px 0; }
        .popover-danger { color: #DC2626; }
        .popover-danger i { color: #DC2626; }
        .popover-danger:hover { background: #FEF2F2; color: #DC2626; }

        /* 5. NUTIKAS OTSING (Kast ja Popover) */
        .search-wrapper { position: relative; margin-bottom: 20px; z-index: 1000; }
        .search-container { position: relative; display: flex; align-items: center; background: #F3F4F6; border: 1px solid transparent; border-radius: var(--radius-xl); padding: 6px 6px 6px 20px; transition: all 0.3s ease; z-index: 2; }
        .search-wrapper.focused .search-container { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow), var(--shadow-soft); background: #FFFFFF; }
        .search-icon { color: var(--text-gray); font-size: 20px; }
        .search-input { border: none; background: transparent; outline: none; width: 100%; padding: 12px 12px; font-size: 16px; color: var(--text-dark); font-weight: 500; }

        .search-popover {
            position: absolute; top: calc(100% + 8px); left: 0; width: 100%;
            background: rgba(255,255,255,0.98); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
            border: 1px solid var(--border); border-radius: 24px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.15); padding: 24px;
            opacity: 0; pointer-events: none; transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 1;
        }
        .search-wrapper.focused .search-popover { opacity: 1; pointer-events: auto; transform: translateY(0); }
        
        .popover-section-title { font-size: 12px; font-weight: 700; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
        
        .search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
        .search-chip { background: #F3F4F6; padding: 10px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--text-dark); cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 6px; }
        .search-chip:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(255, 123, 84, 0.2); }
        
        .quick-categories { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
        .quick-categories::-webkit-scrollbar { display: none; }
        .quick-cat { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; min-width: 70px; transition: 0.2s; }
        .qc-icon { width: 56px; height: 56px; border-radius: 18px; display: flex; justify-content: center; align-items: center; font-size: 28px; transition: 0.3s; }
        .quick-cat:hover .qc-icon { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
        .quick-cat span { font-size: 12px; font-weight: 600; color: var(--text-dark); text-align: center; }

        .view-all-cats { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; padding: 16px; background: #F9FAFB; border-radius: 16px; font-size: 14px; font-weight: 700; color: var(--primary); cursor: pointer; transition: 0.2s; border: 1px solid transparent; }
        .view-all-cats:hover { background: var(--primary-glow); border-color: rgba(255, 123, 84, 0.2); transform: translateY(-2px); }

        .ai-hint-box { background: linear-gradient(145deg, #FDFBF7 0%, #FFF3E0 100%); border: 1px solid rgba(255, 123, 84, 0.3); border-radius: 20px; padding: 24px; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(255, 123, 84, 0.1); }
        .ai-hint-header { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: #D97706; margin-bottom: 12px; }
        .ai-icon { font-size: 22px; animation: pulse-star 2s infinite; }
        @keyframes pulse-star { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.7; } }
        .ai-hint-box p { font-size: 14px; line-height: 1.6; color: var(--text-dark); margin-bottom: 12px; font-weight: 500; }
        .ai-hint-box p:last-child { margin-bottom: 0; color: var(--text-gray); font-size: 13px; font-weight: 400; font-style: italic; }

        .search-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(17, 24, 39, 0.4); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 90; opacity: 0; pointer-events: none; transition: 0.3s; }
        .search-wrapper.focused ~ .search-overlay { opacity: 1; pointer-events: auto; }

        /* 6. AJATELG JA FILTRID */
        .dates-slider { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 12px; scrollbar-width: none; border-bottom: 1px solid var(--border); }
        .dates-slider::-webkit-scrollbar { display: none; }
        .date-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 65px; padding: 8px 12px; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer; transition: 0.2s; color: var(--text-gray); }
        .date-btn:hover { background: #F3F4F6; }
        .date-btn.active { background: var(--text-dark); color: white; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        .date-day { font-size: 11px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 2px; }
        .date-num { font-size: 16px; font-weight: 700; }

        .filters { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
        .filters::-webkit-scrollbar { display: none; }
        .filter-btn { background: var(--surface); border: 1px solid var(--border); padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: 0.2s; }
        .filter-btn.active { background: var(--text-dark); color: white; border-color: var(--text-dark); }

        /* 7. ASUKOHTADE KAARDID JA NIMEKIRI */
        .places-list { flex: 1; overflow-y: auto; padding: 16px 32px 32px; display: flex; flex-direction: column; gap: 16px; scroll-behavior: smooth; position: relative; z-index: 1; }
        .place-card { background: var(--surface); border-radius: var(--radius-lg); padding: 16px; border: 1px solid var(--border); box-shadow: 0 4px 10px rgba(0,0,0,0.02); display: flex; gap: 16px; cursor: pointer; transition: all 0.3s ease; position: relative; }
        .place-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); border-color: var(--primary); }
        .place-img { width: 100px; height: 100px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
        .place-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
        .event-badge { position: absolute; top: -10px; right: 16px; background: var(--primary); color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; box-shadow: 0 4px 10px var(--primary-glow); display: flex; align-items: center; gap: 4px; z-index: 2; }
        .place-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-dark); }
        .place-time { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
        .crowd-indicator { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 8px; margin-bottom: 4px; width: fit-content; }
        .crowd-low { background: #ECFDF5; color: #059669; }
        .crowd-medium { background: #FFFBEB; color: #D97706; }
        .crowd-high { background: #FEF2F2; color: #DC2626; }
        .place-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
        .amenities { display: flex; gap: 6px; font-size: 16px; color: var(--text-gray); }

        /* Kaardi MÄRGISED (Markers) */
        .custom-marker { background: white; border: 2px solid var(--text-dark); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; box-shadow: 0 8px 15px rgba(0,0,0,0.15); transition: 0.3s; cursor: pointer; color: var(--text-dark); }
        .custom-marker.event-marker { border-color: var(--primary); color: var(--primary); border-width: 3px; }
        .custom-marker:hover { transform: scale(1.15) translateY(-5px); z-index: 1000 !important; }

        /* 8. DETAILVAADE (Küljelt sissesõitev) */
        .detail-view { position: fixed; top: 0; right: 0; width: 480px; height: 100vh; background: var(--surface); z-index: 2000; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; flex-direction: column; overflow-y: auto; box-shadow: -30px 0 60px rgba(0,0,0,0.15); }
        .detail-view.active { transform: translateX(0); }
        .detail-cover { width: 100%; height: 280px; position: relative; background: #eee; flex-shrink: 0; }
        .detail-img { width: 100%; height: 100%; object-fit: cover; }
        .detail-back { position: absolute; top: 24px; left: 24px; width: 44px; height: 44px; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; cursor: pointer; border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: 0.2s; z-index: 10; color: var(--text-dark); }
        .detail-back:hover { transform: scale(1.05); background: white; }
        .detail-content { padding: 32px; display: flex; flex-direction: column; flex: 1; }
        .detail-meta { display: flex; gap: 8px; margin-bottom: 12px; }
        .detail-category { background: #F3F4F6; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--text-gray); }
        .detail-title { font-size: 28px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--text-dark); }
        .detail-desc { font-size: 15px; line-height: 1.6; color: var(--text-gray); margin-bottom: 24px; }
        .detail-info-box { background: var(--bg-light); border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin-bottom: 32px; }
        .info-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--text-dark); }
        .info-row:last-child { margin-bottom: 0; }
        .info-icon { font-size: 20px; color: var(--primary); }
        .action-btn { background: var(--text-dark); color: white; border: none; padding: 18px; border-radius: 16px; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; transition: 0.2s; margin-top: auto; flex-shrink: 0; }
        .action-btn:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 20px var(--primary-glow); }

        /* 9. TÄISEKRAAN MENÜÜ (Wow efekt) */
        .full-page-menu { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(17, 24, 39, 0.95); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
        .full-page-menu.active { opacity: 1; pointer-events: auto; }
        .menu-close-btn { position: absolute; top: 32px; right: 32px; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 28px; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: all 0.3s; z-index: 2; }
        .menu-close-btn:hover { background: white; color: var(--text-dark); transform: rotate(90deg); }
        
        .menu-content-wrapper { display: flex; width: 100%; max-width: 1200px; padding: 40px; gap: 80px; align-items: center; }
        .menu-links { display: flex; flex-direction: column; gap: 24px; flex: 1; }
        .menu-links a { text-decoration: none; color: rgba(255,255,255,0.5); font-size: 64px; font-weight: 800; letter-spacing: -2px; transition: all 0.3s; display: flex; align-items: flex-start; gap: 20px; transform: translateY(40px); opacity: 0; }
        .full-page-menu.active .menu-links a { transform: translateY(0); opacity: 1; transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 0.1s); }
        .menu-links a:hover { color: white; padding-left: 20px; }
        .menu-links a .num { font-size: 20px; font-weight: 600; margin-top: 15px; color: var(--primary); }
        
        .menu-action-card { position: relative; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 48px; border-radius: 32px; width: 450px; text-align: left; transform: translateY(40px); opacity: 0; overflow: hidden; }
        .full-page-menu.active .menu-action-card { transform: translateY(0); opacity: 1; transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 0.1s); }
        .card-glow { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 50% 50%, rgba(255, 123, 84, 0.15) 0%, transparent 50%); pointer-events: none; }
        .action-icon { font-size: 48px; color: var(--primary); margin-bottom: 24px; }
        .menu-action-card h3 { color: white; font-size: 32px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
        .menu-action-card p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.6; margin-bottom: 32px; }
        .add-place-btn { width: 100%; background: var(--primary); color: white; border: none; padding: 20px; border-radius: 100px; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; transition: 0.3s; }
        .add-place-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px var(--primary-glow); filter: brightness(1.1); }

        /* 10. SISSELOGIMISE MODAL */
        .auth-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(17, 24, 39, 0.8); backdrop-filter: blur(15px); z-index: 10000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: 0.3s ease; padding: 20px; }
        .auth-overlay.active { opacity: 1; pointer-events: auto; }
        .auth-modal { background: var(--surface); width: 100%; max-width: 400px; border-radius: 32px; padding: 40px 32px; position: relative; transform: translateY(30px); opacity: 0; transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 30px 60px rgba(0,0,0,0.2); }
        .auth-overlay.active .auth-modal { transform: translateY(0); opacity: 1; }
        .modal-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: #F3F4F6; border: none; font-size: 20px; color: var(--text-gray); cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; }
        .modal-close:hover { background: #E5E7EB; color: var(--text-dark); transform: rotate(90deg); }
        .auth-modal h2 { font-size: 28px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
        .auth-modal p { color: var(--text-gray); font-size: 15px; margin-bottom: 32px; line-height: 1.5; }
        .google-btn { width: 100%; background: white; border: 1px solid var(--border); padding: 16px; border-radius: 16px; font-size: 16px; font-weight: 600; color: var(--text-dark); display: flex; justify-content: center; align-items: center; gap: 12px; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
        .google-btn:hover { background: #F9FAFB; box-shadow: 0 6px 15px rgba(0,0,0,0.05); transform: translateY(-2px); }
        .google-btn img { width: 24px; height: 24px; }
        .auth-divider { display: flex; align-items: center; text-align: center; margin: 24px 0; color: #9CA3AF; font-size: 13px; font-weight: 500; }
        .auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); }
        .auth-divider span { padding: 0 16px; }
        .auth-input { width: 100%; padding: 16px; border: 1px solid var(--border); border-radius: 16px; font-size: 16px; margin-bottom: 16px; background: #F9FAFB; transition: 0.2s; outline: none; color: var(--text-dark); }
        .auth-input:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px var(--primary-glow); }
        .auth-submit-btn { width: 100%; background: var(--text-dark); color: white; border: none; padding: 18px; border-radius: 16px; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 8px; }
        .auth-submit-btn:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 20px var(--primary-glow); }

        /* Peidetud elemendid arvutis */
        .mobile-bottom-nav { display: none; }
        .drag-indicator-wrapper { display: none; }

        /* =======================================================================
           11. MOBIILIVAATE TÄIUSTATUD KOHANDUSED (APP-LIKE UX)
           ======================================================================= */
        @media (max-width: 768px) {
            .app-layout { flex-direction: column; }
            .map-area { padding: 0; } 
            .map-wrapper, .map-border-container { border-radius: 0; animation: none; border: none; box-shadow: none; }
            
            /* Mobiilis on menüü all navigeerimisribal, peidame ülevalt ära */
            .brand-wrapper .menu-btn { display: none; } 

            /* Tõeline Bottom Sheet - 92% ekraanist annab massiivse ruumi sirvimiseks */
            .content-panel { 
                width: 100%; 
                height: 92vh; 
                position: absolute; 
                bottom: 0; 
                border-radius: 32px 32px 0 0; 
                padding-bottom: 120px; /* Alumise menüü ruum */
                transform: translateY(8vh); /* Vaikimisi AVASTA asend */
                transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
                box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
            }

            .content-panel.expanded { transform: translateY(8vh); } 
            .content-panel.collapsed { transform: translateY(calc(100vh - 220px)); } 

            .drag-indicator-wrapper { display: flex; width: 100%; height: 36px; justify-content: center; align-items: center; cursor: pointer; }
            .drag-indicator { width: 44px; height: 5px; background: #D1D5DB; border-radius: 10px; }

            .header { padding: 0 20px 12px; }
            .brand-wrapper { margin-bottom: 16px; margin-top: 4px; }
            
            /* Mobiilis rippmenüü asukoht kohandub ekraaniga */
            .profile-popover { top: 60px; right: 20px; width: calc(100% - 40px); position: fixed; transform-origin: top right; }

            .search-wrapper { margin-bottom: 12px; }
            .search-popover { border-radius: 20px; padding: 16px; top: calc(100% + 4px); }

            .dates-slider { margin-bottom: 8px; }
            .places-list { padding: 8px 20px; }
            
            /* Ilus ja suur alumine äpi menüü (koos iPhone Safe Area toega) */
            .mobile-bottom-nav {
                display: flex; position: fixed; bottom: 0; left: 0; width: 100%;
                background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
                border-top: 1px solid var(--border); 
                padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); 
                justify-content: space-between; z-index: 1500;
            }
            .nav-item { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text-gray); text-decoration: none; font-size: 11px; font-weight: 700; transition: 0.2s; }
            .nav-item.active { color: var(--primary); }
            .nav-item i { font-size: 26px; } /* Suuremad ikoonid */
            
            /* Detailvaade on mobiilis 100% lai */
            .detail-view { width: 100%; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
            .detail-cover { height: 260px; }

            /* Täisekraan menüü mobiilis */
            .menu-content-wrapper { flex-direction: column; gap: 40px; text-align: center; }
            .menu-links a { font-size: 36px; justify-content: center; padding-left: 0 !important; }
            .menu-action-card { width: 100%; padding: 32px; text-align: center; }
            .menu-links a .num { display: none; }
        }
        
        
/* === 1. MINU ASUKOHA NUPP === */
        .locate-btn {
            position: absolute; bottom: 40px; right: 40px; width: 50px; height: 50px;
            background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
            border: 1px solid var(--border); border-radius: 50%;
            display: flex; justify-content: center; align-items: center;
            font-size: 24px; color: var(--primary); cursor: pointer;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: all 0.2s ease; z-index: 500;
        }
        .locate-btn:hover { transform: scale(1.1); background: white; }
        .locate-btn.loading { animation: pulse-locate 1.5s infinite; color: var(--text-gray); }
        @keyframes pulse-locate { 0% { transform: scale(1); } 50% { transform: scale(0.9); } 100% { transform: scale(1); } }

        /* Kaardil olev kasutaja asukoha mumm (Sinine ja pulseeriv) */
        .user-location-marker {
            width: 20px; height: 20px; background-color: #2196F3;
            border: 3px solid white; border-radius: 50%;
            box-shadow: 0 0 15px rgba(33, 150, 243, 0.5);
            position: relative;
        }
        .user-location-marker::after {
            content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
            border-radius: 50%; background: rgba(33, 150, 243, 0.4);
            animation: user-pulse 2s infinite; pointer-events: none;
        }
        @keyframes user-pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

        /* === 2. STIILSED TEAVITUSED (TOASTS) === */
        .toast-container {
            position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
            display: flex; flex-direction: column; gap: 10px; z-index: 100000;
            pointer-events: none;
        }
        .toast {
            background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
            border-left: 4px solid var(--primary); border-radius: 12px;
            padding: 16px 24px; box-shadow: 0 15px 35px rgba(0,0,0,0.15);
            display: flex; align-items: center; gap: 12px;
            font-size: 15px; font-weight: 600; color: var(--text-dark);
            transform: translateY(-50px); opacity: 0;
            transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        }
        .toast.show { transform: translateY(0); opacity: 1; }
        .toast i { font-size: 24px; color: var(--primary); }

        /* === 3. TÜHJA OTSINGU DISAIN (EMPTY STATE) === */
        .empty-state {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            padding: 60px 20px; text-align: center; color: var(--text-gray);
        }
        .empty-state i { font-size: 64px; color: #D1D5DB; margin-bottom: 16px; }
        .empty-state h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 8px; font-weight: 700; }
        .empty-state p { font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
        .reset-search-btn {
            background: #F3F4F6; border: none; padding: 12px 24px; border-radius: 100px;
            font-size: 14px; font-weight: 600; color: var(--text-dark); cursor: pointer; transition: 0.2s;
        }
        .reset-search-btn:hover { background: var(--text-dark); color: white; }

        /* Kohandame asukohanuppu mobiilis, et see ei jääks paneeli alla */
        @media (max-width: 768px) {
            .locate-btn { top: 20px; right: 20px; bottom: auto; }
        }
        
        
        
        /* === 12. KOGUKONNA SOTSIAALNE TÕESTUS (Detailvaates) === */
.community-proof {
    display: flex; align-items: center; gap: 12px;
    background: #F9FAFB; padding: 12px 16px;
    border-radius: 20px; cursor: pointer; transition: all 0.3s ease;
    margin-bottom: 24px; border: 1px solid transparent;
}
.community-proof:hover {
    background: #FFFFFF; border-color: var(--primary);
    box-shadow: 0 10px 20px var(--primary-glow);
    transform: translateY(-2px);
}

/* Kattuvad profiilipildid */
.avatar-group { display: flex; }
.avatar-group img { 
    width: 36px; height: 36px; border-radius: 50%; 
    border: 2px solid #FFF; margin-left: -12px; object-fit: cover; 
}
.avatar-group img:first-child { margin-left: 0; }
.avatar-more { 
    width: 36px; height: 36px; border-radius: 50%; 
    background: var(--text-dark); color: white; font-size: 11px; 
    font-weight: 700; display: flex; align-items: center; justify-content: center; 
    border: 2px solid #FFF; margin-left: -12px; z-index: 1;
}

/* Tekstid ja tärnid */
.proof-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.proof-text .rating { 
    font-size: 14px; font-weight: 800; color: var(--text-dark); 
    display: flex; align-items: center; gap: 4px; 
}
.proof-text .rating i { color: #F59E0B; font-size: 16px; }

/* Värskuse indikaator (Roheline pulseeriv täpp) */
.freshness { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-gray); font-weight: 500; }
.fresh-dot { width: 8px; height: 8px; background-color: #10B981; border-radius: 50%; position: relative; }
.fresh-dot::after {
    content: ''; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%; border: 2px solid #10B981;
    animation: pulse-fresh 2s infinite; opacity: 0.5;
}
@keyframes pulse-fresh { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* Uus kaheosaline tegevusriba */
.detail-actions { display: flex; gap: 12px; margin-top: auto; flex-shrink: 0; }
.detail-actions .action-btn { flex: 1; margin-top: 0; } /* Venitab põhinupu */
.action-btn-secondary {
    width: 56px; height: 56px; flex-shrink: 0;
    background: #F3F4F6; color: var(--text-gray);
    border: 2px solid transparent; border-radius: 16px;
    font-size: 24px; display: flex; justify-content: center; align-items: center;
    cursor: pointer; transition: 0.3s ease;
}
.action-btn-secondary:hover {
    background: #ECFDF5; color: #10B981; border-color: #10B981;
    transform: translateY(-2px); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

/* === 13. OTSI SIIT PIIRKONNAST NUPP === */
.search-area-btn {
    position: absolute; top: 20px; left: 50%; transform: translateX(-50%) translateY(-20px) scale(0.95);
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border); padding: 12px 24px; border-radius: 100px;
    font-size: 14px; font-weight: 700; color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); cursor: pointer;
    opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 1000;
    display: flex; align-items: center; gap: 8px;
}
.search-area-btn.visible { 
    opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); 
}
.search-area-btn:hover { 
    background: white; transform: translateX(-50%) translateY(-2px) scale(1); 
    box-shadow: 0 15px 35px var(--primary-glow); 
}


/* === 14. KÕIK KATEGOORIAD MODAAL (All Categories) === */
.categories-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(17, 24, 39, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 10000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: 0.4s ease; padding: 20px;
}
.categories-overlay.active { opacity: 1; pointer-events: auto; }

.categories-modal {
    background: var(--surface); width: 100%; max-width: 900px; max-height: 90vh;
    border-radius: 40px; padding: 48px; position: relative;
    transform: translateY(40px) scale(0.95); opacity: 0; transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.2); overflow-y: auto;
}
.categories-overlay.active .categories-modal { transform: translateY(0) scale(1); opacity: 1; }

.categories-modal::-webkit-scrollbar { width: 6px; }
.categories-modal::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 10px; }

.cats-modal-header { margin-bottom: 40px; padding-right: 40px; }
.cats-modal-header h2 { font-size: 36px; font-weight: 900; color: var(--text-dark); margin-bottom: 8px; letter-spacing: -1px; }
.cats-modal-header p { font-size: 16px; color: var(--text-gray); font-weight: 500; }

/* Modal sulgemisnupp (sama stiil mis sisselogimisel) */
.categories-modal .modal-close { top: 32px; right: 32px; background: #F3F4F6; }

.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.cat-group {
    background: #F9FAFB; padding: 32px 24px; border-radius: 32px; border: 1px solid var(--border);
    transition: 0.3s;
}
.cat-group:hover { background: #FFFFFF; border-color: var(--primary); box-shadow: var(--shadow-soft); }

.cat-group-header {
    display: flex; align-items: center; gap: 16px; font-size: 20px; font-weight: 800;
    color: var(--text-dark); margin-bottom: 20px;
}
.cat-group-header i { font-size: 32px; color: var(--primary); }

.subcats { display: flex; flex-wrap: wrap; gap: 8px; }
.subcats button {
    background: white; border: 1px solid var(--border); padding: 12px 20px; border-radius: 100px;
    font-size: 14px; font-weight: 700; color: var(--text-gray); cursor: pointer; transition: 0.2s;
}
.subcats button:hover {
    background: var(--text-dark); color: white; border-color: var(--text-dark); 
    transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Mobiilivaade: teeme sellest ilusa alt üles sõitva "Bottom sheet" paneeli */
@media (max-width: 768px) {
    .categories-overlay { padding: 0; align-items: flex-end; }
    .categories-modal { border-radius: 32px 32px 0 0; padding: 32px 20px 100px; max-height: 85vh; }
    .categories-modal .modal-close { top: 20px; right: 20px; }
    .cats-modal-header { margin-bottom: 24px; }
    .cats-modal-header h2 { font-size: 28px; }
    .cats-grid { grid-template-columns: 1fr; gap: 16px; }
    .cat-group { padding: 24px 20px; border-radius: 24px; }
    .subcats button { padding: 10px 16px; font-size: 13px; }
}