:root {
    --primary-color: #5562eb;
    --secondary-color: #4c35c4;
    --text-color: #e1e1e6;
    --text-secondary: #a5a5b0;
    --bg-color: #121212;
    --card-color: #1e1e24;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --border-radius: 8px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-weight: 400;
    opacity: 0.9;
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 90%;
    max-width: 400px;
    padding: 32px;
    text-align: center;
    animation: slideIn 0.3s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input, textarea, select, button {
    background-color: #2a2a36;
    color: var(--text-color);
    border: 1px solid #3c3c48;
    border-radius: var(--border-radius);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(85, 98, 235, 0.25);
}

button {
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    filter: brightness(1.1);
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(85, 98, 235, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: rgba(85, 98, 235, 0.1);
}

.footer {
    background: #19191d;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
    color: var(--text-secondary);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid #2a2a36;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--card-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 550px;
    position: relative;
    border: 1px solid #2a2a36;
}

/* Loader animations */
.loader {
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glow effects */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: calc(var(--border-radius) + 5px);
    opacity: 0.3;
    filter: blur(15px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1rem;
    }
    
    .main-container {
        padding: 1.5rem 1rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
} 