* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
    background-attachment: fixed;
}

.header-gradient {
    background: linear-gradient(90deg, rgba(151, 151, 255, 0.08) 0%, rgba(0, 193, 222, 0.08) 100%);
    backdrop-filter: blur(10px);
}

.card {
    background: rgba(37, 37, 66, 0.8);
    border: 1px solid rgba(58, 58, 94, 0.5);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    border-color: rgba(58, 58, 94, 0.8);
}

.input-field {
    width: 100%;
    background: rgba(15, 15, 26, 0.8);
    border: 1px solid rgba(58, 58, 94, 0.5);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: #00C1DE;
    box-shadow: 0 0 0 3px rgba(0, 193, 222, 0.15);
}

.input-field::placeholder {
    color: rgba(156, 163, 175, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #9797FF 0%, #00C1DE 100%);
    color: #0f0f1a;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(151, 151, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #9797FF;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid rgba(58, 58, 94, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: #9797FF;
    background: rgba(151, 151, 255, 0.1);
}

.btn-danger {
    background: linear-gradient(135deg, #F87171 0%, #DC2626 100%);
    color: white;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(248, 113, 113, 0.4);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 15, 26, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(58, 58, 94, 0.8);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(151, 151, 255, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .card {
        padding: 1rem;
    }
}