body { 
    font-family: 'Inter', sans-serif; 
    background-color: #0b0b0b; 
    color: #e5e5e5; 
    overflow-x: hidden;
}
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Custom High-End Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #262626; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #404040; }

/* Modal Overlay & Styling for Dark Theme */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.modal-content {
    background: #0f0f0f;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid #262626;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7);
}

/* Markdown Standardized Pro Styling */
.markdown-body {
    padding: 32px;
    overflow-y: auto;
    color: #a3a3a3;
    line-height: 1.7;
}
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
    color: #f5f5f5;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.markdown-body h1 { font-size: 1.875rem; border-bottom: 1px solid #262626; padding-bottom: 0.3em; }
.markdown-body h2 { font-size: 1.5rem; border-bottom: 1px solid #262626; padding-bottom: 0.3em; }
.markdown-body a { color: #3b82f6; text-decoration: none; transition: color 0.2s ease;}
.markdown-body a:hover { color: #60a5fa; }
.markdown-body p, .markdown-body ul { margin-bottom: 1em; }
.markdown-body code {
    background: #171717;
    padding: 0.2em 0.4em;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875em;
    color: #d4d4d8;
    border: 1px solid #262626;
}
.markdown-body pre {
    background: #0a0a0a;
    padding: 1rem;
    border-radius: 12px;
    overflow-x: auto;
    border: 1px solid #262626;
    margin-bottom: 1em;
}
.markdown-body pre code { background: transparent; padding: 0; border: none; }

/* Custom Dot Navigation */
.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #404040;
    transition: all 0.3s ease;
    cursor: pointer;
}
.nav-dot:hover {
    background-color: #737373;
    transform: scale(1.2);
}
.nav-dot.active {
    background-color: #fbbf24; /* Amber-400 */
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
