body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: white;
    text-align: center;
}

.container {
    margin-top: 60px;
    padding: 0 15px;
}

.profile {
    width: 140px;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* LINKS */
.links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.links a,
.links button {
    padding: 10px;
    border-radius: 20px;
    border: none;
    background: #111;
    color: white;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
}

.links a:hover,
.links button:hover {
    background: #222;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.qr-box {
    background: #111;
    padding: 20px;
    border-radius: 15px;
    width: 260px;
    position: relative;
}

.qr-preview {
    width: 200px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* SLIDER */
.qr-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.qr-controls button {
    padding: 6px 12px;
    background: #222;
    border: none;
    color: white;
    border-radius: 10px;
}

/* DOWNLOAD */
.download-wrapper {
    position: relative;
}

.download-btn {
    padding: 10px;
    background: #222;
    border-radius: 20px;
    color: white;
    border: none;
    width: 100%;
    cursor: pointer;
}

.download-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.download-menu a {
    padding: 8px;
    background: #222;
    border-radius: 10px;
    color: white;
    text-decoration: none;
}

.download-menu a:hover {
    background: #333;
}

/* CLOSE */
.close {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
}

/* FOOTER */
.footer {
    margin-top: 60px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
}

/* LOADING */
#loading-screen {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* WRAPPER FIX */
.logo-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FOTO FIX */
.loading-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

/* RING FIX (SEKARANG PAS) */
.ring {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 4px solid rgba(255,255,255,0.18);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 4s linear infinite;
    z-index: 1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* LOADING BAR */
.loading-bar {
    margin-top: 40px;
    width: 240px;
    height: 8px;
    background: #222;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #fff, #aaa);
}