:root {
    --primary: #ff3e3e;
    --bg: #0a0a0a;
    --surface: #161616;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --border: #2a2a2a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Segoe UI', Roboto, sans-serif; 
    background: var(--bg); 
    color: var(--text);
    line-height: 1.6;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 15px; }

/* Navigation */
header { background: rgba(0,0,0,0.9); border-bottom: 2px solid var(--primary); sticky: top; z-index: 1000; }
.navbar { height: 70px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 900; letter-spacing: -1px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: white; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Ads */
.ad-wrap { text-align: center; margin: 20px 0; }
.ad-tag { font-size: 10px; color: var(--text-muted); display: block; margin-bottom: 5px; }
.ad-placeholder { background: #1a1a1a; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: #444; font-weight: bold; }
.leaderboard { min-height: 90px; width: 100%; }
.infeed { min-height: 180px; width: 100%; border-radius: 8px; }
.skyscraper { width: 300px; height: 600px; margin: 0 auto; }

/* Ticker */
.ticker-box { background: var(--surface); height: 40px; display: flex; align-items: center; border-radius: 4px; overflow: hidden; margin-bottom: 25px; border: 1px solid var(--border); }
.ticker-label { background: var(--primary); padding: 0 15px; font-weight: bold; font-size: 12px; height: 100%; display: flex; align-items: center; }
.ticker-content { padding-left: 20px; font-size: 0.85rem; font-weight: 500; white-space: nowrap; overflow: hidden; }

/* Layout Grid */
.main-grid { display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
.section-title { font-size: 1.3rem; margin: 30px 0 20px; display: flex; align-items: center; gap: 10px; }
.section-title i { color: var(--primary); }

/* News Cards */
.pilar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.card { background: var(--surface); border-radius: 10px; overflow: hidden; transition: 0.3s; border: 1px solid var(--border); }
.card:hover { transform: translateY(-5px); border-color: var(--primary); }
.card-img { width: 100%; height: 170px; object-fit: cover; }
.card-body { padding: 15px; }
.card-cat { color: var(--primary); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.card-body h3 { font-size: 1.1rem; margin: 8px 0; line-height: 1.3; }
.card-body p { font-size: 0.85rem; color: var(--text-muted); height: 60px; overflow: hidden; }

/* Sidebar */
.widget { background: var(--surface); padding: 20px; border-radius: 10px; margin-bottom: 25px; border: 1px solid var(--border); }
.widget-title { font-size: 1.1rem; margin-bottom: 15px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.res-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #222; font-size: 0.85rem; }
.score { color: var(--primary); font-weight: bold; }
.sticky-ad { position: sticky; top: 90px; }

/* Footer */
footer { background: #050505; padding: 50px 0 20px; margin-top: 60px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #111; font-size: 0.8rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 992px) {
    .main-grid { grid-template-columns: 1fr; }
    .skyscraper { display: none; }
}
@media (max-width: 600px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 1.5rem; }
}
