:root {
    --deep-black: #0A0E12;
    --deep-navy: #0F172A;
    --soft-white: #F8FAFC;
    --slate-grey: #94A3B8;
    --bantu-blue: #1D4ED8;
    --warm-gold: #F59E0B;
    --error-color: #EF4444;
    --success-color: #10B981;
    --glow-cycle-1: #00A3FF;
    --glow-cycle-2: #0066FF;
    --glow-cycle-3: #8B5CF6;
    --glow-cycle-4: #EC4899;
    --card-bg: rgba(15, 23, 42, 0.6);
    --card-border: rgba(148, 163, 184, 0.2);
    --hover-overlay: rgba(255, 255, 255, 0.05);
    --active-overlay: rgba(245, 158, 11, 0.1);
    --indigo: #4F46E5;
    --gold-glow: rgba(245, 158, 11, 0.3);
    --blue-glow: rgba(29, 78, 216, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--deep-black);
    color: var(--soft-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Loading States */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--deep-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--bantu-blue);
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.glow-cycle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    animation: float 8s infinite ease-in-out;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--glow-cycle-1);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: var(--glow-cycle-2);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.glow-3 {
    width: 350px;
    height: 350px;
    background: var(--glow-cycle-3);
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.glow-4 {
    width: 250px;
    height: 250px;
    background: var(--glow-cycle-4);
    top: 20%;
    right: 20%;
    animation-delay: 6s;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Toast Container */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--deep-navy);
}

::-webkit-scrollbar-thumb {
    background: var(--bantu-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--warm-gold);
}

/* Header */
.header {
    background: rgba(10, 14, 18, 0.9);
    backdrop-filter: blur(20px);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 32px rgba(29, 78, 216, 0.3);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 18px;
    background: linear-gradient(to right, var(--soft-white), var(--bantu-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
}

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

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--soft-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.search-btn {
    color: var(--warm-gold);
}

.profile-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    color: white;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    position: relative;
    z-index: 2;
    padding-bottom: 100px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 30px 20px;
    text-align: center;
    color: var(--slate-grey);
    background: rgba(10, 14, 18, 0.9);
    backdrop-filter: blur(10px);
    margin-top: 50px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    color: var(--soft-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 100;
    transition: all 0.3s ease;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
