:root {
    --bg-gradient: linear-gradient(135deg, #111827 0%, #1f2937 50%, #000000 100%);
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(to right, #60a5fa, #c084fc);
    --btn-gradient: linear-gradient(to right, #2563eb, #7c3aed);
    --btn-hover: linear-gradient(to right, #3b82f6, #8b5cf6);
    --input-bg: rgba(31, 41, 55, 0.5);
    --input-border: #374151;
    --input-hover: #4b5563;
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

/* Orbs */
.orb {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.orb-1 {
    background: var(--accent-primary);
    top: -80px;
    right: -80px;
}

.orb-2 {
    background: var(--accent-secondary);
    bottom: -80px;
    left: -80px;
}

/* Card */
.card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-wrapper svg {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Content */
.content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.select-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.select-wrapper {
    position: relative;
}

select {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: white;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    appearance: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

select:hover:not(:disabled) {
    background: rgba(31, 41, 55, 0.8);
    border-color: var(--input-hover);
}

select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

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

.chevron {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
}

/* Button */
button {
    width: 100%;
    background: var(--btn-gradient);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

button:hover:not(:disabled) {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

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

button:hover:not(:disabled) svg {
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Alt Links */
.alt-links {
    text-align: center;
    margin-top: 0.5rem;
}

.alt-links p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.links a {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.links a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

.error {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-bottom: 1rem;
}