:root {
    --bg-primary: #0e1015;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --card-bg: rgba(30, 32, 38, 0.85);
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Fira Code', monospace;
    background: var(--bg-primary);
    overflow: hidden;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(80, 130, 255, 0.1), transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(100, 180, 255, 0.08), transparent 50%);
    z-index: 0;
}

.glass {
    backdrop-filter: blur(16px);
    background-color: var(--card-bg);
    animation: fadeIn 1.5s ease-in;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.sparkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: sparkle 12s linear infinite;
}

@keyframes sparkle {
    0% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { opacity: 0.6; transform: translateY(-10px) scale(1.1); }
    100% { transform: translateY(-100vh) scale(0.8); opacity: 0; }
}

.glow-text {
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.btn-primary {
    background: linear-gradient(to right, var(--accent), var(--accent-hover));
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(25deg);
    transition: all 0.5s;
}

.btn-primary:hover::after {
    left: 120%;
}

.input-field {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.input-field::placeholder {
    color: rgba(209, 213, 219, 0.5);
}

.card-glow {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    transition: box-shadow 0.5s ease;
}

.card-glow:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.25);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.1);
    margin-bottom: 20px;
}

.pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.pulse-active {
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
