:root {
    --primary-dark: #0A3056;
    --accent-yellow: #DDA405;
    --gray-bg: #f5f6f8;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #333;
    background-color: var(--gray-bg);
}

/* Landing Page Styles */
.hero-minimalist {
    background: var(--gray-bg);
    min-height: 80vh;
}

.hero-title {
    letter-spacing: -1px;
    line-height: 1.2;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.2) !important;
}

/* Info Cards */
.bg-primary-soft { background-color: rgba(13, 110, 253, 0.1); }
.bg-danger-soft { background-color: rgba(220, 53, 69, 0.1); }
.bg-success-soft { background-color: rgba(25, 135, 84, 0.1); }

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* News Cards */
.bg-light-gray {
    background-color: #fcfcfc;
}

.tracking-wide {
    letter-spacing: 2px;
}

.news-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-img-wrapper {
    overflow: hidden;
    height: 220px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.explore-link {
    transition: opacity 0.2s ease;
}

.explore-link:hover {
    opacity: 0.8;
}

/* VR Viewer Styles */
.vr-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

#panorama {
    width: 100%;
    height: 100%;
}

.vr-overlay {
    position: absolute;
    left: 0;
    z-index: 1000;
}

.vr-top-bar { top: 0; pointer-events: none; }
.vr-bottom-bar { bottom: 0; }

.vr-top-bar > * { pointer-events: auto; }

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.btn-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #333;
    transition: all 0.2s;
}

.btn-glass:hover, .btn-glass:focus {
    background: #ffffff;
    color: #000;
}

.glass-panel {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-vr-action {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.btn-vr-action:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Custom Hotspot UI */
.custom-hotspot-base {
    cursor: pointer;
    pointer-events: auto;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -25px;
}

.hotspot-icon-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.85); /* Solid white glass background to make logo pop */
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hotspot-icon-wrapper img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3)); /* Give the logo itself a shadow */
}

.hotspot-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.custom-hotspot-base:hover .hotspot-icon-wrapper {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.custom-hotspot-base:hover .hotspot-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pnlm-load-box {
    background-color: rgba(0,0,0,0.8) !important;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* State Hotspot: Locked */
.hotspot-locked {
    pointer-events: none;
    opacity: 0.65; /* Increased opacity to make it more visible */
    filter: grayscale(80%); /* Reduced grayscale slightly */
}

/* State Hotspot: Completed */
.hotspot-completed .hotspot-icon-wrapper::after {
    content: '✓';
    position: absolute;
    bottom: -5px;
    right: -5px;
    color: white;
    background: #198754;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: bold;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    line-height: 1;
}

/* Tombol Lanjut Animasi */
.btn-lanjut-float {
    position: absolute;
    bottom: 30px;
    bottom: calc(30px + env(safe-area-inset-bottom, 0px)); /* iOS safe area */
    left: 50%;
    transform: translateX(-50%);
    animation: bounceInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1050;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@keyframes bounceInUp {
    0% { transform: translateX(-50%) translateY(100px); opacity: 0; }
    60% { transform: translateX(-50%) translateY(-20px); opacity: 1; }
    100% { transform: translateX(-50%) translateY(0); }
}

/* VR Button Specific Styles */
.vr-btn-red, .vr-btn-blue, .vr-btn-green, .vr-btn-black {
    background-color: transparent;
    border: none;
}

.hotspot-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-logo-circle {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .hero-logo-circle {
        width: 100px;
        height: 100px;
    }
}

/* VR Guide Styles */
.btn-help {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0;
    transition: all 0.3s ease;
}

.btn-help:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.guide-step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.guide-step-intro { background-color: #0d6efd; }
.guide-step-fakta { background-color: #212529; }
.guide-step-video { background-color: #dc3545; }
.guide-step-kuis { background-color: #198754; }

.guide-list-item {
    padding: 12px 15px;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.03);
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.guide-list-item:hover {
    transform: translateX(5px);
    background-color: rgba(0,0,0,0.05);
}
