:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-1: #c026d3; /* Magenta */
    --accent-2: #3b82f6; /* Blue */
    --accent-hover: #d946ef;
    --border-color: rgba(148, 163, 184, 0.1);
    --glass-glow: rgba(192, 38, 211, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(192, 38, 211, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 25%);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 0 1rem 2rem 1rem;
}

.app-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Header */
.header {
    text-align: center;
}

.title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Result Card */
.result-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
}

.result-text {
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--text-primary);
}

.result-text strong {
    color: var(--accent-1);
    font-weight: 600;
}

.result-text.animate {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Compact Dropdowns */
.filters-section {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    background: rgba(30, 41, 59, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.dropdown-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.premium-select {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-select:hover, .premium-select:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 2px var(--glass-glow);
}

.premium-select option {
    background: var(--bg-color);
    color: var(--text-primary);
}

/* Button */
.action-section {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.generate-btn {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(192, 38, 211, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(192, 38, 211, 0.3);
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-2));
}

.generate-btn:active {
    transform: translateY(1px);
}

/* Animations */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .filters-section {
        flex-direction: column;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .result-text {
        font-size: 1.2rem;
    }
}
