/*
Theme Name: Kira Recovery Nohu 88 Doi Thuong
Theme URI: https://nohu88doithuong.com/
Author: KiraPlatform
Description: Theme review game và nền tảng giải trí phục hồi từ GSC và tracking.
Version: 1.0.2
Text Domain: kira-recovery-nohu88doithuong
*/

:root {
  --ink: #071929;
  --ink-soft: #10293b;
  --teal: #08a99b;
  --teal-bright: #25d9c8;
  --amber: #ffba33;
  --coral: #ff5d5d;
  --paper: #f4f7f8;
  --line: #dbe5e8;
  --muted: #61727d;
  --white: #fff;
  --container: 1240px;
}

:root { --ink:#151918; --ink-soft:#242b28; --teal:#158862; --teal-bright:#34c693; --amber:#f4c64c; --coral:#dd554d; --paper:#f3f4f1; --line:#dde1dc; --muted:#69716d; }
.site-header{background:#151918;border-bottom-color:var(--amber)}
.hero.review-hero{min-height:610px}.review-hero::after{background:linear-gradient(90deg,rgba(12,15,14,.96),rgba(12,15,14,.72) 50%,rgba(12,15,14,.18))}.review-hero img{opacity:.66}
.criteria{color:#fff;background:var(--teal)}.criteria .container{display:grid;grid-template-columns:repeat(5,1fr)}.criteria .container>div{display:flex;align-items:center;gap:12px;padding:20px;border-right:1px solid rgba(255,255,255,.2)}.criteria b{color:var(--amber);font-size:24px}.criteria span{font-weight:800}
.story-card,.post-card,.sidebar-widget,.article-main,.home-copy{border-radius:2px}.post-card{border-bottom-color:var(--teal)}.tag{background:var(--amber)}.sidebar-widget{border-top-color:var(--coral)}
.site-footer{background:#111412}.footer-brand span{color:var(--amber)}
@media(max-width:680px){.criteria .container{grid-template-columns:1fr 1fr;width:100%}.criteria .container>div:last-child{grid-column:1/-1}.hero.review-hero{min-height:500px}}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.site-topbar { color: #c9d6dc; background: #04111d; font-size: 12px; }
.site-topbar .container { display: flex; justify-content: space-between; gap: 24px; padding: 7px 0; }
.site-header { position: relative; z-index: 20; background: var(--ink); border-bottom: 3px solid var(--teal-bright); }
.header-main { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; align-items: center; gap: 32px; min-height: 92px; }
.custom-logo-link { display: block; width: 240px; }
.custom-logo { width: 240px; height: 86px; object-fit: contain; object-position: left center; }
.site-brand-text { color: #fff; font-size: 28px; font-weight: 900; line-height: 1.05; }
.site-brand-text span { display: block; color: var(--teal-bright); }
.main-navigation ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { display: block; padding: 12px 13px; color: #fff; font-size: 14px; font-weight: 700; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--ink); background: var(--amber); }
.header-badge { padding: 9px 12px; color: var(--ink); background: var(--teal-bright); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); color: #fff; background: transparent; font-size: 24px; }

.hero { position: relative; min-height: 590px; display: grid; align-items: end; color: #fff; background: var(--ink); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .57; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,17,29,.96) 0%, rgba(4,17,29,.68) 52%, rgba(4,17,29,.18) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 730px; padding: 88px 0 76px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--teal-bright); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 38px; height: 4px; background: var(--amber); }
.hero h1 { margin: 0 0 20px; max-width: 700px; color: #fff; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.03; letter-spacing: 0; }
.hero p { max-width: 650px; margin: 0 0 30px; color: #dfe9ed; font-size: 19px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; background: var(--amber); color: var(--ink); font-weight: 900; }
.button:hover { background: var(--teal-bright); color: var(--ink); }
.hero-stats { position: relative; z-index: 3; color: #fff; background: var(--teal); }
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stat { padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.24); }
.hero-stat strong { display: block; color: var(--amber); font-size: 24px; line-height: 1; }
.hero-stat span { font-size: 13px; font-weight: 700; }

.section { padding: 72px 0; }
.section-white { background: #fff; }
.section-dark { color: #fff; background: var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading h2 { margin: 4px 0 0; font-size: 34px; line-height: 1.15; }
.section-heading p { max-width: 560px; margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: #b8c7ce; }
.feature-grid { display: grid; grid-template-columns: 1.45fr .75fr .75fr; gap: 18px; }
.story-card { position: relative; min-height: 420px; overflow: hidden; background: var(--ink); }
.story-card.small { min-height: 201px; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.story-card:hover img { transform: scale(1.035); }
.story-overlay { position: absolute; inset: auto 0 0; padding: 52px 24px 22px; color: #fff; background: linear-gradient(transparent, rgba(3,14,23,.94)); }
.story-overlay h3 { margin: 7px 0 0; font-size: 24px; line-height: 1.25; }
.story-card.small .story-overlay h3 { font-size: 17px; }
.tag { display: inline-block; padding: 4px 8px; color: var(--ink); background: var(--amber); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.stack { display: grid; gap: 18px; }

.topic-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.15); }
.topic { min-height: 150px; padding: 28px; border-right: 1px solid rgba(255,255,255,.15); }
.topic:last-child { border: 0; }
.topic b { display: block; color: var(--amber); font-size: 30px; }
.topic h3 { margin: 7px 0; font-size: 18px; }
.topic p { margin: 0; color: #b9c8ce; font-size: 14px; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 36px; align-items: start; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.post-card { background: #fff; border-bottom: 4px solid var(--teal); box-shadow: 0 8px 24px rgba(7,25,41,.07); }
.post-card-media { display: block; aspect-ratio: 16/9; overflow: hidden; background: #dbe5e8; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-body { padding: 20px; }
.post-card h2, .post-card h3 { margin: 8px 0 10px; font-size: 21px; line-height: 1.3; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; }
.post-meta { color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }

.sidebar-widget { margin-bottom: 24px; padding: 24px; background: #fff; border-top: 4px solid var(--coral); }
.sidebar-widget h2 { margin: 0 0 16px; font-size: 19px; }
.sidebar-widget ul { margin: 0; padding: 0; list-style: none; }
.sidebar-widget li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sidebar-widget li:last-child { border: 0; }

.home-copy, .entry-content { color: #233843; }
.home-copy { margin-top: 42px; padding: 36px; background: #fff; border-left: 5px solid var(--amber); }
.home-copy h2, .entry-content h2 { color: var(--ink); font-size: 28px; line-height: 1.25; }
.home-copy h3, .entry-content h3 { color: var(--ink); font-size: 22px; }
.entry-content a { color: #087f75; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content figure { margin: 30px 0; }
.entry-content figure img, .entry-content > img { width: 100%; max-height: 680px; object-fit: cover; }
.entry-content figcaption { padding-top: 8px; color: var(--muted); font-size: 13px; text-align: center; }
.entry-header { margin-bottom: 28px; }
.entry-title { margin: 8px 0 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; }
.article-shell { padding: 62px 0 80px; }
.article-main { padding: 38px; background: #fff; }
.archive-header { padding: 58px 0 34px; background: #fff; border-bottom: 1px solid var(--line); }
.archive-header h1 { margin: 4px 0; font-size: 42px; }
.pagination { display: flex; gap: 8px; margin-top: 32px; }
.pagination .page-numbers { min-width: 40px; padding: 8px 12px; text-align: center; background: #fff; border: 1px solid var(--line); }
.pagination .current { color: #fff; background: var(--teal); border-color: var(--teal); }

.site-footer { color: #c8d4da; background: #04111d; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding: 58px 0 40px; }
.footer-brand { color: #fff; font-size: 25px; font-weight: 900; }
.footer-brand span { color: var(--teal-bright); }
.site-footer h2 { margin: 0 0 15px; color: #fff; font-size: 17px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 7px 0; }
.footer-legal { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; text-align: center; }

@media (max-width: 980px) {
  .header-main { grid-template-columns: 1fr auto; min-height: 82px; }
  .menu-toggle { display: block; }
  .header-badge { display: none; }
  .main-navigation { display: none; grid-column: 1 / -1; padding-bottom: 16px; }
  .main-navigation.open { display: block; }
  .main-navigation ul { display: block; }
  .main-navigation a { border-top: 1px solid rgba(255,255,255,.12); }
  .custom-logo { height: 74px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid > .story-card:first-child { grid-column: 1 / -1; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero { min-height: 520px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-topbar .container { justify-content: center; text-align: center; }
  .site-topbar span:last-child { display: none; }
  .custom-logo-link, .custom-logo { width: 190px; }
  .hero { min-height: 500px; }
  .hero-content { padding: 72px 0 54px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }
  .hero-stats .container { grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-stat { padding: 16px; border-bottom: 1px solid rgba(255,255,255,.2); }
  .section { padding: 50px 0; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 28px; }
  .feature-grid, .post-grid, .footer-main, .sidebar { grid-template-columns: 1fr; }
  .feature-grid > .story-card:first-child { grid-column: auto; }
  .story-card, .story-card.small { min-height: 320px; }
  .topic-strip { grid-template-columns: 1fr 1fr; }
  .topic { min-height: 132px; padding: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .article-main { padding: 24px 18px; }
  .entry-title { font-size: 34px; }
  .home-copy { padding: 24px 18px; }
  .footer-main { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Nhận diện riêng cho Nổ Hũ 88 Đổi Thưởng. */
:root {
  --ink: #101a2d;
  --ink-soft: #1b2943;
  --teal: #e33c45;
  --teal-bright: #f7c948;
  --amber: #f7c948;
  --coral: #e33c45;
  --paper: #f5f6f8;
  --line: #dfe3ea;
  --muted: #657083;
}
.site-topbar { background: #090f1d; color: #c7cfdd; }
.site-header { background: var(--ink); border-bottom: 3px solid var(--amber); }
.main-navigation a:hover { color: var(--amber); }
.main-navigation .current-menu-item > a { color: var(--ink); }
.header-badge { color: var(--ink); background: var(--amber); }
.nohu-hero { min-height: 640px; align-items: center; }
.nohu-hero::after { background: linear-gradient(90deg, rgba(8,14,27,.95), rgba(8,14,27,.68) 55%, rgba(8,14,27,.18)); }
.nohu-hero img { opacity: .72; }
.nohu-hero .hero-content { padding: 100px 0; }
.quick-topics { position: relative; z-index: 2; margin-top: -1px; color: #fff; background: var(--teal); }
.quick-topics .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-topics a { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 18px 24px; color: #fff; border-right: 1px solid rgba(255,255,255,.22); font-weight: 800; }
.quick-topics b { color: var(--amber); font-size: 24px; }
.nohu-feature-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(2, 235px); gap: 18px; }
.nohu-feature-grid .story-card { min-height: 0; }
.nohu-feature-grid .story-card-lead { grid-row: 1 / 3; }
.nohu-feature-grid .story-card a { display: block; height: 100%; }
.nohu-feature-grid .story-card img { height: 100%; object-fit: cover; }
.post-card { border-bottom-color: var(--teal); }
.sidebar-widget { border-top-color: var(--amber); }
.footer-brand span { color: var(--amber); }
.entry-content a,
.home-copy a { color: #b5222a; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .nohu-feature-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 240px; }
  .nohu-feature-grid .story-card-lead { grid-column: 1 / -1; grid-row: auto; }
  .nohu-feature-grid .story-card:last-child { display: none; }
}

@media (max-width: 680px) {
  .nohu-hero { min-height: 520px; }
  .nohu-hero .hero-content { padding: 72px 0; }
  .quick-topics .container { width: 100%; grid-template-columns: 1fr 1fr; }
  .quick-topics a { min-height: 66px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.22); }
  .nohu-feature-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .nohu-feature-grid .story-card,
  .nohu-feature-grid .story-card-lead { display: block; min-height: 310px; }
}
