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

:root {
    --bg-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --text-color: #ffffff;
    --text-muted: #b0c4de;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand, .nav-link {
    color: var(--text-color) !important;
    font-weight: 600;
}

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    animation: fadeIn 0.8s ease-out forwards;
}

.form-control.glass-input, .form-select.glass-input {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    border-radius: 10px;
}

.form-control.glass-input:focus, .form-select.glass-input:focus {
    background: rgba(0, 0, 0, 0.3) !important;
    color: white !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5) !important;
    border-color: var(--primary-color) !important;
}

.form-control.glass-input::placeholder {
    color: var(--text-muted);
}

/* Fix dropdown options readability */
.form-select.glass-input option {
    background-color: #203a43;
    color: white;
}

.btn-premium {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
    color: white;
}

.thumbnail-container img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.video-info {
    margin-top: 1.5rem;
}

.video-info h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.video-info p {
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#resultSection {
    display: none;
}

.spinner-border {
    color: var(--text-color);
}