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

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: #121212;
    color: #ffffff;
    line-height: 1.6;
}

.neodyme-header {
    background: #121212;
    border-bottom: 1px solid #2a2a2a;
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.neodyme-logo {
    font-size: 32px;
    font-weight: 900;
    color: #8b5cf6;
    margin-right: 40px;
    text-decoration: none;
}

.neodyme-nav {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #8b5cf6;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #8b5cf6;
    color: white;
}

.btn-primary:hover {
    background: #7c3aed;
}

.btn-secondary {
    background: transparent;
    color: #e6e6e6;
    border: 1px solid #4a4a4a;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #666;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 6px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #e6e6e6;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #4a4a4a;
    border-radius: 4px;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.form-input::placeholder {
    color: #666;
}

.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.alert-error {
    background: rgba(244,67,54,0.1);
    border: 1px solid rgba(244,67,54,0.3);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.3);
    color: #81c784;
}

.neodyme-footer {
    background: #1a1a1a;
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #8b5cf6;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: #b0b0b0;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #b0b0b0;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #8b5cf6;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

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

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .neodyme-header {
        padding: 8px 0;
    }
    
    .header-container {
        padding: 0 16px;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}