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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem;
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: 100vh;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.logo h1 {
    font-size: 1.25rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section h3 {
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.nav-item {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-left-color: #3b82f6;
    transform: translateX(4px);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-left-color: #60a5fa;
}

.main-content {
    padding: 3rem;
    overflow-y: auto;
}

.content-header {
    margin-bottom: 3rem;
    text-align: center;
}

.content-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.content-header p {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.sprint-selector {
    background: rgba(15, 15, 35, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.sprint-selector h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sprint-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sprint-btn {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.sprint-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.sprint-btn:hover::before {
    left: 100%;
}

.sprint-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.sprint-btn.active {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.content-section {
    background: rgba(15, 15, 35, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}


.markdown-content h1, 
.markdown-content h2, 
.markdown-content h3 {
    color: #60a5fa;
    margin: 1.5rem 0 1rem 0;
}

.markdown-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    padding-bottom: 0.5rem;
}

.markdown-content h2 {
    font-size: 1.5rem;
}

.markdown-content h3 {
    font-size: 1.25rem;
}

.markdown-content p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.markdown-content ul, 
.markdown-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.markdown-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    margin: 1rem 0;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0 8px 8px 0;
}

.markdown-content code {
    background: rgba(59, 130, 246, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Fira Code', 'Consolas', monospace;
    color: #60a5fa;
}

.markdown-content pre {
    background: #1a1a2e;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.markdown-content pre code {
    background: none;
    padding: 0;
    color: #e2e8f0;
}


.loading {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 1rem;
}

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

.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .content-header h1 {
        font-size: 2rem;
    }
    
    .sprint-buttons {
        flex-direction: column;
    }
    
    .sprint-btn {
        width: 100%;
    }
}
