:root {
    --bg: #0f1a0f;
    --bg2: #152015;
    --bg3: #1e2e1e;
    --border: #2a3d2a;
    --accent: #7bc67e;
    --accent2: #f0a500;
    --text: #e8f0e8;
    --text-muted: #7a9a7a;
    --radius: 8px;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header { background: var(--bg2); border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 100; padding: 12px 0; }
.header-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo { font-family: var(--font-head); font-size: 26px; font-weight: 800; letter-spacing: -0.5px; white-space: nowrap; }
.logo span { color: var(--accent); }
.header-search { display: flex; flex: 1; min-width: 200px; max-width: 400px; }
.header-search input { flex: 1; background: var(--bg3); border: 1px solid var(--border); border-right: none; color: var(--text); padding: 8px 14px; border-radius: var(--radius) 0 0 var(--radius); font-family: var(--font-body); font-size: 14px; outline: none; }
.header-search input:focus { border-color: var(--accent); }
.header-search button { background: var(--accent); border: none; padding: 8px 14px; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-size: 16px; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--text-muted); font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; transition: color 0.2s; }
nav a:hover { color: var(--accent); }

main.container { padding-top: 30px; padding-bottom: 60px; }

/* FEATURED */
.featured-wrap { margin-bottom: 40px; }
.featured-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: border-color 0.2s; }
.featured-card:hover { border-color: var(--accent); }
.featured-img { background-size: cover; background-position: center; min-height: 400px; }
.featured-content { padding: 40px; background: var(--bg3); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured-content h1 { font-family: var(--font-head); font-size: clamp(20px, 2.5vw, 32px); font-weight: 800; line-height: 1.2; }
.featured-content p { color: var(--text-muted); font-size: 15px; }

/* CAT BADGE */
.cat-badge { background: var(--accent); color: #0f1a0f; font-family: var(--font-head); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; display: inline-block; }

/* ARTICLE DATE */
.article-date { color: var(--text-muted); font-size: 13px; }
.article-author { color: var(--text-muted); font-size: 13px; }

/* ARTICLE GRID */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.article-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.article-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.article-img { height: 200px; background-size: cover; background-position: center; }
.article-content { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-content h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.3; }
.article-content p { color: var(--text-muted); font-size: 14px; line-height: 1.6; flex: 1; }

/* SECTION */
.section { margin: 40px 0; }
.section-title { font-family: var(--font-head); font-size: 22px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 20px; text-transform: uppercase; border-bottom: 2px solid var(--accent); padding-bottom: 10px; display: inline-block; }

/* CATEGORY GRID */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.category-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.category-card:hover { border-color: var(--accent); transform: translateY(-2px); background: var(--bg2); }
.cat-emoji { font-size: 30px; }
.cat-label { font-size: 11px; font-weight: 700; color: var(--text-muted); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.5px; }

/* ARTICLE DETAIL */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin-top: 20px; }
.article-hero { height: 440px; background-size: cover; background-position: center; border-radius: var(--radius); margin-bottom: 30px; }
.article-body h1 { font-family: var(--font-head); font-size: clamp(24px, 4vw, 40px); font-weight: 800; line-height: 1.2; margin: 12px 0; }
.article-meta { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.article-excerpt { font-size: 18px; color: var(--text-muted); border-left: 4px solid var(--accent); padding-left: 16px; margin-bottom: 24px; font-style: italic; }
.article-content { font-size: 16px; line-height: 1.85; }
.article-content h2 { font-family: var(--font-head); font-size: 22px; font-weight: 800; margin: 32px 0 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }
.article-content p { margin-bottom: 18px; color: var(--text-muted); }
.article-content strong { color: var(--text); }
.article-content a { color: var(--accent); text-decoration: underline; }

/* SHARE */
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.article-share span { font-family: var(--font-head); font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.share-btn { padding: 8px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 700; border: none; cursor: pointer; font-family: var(--font-head); letter-spacing: 0.5px; text-transform: uppercase; }
.share-twitter { background: #1da1f2; color: #fff; }
.share-facebook { background: #1877f2; color: #fff; }
.share-copy { background: var(--bg3); color: var(--text); border: 1px solid var(--border); }

/* SIDEBAR */
.sidebar-widget { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.widget-title { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; color: var(--accent); }
.sidebar-article { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.sidebar-article:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-img { width: 70px; height: 70px; background-size: cover; background-position: center; border-radius: 4px; flex-shrink: 0; }
.sidebar-title { font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; font-family: var(--font-head); }
.sidebar-cat { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.sidebar-cat:last-child { border-bottom: none; }
.sidebar-cat:hover { color: var(--accent); }

/* PAGE HEADER */
.page-header { margin-bottom: 28px; }
.page-header h1 { font-family: var(--font-head); font-size: clamp(28px, 5vw, 48px); font-weight: 800; }
.page-header h1 span { color: var(--accent); }
.page-header p { color: var(--text-muted); margin-top: 6px; }

/* STATIC PAGES */
.static-page { max-width: 800px; margin: 0 auto; padding: 40px 0 60px; }
.static-page h1 { font-family: var(--font-head); font-size: clamp(30px, 5vw, 48px); font-weight: 800; margin-bottom: 8px; }
.static-page h2 { font-family: var(--font-head); font-size: 20px; font-weight: 800; margin: 28px 0 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }
.static-page p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.static-page a { color: var(--accent); text-decoration: underline; }
.static-date { color: var(--text-muted); font-size: 13px; margin-bottom: 24px !important; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 30px 0; }
.contact-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-card p { font-size: 13px; margin-bottom: 10px; color: var(--text-muted); }
.contact-link { color: var(--accent) !important; font-weight: 700; font-size: 14px; text-decoration: none !important; word-break: break-all; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* BTN */
.btn-action { background: var(--accent); color: #0f1a0f; padding: 10px 22px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; display: inline-block; transition: opacity 0.2s; }
.btn-action:hover { opacity: 0.85; }

/* AD */
.ad-native-wrap { margin: 24px 0; min-height: 80px; border-radius: var(--radius); overflow: hidden; }

/* FOOTER */
.site-footer { background: var(--bg2); border-top: 3px solid var(--accent); padding: 40px 0 24px; margin-top: 60px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-logo { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.footer-logo span { color: var(--accent); }
.footer-brand p { color: var(--text-muted); font-size: 14px; }
.footer-cats h4 { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.footer-cats { display: flex; flex-direction: column; gap: 8px; }
.footer-cats a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.footer-cats a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-muted); font-size: 12px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .featured-card { grid-template-columns: 1fr; }
    .featured-img { min-height: 260px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
    .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    nav { display: none; }
    .article-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
}
