*, *::before, *::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px}
body{
    font-family:'Inter',sans-serif;
    line-height:1.6;
    color:#e0e0e0;
    background:#121212;
}
.container{width:min(90%,1200px);margin:0 auto;padding:1rem 0}
.site-header{
    background:#1e1e1e;
    border-bottom:1px solid #2a2a2a;
    position:sticky;
    top:0;
    z-index:1000;
}
.site-header .logo{
    font-weight:600;
    font-size:1.5rem;
    text-decoration:none;
    color:#d1b2ff;
}
.nav{display:flex}
.nav ul{display:flex;gap:1.5rem;list-style:none}
.nav a{
    text-decoration:none;
    color:#aaa;
    font-weight:500;
}
.nav a:hover{color:#fff}
.nav-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer}
.hero{
    background:linear-gradient(135deg,#5c2d91,#7b3fe0);
    color:#fff;
    text-align:center;
    padding:4rem 0;
}
.hero h1{font-size:2.5rem;margin-bottom:.5rem}
.hero p{font-size:1.125rem}
.posts-grid{
    display:grid;
    gap:2rem;
    margin:2rem 0;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
.post-card{
    background:#1e1e1e;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 6px rgba(0,0,0,.2);
    display:flex;
    flex-direction:column;
}
.post-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}
.post-content{padding:1rem;flex:1;display:flex;flex-direction:column}
.post-content h2{font-size:1.25rem;margin:.5rem 0}
.post-content h2 a{text-decoration:none;color:#d1b2ff}
.post-content .meta{font-size:.85rem;color:#888;margin-bottom:.75rem}
.post-content .excerpt{flex:1;margin-bottom:1rem}
.read-more{
    align-self:flex-start;
    text-decoration:none;
    color:#9f79ff;
    font-weight:600;
}
.read-more:hover{text-decoration:underline}
.pagination{
    display:flex;
    justify-content:center;
    gap:.5rem;
    margin-bottom:2rem;
}
.pagination a{
    padding:.4rem .8rem;
    border:1px solid #444;
    border-radius:4px;
    text-decoration:none;
    color:#aaa;
}
.pagination a.active,
.pagination a:hover{
    background:#7b3fe0;
    color:#fff;
    border-color:#7b3fe0;
}
.pagination a.disabled{opacity:.5;pointer-events:none}
.site-footer{
    background:#1e1e1e;
    color:#777;
    padding:1.5rem 0;
    text-align:center;
}
.site-footer a{
    color:#d1b2ff;
    margin:0 .5rem;
    text-decoration:none;
}
.site-footer a:hover{opacity:.8}
@media(max-width:768px){
    .nav{display:none}
    .nav-toggle{display:block}
    .nav.active{
        display:block;
        position:absolute;
        top:100%;
        right:1rem;
        background:#1e1e1e;
        border:1px solid #2a2a2a;
        border-radius:4px;
        padding:.5rem 1rem;
    }
    .nav.active ul{flex-direction:column;gap:.5rem}
}
