@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --color-mauve: #d8b4fe;
    --color-mauve-dark: #c084fc;
}
html, body {
    font-family: 'Fira Code', monospace;
    background: #000;
    color: #fff;
}

body {
    min-height: 100vh;
}

/* Ensure all children inherit bg color */
* {
    background-color: inherit;
    color: inherit;
}

/* Fix for code blocks */
pre, code {
    background: rgba(0, 0, 0, 0.3) !important;
}
.glass-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(216, 180, 254, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-mauve);
    color: #0a0a0a;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(216, 180, 254, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-mauve-dark);
    box-shadow: 0 0 20px rgba(216, 180, 254, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--color-mauve);
    border: 1px solid var(--color-mauve);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: rgba(216, 180, 254, 0.1);
    box-shadow: 0 0 15px rgba(216, 180, 254, 0.3);
}

/* Markdown-like content styles */
.markdown-content {
    line-height: 1.6;
}

.markdown-content h1, 
.markdown-content h2, 
.markdown-content h3, 
.markdown-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.markdown-content p {
    margin-bottom: 1em;
}

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

.markdown-content li {
    margin-bottom: 0.5em;
}
.glass-code {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(216, 180, 254, 0.1);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}
.glass-code code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #d8b4fe;
}

/* Video embed responsive */
iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
}
/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: var(--color-mauve);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-mauve-dark);
}