/* --- Variables & Reset --- */
:root {
    --bg-color: #0F172A;
    --surface-color: #1E293B;
    --accent-primary: #F43F5E;
    --accent-secondary: #38BDF8;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--accent-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
}

.btn-primary { background: var(--accent-primary); color: #fff; }
.btn-primary:hover { background: #E11D48; }

.btn-youtube { background: #FF0000; color: #fff; }
.btn-youtube:hover { background: #CC0000; }

.btn-affiliate { background: var(--accent-primary); color: #fff; display: block; margin-bottom: 10px; }
.btn-affiliate-alt { background: var(--surface-color); border: 1px solid var(--accent-secondary); color: var(--accent-secondary); display: block; margin-bottom: 10px; }
.btn-affiliate-alt:hover { background: var(--accent-secondary); color: var(--bg-color); }

/* --- Header --- */
.site-header {
    background-color: var(--surface-color);
    padding: 15px 0;
    border-bottom: 2px solid #334155;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.logo span {
    color: var(--accent-primary);
}

.main-nav a {
    color: var(--text-main);
    margin: 0 15px;
    font-weight: 600;
}
.main-nav a:hover {
    color: var(--accent-secondary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* --- Layout Grid --- */
.layout-grid {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 2%;
    margin-top: 40px;
}

/* --- Main Content --- */
.hero-post {
    background: var(--surface-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-image {
    height: 400px;
    background-size: cover;
    background-position: center;
}

.hero-content {
    padding: 30px;
}

.category-tag {
    background: var(--accent-primary);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.hero-content h2 {
    margin: 15px 0;
    font-size: 32px;
}

/* --- Ad Zones --- */
.ad-horizontal, .ad-sidebar {
    background: #0f172a;
    border: 1px dashed #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.ad-horizontal { height: 90px; }
.ad-sidebar { height: 250px; }

/* --- Post Grid --- */
.post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-card {
    background: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}
.post-card:hover { transform: translateY(-5px); }

.post-img { height: 200px; }
.post-info { padding: 20px; }

/* --- Sidebar --- */
.sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.widget {
    background: var(--surface-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.widget h3 { margin-bottom: 15px; border-bottom: 2px solid var(--accent-primary); padding-bottom: 10px; }
.widget p { margin-bottom: 15px; font-size: 14px; color: var(--text-muted); }

.affiliate-list { list-style: none; }
.affiliate-list li { margin-bottom: 10px; }
.affiliate-list a { display: block; padding: 8px; background: #0F172A; border-radius: 5px; color: var(--text-main); }
.affiliate-list a:hover { color: var(--accent-primary); }

/* --- Footer --- */
.site-footer {
    background: var(--surface-color);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
    font-size: 14px;
    color: var(--text-muted);
}
.site-footer strong { color: var(--text-main); }

/* --- Responsive Design (Mobile) --- */
@media (max-width: 900px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
    .main-nav, .btn-youtube {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .post-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
}