body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    text-align: center;
    margin: 0;
}

.container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
}

h1 {
    color: #00c6ff;
}

.qr-box img {
    width: 250px;
    margin: 20px 0;
}

.wallet-box {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.wallet-box input {
    flex: 1;
    padding: 10px;
}

.wallet-box button {
    padding: 10px;
    background: #00c6ff;
    border: none;
    cursor: pointer;
}

.form-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.form-box button {
    width: 100%;
    padding: 12px;
    background: #00c6ff;
    border: none;
    cursor: pointer;
}

.popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
}

.popup-content {
    background: white;
    color: black;
    padding: 20px;
    margin: 100px auto;
    width: 300px;
    border-radius: 10px;
}

/* 🔥 POPUP BACKGROUND */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: none;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 80px;

    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    z-index: 999;
}

/* DESKTOP CENTER */
@media (min-width: 768px) {
    .popup {
        align-items: center;
        padding-bottom: 0;
    }
}

/* 🔥 POPUP BOX */
.popup-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    width: 340px;
    animation: popupScale 0.4s ease;
}

/* 🔥 BIG SUCCESS CIRCLE */
.success-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #00c853;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: popIn 0.4s ease;
}

/* 🔥 PERFECT TICK ✔ */
.checkmark {
    width: 40px;
    height: 20px;
    border-left: 6px solid white;
    border-bottom: 6px solid white;
    transform: rotate(-45deg);
    animation: tickAnim 0.4s ease forwards;
}

/* TEXT */
.popup-box h2 {
    margin-bottom: 10px;
}

.popup-box p {
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
}

/* BUTTON */
.popup-box button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
}

.popup-box button:hover {
    background: #333;
}

/* 🔥 ANIMATIONS */
@keyframes popupScale {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes tickAnim {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-45deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(-45deg);
    }
}
