body, html {
        margin: 0; padding: 0; font-family: Arial, sans-serif;
        background: #222; color: #fff;
        height: 100%; overflow: hidden;
    }
     #cover {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('rumahAdat/cover.jpg') no-repeat center center;
        background-size: cover;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        text-align: center;
        z-index: 10;
    }
    #cover button {
		padding: 15px 30px;
        font-size: 1.2em;
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        border: 2px solid white;
        border-radius: 30px;
        cursor: pointer;
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
		margin-top:20px;
    }
    #cover button:hover { background: #218838; }    
	#renderCanvas {
		position: fixed;
		top: 0%; /* Kompensasi untuk viewport yang turun */
		left: 0;
		width: 100%;
		height: 100%; /* Beri ruang ekstra di atas */
		display: none;
		}

    /* Panel Overlay */
    #infoPanel {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		position: absolute;
		top: 20px; left: 20px;
		width: 320px; height: calc(100% - 40px);
		background: rgba(255, 255, 255, 0.08); /* transparan putih tipis */
		backdrop-filter: blur(10px); /* efek frosted glass */
		border-radius: 16px;
		padding: 20px;
		opacity: 0;
		transition: opacity 0.6s ease;
		pointer-events: none;
		color: #fff;
		border: 1px solid rgba(255,255,255,0.2);
	}
	#infoPanel.active {
		opacity: 1;
		pointer-events: auto;
	}

    #infoPanel h2 {
        margin-top: 0;
        font-size: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.3);
        padding-bottom: 10px;
    }
    #infoContent {
		flex: 1;
		overflow-y: scroll; /* biar JS tetap tahu posisi scroll */
		margin-bottom: 20px;
		padding-right: 8px;
		scrollbar-width: none; /* Firefox hide */
	}
	#infoContent::-webkit-scrollbar {
		display: none; /* Chrome hide */
	}

	/* Custom scrollbar */
	#customScrollbar {
		position: absolute;
		top: 40px; /* di bawah judul */
		right: 10px;
		width: 4px;
		height: 40px; /* default */
		background: rgba(255,255,255,0.6);
		border-radius: 4px;
		opacity: 0;
		transition: opacity 0.4s;
	}

    #exitBtn {
        width: 50%;
        padding: 12px;
        background: #dc3545;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        cursor: pointer;
    }
    #exitBtn:hover { background: #c82333; }

    /* Custom Preloader */
    /* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-container {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Arial', sans-serif;
    color: #333;
}

#progressText {
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 300px;
}

.progress-bar {
    flex-grow: 1;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
    border-radius: 10px;
}

#progressPercent {
    font-weight: bold;
    min-width: 40px;
    text-align: right;
}
	.babylon-canvas {
        margin-right: 320px; /* Sesuaikan dengan lebar infoPanel */
    }
	
/* Glass Panel Effect */
.glass-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    text-align: center;
    z-index: 20;
    display: none;
}

.glass-panel h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
}

.glass-panel p {
    margin-bottom: 15px;
    line-height: 1.6;
}

#kembaliBtn {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

#kembaliBtn:hover {
    background: #218838;
    transform: scale(1.05);
}

#artiva {
    position: absolute;
    bottom: 10px;
    right: 30px;
    color: white;
    font-size: 0.9em;    
}
#artiva a{
	color:white;
}
h3, h4{color:yellow;}
