@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #1e1e2f, #232a34);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    overflow: hidden;
}
.preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #1e1e2f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 420px;
    width: 100%;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeIn 0.8s ease-out 1.5s forwards;
}
.qr-header h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ff6b6b;
    font-weight: 600;
}
input, select {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    outline: none;
    background: rgba(0, 0, 0, 0.2);
    color: rgb(255, 255, 255);
    text-align: center;
}
input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.qr-body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    min-height: 180px;
}
.qr-footer {
    display: flex;
    justify-content: space-between;
}
.qr-footer a {
    text-decoration: none;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    transition: 0.3s;
    font-weight: bold;
    flex: 1;
    text-align: center;
    margin: 5px;
    box-shadow: 0px 5px 15px rgba(255, 107, 107, 0.3);
}
.qr-footer a:hover {
    background: linear-gradient(135deg, #ff4757, #ff2e63);
    transform: scale(1.05);
    box-shadow: 0px 5px 20px rgba(255, 107, 107, 0.5);
}
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
@keyframes fadeIn {
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@media screen and (max-width: 450px) {
    .box {
        padding: 20px;
    }
    
    .qr-footer {
        flex-direction: column;
    }

    .qr-footer a {
        margin-bottom: 10px;
    }
}
