@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(190, 255, 0, 0.2);
    animation: fadeIn 0.5s ease-out;
}

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

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.header p {
    color: #4a4a4a;
    font-size: 16px;
}

.icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #beff00 0%, #88cc00 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(190, 255, 0, 0.3);
}

.input-group {
    margin-bottom: 24px;
}

label {
    display: block;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    background: #fafafa;
}

input:focus {
    border-color: #beff00;
    box-shadow: 0 0 0 4px rgba(190, 255, 0, 0.15);
    background: white;
}

.btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #beff00 0%, #88cc00 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(190, 255, 0, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(190, 255, 0, 0.5);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.qr-output {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    display: none;
}

.qr-output.active {
    display: block;
    animation: slideIn 0.4s ease-out;
}

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

#qrcode {
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.download-btn {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #beff00;
    margin-bottom: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.download-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
    color: #4a4a4a;
    font-size: 14px;
}

.footer a {
    color: #88cc00;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {
        padding: 30px 24px;
    }

    .header h1 {
        font-size: 28px;
    }
}