:root {
    --bg-color: #050a10;
    --card-bg: #0f172a;
    --accent: #00a8ff;
    --accent-hover: #0077b6;
    --text-color: #e2e8f0;
    --glow: 0 0 15px rgba(0, 168, 255, 0.4);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #1e293b;
    text-align: center;
    width: 90%;
    max-width: 450px;
}

h1 { margin-bottom: 10px; font-weight: 600; }
p { color: #94a3b8; margin-bottom: 1.5rem; }

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

input {
    padding: 12px 15px;
    border-radius: 8px;
    border: 2px solid #334155;
    background-color: #1e293b;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: var(--accent);
    box-shadow: var(--glow);
}

button {
    padding: 12px 20px;
    background-color: var(--accent);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

button:hover {
    background-color: var(--accent-hover);
    color: white;
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.hidden { display: none; }

#qr-result {
    margin-top: 20px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
}

img#qrImage {
    border: 4px solid white;
    border-radius: 8px;
    max-width: 100%;
}

a#downloadLink {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}