:root {
    --bg-color: #0d1117;
    --text-color: #e6edf3;
    --accent: #58a6ff;
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Animated Orbs */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 40VW;
    height: 40VW;
    background: #58a6ff;
    top: -10VW;
    left: -10VW;
}

.orb-2 {
    width: 50VW;
    height: 50VW;
    background: #8e15a9;
    bottom: -15VW;
    right: -10VW;
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 5vw) scale(1.2); }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #58a6ff, #a371f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #8b949e;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* Markdown Styles */
#content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

#content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

#content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

#content p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #c9d1d9;
}

#content ul, #content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #c9d1d9;
    font-size: 1.1rem;
}

#content li {
    margin-bottom: 0.5rem;
}

#content hr {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin: 2.5rem 0;
}

#content a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}

#content a:hover {
    color: #a371f7;
    border-bottom: 1px solid #a371f7;
}

#content strong {
    color: #e6edf3;
    font-weight: 600;
}

.loading, .error-state {
    text-align: center;
    color: #8b949e;
}

.error-state {
    color: #f85149;
}
.error-state code {
    background: rgba(0,0,0,0.5);
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
    margin-top: 1rem;
}
