:root {
    --primary-color: #ff3e3e;
    --bg-dark: #0a0a0b;
    --card-bg: #161618;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --accent-gradient: linear-gradient(45deg, #ff3e3e, #ff8e3e);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
}

header {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=1000') no-repeat center/cover;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 5px;
}

nav {
    background: rgba(22, 22, 24, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #333;
    text-align: center;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.3s;
}

nav a:hover { color: var(--primary-color); }

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.post-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #222;
    transition: 0.3s;
}

.post-card:hover { border-color: var(--primary-color); transform: translateY(-5px); }

.post-title {
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    display: block;
    margin-top: 10px;
}

.post-meta { color: var(--primary-color); font-size: 0.75rem; font-weight: bold; }

.sidebar-box {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #222;
    margin-bottom: 30px;
}

h3.sidebar-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: #000;
    border-top: 1px solid #222;
}

@media (max-width: 900px) {
    .container { grid-template-columns: 1fr; }
    header { height: 40vh; }
}