* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: #E8E4E0;
    overflow: hidden;
    color: #333;
    transition: background 0.5s ease;
}

body.night-mode {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.night-mode #city-title {
    color: #e0e0e0;
}

body.night-mode #city-dropdown {
    background: rgba(40, 40, 60, 0.9);
    color: #e0e0e0;
}

body.night-mode .label-group .building-name,
body.night-mode .label-group .year {
    color: #a0a0a0;
}

body.night-mode .label-group .height {
    color: #e0e0e0;
}

body.night-mode #controls-panel button {
    background: rgba(40, 40, 60, 0.9);
}

body.night-mode footer,
body.night-mode footer a {
    color: #666;
}

body.night-mode #info-panel {
    background: rgba(30, 30, 50, 0.95);
    color: #e0e0e0;
}

#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#city-title {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: #333;
    z-index: 100;
    text-align: center;
    transition: color 0.5s ease;
}

#city-selector {
    position: fixed;
    top: 40px;
    right: 30px;
    z-index: 100;
}

#city-dropdown {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 20px;
    padding-right: 40px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.2s ease;
}

#city-dropdown:hover {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

#city-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 138, 0.5);
}

#building-labels {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 100px;
    z-index: 100;
}

.label-group {
    text-align: center;
    min-width: 120px;
}

.building-name {
    font-size: 10px;
    font-weight: 400;
    color: #666;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.8;
    transition: color 0.5s ease;
}

.height {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.02em;
    transition: color 0.5s ease;
}

.year {
    font-size: 14px;
    font-weight: 300;
    color: #666;
    margin-top: 2px;
    transition: color 0.5s ease;
}

#controls-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

#controls-panel button {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

#controls-panel button:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

#rotate-btn,
#human-btn {
    opacity: 0.6;
}

#tooltip {
    position: fixed;
    display: none;
    background: rgba(51, 51, 51, 0.95);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: linear-gradient(135deg, #FF6B8A 0%, #ff8fa3 100%);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 32px rgba(255, 107, 138, 0.4);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#info-panel {
    position: fixed;
    top: 100px;
    left: 20px;
    width: 280px;
    max-height: calc(100vh - 200px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow: hidden;
    transition: all 0.3s ease;
}

#info-panel.collapsed {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

#info-panel.collapsed #info-content {
    opacity: 0;
    pointer-events: none;
}

#info-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#info-content {
    padding: 50px 16px 16px;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    transition: opacity 0.3s ease;
}

#info-content h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FF6B8A;
    margin-bottom: 12px;
}

.city-facts {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.building-info {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.building-info:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.building-info h4 {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.building-info p {
    font-size: 11px;
    line-height: 1.5;
    color: #666;
}

footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 300;
    color: #999;
    z-index: 100;
    cursor: default;
    transition: color 0.5s ease;
}

footer a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #FF6B8A;
}

footer:hover::after {
    content: "Eline sağlık 🍓";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(51, 51, 51, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    #city-title {
        font-size: 20px;
        letter-spacing: 0.2em;
        top: 30px;
    }
    
    #city-selector {
        top: 30px;
        right: 15px;
    }
    
    #city-dropdown {
        font-size: 12px;
        padding: 8px 15px;
        padding-right: 35px;
    }
    
    #building-labels {
        gap: 40px;
        bottom: 70px;
    }
    
    .label-group {
        min-width: 80px;
    }
    
    .building-name {
        font-size: 8px;
    }
    
    .height {
        font-size: 16px;
    }
    
    .year {
        font-size: 12px;
    }
    
    #controls-panel {
        bottom: 80px;
        right: 15px;
    }
    
    #controls-panel button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    #info-panel {
        top: auto;
        bottom: 160px;
        left: 15px;
        width: 240px;
        max-height: 40vh;
    }
    
    #info-panel.collapsed {
        width: 40px;
        height: 40px;
    }
    
    .toast {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    #building-labels {
        gap: 25px;
    }
    
    .label-group {
        min-width: 60px;
    }
    
    .height {
        font-size: 14px;
    }
    
    .year {
        font-size: 11px;
    }
    
    #info-panel {
        width: calc(100% - 30px);
        max-height: 30vh;
    }
}