:root {
    --primary: #2563eb;
    --error: #ef4444;
    --success: #22c55e;
    --background: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.description {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.checker-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

button {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.result-box {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
}

.result-box.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.result-box.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.result-box.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    margin: 1rem auto;
    animation: spin 1s linear infinite;
}

footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #1d4ed8;
}

.hidden {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .checker-box {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
}