:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --success: #22c55e;
    --error: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    overflow: hidden;
}

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
}

header {
    margin-bottom: 32px;
}

.logo {
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

input[type="text"] {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 20px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.2s;
    outline: none;
}

input[type="text"]:focus {
    border-color: var(--primary);
}

button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

button:hover {
    background: var(--primary-hover);
}

button:active {
    transform: scale(0.98);
}

.result-box {
    margin-top: 24px;
    padding: 16px;
    border-radius: 12px;
    animation: slideUp 0.3s ease-out;
}

.result-box.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.result-box.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.hidden {
    display: none;
}

.result-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.result-sub {
    font-size: 0.8rem;
    margin-top: 4px;
    opacity: 0.8;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05rem;
}

.stat .value {
    font-size: 0.85rem;
    font-weight: 600;
}

.cyan {
    color: #22d3ee;
}