/* MODERN DARK STYLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #121212;
    --card: #1e1e1e;
    --text: #e0e0e0;
    --primary: #00bcd4;
    --primary-dark: #0097a7;
    --footer: #0d0d0d;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Header */
header {
    background: var(--card);
    padding: 1rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--primary);
}

header h1 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Menu */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: var(--primary);
    color: #000;
}

/* Content */
main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
}

section, article {
    background: var(--card);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transition: transform 0.2s;
}

section:hover, article:hover {
    transform: translateY(-2px);
}

h2 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Blog list */
ul {
    list-style: none;
}

ul li {
    margin: 0.5rem 0;
}

ul li a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

ul li a:hover {
    color: var(--primary-dark);
}

/* Footer */
footer {
    background: var(--footer);
    color: #888;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }
}
