@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

pre, code {
    font-family: 'JetBrains Mono', monospace;
}

.wizard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4c1d95 100%);
    position: relative;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    animation: twinkle 8s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.berry-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
}

.berry-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.api-key-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    animation: pulse-border 3s ease-in-out infinite;
}

.dark .api-key-card {
    background: #1f2937;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@keyframes pulse-border {
    0%, 100% {
        border-color: rgba(139, 92, 246, 0.3);
    }
    50% {
        border-color: rgba(139, 92, 246, 0.6);
    }
}

.tip-card {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 4px solid #8b5cf6;
    animation: fade-in 0.5s ease-in-out;
}

.dark .tip-card {
    background: linear-gradient(135deg, #2d1b4e 0%, #1e1b4b 100%);
    border-left-color: #a78bfa;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prose {
    line-height: 1.75;
}

.prose p {
    margin-bottom: 1rem;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

button:not(:disabled):active {
    transform: scale(0.98);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: linear-gradient(to right, #8b5cf6, #3b82f6);
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #8b5cf6;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #8b5cf6;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .wizard-header h1 {
        font-size: 2rem;
    }
}