body {
    margin: 0;
    overflow: hidden;
    background: #000;
}

/* ===== Layar pembuka ===== */
#enterScreen {
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('../assets/img/cover.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

/* ===== Tombol atas ===== */
#topControls,
#bottomControls {
    z-index: 998;
    pointer-events: none;
}

#topControls .control-btn,
#topControls #resetViewBtn,
#bottomControls .control-btn {
    pointer-events: auto;
}

.control-btn {
    width: clamp(44px, 12vw, 52px);
    height: clamp(44px, 12vw, 52px);
    font-size: clamp(16px, 4vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.85;
}

.control-btn:active {
    opacity: 1;
    transform: scale(0.92);
}

/* ===== Hotspot ===== */
.hotspot-label {
    position: fixed;
    width: clamp(34px, 9vw, 44px);
    height: clamp(34px, 9vw, 44px);
    border-radius: 50%;
    background: #ff3333;
    color: #fff;
    font-size: clamp(15px, 3.5vw, 18px);
    font-weight: bold;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    border: 3px solid white;
    transform: translate(-50%, -50%);
    touch-action: manipulation;
    animation: pulse 1.8s infinite;
}

.hotspot-label:active {
    background: #cc0000;
    transform: translate(-50%, -50%) scale(0.9);
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,51,51,0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(255,51,51,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,51,51,0); }
}

/* ===== Modal ===== */
.modal-content {
    border-radius: 12px;
}

/* ===== Isi modal info: Fungsi / Makna Filosofis / Nilai Kurikulum Berbasis Cinta ===== */
.info-section-title {
    font-weight: 700;
    color: #0d6efd;
    margin: 0.75rem 0 0.15rem;
}

.info-section-title:first-child {
    margin-top: 0;
}

.info-section-text {
    margin: 0 0 0.25rem;
    color: #2c2c2c;
    line-height: 1.5;
}

.modal-dialog {
    margin-top: 20px;
    margin-left: 12px;
    margin-right: 12px;
}

@media (min-width: 576px) {
    .modal-dialog {
        margin-top: 24px;
        margin-left: auto;
        margin-right: auto;
    }
}

#backBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    padding: 10px 18px;
    border: none;
    border-radius: 25px;
    background: #212529;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#backBtn:hover {
    background: #000;
}