        /* ==========================================
           1. AYARLAR & DEĞİŞKENLER (KOLAYCA DEĞİŞTİRİN)
           ========================================== */
        :root {
            /* MASAÜSTÜ (Yatay ekranlar) için zoom seviyesi 500 ideal*/
            --zoom-seviyesi: 500vh; 
            --lobi-oran: 1.4; 
        }

        /* 📱 CEP TELEFONLARI (Dikey ekranlar) İÇİN ÖZEL ZOOM SEVİYESİ */
        @media (max-aspect-ratio: 1/1) {
            :root {
                /* Mobilde dükkanların çok büyük veya çok küçük durmasını 
                buradaki vh değerini değiştirerek ayarlayabilirsiniz (Örn: 450vh veya 550vh) */
                --zoom-seviyesi: 500vh; 
            }
        }








        /* TEMEL AYARLAR VE SIFIRLAMA */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            user-select: none;
            -webkit-user-drag: none;
        }

        body, html {
            width: 100%;
            height: 100%;
            overflow: hidden;
            background-color: #0b0805;
            font-family: 'Urbanist', sans-serif;
            color: #f5f5f5;
        }

        /* GEZİNME ALANI (VIEWPORT) */
        #viewport {
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            position: relative;
            cursor: grab;
        }

        #viewport:active {
            cursor: grabbing;
        }

        /* LOBİ TUVALİ (Yatay ve Dikey Serbest Hareket) */
        #street-canvas {
            /* Genişlik, dikey zoom oranına ve videonun kendi en-boy oranına göre otomatik hesaplanır */
            width: calc(var(--zoom-seviyesi) * var(--lobi-oran));
            height: var(--zoom-seviyesi);
            position: relative;
            will-change: transform;
        }

        /* Sonsuz Döngülü Lobi Videosu */
        #street-video {
            width: 100%;
            height: 100%;
            object-fit: fill; /* Oranların tam oturması için */
            pointer-events: none;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }

        /* ==========================================
           2. DÜKKAN KOORDİNATLARI (YÜZDESEL AYARLAR)
           ========================================== */
        
        /* 1. Zanaatkarlar Köşesi (Sol Alt) */
        #door-zanaat {
            left: 42%;       /* Sol kenardan uzaklık (%) */
            top: 74%;        /* Üst kenardan uzaklık (%) */
            width: 6%;      /* Tıklama alanının genişliği (%) */
            height: 12%;     /* Tıklama alanının yüksekliği (%) */
        }

        /* 2. Tasarım Stüdyosu (Orta Sol) */
        #door-tasarim {
            left: 53%;
            top: 69%;
            width: 6%;
            height: 12%;
        }

        /* 3. Comp Proje (Orta Sağ) */
        #door-proje {
            left: 64%;
            top: 69%;
            width: 6%;
            height: 12%;
        }

        /* 4. Genel Mağaza & XML (Sağ Alt) Tamam*/
        #door-genel {
            left: 76%;
            top: 73%;
            width: 6%;
            height: 12%;
        }


        /* ETKİLEŞİMLİ KAPI ALANLARI (HOTSPOTS) */
        .hotspot {
            position: absolute;
            z-index: 10;
            cursor: pointer;
            border-radius: 8px;
            transition: background 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        /* Kapıların üzerine gelindiğinde sihirli yeşil ışıltı */
        .hotspot:hover {
            background: rgba(222, 255, 154, 0.08);
            box-shadow: 0 0 35px rgba(222, 255, 154, 0.2);
        }

        /* Geliştirici Bilgi Balonu */
        .dev-info {
            display: none;
            background: rgba(255, 0, 0, 0.9);
            color: #fff;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: bold;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
            pointer-events: none;
        }

        /* Geliştirici Modu Aktifken */
        body.dev-active .hotspot {
            border: 2px dashed #ff3b30 !important;
            background: rgba(255, 59, 48, 0.2) !important;
        }

        body.dev-active .dev-info {
            display: block !important;
        }

        body.dev-active .guide-marker {
            display: none !important;
        }

        /* Dükkan Yönlendirici Etiketleri */
        .guide-marker {
            position: absolute;
            bottom: -30px;
            background: rgba(11, 8, 5, 0.9);
            border: 1px solid #deff9a;
            color: #deff9a;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
            animation: float-guide 3s ease-in-out infinite;
            pointer-events: none;
            letter-spacing: 0.5px;
        }

        @keyframes float-guide {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }

        /* ==========================================
           3. ARAYÜZ VE PANEL TASARIMLARI
           ========================================== */

        /* Sol Üst Logo ve Slogan */
        .brand-header {
            position: fixed;
            top: 25px;
            left: 25px;
            z-index: 100;
            pointer-events: none;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }

        .brand-header h1 {
            font-family: 'Cinzel', serif;
            font-size: 30px;
            color: #ffffff;
            letter-spacing: 2px;
        }

        .brand-header p {
            font-size: 13px;
            color: #deff9a;
            letter-spacing: 1px;
            font-weight: 300;
        }

        /* Sağ Üst Panel Grubu (Butonlar) */
        .top-right-panel {
            position: fixed;
            top: 25px;
            right: 25px;
            display: flex;
            gap: 15px;
            z-index: 101;
        }

        /* Geliştirici Modu Butonu (Pirinç Dişli) */
        #dev-toggle-btn {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: rgba(22, 17, 12, 0.85);
            border: 1px solid rgba(222, 255, 154, 0.4);
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #dev-toggle-btn i {
            color: #deff9a;
            font-size: 18px;
            transition: transform 0.5s ease;
        }

        #dev-toggle-btn:hover {
            border-color: #ff3b30;
        }

        #dev-toggle-btn:hover i {
            color: #ff3b30;
            transform: rotate(90deg);
        }

        body.dev-active #dev-toggle-btn {
            background: #ff3b30;
            border-color: #fff;
        }

        body.dev-active #dev-toggle-btn i {
            color: #fff;
        }

        /* Sağ Üst Kırmızı Tellal Bildirim Küresi */
        #tellal-sphere {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: radial-gradient(circle, #ff3b30 0%, #8b0000 100%);
            border: 2px solid #ff9500;
            box-shadow: 0 0 15px rgba(255, 59, 48, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: pulse-sphere 2s infinite;
        }

        #tellal-sphere:hover {
            transform: scale(1.08);
            box-shadow: 0 0 25px rgba(255, 59, 48, 0.9);
        }

        #tellal-sphere i {
            color: #ffffff;
            font-size: 18px;
        }

        @keyframes pulse-sphere {
            0%, 100% { box-shadow: 0 0 15px rgba(255, 59, 48, 0.6); }
            50% { box-shadow: 0 0 25px rgba(255, 59, 48, 0.9), 0 0 5px rgba(255, 255, 255, 0.5); }
        }

        /* REHBER YAZISI */
        #guide-overlay {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(11, 8, 5, 0.85);
            border: 1px solid rgba(222, 255, 154, 0.3);
            padding: 12px 24px;
            border-radius: 30px;
            z-index: 90;
            pointer-events: none;
            transition: opacity 1s ease;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        }

        #guide-overlay p {
            color: #deff9a;
            font-size: 15px;
            letter-spacing: 0.5px;
        }

        /* YÜZEN KÜRESEL PUSULA */
        #compass-back {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(11, 8, 5, 0.4);
            border: 1.5px solid rgba(222, 255, 154, 0.4);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            transition: transform 0.3s ease, border-color 0.3s ease;
        }

        #compass-back:hover {
            transform: translateX(-50%) scale(1.06);
            border-color: rgba(222, 255, 154, 0.8);
        }

        #compass-logo {
            width: 42px;
            height: 42px;
            transition: transform 0.1s linear;
        }

        /* ESKİTME PARŞÖMEN DUYURU PANOSU */
        #tellal-board {
            position: fixed;
            top: -100%;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 540px;
            background: linear-gradient(135deg, #f2dec0 0%, #e2c299 100%);
            border: 10px double #5a3c20;
            border-radius: 4px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.9), inset 0 0 50px rgba(90, 60, 32, 0.5);
            padding: 35px;
            z-index: 150;
            transition: top 1.2s cubic-bezier(0.19, 1, 0.22, 1);
            color: #2b1d0c;
        }

        #tellal-board.open {
            top: 40px;
        }

        #tellal-board h2 {
            font-family: 'Cinzel', serif;
            font-size: 26px;
            text-align: center;
            margin-bottom: 18px;
            border-bottom: 2px dashed #5a3c20;
            padding-bottom: 8px;
            color: #4a3018;
        }

        #tellal-board p {
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 18px;
            font-family: 'Georgia', serif;
        }

        #tellal-board .parchment-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(90, 60, 32, 0.1);
            border: 1px solid #5a3c20;
            padding: 12px 18px;
            border-radius: 4px;
            color: #4a3018;
            text-decoration: none;
            font-weight: 700;
            transition: background 0.3s ease;
        }

        #tellal-board .parchment-link:hover {
            background: rgba(90, 60, 32, 0.2);
        }

        #close-board {
            position: absolute;
            top: 15px;
            right: 15px;
            cursor: pointer;
            font-size: 18px;
            color: #5a3c20;
            transition: transform 0.3s ease;
        }

        #close-board:hover {
            transform: scale(1.1) rotate(90deg);
        }

        /* ESKİTME DÜKKAN PARŞÖMENLERİ */
        .parchment-modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            width: 90%;
            max-width: 480px;
            background: linear-gradient(135deg, #f5e6c4 0%, #dec599 100%);
            border: 12px double #6e4720;
            border-radius: 8px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.8), inset 0 0 40px rgba(110, 71, 32, 0.4);
            padding: 30px;
            z-index: 200;
            opacity: 0;
            visibility: hidden;
            transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.2s ease, visibility 1.2s ease;
            font-family: 'Georgia', serif;
            color: #2b1d0c;
        }

        .parchment-modal.active {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
            visibility: visible;
        }

        .parchment-modal h3 {
            font-family: 'Cinzel', serif;
            font-size: 22px;
            color: #4a3018;
            margin-bottom: 12px;
            border-bottom: 2px dashed #6e4720;
            padding-bottom: 6px;
        }

        .parchment-modal p {
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 20px;
            color: #3d2914;
        }

        /* Modal Link Grubu */
        .modal-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .modal-links a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(110, 71, 32, 0.1);
            border: 1px solid #6e4720;
            padding: 10px 16px;
            border-radius: 4px;
            color: #4a3018;
            text-decoration: none;
            font-weight: 700;
            font-family: 'Urbanist', sans-serif;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        .modal-links a:hover {
            background: #6e4720;
            color: #f5e6c4;
            padding-left: 20px;
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            cursor: pointer;
            font-size: 20px;
            color: #6e4720;
            transition: transform 0.3s ease;
        }

        .close-modal:hover {
            transform: scale(1.1) rotate(90deg);
        }

        /* EKRAN KARARTMA KATMANI */
        #overlay-dim {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.65);
            z-index: 120;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }

        #overlay-dim.active {
            opacity: 1;
            visibility: visible;
        }