* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Latar belakang gradasi biru bergelombang */
    background: linear-gradient(180deg, #3a86ff 0%, #0052d4 100%);
    background-attachment: fixed;
    overflow: hidden;
    position: relative;
}

/* Dekorasi Gelombang (Sederhana menggunakan pseudo-element) */
body::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: -1;
    background: url('https://svgshare.com/i/yS9.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.user-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.4);
    color: #003087;
    margin-bottom: 15px;
    font-size: 14px;
}

input::placeholder {
    color: #555;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    letter-spacing: 1px;
}

button:hover {
    background: #0056b3;
}

/* Bagian Hasil QR */
.qr-result {
    display: none; /* Sembunyi sebelum generate */
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}

#qrcode {
    background: white;
    padding: 15px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 20px;
}

#qrcode img {
    width: 100%;
    max-width: 200px;
}

#download-btn {
    background: #007bff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}