/* ==========================================================================
   BetViet One — assets/css/main.css
   Dark premium sportsbook aesthetic. Prefix: bv8-
   Fonts (Oswald + Be Vietnam Pro) are loaded via <link> tags in header.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
	--bv8-bg: #1b2540;
	--bv8-bg-deep: #16203a;
	--bv8-card: #263356;
	--bv8-card-2: #2e3c64;
	--bv8-line: rgba(255, 192, 46, 0.24);
	--bv8-line-soft: rgba(255, 255, 255, 0.11);
	--bv8-gold: #ffc02e;
	--bv8-gold-2: #ffdf7e;
	--bv8-red: #ff2e5c;
	--bv8-red-2: #ff6084;
	--bv8-text: #f2f5fc;
	--bv8-muted: #b3bdd8;
	--bv8-radius: 14px;
	--bv8-radius-lg: 20px;
	--bv8-shadow: 0 10px 30px rgba(6, 10, 24, 0.4);
	--bv8-shadow-gold: 0 8px 26px rgba(255, 192, 46, 0.35);
	--bv8-font-display: 'Oswald', 'Be Vietnam Pro', sans-serif;
	--bv8-font-body: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
	--bv8-header-h: 118px;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

.bv8-body {
	margin: 0;
	background-color: #1b2540;
	background-image:
		linear-gradient(180deg, rgba(22, 32, 58, 0.2) 0%, transparent 26%),
		radial-gradient(1100px 500px at 85% -10%, rgba(255, 46, 92, 0.16), transparent 60%),
		radial-gradient(900px 480px at 8% -18%, rgba(255, 192, 46, 0.14), transparent 55%),
		url('../images/body-bg.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
	color: var(--bv8-text);
	font-family: var(--bv8-font-body);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.bv8-body img { max-width: 100%; height: auto; }

.bv8-body a { color: var(--bv8-gold); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
.bv8-body a:hover { color: var(--bv8-gold-2); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bv8-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.bv8-container--narrow { max-width: 860px; }

.bv8-main { min-height: 60vh; }

/* --------------------------------------------------------------------------
   3. BUTTONS
   -------------------------------------------------------------------------- */
.bv8-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--bv8-font-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
}
.bv8-btn:active { transform: scale(0.97); }

/* Nền tối ưu tiên chữ vàng cho liên kết (.bv8-body a = 0,1,1),
   nên các biến thể nút phải neo specificity cao hơn để không bị đè. */
.bv8-body a.bv8-btn--gold,
.bv8-body button.bv8-btn--gold {
	background: linear-gradient(135deg, var(--bv8-gold-2) 0%, var(--bv8-gold) 100%);
	color: #221a06;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(255, 192, 46, 0.35);
}
.bv8-body a.bv8-btn--gold:hover,
.bv8-body a.bv8-btn--gold:focus,
.bv8-body a.bv8-btn--gold:focus-visible,
.bv8-body button.bv8-btn--gold:hover,
.bv8-body button.bv8-btn--gold:focus,
.bv8-body button.bv8-btn--gold:focus-visible {
	background: linear-gradient(135deg, #ffe9a3 0%, var(--bv8-gold-2) 55%, var(--bv8-gold) 100%);
	color: #221a06;
	box-shadow: var(--bv8-shadow-gold);
	transform: translateY(-2px);
}

.bv8-body a.bv8-btn--red,
.bv8-body button.bv8-btn--red {
	background: linear-gradient(135deg, var(--bv8-red-2) 0%, var(--bv8-red) 100%);
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(255, 46, 92, 0.35);
}
.bv8-body a.bv8-btn--red:hover,
.bv8-body a.bv8-btn--red:focus,
.bv8-body a.bv8-btn--red:focus-visible,
.bv8-body button.bv8-btn--red:hover,
.bv8-body button.bv8-btn--red:focus,
.bv8-body button.bv8-btn--red:focus-visible {
	filter: brightness(1.12);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(255, 46, 92, 0.45);
}

.bv8-btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 192, 46, 0.5);
	color: var(--bv8-gold);
}
.bv8-btn--ghost:hover {
	border-color: var(--bv8-gold);
	background: rgba(255, 192, 46, 0.12);
	color: var(--bv8-gold-2);
}

.bv8-btn--lg { padding: 13px 30px; font-size: 15px; }
.bv8-btn--xl { padding: 15px 38px; font-size: 16px; }

/* --------------------------------------------------------------------------
   4. HEADER
   -------------------------------------------------------------------------- */
.bv8-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(27, 37, 64, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--bv8-line-soft);
	transition: box-shadow .3s ease, background .3s ease;
}
.bv8-header.bv8-is-stuck {
	background: rgba(22, 32, 58, 0.96);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

/* topbar */
.bv8-topbar {
	border-bottom: 1px solid var(--bv8-line-soft);
	background: linear-gradient(90deg, rgba(255, 46, 92, 0.08), transparent 40%, rgba(255, 192, 46, 0.07));
}
.bv8-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 8px;
	padding-bottom: 8px;
}
.bv8-topbar__promo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--bv8-muted);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.bv8-live-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--bv8-red);
	box-shadow: 0 0 0 0 rgba(255, 46, 92, 0.6);
	animation: bv8-pulse 2s infinite;
	flex: 0 0 auto;
}
@keyframes bv8-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 46, 92, 0.55); }
	70% { box-shadow: 0 0 0 9px rgba(255, 46, 92, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 46, 92, 0); }
}
.bv8-topbar__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.bv8-topbar__actions .bv8-btn { padding: 7px 18px; font-size: 12px; }

/* navbar */
.bv8-navbar__inner {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 68px;
}
.bv8-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}
.bv8-logo img,
.bv8-logo__img {
	height: 44px;
	width: auto;
	display: block;
}

.bv8-nav { flex: 1 1 auto; }
.bv8-body.no-js .bv8-nav { max-height: none; }
.bv8-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}
.bv8-nav__list > li { position: relative; }
.bv8-nav__list > li > a {
	display: block;
	padding: 10px 14px;
	font-family: var(--bv8-font-display);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bv8-text);
	border-radius: 10px;
	transition: color .2s ease, background .2s ease;
}
.bv8-nav__list > li > a:hover,
.bv8-nav__list > li.current-menu-item > a,
.bv8-nav__list > li.current_page_item > a {
	color: var(--bv8-gold);
	background: rgba(255, 192, 46, 0.08);
}

/* dropdown */
.bv8-nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--bv8-card-2);
	border: 1px solid var(--bv8-line);
	border-radius: 12px;
	box-shadow: var(--bv8-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
	z-index: 100;
}
.bv8-nav__list li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.bv8-nav__list .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 13px;
	color: var(--bv8-muted);
}
.bv8-nav__list .sub-menu a:hover {
	color: var(--bv8-gold);
	background: rgba(255, 192, 46, 0.07);
}

/* burger */
.bv8-burger {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 40px;
	padding: 0;
	background: rgba(38, 51, 86, 0.55);
	border: 1px solid rgba(255, 192, 46, 0.45);
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.bv8-burger:hover,
.bv8-burger.bv8-is-open {
	border-color: var(--bv8-gold);
	background: rgba(255, 192, 46, 0.1);
	box-shadow: 0 4px 14px rgba(255, 192, 46, 0.18);
}
.bv8-burger span {
	display: block;
	height: 2px;
	width: 20px;
	background: var(--bv8-gold);
	border-radius: 2px;
	transition: transform .25s ease, opacity .25s ease;
}
.bv8-burger.bv8-is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bv8-burger.bv8-is-open span:nth-child(2) { opacity: 0; }
.bv8-burger.bv8-is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* header search */
.bv8-navbar__search { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   5. SEARCH FORM
   -------------------------------------------------------------------------- */
.bv8-searchform {
	display: flex;
	align-items: stretch;
	background: var(--bv8-card);
	border: 1px solid var(--bv8-line-soft);
	border-radius: 999px;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.bv8-searchform:focus-within {
	border-color: var(--bv8-gold);
	box-shadow: 0 0 0 3px rgba(255, 192, 46, 0.15);
}
.bv8-searchform__label { flex: 1 1 auto; display: flex; }
.bv8-searchform__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 9px 16px;
	background: transparent;
	border: 0;
	outline: 0;
	color: var(--bv8-text);
	font-family: var(--bv8-font-body);
	font-size: 13px;
}
.bv8-searchform__input::placeholder { color: var(--bv8-muted); }
.bv8-searchform__btn {
	flex: 0 0 auto;
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	color: var(--bv8-gold);
	cursor: pointer;
	transition: color .2s ease;
}
.bv8-searchform__btn:hover { color: var(--bv8-gold-2); }

.bv8-search-block { max-width: 520px; margin: 0 0 30px; }
.bv8-search-block .bv8-searchform__input { padding: 12px 20px; font-size: 15px; }
.bv8-search-block .bv8-searchform__btn { width: 52px; }
.bv8-search-count { color: var(--bv8-muted); font-size: 13px; margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.bv8-hero {
	position: relative;
	background-color: var(--bv8-bg);
	background-image:
		radial-gradient(900px 460px at 88% -12%, rgba(255, 46, 92, 0.24), transparent 60%),
		radial-gradient(760px 420px at 8% -6%, rgba(255, 192, 46, 0.22), transparent 58%),
		linear-gradient(155deg, #273561 0%, #1f2b4d 55%, #18223f 100%);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	overflow: hidden;
}
.bv8-hero__inner {
	padding: 92px 0 84px;
	max-width: 720px;
}
.bv8-hero__kicker {
	display: inline-flex;
	align-items: center;
	margin: 0 0 18px;
	padding: 7px 16px;
	border: 1px solid var(--bv8-line);
	border-radius: 999px;
	background: rgba(38, 51, 86, 0.7);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bv8-gold);
}
.bv8-hero__title {
	margin: 0 0 14px;
	font-family: var(--bv8-font-display);
	font-size: clamp(40px, 6vw, 68px);
	font-weight: 700;
	line-height: 1.04;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	background: linear-gradient(120deg, #ffffff 20%, var(--bv8-gold-2) 55%, var(--bv8-gold) 80%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	text-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.bv8-hero__desc {
	margin: 0 0 32px;
	font-size: 17px;
	color: #c6cde0;
	max-width: 560px;
}
.bv8-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.bv8-hero__edge {
	position: absolute;
	inset: auto 0 -1px 0;
	height: 90px;
	background: linear-gradient(180deg, transparent, var(--bv8-bg));
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   7. SECTION HEAD
   -------------------------------------------------------------------------- */
.bv8-section-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 46px 0 28px;
	flex-wrap: wrap;
}
.bv8-section-head__title {
	margin: 0;
	font-family: var(--bv8-font-display);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	position: relative;
	padding-left: 16px;
	color: var(--bv8-text);
}
.bv8-section-head__title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8%;
	bottom: 8%;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--bv8-gold), var(--bv8-red));
}
.bv8-section-head__rule {
	flex: 1 1 60px;
	height: 1px;
	background: linear-gradient(90deg, var(--bv8-line), transparent);
}
.bv8-section-head__more {
	font-family: var(--bv8-font-display);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bv8-gold);
	padding: 8px 16px;
	border: 1px solid var(--bv8-line);
	border-radius: 999px;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.bv8-section-head__more:hover {
	background: rgba(255, 192, 46, 0.1);
	border-color: var(--bv8-gold);
	color: var(--bv8-gold-2);
	transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   8. GAME ICONS
   -------------------------------------------------------------------------- */
.bv8-icons { padding-top: 6px; }
.bv8-icons__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.bv8-icon-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 30px 16px 24px;
	background: linear-gradient(180deg, var(--bv8-card-2), var(--bv8-card));
	border: 1px solid var(--bv8-line-soft);
	border-radius: var(--bv8-radius-lg);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: hidden;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.bv8-icon-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(220px 120px at 50% 0%, rgba(255, 192, 46, 0.12), transparent 70%);
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
}
.bv8-icon-card:hover {
	transform: translateY(-6px);
	border-color: var(--bv8-line);
	box-shadow: var(--bv8-shadow);
}
.bv8-icon-card:hover::after { opacity: 1; }
.bv8-icon-card__media {
	width: 84px;
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(27, 37, 64, 0.65);
	border: 1px solid var(--bv8-line);
	transition: transform .25s ease;
}
.bv8-icon-card:hover .bv8-icon-card__media { transform: scale(1.07); }
.bv8-icon-card__media img { width: 52px; height: 52px; object-fit: contain; }
.bv8-icon-card__label {
	font-family: var(--bv8-font-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--bv8-text);
}
.bv8-icon-card:hover .bv8-icon-card__label { color: var(--bv8-gold); }

/* --------------------------------------------------------------------------
   9. POSTERS
   -------------------------------------------------------------------------- */
.bv8-posters__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.bv8-poster {
	margin: 0;
	border-radius: var(--bv8-radius-lg);
	overflow: hidden;
	border: 1px solid var(--bv8-line-soft);
	background: var(--bv8-card);
	box-shadow: var(--bv8-shadow);
	transition: transform .3s ease, border-color .3s ease;
}
.bv8-poster:hover { transform: translateY(-4px); border-color: var(--bv8-line); }
.bv8-poster img {
	width: 100%;
	aspect-ratio: 5 / 3;
	object-fit: cover;
	display: block;
	transition: transform .6s ease;
}
.bv8-poster:hover img { transform: scale(1.045); }

/* --------------------------------------------------------------------------
   10. MID CTA
   -------------------------------------------------------------------------- */
.bv8-midcta { padding: 20px 0 6px; }
.bv8-midcta__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	padding: 34px 40px;
	border-radius: var(--bv8-radius-lg);
	border: 1px solid var(--bv8-line);
	background:
		radial-gradient(600px 200px at 12% 0%, rgba(255, 192, 46, 0.14), transparent 70%),
		radial-gradient(500px 220px at 92% 100%, rgba(255, 46, 92, 0.16), transparent 70%),
		var(--bv8-card);
	box-shadow: var(--bv8-shadow);
	flex-wrap: wrap;
}
.bv8-midcta__title {
	margin: 0 0 8px;
	font-family: var(--bv8-font-display);
	font-size: clamp(20px, 2.6vw, 27px);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.bv8-midcta__desc { margin: 0; color: var(--bv8-muted); max-width: 560px; }

/* --------------------------------------------------------------------------
   11. ARTICLE CARDS
   -------------------------------------------------------------------------- */
.bv8-articles { padding-bottom: 70px; }
.bv8-articles__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.bv8-articles__grid--4 { grid-template-columns: repeat(4, 1fr); }

.bv8-card {
	display: flex;
	flex-direction: column;
	background: var(--bv8-card);
	border: 1px solid var(--bv8-line-soft);
	border-radius: var(--bv8-radius);
	overflow: hidden;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.bv8-card:hover {
	transform: translateY(-5px);
	border-color: var(--bv8-line);
	box-shadow: var(--bv8-shadow);
}
.bv8-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--bv8-bg-deep);
}
.bv8-card__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(27, 37, 64, 0.72));
	pointer-events: none;
}
.bv8-thumb {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	transition: transform .55s ease;
}
.bv8-card:hover .bv8-thumb { transform: scale(1.06); }
.bv8-card__badge {
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 2;
	padding: 5px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--bv8-red-2), var(--bv8-red));
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	box-shadow: 0 4px 14px rgba(255, 46, 92, 0.4);
}
.bv8-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 18px 20px;
	flex: 1 1 auto;
}
.bv8-card__title {
	margin: 0;
	font-family: var(--bv8-font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: none;
}
.bv8-card__title a { color: var(--bv8-text); transition: color .2s ease; }
.bv8-card__title a:hover { color: var(--bv8-gold); }
.bv8-card__excerpt {
	color: var(--bv8-muted);
	font-size: 13.5px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bv8-card__meta {
	margin-top: auto;
	padding-top: 8px;
	font-size: 12px;
	color: var(--bv8-muted);
	border-top: 1px solid var(--bv8-line-soft);
}
.bv8-more { color: var(--bv8-gold); font-weight: 600; white-space: nowrap; }
.bv8-more:hover { color: var(--bv8-gold-2); text-decoration: underline; }

/* --------------------------------------------------------------------------
   12. PAGINATION
   -------------------------------------------------------------------------- */
.bv8-pagination { margin: 40px 0 10px; }
.bv8-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
.bv8-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid var(--bv8-line-soft);
	background: var(--bv8-card);
	font-family: var(--bv8-font-display);
	font-size: 14px;
	font-weight: 600;
	color: var(--bv8-muted);
	transition: all .2s ease;
}
.bv8-pagination a.page-numbers:hover {
	color: var(--bv8-gold);
	border-color: var(--bv8-gold);
	transform: translateY(-2px);
}
.bv8-pagination .page-numbers.current {
	background: linear-gradient(135deg, var(--bv8-gold-2), var(--bv8-gold));
	border-color: transparent;
	color: #221a06;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(255, 192, 46, 0.3);
}

/* --------------------------------------------------------------------------
   13. SINGLE POST / PAGE
   -------------------------------------------------------------------------- */
.bv8-page { padding: 44px 0 70px; }
.bv8-page-head { margin-top: 8px; }
.bv8-page-head__desc {
	width: 100%;
	color: var(--bv8-muted);
	font-size: 14px;
	margin-top: 6px;
}

.bv8-single {
	background: var(--bv8-card);
	border: 1px solid var(--bv8-line-soft);
	border-radius: var(--bv8-radius-lg);
	padding: clamp(24px, 4vw, 48px);
	box-shadow: var(--bv8-shadow);
}
.bv8-single__cats { margin-bottom: 14px; }
.bv8-single__cats a {
	display: inline-block;
	padding: 4px 12px;
	margin: 0 6px 6px 0;
	border-radius: 999px;
	background: rgba(255, 192, 46, 0.1);
	border: 1px solid var(--bv8-line);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bv8-gold);
}
.bv8-single__cats a:hover { background: rgba(255, 192, 46, 0.2); }
.bv8-dot { color: var(--bv8-muted); margin: 0 4px; }
.bv8-single__title {
	margin: 0 0 14px;
	font-family: var(--bv8-font-display);
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
}
.bv8-single__meta {
	color: var(--bv8-muted);
	font-size: 13px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--bv8-line-soft);
	margin-bottom: 24px;
}
.bv8-single__thumb { margin-bottom: 26px; border-radius: var(--bv8-radius); overflow: hidden; }
.bv8-single__thumb .bv8-thumb { aspect-ratio: 16 / 9; }
.bv8-single__content { font-size: 15.5px; line-height: 1.85; color: #d5dae8; overflow-wrap: anywhere; }
.bv8-single__content h2,
.bv8-single__content h3 {
	font-family: var(--bv8-font-display);
	color: var(--bv8-text);
	letter-spacing: 0.02em;
	margin: 34px 0 14px;
}
.bv8-single__content a { color: var(--bv8-gold); text-decoration: underline; text-underline-offset: 3px; }
.bv8-single__content img { border-radius: var(--bv8-radius); }
.bv8-single__content blockquote {
	margin: 26px 0;
	padding: 18px 22px;
	border-left: 4px solid var(--bv8-gold);
	background: rgba(255, 192, 46, 0.06);
	border-radius: 0 var(--bv8-radius) var(--bv8-radius) 0;
	color: #e2e7f2;
	font-style: italic;
}
.bv8-single__tags { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.bv8-single__tags a {
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--bv8-card-2);
	border: 1px solid var(--bv8-line-soft);
	font-size: 12px;
	color: var(--bv8-muted);
}
.bv8-single__tags a:hover { color: var(--bv8-gold); border-color: var(--bv8-line); }

.bv8-related { margin-top: 46px; }
.bv8-related .bv8-section-head { margin-top: 0; }

/* --------------------------------------------------------------------------
   14. EMPTY / 404
   -------------------------------------------------------------------------- */
.bv8-empty {
	padding: 50px 24px;
	text-align: center;
	color: var(--bv8-muted);
	background: var(--bv8-card);
	border: 1px dashed var(--bv8-line);
	border-radius: var(--bv8-radius-lg);
}

.bv8-404__box {
	text-align: center;
	padding: clamp(40px, 6vw, 80px) 24px;
	background: var(--bv8-card);
	border: 1px solid var(--bv8-line-soft);
	border-radius: var(--bv8-radius-lg);
	box-shadow: var(--bv8-shadow);
}
.bv8-404__code {
	margin: 0;
	font-family: var(--bv8-font-display);
	font-size: clamp(90px, 14vw, 150px);
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(120deg, var(--bv8-gold), var(--bv8-red));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.bv8-404__spark { padding: 0 6px; }
.bv8-404__title {
	margin: 14px 0 12px;
	font-family: var(--bv8-font-display);
	font-size: clamp(24px, 3.4vw, 34px);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.bv8-404__desc { color: var(--bv8-muted); max-width: 480px; margin: 0 auto 30px; }
.bv8-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.bv8-404__search { max-width: 420px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.bv8-footer {
	position: relative;
	margin-top: 40px;
	padding: 54px 0 26px;
	background: linear-gradient(180deg, var(--bv8-bg-deep), #141d36);
	border-top: 1px solid var(--bv8-line-soft);
	overflow: hidden;
}
.bv8-footer__glow {
	position: absolute;
	inset: -140px 20% auto 20%;
	height: 280px;
	background: radial-gradient(closest-side, rgba(255, 192, 46, 0.09), transparent);
	pointer-events: none;
}
.bv8-footer__cta-row {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	padding-bottom: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--bv8-line-soft);
}
.bv8-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 34px;
}
.bv8-footer__title {
	margin: 0 0 16px;
	font-family: var(--bv8-font-display);
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--bv8-gold);
}
.bv8-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.bv8-footer__links a { color: var(--bv8-muted); font-size: 13.5px; }
.bv8-footer__links a:hover { color: var(--bv8-gold); padding-left: 3px; }
.bv8-footer__links a,
.bv8-footer__links li { transition: all .2s ease; }
.bv8-footer__about { color: var(--bv8-muted); font-size: 13.5px; margin: 14px 0 18px; max-width: 320px; }
.bv8-footer__badge { max-width: 140px; }
.bv8-footer__disclaimer {
	margin: 44px auto 0;
	max-width: 900px;
	text-align: center;
	font-size: 12.5px;
	line-height: 1.7;
	color: #8b94ac;
	padding: 16px 20px;
	border: 1px solid rgba(255, 46, 92, 0.28);
	border-radius: var(--bv8-radius);
	background: rgba(255, 46, 92, 0.06);
}
.bv8-footer__bottom {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--bv8-line-soft);
	text-align: center;
	font-size: 12.5px;
	color: var(--bv8-muted);
}

/* --------------------------------------------------------------------------
   16. REVEAL ANIMATION
   -------------------------------------------------------------------------- */
/* Mặc định hiển thị đầy đủ; trạng thái ẩn chỉ áp dụng khi JS đã sẵn sàng
   (body đã bỏ lớp no-js) để tránh ẩn nội dung khi JS lỗi/tắt. */
.bv8-reveal {
	transition: opacity .6s ease, transform .6s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform;
}
.bv8-body:not(.no-js) .bv8-reveal { opacity: 0; transform: translateY(22px); }
.bv8-body:not(.no-js) .bv8-reveal.bv8-is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.bv8-body:not(.no-js) .bv8-reveal { opacity: 1; transform: none; transition: none; }
	.bv8-live-dot { animation: none; }
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.bv8-articles__grid { grid-template-columns: repeat(2, 1fr); }
	.bv8-articles__grid--4 { grid-template-columns: repeat(2, 1fr); }
	.bv8-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	/* iOS hỗ trợ background-attachment: fixed kém nên chuyển về scroll */
	.bv8-body { background-attachment: scroll; }

	.bv8-icons__grid { grid-template-columns: repeat(2, 1fr); }

	.bv8-burger {
		display: flex;
		margin-left: auto;
	}

	.bv8-navbar__inner { flex-wrap: wrap; gap: 12px; }

	.bv8-nav {
		flex: 1 1 100%;
		order: 5;
		max-height: 0;
		overflow: hidden;
		transition: max-height .35s ease;
	}
	.bv8-nav.bv8-is-open {
		max-height: calc(100vh - 64px);
		overflow-y: auto;
		padding-bottom: 14px;
	}
	.bv8-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.bv8-nav__list > li > a { padding: 12px 14px; border-radius: 10px; }
	.bv8-nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: rgba(255, 255, 255, 0.02);
		margin-left: 14px;
	}

	/* Ảnh nền hero căn giữa trên mobile để không cắt mất trọng tâm */
	.bv8-hero { background-position: center; }

	/* Khung tìm kiếm luôn hiển thị: chiếm dòng riêng, full width */
	.bv8-navbar__search {
		order: 10;
		flex: 1 1 100%;
		width: 100%;
		display: flex;
		padding: 0 16px 12px;
	}
	.bv8-navbar__search .bv8-searchform { width: 100%; }

	.bv8-hero__inner { padding: 64px 0 58px; }
	.bv8-midcta__box { padding: 28px 24px; }
	.bv8-topbar__promo { display: none; }
	.bv8-topbar__inner { justify-content: flex-end; }
}

@media (max-width: 560px) {
	.bv8-articles__grid,
	.bv8-articles__grid--4 { grid-template-columns: 1fr; }
	.bv8-posters__grid { grid-template-columns: 1fr; }
	.bv8-icons__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.bv8-footer__grid { grid-template-columns: 1fr; }
	.bv8-topbar__actions .bv8-btn { padding: 7px 14px; }
	.bv8-hero__cta .bv8-btn { flex: 1 1 auto; }
}
