:root {
    --cyan: #14b8a6;
    --dark-bg: #0a0a0f;
    --panel-bg: rgba(15, 23, 42, 0.98);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

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

body {
    font-family: 'Merriweather', serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow: hidden; 
}

#globe-interactive-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh;
    z-index: 99990;
    background-color: var(--dark-bg);
    display: block;
}

#header { 
    position: absolute;
    top: 40px; left: 40px; 
    z-index: 1000; max-width: 500px; 
    pointer-events: none;
}
#header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 2.2rem; color: var(--cyan);
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    line-height: 1.2;
}
#header p { font-size: 1.1rem; color: #cbd5e1; font-weight: 300; line-height: 1.5; }

.source-attribution {
    margin-top: 10px; font-size: 0.95rem; color: #94a3b8;
    pointer-events: auto; font-family: 'Montserrat', sans-serif;
}
.source-attribution a {
    color: var(--cyan); text-decoration: none; font-weight: 600;
    border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.source-attribution a:hover { border-bottom: 1px solid var(--cyan); }

#sovereignty-banner {
    position: absolute;
    bottom: 30px; left: 40px; z-index: 1000;
    background: rgba(220, 38, 38, 0.15); border-left: 4px solid #ef4444;
    padding: 12px 20px; border-radius: 4px;
    font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
    max-width: 450px; line-height: 1.5;
    backdrop-filter: blur(5px); box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
#sovereignty-banner strong { color: #fca5a5; }

#globeViz {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.marker-label {
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9), -1px -1px 4px rgba(0,0,0,0.9);
}
.label-cyan { color: #f8fafc; } .label-cyan:hover { color: var(--cyan); } .label-red { color: #fca5a5; }

#info-panel {
    position: fixed; top: 0; right: -600px; 
    width: 450px; height: 100vh; background: var(--panel-bg); backdrop-filter: blur(15px);
    border-left: 1px solid rgba(20, 184, 166, 0.3); z-index: 999999; 
    transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}
#info-panel.active { right: 0 !important; }
#close-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; z-index: 999999; }
#info-content { padding: 60px 30px 40px 30px; }
#info-content h2 { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; color: var(--cyan); margin-bottom: 15px; line-height: 1.3; }
.meta-data { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.tag { font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: 20px; background: rgba(255,255,255,0.1); text-transform: uppercase; }
.tag.highlight { background: rgba(20, 184, 166, 0.2); color: var(--cyan); border: 1px solid rgba(20, 184, 166, 0.5); }
#project-time { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; color: #e2e8f0; margin-bottom: 20px; line-height: 1.5; }
.image-wrapper { width: 100%; border-radius: 8px; overflow: hidden; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.1); }
.image-wrapper img { width: 100%; height: auto; display: block; }
.desc-text { font-size: 1.05rem; line-height: 1.8; color: #cbd5e1; text-align: justify; }

/* FIX MOBILE RESPONSIVE CHUYÊN SÂU GIỐNG BÀI KHO VÀNG */
@media (max-width: 768px) {
    #globe-interactive-container { display: flex; flex-direction: column; }
    #header {
        position: relative; top: 0 !important; left: 0 !important; width: 100%; max-width: 100%;
        padding: 65px 20px 15px 20px; 
        background: linear-gradient(to bottom, #0a0a0f 85%, rgba(10,10,15,0) 100%);
        pointer-events: auto;
    }
    #header h1 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 6px; }
    #header p { font-size: 0.9rem; line-height: 1.4; }
    #globeViz { position: relative; flex: 1; width: 100%; height: 100%; }
    #sovereignty-banner { bottom: 15px; left: 15px; width: calc(100% - 30px); max-width: none; font-size: 0.8rem; padding: 10px 15px; }
    #info-panel { width: 100%; right: -100vw; }
}
