/* Futuristic Sitemap Design */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --accent-color: #00ff88;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #cc5500 100%);
    --gradient-accent: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', 'Roboto', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.sitemap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.sitemap-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.sitemap-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sitemap-nav {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.sitemap-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.sitemap-list {
    list-style: none;
    position: relative;
    z-index: 2;
}

.sitemap-list > li {
    margin-bottom: 1.5rem;
    position: relative;
}

.sitemap-list > li:last-child {
    margin-bottom: 0;
}

.sitemap-list a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.sitemap-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: var(--transition);
    z-index: -1;
}

.sitemap-list a:hover::before {
    left: 0;
}

.sitemap-list a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: translateX(10px);
}

/* Sub-level styling */
.sitemap-list ul {
    margin-top: 0.5rem;
    margin-left: 2rem;
    border-left: 2px solid var(--glass-border);
    padding-left: 1rem;
    position: relative;
}

.sitemap-list ul::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.sitemap-list li:hover > ul::before {
    opacity: 1;
}

.sitemap-list ul li {
    margin-bottom: 0.8rem;
}

.sitemap-list ul a {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.01);
}

.sitemap-list ul a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* Third level styling */
.sitemap-list ul ul {
    margin-left: 1.5rem;
    border-left-color: var(--accent-color);
}

.sitemap-list ul ul a {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
}

.sitemap-list ul ul a:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

/* Fourth level styling */
.sitemap-list ul ul ul {
    margin-left: 1rem;
    border-left-color: var(--secondary-color);
}

.sitemap-list ul ul ul a {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.sitemap-list ul ul ul a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.sitemap-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sitemap-container {
        padding: 1rem;
    }
    
    .sitemap-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .sitemap-header h1 {
        font-size: 2rem;
    }
    
    .sitemap-subtitle {
        font-size: 1rem;
    }
    
    .sitemap-nav {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .sitemap-list a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .sitemap-list ul {
        margin-left: 1rem;
        padding-left: 0.8rem;
    }
    
    .sitemap-list ul a {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .sitemap-list ul ul {
        margin-left: 0.8rem;
    }
    
    .sitemap-list ul ul a {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .sitemap-container {
        padding: 0.5rem;
    }
    
    .sitemap-nav {
        padding: 1rem;
    }
    
    .sitemap-list a {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .sitemap-list ul {
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }
}

/* Print styles */
@media print {
    body::before {
        display: none;
    }
    
    .sitemap-nav {
        background: white;
        color: black;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .sitemap-list a {
        color: black;
        background: white;
    }
    
    .sitemap-list a:hover {
        color: black;
        box-shadow: none;
        transform: none;
    }
}