* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
body { background: #fff; min-height: 100vh; font-family: Arial, sans-serif; }

.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity .35s ease, visibility .35s ease;
}
.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
    padding: 20px;
}

/* Hanya lingkaran yang berputar; logo tetap diam */
.logo-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 4.8px solid #bebebe;
    border-top-color: var(--logo-color, #777777);
    border-right-color: var(--logo-color-light, #777777);
    border-radius: 50%;
    animation: ring-spin 1.1s linear infinite;
}
.logo-wrap img {
    position: relative;
    z-index: 1;
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.loading-text {
    color: #444;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 700;
}
.loading-dots {
    display: inline-block;
    width: 2.2em;
    text-align: left;
}
.loading-dots::after {
    content: ".";
    animation: dots 1.2s steps(1, end) infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes dots {
    0% { content: "."; }
    33% { content: ".."; }
    66% { content: "..."; }
    100% { content: "."; }
}
@media (max-width: 480px) {
    .logo-wrap { width: 160px; height: 160px; }
    .logo-wrap img { width: 90px; height: 90px; }
    .loading-text { font-size: 17px; }
}