/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: #0a0e14; color: #f0f0f0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== TOPBAR ===== */
.topbar { background: #0d1117; border-bottom: 1px solid #1e2a38; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 34px; height: 34px; background: #16a34a; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo-icon img { width: 20px; height: 20px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-size: 17px; font-weight: 600; color: #fff; }
.logo-main span { color: #4ade80; }
.logo-sub { font-size: 9px; color: #4b5563; text-transform: uppercase; letter-spacing: 1px; }

/* ===== NAV ===== */
.nav-bar { background: #111820; border-bottom: 0.5px solid #1e2a38; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-bar::-webkit-scrollbar { display: none; }
.nav-bar a { padding: 12px 16px; font-size: 12px; color: #9ca3af; white-space: nowrap; border-bottom: 2px solid transparent; display: block; }
.nav-bar a:hover, .nav-bar a.active { color: #4ade80; border-bottom-color: #4ade80; }

/* ===== PLACAR BAR ===== */
.placar-bar { background: #0a0d12; border-bottom: 0.5px solid #1e2a38; }
.placar-tabs { display: flex; gap: 2px; padding: 6px 16px 0; overflow-x: auto; scrollbar-width: none; }
.placar-tabs::-webkit-scrollbar { display: none; }
.ptab { padding: 5px 12px; font-size: 11px; color: #6b7280; cursor: pointer; border-radius: 5px 5px 0 0; white-space: nowrap; border: 0.5px solid transparent; }
.ptab.active { background: #0d1520; color: #4ade80; border-color: #1e2a38; border-bottom-color: #0d1520; }
.placar-jogos { background: #0d1520; padding: 8px 16px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; min-height: 56px; align-items: center; }
.placar-jogos::-webkit-scrollbar { display: none; }
.pjogo { display: flex; flex-direction: column; gap: 3px; min-width: 150px; background: #111820; border: 0.5px solid #1e2a38; border-radius: 7px; padding: 6px 10px; flex-shrink: 0; }
.pjogo.live { border-color: #374151; }
.pjogo-row { display: flex; justify-content: space-between; font-size: 11px; }
.pjogo-nome { color: #d1d5db; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 105px; }
.pjogo-gol { color: #fff; font-weight: 600; }
.pjogo-gol.win { color: #4ade80; }

/* ===== ANÚNCIOS ===== */
.ad-area { text-align: center; padding: 10px 0; }
.ad-top { border-bottom: 0.5px solid #1e2a38; background: #0d1117; padding: 10px 20px; }
.ad-middle { margin: 20px 0; }
.ad-sidebar { margin-bottom: 20px; }
.ad-footer { border-top: 0.5px solid #1e2a38; background: #0d1117; padding: 10px 20px; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.content-grid { display: grid; grid-template-columns: 1fr 280px; gap: 24px; padding: 20px 0; }

/* ===== CARDS ===== */
.card-big { background: #111820; border: 0.5px solid #1e2a38; border-radius: 10px; overflow: hidden; }
.card-big-img { height: 320px; position: relative; overflow: hidden; background: #0d1a2a; }
.card-big-img img { width: 100%; height: 100%; object-fit: cover; }
.card-big-img .img-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.card-big-img .img-credit { position: absolute; bottom: 8px; right: 10px; font-size: 10px; color: rgba(255,255,255,0.5); font-style: italic; z-index: 2; }
.card-big-img .badge { position: absolute; top: 12px; left: 12px; background: #16a34a; color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; z-index: 2; }
.card-big-body { padding: 16px; }
.card-big-body h2 { font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; color: #f9fafb; }
.card-big-body p { font-size: 13px; color: #9ca3af; line-height: 1.6; }
.card-meta { font-size: 12px; color: #4b5563; margin-top: 10px; display: flex; gap: 8px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.news-card { background: #111820; border: 0.5px solid #1e2a38; border-radius: 8px; overflow: hidden; }
.news-card-img { height: 160px; position: relative; overflow: hidden; background: #0d1a2a; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img .img-credit { position: absolute; bottom: 4px; right: 6px; font-size: 9px; color: rgba(255,255,255,0.4); font-style: italic; }
.news-card-img .img-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 50px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); }
.news-card-body { padding: 12px; }
.news-card-body .cat { font-size: 10px; color: #4ade80; font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.news-card-body h3 { font-size: 14px; font-weight: 500; color: #e5e7eb; line-height: 1.4; margin-bottom: 6px; }
.news-card-body .meta { font-size: 11px; color: #4b5563; }

/* ===== SIDEBAR ===== */
.sidebar {}
.widget { background: #111820; border: 0.5px solid #1e2a38; border-radius: 8px; padding: 14px; margin-bottom: 16px; }
.widget-title { font-size: 11px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 0.5px solid #1e2a38; }

/* ===== CLASSIFICAÇÃO ===== */
.class-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.class-table th { color: #4b5563; font-weight: 400; padding: 4px; text-align: center; font-size: 10px; text-transform: uppercase; }
.class-table th:nth-child(2) { text-align: left; }
.class-table td { padding: 5px 4px; text-align: center; color: #9ca3af; border-bottom: 0.5px solid #1a2230; }
.class-table td:nth-child(2) { text-align: left; }
.pos { color: #6b7280; }
.pos.g4 { color: #4ade80; }
.pos.g6 { color: #3b82f6; }
.pos.lib { color: #ef4444; }
.team-name { color: #e5e7eb; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px; }
.pts { color: #fff; font-weight: 600; }

/* ===== PRÓXIMOS JOGOS ===== */
.jogo-item { background: #0d1117; border: 0.5px solid #1e2a38; border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; }
.jogo-comp { font-size: 10px; color: #4ade80; text-transform: uppercase; margin-bottom: 4px; }
.jogo-times { display: flex; justify-content: space-between; align-items: center; }
.jogo-time-name { font-size: 12px; color: #e5e7eb; font-weight: 500; }
.jogo-hora { font-size: 10px; color: #6b7280; background: #1e2a38; padding: 2px 6px; border-radius: 4px; }

/* ===== LIVE DOT ===== */
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #ef4444; animation: pulse 1.2s infinite; display: inline-block; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.3} }

/* ===== SINGLE POST ===== */
.single-post { max-width: 860px; }
.single-post-header { margin-bottom: 20px; }
.single-post-header h1 { font-size: 28px; font-weight: 700; line-height: 1.3; color: #f9fafb; margin-bottom: 12px; }
.single-post-meta { display: flex; gap: 12px; font-size: 12px; color: #4b5563; }
.single-post-img { position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.single-post-img img { width: 100%; max-height: 480px; object-fit: cover; }
.single-post-img .img-credit { position: absolute; bottom: 8px; right: 10px; font-size: 10px; color: rgba(255,255,255,0.5); font-style: italic; background: rgba(0,0,0,0.4); padding: 2px 6px; border-radius: 3px; }
.single-post-content { font-size: 16px; line-height: 1.8; color: #d1d5db; }
.single-post-content p { margin-bottom: 16px; }
.single-post-content h2 { font-size: 20px; font-weight: 600; color: #f9fafb; margin: 24px 0 12px; }

/* ===== FOOTER ===== */
.footer { background: #080b0f; border-top: 0.5px solid #1e2a38; padding: 20px; text-align: center; }
.footer-logo { font-size: 16px; font-weight: 600; color: #4ade80; margin-bottom: 8px; }
.footer-logo span { color: #6b7280; }
.footer-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 10px; }
.footer-links a { font-size: 12px; color: #4b5563; }
.footer-links a:hover { color: #9ca3af; }
.footer-copy { font-size: 11px; color: #374151; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .sidebar { display: none; }
    .topbar { padding: 8px 12px; }
    .logo-sub { display: none; }
    .card-big-img { height: 200px; }
    .card-big-body h2 { font-size: 16px; }
}
@media (max-width: 480px) {
    .news-grid { grid-template-columns: 1fr; }
}
