:root {
    /* Color Palette */
    --bg-main: #121212;          /* Deep dark background */
    --bg-card: #1e1e1e;          /* Slightly lighter dark for modules/cards */
    --color-orange: #ff8c00;     /* Primary Orange */
    --color-vegeta: #1c388c;     /* Vegeta Royal Blue */
    --color-gold: #f1c40f;       /* Accent Gold for hovers/highlights */
    
    /* Text Colors */
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    
    /* Layout */
    --font-sans: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
}

a {
    color: var(--color-orange);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-gold);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--color-vegeta);
    border-bottom: 4px solid var(--color-orange);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: var(--color-orange);
}

.main-nav a {
    color: #ffffff;
    margin-left: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-gold);
}

/* Layout Grid */
.layout-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Modules / Cards */
.card {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Markdown Post Typography Styling */
.post-content h1, 
.post-content h2, 
.post-content h3 {
    color: var(--color-orange);
    margin-bottom: 15px;
    margin-top: 25px;
}

.post-content h1 {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--color-vegeta);
    padding-bottom: 10px;
}

.post-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.post-content code {
    background-color: #2a2a2a;
    color: var(--color-gold);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.post-content pre {
    background-color: #0a0a0a;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    border-left: 4px solid var(--color-vegeta);
}

.post-content pre code {
    background-color: transparent;
    color: var(--text-main);
    padding: 0;
}

/* Sidebar Widgets */
.sidebar .widget {
    margin-bottom: 30px;
}

.sidebar h3 {
    color: var(--color-orange);
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.post-list {
    list-style: none;
}

.post-list li {
    margin-bottom: 10px;
}

.post-list a {
    color: var(--text-main);
    display: block;
    padding: 8px 10px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 4px;
}

.post-list a:hover {
    background-color: var(--color-vegeta);
    color: #fff;
    transform: translateX(5px);
}

/* Custom Accent Module */
.blue-accent {
    border-top: 4px solid var(--color-vegeta);
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-muted);
    border-top: 1px solid #333;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        margin-top: 15px;
    }
    
    .main-nav a {
        margin: 0 10px;
    }
}