/* ============================================================
   PyoGaming — Portal de notícias gamer
   Identidade: laranja #FF7A00 / dourado #FFC857 sobre dark.
   ============================================================ */
:root {
  --orange: #FF7A00;
  --gold: #FFC857;
  --bg: #0D0D0D;
  --bg2: #0a0a0a;
  --card: #171717;
  --card2: #1F1F1F;
  --border: #262626;
  --muted: #A3A3A3;
  --text: #F5F5F5;
  --grad: linear-gradient(135deg, #FF7A00 0%, #FFC857 100%);
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  overflow-x: hidden; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.site-main { min-height: 70vh; padding-top: 84px; padding-bottom: 60px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--orange), var(--gold)); border-radius: 5px; }

/* ---------- BOTÕES ---------- */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: none; cursor: pointer; font-weight: 700; font-family: inherit;
  padding: 10px 18px; border-radius: 10px; font-size: 14px; transition: .2s;
}
.btn-primary { background: var(--grad); color: #0D0D0D; box-shadow: 0 4px 15px rgba(255,122,0,.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,122,0,.4); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--orange); border-color: var(--orange); }
.btn-primary.full, .btn-ghost.full { width: 100%; }
.btn-ghost.sm { padding: 7px 12px; font-size: 13px; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(13,13,13,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-logo { border-radius: 8px; }
.brand-name { font-weight: 900; font-size: 19px; letter-spacing: -.5px; }
.brand-dot { color: var(--orange); }
.nav-links { display: flex; gap: 22px; margin-left: 10px; font-size: 14.5px; font-weight: 600; }
.nav-link { position: relative; color: #d4d4d4; padding: 4px 0; transition: color .2s; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--grad); transition: width .25s; }
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-search-btn, .nav-admin, .nav-burger {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; color: var(--muted); cursor: pointer; transition: .2s;
}
.nav-search-btn:hover, .nav-admin:hover, .nav-burger:hover { color: var(--orange); border-color: var(--orange); }
.nav-burger { display: none; }
.nav-support { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; background: var(--grad); color: #0D0D0D; font-weight: 800; font-size: 13.5px; transition: .2s; }
.nav-support:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,122,0,.35); }
.aff-ext { margin-left: auto; font-size: 11px; color: #666; }
.mobile-nav { display: none; flex-direction: column; padding: 8px 20px 16px; gap: 4px; border-top: 1px solid var(--border); }
.mobile-nav.open { display: flex; }
.m-link { padding: 10px; border-radius: 8px; font-weight: 600; }
.m-link:hover { background: var(--card); color: var(--orange); }

/* ---------- SECTION HEADS ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.section-title { position: relative; font-size: 24px; font-weight: 900; letter-spacing: -.5px; display: inline-block; padding-bottom: 10px; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 54px; height: 3px; background: var(--grad); border-radius: 2px; }
.section-more { color: var(--muted); font-size: 14px; font-weight: 600; }
.section-more:hover { color: var(--orange); }
.home-section { margin: 44px 0; }
.page-head { margin: 8px 0 26px; }
.page-title { font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.page-desc { color: var(--muted); margin-top: 6px; }

/* ---------- HERO ---------- */
.hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; margin: 24px 0 8px; }
.hero-main { position: relative; border-radius: 16px; overflow: hidden; min-height: 420px; display: block; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hero-main:hover .hero-media img { transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: linear-gradient(to top, rgba(13,13,13,.95) 10%, rgba(13,13,13,.2) 60%, transparent); }
.hero-cat { align-self: flex-start; background: var(--grad); color: #0D0D0D; font-weight: 800; font-size: 11px; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.hero-title { font-size: 32px; font-weight: 900; line-height: 1.1; letter-spacing: -.5px; margin: 0 0 8px; }
.hero-sub { color: #d4d4d4; margin: 0 0 12px; max-width: 640px; }
.hero-meta { font-size: 13px; color: var(--muted); }
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.hero-side-item { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px; transition: .2s; flex: 1; }
.hero-side-item:hover { border-color: rgba(255,122,0,.4); }
.hero-side-item img { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.hs-cat { font-size: 11px; color: var(--orange); font-weight: 700; text-transform: uppercase; }
.hero-side-item h3 { font-size: 14.5px; margin: 4px 0 0; line-height: 1.3; }

/* ---------- GRIDS ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.home-split { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

/* ---------- POST CARD ---------- */
.pcard { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: .25s; }
.pcard:hover { border-color: rgba(255,122,0,.4); transform: translateY(-2px); }
.pcard-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-cat { position: absolute; top: 10px; left: 10px; background: var(--grad); color: #0D0D0D; font-weight: 800; font-size: 10.5px; padding: 3px 9px; border-radius: 20px; }
.pcard-score { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; background: var(--grad); color: #0D0D0D; font-weight: 900; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pcard-body { padding: 14px 16px 16px; }
.pcard-kind { font-size: 11px; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.pcard-title { font-size: 16.5px; font-weight: 800; line-height: 1.25; margin: 6px 0 0; }
.pcard:hover .pcard-title { color: var(--orange); }
.pcard-sub { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-meta { display: flex; gap: 6px; font-size: 12px; color: #777; margin-top: 12px; }
.pcard-sm .pcard-title { font-size: 14.5px; }

/* ---------- POST ROW / ASIDE ---------- */
.home-aside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 92px; }
.aside-box { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.aside-title { font-size: 16px; font-weight: 800; margin: 0 0 14px; }
.aside-list { display: flex; flex-direction: column; }
.prow { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.prow:last-child { border-bottom: none; }
.prow-rank { width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 20px; }
.prow-thumb { width: 62px; height: 46px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.prow-title { font-size: 14px; font-weight: 700; margin: 0; line-height: 1.3; }
.prow:hover .prow-title { color: var(--orange); }
.prow-meta { font-size: 11.5px; color: #777; margin-top: 3px; }

/* ---------- AFILIADOS ---------- */
.affiliates { display: flex; flex-direction: column; gap: 10px; }
.affiliate { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--brand, var(--orange)); transition: .2s; }
.affiliate:hover { background: var(--card2); }
.affiliate i { font-size: 22px; color: var(--orange); width: 26px; text-align: center; }
.affiliate strong { display: block; font-size: 14px; }
.affiliate span { font-size: 12px; color: var(--muted); }
.affiliate-note { font-size: 10.5px; color: #666; margin: 12px 0 0; }

/* ---------- LISTING ---------- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cat-pill { padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 13px; color: var(--muted); transition: .2s; }
.cat-pill:hover { border-color: var(--orange); color: var(--orange); }
.search-input { width: 100%; margin-top: 14px; font-size: 16px; padding: 14px 16px; }

/* paginação */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 40px 0 8px; flex-wrap: wrap; }
.page-link { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 9px; color: var(--muted); font-weight: 700; font-size: 14px; transition: .2s; }
.page-link:hover { border-color: var(--orange); color: var(--orange); }
.page-link.active { background: var(--grad); color: #0D0D0D; border-color: transparent; }
.page-gap { color: #666; padding: 0 4px; }

/* ---------- ARTICLE ---------- */
.article-page { max-width: 820px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--orange); }
.article-cat { display: inline-block; background: var(--grad); color: #0D0D0D; font-weight: 800; font-size: 11px; padding: 4px 12px; border-radius: 20px; }
.article-h1 { font-size: 38px; font-weight: 900; line-height: 1.1; letter-spacing: -.8px; margin: 14px 0 10px; }
.article-subtitle { font-size: 19px; color: var(--muted); line-height: 1.4; margin: 0 0 16px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.byline-author strong { color: var(--text); }
.article-cover { margin: 22px 0; border-radius: 14px; overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-body { font-size: 17px; line-height: 1.8; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.tag { font-size: 12px; color: var(--orange); background: rgba(255,122,0,.1); padding: 4px 11px; border-radius: 20px; }
.article-share { display: flex; align-items: center; gap: 10px; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 32px; font-size: 14px; color: var(--muted); }
.article-share a, .share-copy { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--card); border: 1px solid var(--border); color: var(--text); cursor: pointer; transition: .2s; }
.article-share a:hover, .share-copy:hover { background: var(--grad); color: #0D0D0D; }
.related { margin-top: 20px; }

/* review box */
.review-box { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin: 22px 0; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.review-score { text-align: center; }
.rs-num { font-size: 52px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-max { color: var(--muted); font-size: 18px; }
.review-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rpc h4 { margin: 0 0 8px; font-size: 14px; }
.rpc-pro h4 { color: #34D399; }
.rpc-con h4 { color: #f87171; }
.rpc ul { margin: 0; padding-left: 18px; font-size: 14px; color: #d4d4d4; }
.rpc li { margin: 3px 0; }
.review-plat { grid-column: 1/-1; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; }

/* ---------- ARTICLE CONTENT (HTML do editor) ---------- */
.article-content h1, .article-content h2, .article-content h3 { color: var(--gold); font-weight: 800; line-height: 1.25; margin: 28px 0 12px; }
.article-content h1 { font-size: 28px; }
.article-content h2 { font-size: 23px; }
.article-content h3 { font-size: 19px; }
.article-content p { margin: 14px 0; color: #e2e2e2; }
.article-content a { color: var(--orange); text-decoration: underline; }
.article-content strong { color: #fff; }
.article-content em { color: var(--gold); }
.article-content ul, .article-content ol { margin: 14px 0 14px 22px; color: #e2e2e2; }
.article-content li { margin: 6px 0; }
.article-content blockquote { border-left: 3px solid var(--orange); padding: 4px 18px; margin: 18px 0; color: var(--muted); font-style: italic; font-size: 18px; }
.article-content img { border-radius: 12px; margin: 8px 0; }
.article-content figure { margin: 20px 0; }
.article-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; font-style: italic; }
.article-content code { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-family: monospace; color: var(--gold); }
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 10px; text-align: left; }
.article-content th { background: var(--card2); color: var(--gold); }
.article-content .callout { background: rgba(255,122,0,.08); border: 1px solid rgba(255,122,0,.25); border-radius: 10px; padding: 14px 16px; margin: 18px 0; }
.embed-yt { position: relative; aspect-ratio: 16/9; margin: 20px 0; border-radius: 12px; overflow: hidden; }
.embed-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- READ PROGRESS ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 60; transition: width .1s linear; }

/* ---------- REAÇÕES ---------- */
.reactions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 26px 0 6px; }
.reactions-label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.react-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 6px 12px; font-size: 15px; cursor: pointer; color: var(--text); transition: .15s; }
.react-btn:hover { border-color: var(--orange); transform: translateY(-1px); }
.react-btn span { font-size: 13px; font-weight: 700; color: var(--muted); }

/* ---------- PRÓXIMA MATÉRIA ---------- */
.next-article { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin: 28px 0; transition: .2s; }
.next-article:hover { border-color: rgba(255,122,0,.4); }
.next-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--orange); margin-bottom: 10px; }
.next-row { display: flex; gap: 14px; align-items: center; }
.next-row img { width: 110px; height: 70px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.next-row h3 { margin: 4px 0; font-size: 17px; line-height: 1.25; }
.next-meta { font-size: 12px; color: var(--muted); }

/* ---------- COMENTÁRIOS ---------- */
.comments { margin: 36px 0; }
.comment-form { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.comment-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.comments-list { display: flex; flex-direction: column; gap: 12px; }
.comment { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.comment-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.comment-head strong { color: var(--gold); }
.comment-head span { color: #777; }
.comment p { margin: 0; color: #e2e2e2; font-size: 15px; line-height: 1.6; }

/* ---------- NEWSLETTER ---------- */
.newsletter { border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,122,0,.06), transparent); }
.newsletter-inner { max-width: var(--maxw); margin: 0 auto; padding: 28px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter h3 { margin: 0 0 4px; font-size: 20px; }
.newsletter p { margin: 0; color: var(--muted); font-size: 14px; }
.newsletter-form { display: flex; gap: 8px; min-width: 320px; flex: 1; max-width: 460px; }
.newsletter-form .input { flex: 1; }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg2); margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-tag { color: var(--muted); font-size: 13.5px; margin: 12px 0 16px; max-width: 360px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--card); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: .2s; }
.footer-social a:hover { color: var(--orange); background: rgba(255,122,0,.1); }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 18px 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #777; }
.footer-admin:hover { color: var(--orange); }

/* ---------- SOBRE / CONTATO ---------- */
.about-hero { display: flex; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-bottom: 8px; }
.about-avatar { width: 88px; height: 88px; border-radius: 16px; flex-shrink: 0; background: var(--grad); padding: 4px; }
.static-content { font-size: 16.5px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.contact-card i { font-size: 22px; color: var(--orange); }
.contact-card h3 { margin: 10px 0 2px; font-size: 16px; }
.contact-card p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.contact-card a { color: var(--orange); font-weight: 600; font-size: 14px; }
@media (max-width: 640px) { .about-hero { flex-direction: column; text-align: center; } .contact-grid { grid-template-columns: 1fr; } }

/* ---------- APOIAR ---------- */
.support-cta { display: flex; gap: 20px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.support-avatar { width: 80px; height: 80px; border-radius: 16px; background: var(--grad); padding: 4px; flex-shrink: 0; }
.support-cta .btn-primary, .support-cta .btn-ghost { margin-right: 8px; }
.transparency { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 8px; }
.tp-item { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.tp-bar { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.tp-bar span { display: block; height: 100%; background: var(--grad); border-radius: 4px; }
.tp-label { display: flex; justify-content: space-between; font-size: 14px; }
.tp-label span { color: var(--gold); font-weight: 700; }

/* ---------- COOKIES ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; background: #141414; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.5); display: flex; align-items: center; gap: 20px; max-width: 980px; margin: 0 auto; flex-wrap: wrap; }
.cookie-text strong { font-size: 15px; }
.cookie-text p { margin: 6px 0 0; font-size: 13px; color: var(--muted); max-width: 640px; }
.cookie-text a { color: var(--orange); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.p-cookie { padding: 24px; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cookie-row div { display: flex; flex-direction: column; }
.cookie-row span { font-size: 12.5px; color: var(--muted); }
.cookie-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a:hover { color: var(--orange); }
@media (max-width: 640px) { .cookie-actions { margin-left: 0; } .nav-support { padding: 7px 10px; } }

/* ---------- EMPTY / FORMS ---------- */
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state i { font-size: 44px; opacity: .3; display: block; margin-bottom: 16px; }
.empty-state a { color: var(--orange); }
.input { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 11px 14px; color: var(--text); font-size: 14px; font-family: inherit; transition: border-color .2s; }
.input:focus { outline: none; border-color: var(--orange); }
textarea.input { resize: vertical; }
.field-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 14px 0 5px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; margin: 8px 0; cursor: pointer; }
input[type=checkbox] { accent-color: var(--orange); width: 17px; height: 17px; }
.hint { font-size: 11.5px; color: #777; margin: 8px 0 0; display: block; }
.hint code, code { background: var(--bg); padding: 1px 5px; border-radius: 4px; color: var(--gold); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }

/* ---------- ADMIN / CMS ---------- */
.admin-login { max-width: 420px; margin: 40px auto; text-align: center; }
.admin-login .input { margin: 16px 0 12px; }
.admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-head-actions { display: flex; gap: 10px; }
.admin-table { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.admin-row { display: grid; grid-template-columns: 2.4fr .8fr .9fr .8fr .8fr auto; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.admin-row:last-child { border-bottom: none; }
.admin-row-head { background: var(--bg2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); font-weight: 700; }
.ar-title { font-weight: 600; }
.status { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.status-published { background: rgba(52,211,153,.15); color: #34D399; }
.status-draft { background: rgba(163,163,163,.15); color: #bbb; }
.status-scheduled { background: rgba(255,200,87,.15); color: var(--gold); }
.ar-actions { display: flex; gap: 4px; justify-content: flex-end; }
.icon-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); cursor: pointer; transition: .2s; }
.icon-btn:hover { color: var(--orange); border-color: var(--orange); }
.icon-btn.danger:hover { color: #f87171; border-color: #f87171; }

.editor-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.editor-main { display: flex; flex-direction: column; gap: 12px; }
.input-title { font-size: 22px; font-weight: 800; }
.slug-row { font-size: 12.5px; color: var(--muted); }
.editor-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.side-card .field-label:first-child { margin-top: 0; }
.cover-prev { margin-top: 10px; border-radius: 8px; overflow: hidden; }
.cover-prev img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.actions-card { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 92px; }

/* editor visual */
.ed-toolbar { display: flex; flex-wrap: wrap; gap: 3px; padding: 8px; background: var(--bg); border: 1px solid var(--border); border-bottom: none; border-radius: 9px 9px 0 0; }
.ed-btn { min-width: 34px; height: 32px; padding: 0 9px; background: transparent; border: none; color: var(--muted); border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 700; }
.ed-btn:hover { background: var(--card2); color: var(--orange); }
.ed-sep { width: 1px; background: var(--border); margin: 4px 4px; }
.ed-area-wrap, .ed-area { min-height: 360px; background: var(--bg); border: 1px solid var(--border); border-radius: 0 0 9px 9px; padding: 18px 20px; outline: none; }
.ed-area:focus { border-color: var(--orange); }

/* ---------- SKELETON (loading) ---------- */
.sk-hero, .sk-card, .sk-img, .sk-line { background: linear-gradient(90deg, #171717 25%, #1f1f1f 37%, #171717 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 12px; }
.sk-hero { height: 360px; margin-top: 8px; }
.sk-card { background: var(--card); border: 1px solid var(--border); padding: 0; overflow: hidden; }
.sk-card .sk-img { height: 170px; border-radius: 0; }
.sk-card .sk-line { height: 14px; margin: 14px 16px; border-radius: 6px; }
.sk-card .sk-line.short { width: 55%; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------- TOAST ---------- */
.toast-container { position: fixed; top: 84px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--card); border: 1px solid var(--orange); border-radius: 10px; padding: 12px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.4); min-width: 250px; animation: slideIn .25s ease; }
.toast-msg { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ---------- MODAL (utilitário) ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(8px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: var(--card); border: 1px solid var(--border); border-radius: 16px; max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1000px) {
  .home-split { grid-template-columns: 1fr; }
  .home-aside { position: static; }
  .editor-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-main { min-height: 300px; }
  .hero-title { font-size: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .article-h1 { font-size: 28px; }
  .review-box { grid-template-columns: 1fr; }
  .review-pc { grid-template-columns: 1fr; }
  .admin-row { grid-template-columns: 1fr auto; }
  .admin-row span:nth-child(2), .admin-row span:nth-child(3), .admin-row span:nth-child(4), .admin-row span:nth-child(5) { display: none; }
  .admin-row-head { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
