/* ==========================================================================
   BET888 Sportsbook — main stylesheet
   ========================================================================== */
:root {
	--bg: #050c18;
	--bg-2: #081427;
	--panel: rgba(9, 20, 38, .86);
	--panel-solid: #0a172b;
	--line: rgba(255, 255, 255, .09);
	--line-gold: rgba(214, 172, 86, .45);
	--gold: #e2b457;
	--gold-2: #f6d78b;
	--gold-3: #b9862f;
	--gold-grad: linear-gradient(180deg, #f8dc92 0%, #e6b85a 48%, #c28e34 100%);
	--text: #f3f6fb;
	--muted: #a7b3c6;
	--muted-2: #7d8aa0;
	--f-th: "Kanit", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
	--f-en: "Montserrat", "Kanit", Arial, sans-serif;
	--wrap: 1440px;
	--radius: 4px;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-th);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 900px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--gold); color: #111; padding: 8px 14px; }
.skip-link:focus { left: 8px; }
.ic { width: 1em; height: 1em; flex: none; }

/* ---------- typography helpers ---------- */
.spaced {
	font-family: var(--f-en);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .38em;
	line-height: 1.55;
	color: #eef2f8;
}
.eyebrow {
	font-family: var(--f-en);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 6px;
}
.sec { padding: 56px 0; position: relative; }
.sec-title {
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 600;
	color: #fff;
	letter-spacing: -.005em;
}
.sec-title em, .display {
	font-family: var(--f-th);
	font-style: italic;
	font-weight: 800;
	letter-spacing: .01em;
	text-transform: uppercase;
	background: linear-gradient(180deg, #ffffff 0%, #d8dee8 55%, #9aa6b8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: .12em;
}
.sec-sub { color: #c9d2df; font-size: 17px; margin-top: 6px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 40px; padding: 0 22px;
	border-radius: var(--radius);
	font-weight: 600; font-size: 15px; white-space: nowrap;
	border: 1px solid transparent; cursor: pointer;
	transition: transform .15s, filter .15s, background .15s, border-color .15s;
}
.btn .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.btn:hover { transform: translateY(-1px); }
.btn-gold {
	background: var(--gold-grad);
	color: #1a1204;
	border-color: #f7d98a;
	box-shadow: 0 6px 20px rgba(226, 180, 87, .25), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold:hover { filter: brightness(1.07); }
.btn-dark {
	background: linear-gradient(180deg, #1b2a44, #0e1a2e);
	border-color: rgba(255, 255, 255, .22);
	color: #fff;
}
.btn-dark:hover { border-color: var(--gold); }
.btn-login {
	background: linear-gradient(180deg, #101b2e 0%, #07101f 100%);
	border-color: rgba(173, 185, 201, .65);
	color: #f2f5f8;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.btn-login:hover {
	background: linear-gradient(180deg, #172740 0%, #0b1628 100%);
	border-color: #c7d0db;
	color: #fff;
}
.btn-outline {
	background: rgba(3, 8, 16, .55);
	border-color: rgba(255, 255, 255, .85);
	color: #fff;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 20px; min-width: 250px; justify-content: space-between; }
.btn-lg .ic { width: 20px; height: 20px; }
.btn-block { width: 100%; }

/* ---------- gold ring icon ---------- */
.ring {
	position: relative;
	display: inline-grid; place-items: center;
	width: 54px; height: 54px; border-radius: 50%;
	color: var(--gold);
	border: 1.5px solid var(--gold);
	box-shadow: 0 0 0 4px rgba(226, 180, 87, .08), inset 0 0 18px rgba(226, 180, 87, .12);
	flex: none;
}
.ring .ic { width: 26px; height: 26px; }
.ring-sm { width: 44px; height: 44px; }
.ring-sm .ic { width: 22px; height: 22px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: linear-gradient(180deg, rgba(3, 7, 15, .97), rgba(5, 11, 22, .92));
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	backdrop-filter: blur(8px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { max-height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
	font-family: var(--f-th);
	font-style: italic; font-weight: 800;
	font-size: 34px; letter-spacing: .01em;
	background: linear-gradient(180deg, #ffffff 0%, #e5e9f0 50%, #9ca7b8 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	padding-right: 4px;
}
.brand-tag {
	font-family: var(--f-en); font-size: 8.5px; font-weight: 600;
	letter-spacing: .32em; color: #b9c3d2; margin-top: 3px; padding-left: 4px;
}

.main-nav { margin-left: 34px; }
.main-nav .menu { display: flex; gap: 6px; }
.main-nav .menu a {
	position: relative; display: block;
	padding: 24px 18px; font-size: 15.5px; font-weight: 400; color: #e3e8f0;
	transition: color .15s;
}
.main-nav .menu a::after {
	content: ""; position: absolute; left: 50%; bottom: 16px;
	width: 26px; height: 2px; margin-left: -13px;
	background: var(--gold); border-radius: 2px;
	transform: scaleX(0); transition: transform .2s;
}
.main-nav .menu a:hover { color: #fff; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: #fff; font-weight: 600; }
.main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after, .main-nav .menu a:hover::after { transform: scaleX(1); }
.drawer-head, .drawer-cta { display: none; }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-width: 132px; }
.header-cta .btn-login { min-width: 116px; }
.drawer-cta .btn { width: 100%; }

.menu-toggle {
	display: none; margin-left: 8px;
	width: 42px; height: 42px; place-items: center;
	background: rgba(12, 22, 40, .9); border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--radius); cursor: pointer;
}
.menu-toggle .ic { width: 22px; height: 22px; }
.nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 150; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: #030914 var(--hero-bg) center 35% / cover no-repeat;
	min-height: 540px;
	padding-bottom: 46px;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(3, 8, 17, .78) 0%, rgba(3, 8, 17, .35) 42%, rgba(3, 8, 17, 0) 62%, rgba(3, 8, 17, .35) 100%),
		linear-gradient(180deg, rgba(3, 8, 17, .35) 0%, rgba(3, 8, 17, 0) 30%, rgba(3, 8, 17, 0) 70%, rgba(3, 8, 17, .6) 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr auto; align-items: center; min-height: 494px; }
.hero-copy { position: relative; z-index: 2; padding: 40px 0 60px; }
.hero-title {
	font-size: clamp(38px, 4.6vw, 70px);
	font-weight: 600; letter-spacing: -.01em; line-height: 1.12;
	color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
	white-space: nowrap;
}
.hero-sub {
	margin-top: 6px;
	font-size: clamp(17px, 1.75vw, 26px); font-weight: 500;
	color: #f1f4f9; text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.hero-player {
	position: relative; z-index: 1; align-self: end;
	margin-left: -8%; margin-bottom: -46px;
	display: flex; justify-content: center;
}
.hero-player img { width: 100%; max-width: 620px; max-height: 540px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.hero-player:not(.has-img) img { max-width: 520px; margin-bottom: 40px; }

.hero-side {
	position: relative; z-index: 2; align-self: center;
	font-size: 14px; letter-spacing: .42em; padding-bottom: 12px; margin-top: -40px;
}
.hero-side::after { content: ""; display: block; width: 58px; height: 2px; background: var(--gold); margin-top: 12px; }

.hero-board {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
	height: 46px; overflow: hidden;
	background: linear-gradient(180deg, #0a1a33 0%, #06101f 100%);
	border-top: 1px solid rgba(120, 160, 220, .25);
	box-shadow: 0 -12px 30px rgba(0, 0, 0, .45);
}
.board-track { display: flex; white-space: nowrap; height: 100%; align-items: center; }
.board-track span {
	flex: none; padding: 0 64px;
	font-style: italic; font-weight: 800; font-size: 21px; letter-spacing: .02em;
	color: rgba(214, 226, 244, .78);
	text-shadow: 0 0 10px rgba(120, 170, 255, .35);
	border-right: 1px solid rgba(255, 255, 255, .06);
}
@media (prefers-reduced-motion: no-preference) {
	.board-track { animation: board 40s linear infinite; }
	@keyframes board { to { transform: translateX(-50%); } }
}

/* ==========================================================================
   Features bar
   ========================================================================== */
.features { position: relative; z-index: 3; margin-top: 18px; }
.features-box {
	display: grid; grid-template-columns: repeat(3, 1fr);
	background: linear-gradient(180deg, rgba(10, 22, 42, .95), rgba(6, 14, 28, .95));
	border: 1px solid rgba(160, 180, 210, .28);
	border-radius: var(--radius);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.feature { display: flex; align-items: center; gap: 22px; padding: 16px 34px 16px 84px; position: relative; }
.feature .ring { position: absolute; left: 22px; }
.feature .num { font-family: var(--f-en); font-size: 26px; font-weight: 700; color: #fff; line-height: 1; }
.feature .txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.feature strong { font-size: 18px; font-weight: 600; color: #fff; line-height: 1.3; display: flex; align-items: center; gap: 14px; }
.feature strong::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); }
.feature small { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--line); }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding-top: 36px; padding-bottom: 40px; }
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr .95fr;
	grid-template-rows: auto 1fr;
	column-gap: 48px;
}
.about-head { grid-column: 1 / 3; margin-bottom: 14px; }
.about-head .sec-title { font-size: clamp(26px, 2.5vw, 36px); }
.about-head .display { font-size: 1.28em; margin-right: .18em; }
.about-col h3 { display: flex; align-items: center; gap: 10px; margin: 26px 0 6px; font-size: 18px; font-weight: 600; line-height: 1.4; color: #fff; }
.about-col h3::before { content: ""; flex: none; width: 4px; height: 18px; border-radius: 2px; background: var(--gold); }
.about-col h3:first-child { margin-top: 2px; }
.about-col p { font-size: 16px; font-weight: 400; line-height: 1.9; color: #d3dae5; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
.about-col p + p { margin-top: 12px; }
.about-photo { grid-column: 3; grid-row: 1 / 3; min-height: 300px; align-self: stretch; margin-top: 4px; }

.photo {
	position: relative; margin: 0; overflow: hidden;
	background: #07111f var(--img) center / cover no-repeat;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--radius);
}
.photo::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(3, 8, 17, 0) 40%, rgba(3, 8, 17, .75) 100%);
}
.photo figcaption { position: absolute; left: 26px; bottom: 22px; font-size: 14px; letter-spacing: .42em; }

/* ==========================================================================
   Sportsbook directory
   ========================================================================== */
.directory {
	padding-top: 34px; padding-bottom: 34px;
	background: linear-gradient(180deg, rgba(8, 20, 39, .0), rgba(8, 20, 39, .65) 20%, rgba(8, 20, 39, .65) 80%, rgba(8, 20, 39, 0));
	border-top: 1px solid var(--line);
}
.dir-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: 40px; align-items: start; }
.dir-left .sec-title em { font-size: 1.12em; margin: 0 .1em; }
.dir-left .sec-sub { font-size: 16px; }
.dir-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; min-height: 230px; }
.dir-photo { grid-column: 1 / 3; grid-row: 1; min-height: 230px; border: 0; background-position: center; }
.dir-photo::before { background: linear-gradient(90deg, rgba(5, 12, 24, .1) 0%, rgba(5, 12, 24, .15) 45%, rgba(5, 12, 24, .92) 62%); }
.dir-photo figcaption { font-size: 11.5px; letter-spacing: .36em; bottom: 14px; left: 16px; }
.trophy-card {
	grid-column: 2; grid-row: 1; position: relative; align-self: center;
	margin: 16px 0 16px -10px;
	padding: 16px 18px 16px 22px;
	border-left: 2px solid var(--gold);
}
.trophy-ic { display: block; color: var(--gold); margin-bottom: 6px; }
.trophy-ic .ic { width: 34px; height: 34px; }
.trophy-card h3 { font-size: 22px; font-weight: 600; line-height: 1.28; color: #fff; }
.trophy-card p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.55; }

.dir-list { border-top: 1px solid var(--line); counter-reset: none; }
.dir-list li { border-bottom: 1px solid var(--line); }
.dir-row {
	display: grid;
	grid-template-columns: 26px 96px minmax(0, 1fr) 22px;
	align-items: center; gap: 12px;
	min-height: 46px; padding: 12px 8px;
}
.dir-num { font-family: var(--f-en); font-size: 12px; color: var(--muted-2); }
.dir-name { font-family: var(--f-en); font-weight: 700; font-size: 16px; color: var(--gold); letter-spacing: .01em; }
.dir-desc { font-size: 14px; color: #c9d2df; line-height: 1.6; }
.dir-go { color: #8fb4f0; display: grid; place-items: center; }
.dir-go .ic { width: 18px; height: 18px; }

/* ==========================================================================
   Casino
   ========================================================================== */
.casino {
	padding-top: 30px; padding-bottom: 36px;
	background: var(--bg) var(--img) right center / auto 100% no-repeat;
	border-top: 1px solid var(--line);
	overflow: hidden;
}
.casino::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, rgba(5, 12, 24, .7) 55%, rgba(5, 12, 24, .1) 75%, rgba(5, 12, 24, .45) 100%);
}
.casino-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: stretch; }
.casino-main .sec-title { font-size: clamp(26px, 2.6vw, 38px); }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; margin-top: 18px; }
.game {
	display: grid; grid-template-columns: 44px 28px minmax(0, 1fr) 16px;
	align-items: start; gap: 10px;
	min-height: 60px; padding: 14px 12px 14px 14px;
	background: linear-gradient(180deg, rgba(12, 24, 44, .92), rgba(7, 15, 29, .92));
	border: 1px solid rgba(200, 212, 230, .22);
	border-radius: var(--radius);
}
.game-ic { color: var(--gold); display: grid; place-items: center; }
.game-ic .ic { width: 34px; height: 34px; stroke-width: 1.4; }
.game-num { font-family: var(--f-en); font-size: 14px; font-weight: 600; color: #e7ecf3; }
.game-txt { display: flex; flex-direction: column; min-width: 0; }
.game-txt h3 { font-family: var(--f-en); font-size: 13.5px; font-weight: 700; color: var(--gold); letter-spacing: .02em; line-height: 1.25; }
.game-txt small { font-size: 13px; color: #aeb9ca; line-height: 1.55; margin-top: 3px; }
.game-go { width: 16px; height: 16px; color: #cfd6e1; }

/* ==========================================================================
   News
   ========================================================================== */
.news { padding-top: 26px; padding-bottom: 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, #06101f, #040a15); }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .8fr); gap: 24px; align-items: stretch; }
.news-left { padding-bottom: 26px; }
.news-left .sec-title { font-size: clamp(22px, 2vw, 30px); margin-bottom: 14px; }
.perk-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	border: 1px solid rgba(200, 212, 230, .2); border-radius: var(--radius);
	background: rgba(8, 18, 34, .8);
}
.perk { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.perk:nth-child(odd) { border-right: 1px solid var(--line); }
.perk:nth-child(n+3) { border-top: 1px solid var(--line); }
.perk .ring { color: #e8edf5; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.perk:nth-child(even) .ring { color: var(--gold); border-color: transparent; }
.perk .txt { display: flex; flex-direction: column; }
.perk strong { font-size: 17px; font-weight: 600; color: #fff; line-height: 1.3; }
.perk small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.badge {
	position: absolute; left: 18px; top: -9px;
	font-size: 11px; font-weight: 500; line-height: 1; padding: 4px 8px;
	background: linear-gradient(180deg, #3c7bf0, #2356c6); color: #fff; border-radius: 3px;
}

.news-mid { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; min-height: 250px; }
.story { position: absolute; left: 0; top: 30px; font-size: 11.5px; letter-spacing: .4em; }
.phones { display: flex; align-items: flex-end; gap: 0; margin-right: -10px; }

.phone {
	width: 170px; aspect-ratio: 9 / 16.5; padding: 7px;
	background: linear-gradient(135deg, #3a465c, #0d131e 40%, #2a3448);
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .12);
	transform: perspective(800px) rotateY(16deg) rotateX(8deg) rotateZ(-6deg);
	transform-origin: bottom;
}
.phone--live { width: 150px; margin-left: -18px; transform: perspective(800px) rotateY(14deg) rotateX(6deg) rotateZ(-4deg) translateY(6px); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 18px; background: #07101f; padding: 16px 8px 8px; font-family: var(--f-en); }
.phone-notch { position: absolute; top: 5px; left: 50%; width: 44px; height: 7px; margin-left: -22px; background: #000; border-radius: 6px; }
.ph-brand { text-align: center; font-style: italic; font-weight: 800; font-size: 15px; color: #fff; font-family: var(--f-th); }
.ph-tabs { display: flex; justify-content: space-around; margin: 6px 0; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.ph-tabs span { color: #7d8aa0; }
.ph-tabs .on { color: var(--gold); }
.ph-tabs .ic { width: 12px; height: 12px; }
.ph-head, .ph-row { display: grid; grid-template-columns: 26px 1fr 22px 22px 22px; gap: 3px; align-items: center; font-size: 7px; }
.ph-head { color: var(--muted-2); padding: 2px 0; }
.ph-head b { grid-column: 1 / 3; font-weight: 600; }
.ph-head i { font-style: normal; text-align: center; }
.ph-row { padding: 4px 0; border-top: 1px solid rgba(255, 255, 255, .05); color: #cfd6e1; }
.ph-row .t { color: var(--muted-2); }
.ph-row .m { line-height: 1.2; }
.ph-row em { font-style: normal; text-align: center; background: rgba(226, 180, 87, .12); color: var(--gold-2); border-radius: 2px; padding: 2px 0; }
.ph-live .ph-row { grid-template-columns: 1fr 26px 26px; }
.ph-pitch {
	position: relative; height: 70px; margin-top: 4px; border-radius: 6px;
	background: repeating-linear-gradient(90deg, #1d5b34 0 12px, #1a5230 12px 24px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
}
.ph-pitch::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid rgba(255, 255, 255, .45); }
.ph-ball { position: absolute; left: 62%; top: 40%; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; }
.ph-score { display: flex; justify-content: space-between; align-items: center; margin: 8px 2px; font-size: 8px; color: #cfd6e1; }
.ph-score b { font-size: 14px; color: #fff; }
.ph-bar { height: 3px; background: rgba(255, 255, 255, .1); border-radius: 3px; margin-bottom: 6px; }
.ph-bar i { display: block; height: 100%; background: var(--gold); border-radius: 3px; }

.news-photo { border: 0; border-radius: 0; min-height: 250px; margin-right: calc(-1 * max(32px, (100vw - var(--wrap)) / 2 + 32px)); }
.news-photo::before { background: linear-gradient(90deg, rgba(4, 10, 21, 1) 0%, rgba(4, 10, 21, 0) 30%); }
.news-photo figcaption { left: 36%; top: 26px; bottom: auto; font-size: 10.5px; letter-spacing: .38em; }
.news-photo.has-img figcaption { left: 30px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-posts { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.card { background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--line-gold); transform: translateY(-2px); }
.card-media { display: block; aspect-ratio: 16 / 9; background: #0c1a30 url("../img/stadium.svg") center / cover; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-ph { display: grid; place-items: center; height: 100%; color: var(--gold); background: rgba(5, 12, 24, .5); }
.card-ph .ic { width: 42px; height: 42px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-date { font-size: 13px; color: var(--muted-2); }
.card-title { font-size: 19px; font-weight: 600; margin: 4px 0 8px; line-height: 1.35; }
.card-title a:hover { color: var(--gold-2); }
.card-excerpt { font-size: 14.5px; color: var(--muted); flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold); font-weight: 500; font-size: 15px; }
.card-more .ic { width: 16px; height: 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #03070f; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-inner { display: flex; align-items: center; gap: 40px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.site-footer .brand-text { flex-direction: row; align-items: center; gap: 14px; }
.site-footer .brand-name { font-size: 26px; }
.site-footer .brand-tag { margin: 0; font-size: 9px; }
.footer-nav { margin-left: 60px; }
.footer-nav .menu { display: flex; flex-wrap: wrap; gap: 4px 34px; }
.footer-nav a { font-size: 14px; color: #d3dae5; }
.footer-nav a:hover { color: var(--gold-2); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
	position: relative; isolation: isolate; padding: 64px 0 52px;
	background: #030914 var(--hero-bg) center 30% / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 8, 17, .55), rgba(5, 12, 24, .95)); }
.page-hero .sec-title { font-size: clamp(28px, 3.4vw, 46px); }
.page-hero .meta { color: var(--muted); margin-top: 10px; }
.page-search { margin: 22px 0; max-width: 520px; }
.search-form { display: flex; gap: 10px; }
.search-form .field { flex: 1; }
.search-form .field input { width: 100%; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }
.empty .search-form { max-width: 480px; margin: 20px auto 0; }
.article-thumb { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }

.entry-content { font-size: 17.5px; line-height: 1.85; color: #d6dde8; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 28px; color: #fff; margin-top: 1.6em; padding-left: 14px; border-left: 3px solid var(--gold); }
.entry-content h3 { font-size: 22px; color: var(--gold-2); margin-top: 1.4em; }
.entry-content a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li::marker { color: var(--gold); }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin-left: 0; padding: 16px 22px; background: var(--panel-solid); border-left: 3px solid var(--gold); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--panel-solid); color: var(--gold-2); }
.entry-content details { background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; }
.entry-content summary { cursor: pointer; font-weight: 600; color: #fff; }
.home-content { border-top: 1px solid var(--line); }

.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 14px 18px; background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; }
.post-navigation a:hover { border-color: var(--line-gold); }
.post-navigation small { display: block; color: var(--gold); font-size: 13px; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-solid); }
.page-numbers.current, .page-numbers:hover { border-color: var(--gold); color: var(--gold-2); }
.cta-box {
	margin-top: 44px; padding: 26px 28px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	background: linear-gradient(135deg, rgba(226, 180, 87, .12), rgba(9, 20, 38, .9) 60%);
	border: 1px solid var(--line-gold); border-radius: var(--radius);
}
.cta-box p { color: var(--muted); }
.cta-box strong { color: #fff; font-size: 22px; font-weight: 600; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1440px) {
	.main-nav { margin-left: 8px; }
	.main-nav .menu a { padding-left: 12px; padding-right: 12px; }
	.field input { width: 128px; }
}

@media (max-width: 1280px) {
	.hero-title { white-space: normal; }
	.game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.news-grid { grid-template-columns: 1fr 1fr; }
	.news-photo { grid-column: 1 / -1; margin-right: 0; min-height: 220px; }
	.footer-nav { margin-left: 0; }
}

@media (max-width: 1080px) {
	:root { --header-h: 64px; }
	.menu-toggle { display: grid; }
	.main-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
		width: min(320px, 86vw); margin: 0;
		background: #06101f; border-left: 1px solid var(--line);
		transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
		display: flex; flex-direction: column; overflow-y: auto;
	}
	.main-nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
	.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
	.drawer-close { display: grid; place-items: center; width: 38px; height: 38px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
	.drawer-close .ic { width: 20px; height: 20px; }
	.main-nav .menu { flex-direction: column; gap: 0; padding: 10px 0; }
	.main-nav .menu a { padding: 13px 22px; font-size: 17px; }
	.main-nav .menu a::after { left: 0; top: 10px; bottom: 10px; width: 3px; height: auto; margin: 0; transform: scaleY(0); }
	.main-nav .current-menu-item > a::after { transform: scaleY(1); }
	.drawer-cta { display: grid; gap: 10px; padding: 16px 22px 24px; margin-top: auto; }
	body.nav-open { overflow: hidden; }
	.site-header { backdrop-filter: none; background: #040a15; }
	body.nav-open .site-header { z-index: 300; }

	.hero-inner { grid-template-columns: 1fr; min-height: 0; }
	.hero-copy { padding: 48px 0 0; }
	.hero-player { position: absolute; right: -40px; bottom: 0; width: 55%; margin: 0; opacity: .55; z-index: 0; }
	.hero-side { display: none; }
	.hero { min-height: 480px; }
	.hero-inner { min-height: 434px; }

	.features-box { grid-template-columns: 1fr; }
	.feature + .feature::before { left: 24px; right: 24px; top: 0; bottom: auto; width: auto; height: 1px; }

	.about-grid { grid-template-columns: 1fr 1fr; }
	.about-head { grid-column: 1 / -1; }
	.about-photo { grid-column: 1 / -1; grid-row: auto; margin-top: 28px; min-height: 260px; }

	.dir-grid { grid-template-columns: 1fr; }
	.casino-grid { grid-template-columns: 1fr; }
	.casino::before { background: linear-gradient(180deg, rgba(5, 12, 24, .95), rgba(5, 12, 24, .8) 60%, rgba(5, 12, 24, .5)); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 14px 30px; padding-top: 22px; padding-bottom: 22px; }
	.footer-nav .menu { justify-content: center; }
}

@media (max-width: 760px) {
	.wrap { padding: 0 16px; }
	.brand-name { font-size: 27px; }
	.brand-tag { font-size: 7px; }
	.brand-logo { max-width: 96px; }
	.header-cta { gap: 8px; }
	.header-cta .btn { min-width: 0; height: 40px; padding: 0 11px; font-size: 13px; }
	.menu-toggle { width: 38px; height: 38px; margin-left: 0; }
	.header-inner { gap: 8px; }

	.hero { min-height: 0; padding-bottom: 38px; }
	.hero-inner { min-height: 0; }
	.hero-copy { padding: 36px 0 150px; }
	.hero-title { font-size: 34px; }
	.hero-sub { font-size: 17px; }
	.hero-btns { gap: 10px; margin-top: 22px; }
	.btn-lg { min-width: 0; flex: 1 1 100%; height: 50px; font-size: 18px; }
	.hero-player { width: 72%; right: -10px; opacity: .9; }
	.hero-player:not(.has-img) img { margin-bottom: 20px; }
	.hero-board { height: 38px; }
	.board-track span { font-size: 17px; padding: 0 36px; }

	.feature { padding: 14px 16px 14px 78px; }
	.feature .ring { left: 14px; width: 48px; height: 48px; }
	.feature .num { font-size: 22px; }
	.feature strong { font-size: 16.5px; }
	.feature small { font-size: 13.5px; }

	.sec { padding: 40px 0; }
	.about-grid { grid-template-columns: 1fr; }
	.about-col + .about-col { margin-top: 14px; }

	.dir-visual { grid-template-columns: 1fr; }
	.dir-photo { grid-column: 1; min-height: 200px; }
	.dir-photo::before { background: linear-gradient(180deg, rgba(5, 12, 24, 0), rgba(5, 12, 24, .7)); }
	.trophy-card { grid-column: 1; grid-row: 2; margin: 16px 0 0; }
	.dir-row { grid-template-columns: 26px minmax(0, 1fr) 22px; grid-template-areas: "n name go" ". desc go"; row-gap: 0; padding: 10px 4px; }
	.dir-num { grid-area: n; }
	.dir-name { grid-area: name; }
	.dir-desc { grid-area: desc; white-space: normal; font-size: 13.5px; }
	.dir-go { grid-area: go; }

	.game-grid { grid-template-columns: 1fr; }
	.game-txt small { white-space: normal; }

	.news-grid { grid-template-columns: 1fr; }
	.perk-grid { grid-template-columns: 1fr; }
	.perk:nth-child(odd) { border-right: 0; }
	.perk:nth-child(n+2) { border-top: 1px solid var(--line); }
	.perk .badge { left: auto; right: 14px; top: 14px; }
	.news-mid { min-height: 0; flex-direction: column; align-items: center; gap: 10px; }
	.story { position: static; align-self: flex-start; font-size: 10.5px; }
	.phones { margin-right: 0; }
	.phone { width: 150px; }
	.phone--live { width: 132px; }
	.news-photo { min-height: 200px; }
	.news-photo figcaption { left: 46%; top: 24px; }
	.post-grid { grid-template-columns: 1fr; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: 1; }
	.entry-content { font-size: 16.5px; }
}


/* ==========================================================================
   Online betting guide
   ========================================================================== */
.betting-guide {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 64px 0 58px;
	border-top: 1px solid var(--line);
	background:
		radial-gradient(circle at 10% 0%, rgba(226, 180, 87, .09), transparent 30%),
		linear-gradient(135deg, #071426 0%, #050c18 48%, #081326 100%);
}
.betting-guide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, transparent 0 49.9%, rgba(255, 255, 255, .025) 50%, transparent 50.1%),
		linear-gradient(145deg, transparent 0 72%, rgba(226, 180, 87, .035) 72.1%, transparent 84%);
	pointer-events: none;
}
.betting-guide-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
	gap: clamp(48px, 6vw, 96px);
	align-items: start;
}
.betting-guide-intro { padding-top: 4px; }
.betting-guide-intro .eyebrow { margin-bottom: 14px; }
.betting-guide-title {
	max-width: 15ch;
	font-size: clamp(30px, 3.2vw, 48px);
	font-weight: 650;
	line-height: 1.14;
	letter-spacing: -.015em;
	color: #fff;
}
.betting-guide-title span { color: var(--gold-2); }
.betting-guide-lead {
	max-width: 52ch;
	margin-top: 22px;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.85;
	color: #d8e0eb;
}
.betting-guide-summary {
	max-width: 52ch;
	margin-top: 20px;
	padding-left: 16px;
	border-left: 2px solid rgba(226, 180, 87, .8);
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--muted);
}
.betting-guide-chapters { border-top: 1px solid rgba(200, 212, 230, .2); }
.betting-guide-chapter {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 20px;
	padding: 24px 0;
	border-bottom: 1px solid rgba(200, 212, 230, .14);
}
.betting-guide-number {
	font-family: var(--f-en);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .12em;
	color: var(--gold);
}
.betting-guide-label {
	margin-bottom: 5px;
	font-family: var(--f-en);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .24em;
	color: var(--muted-2);
}
.betting-guide-chapter h3 {
	margin-bottom: 8px;
	font-size: clamp(19px, 1.8vw, 24px);
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}
.betting-guide-chapter p:last-child {
	max-width: 76ch;
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.85;
	color: #c7d1e0;
}
.betting-guide-note {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin-top: 22px;
	padding: 16px 18px;
	border: 1px solid rgba(226, 180, 87, .22);
	border-left: 2px solid var(--gold);
	background: rgba(8, 18, 34, .72);
}
.betting-guide-note strong {
	font-size: 14px;
	font-weight: 600;
	color: var(--gold-2);
}
.betting-guide-note span {
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--muted);
}

@media (max-width: 980px) {
	.betting-guide-grid { grid-template-columns: 1fr; gap: 38px; }
	.betting-guide-title,
	.betting-guide-lead,
	.betting-guide-summary { max-width: none; }
}

@media (max-width: 760px) {
	.betting-guide { padding: 46px 0 42px; }
	.betting-guide-grid { gap: 30px; }
	.betting-guide-title { font-size: 30px; }
	.betting-guide-lead { margin-top: 16px; font-size: 15.5px; line-height: 1.8; }
	.betting-guide-summary { font-size: 14px; }
	.betting-guide-chapter { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 20px 0; }
	.betting-guide-chapter h3 { font-size: 19px; }
	.betting-guide-chapter p:last-child { font-size: 14.5px; line-height: 1.8; }
	.betting-guide-note { grid-template-columns: 1fr; gap: 5px; padding: 14px 16px; }
}

@media (max-width: 360px) {
	.brand-logo { max-width: 76px; }
	.brand-name { font-size: 22px; }
	.brand-tag { display: none; }
	.header-cta { gap: 5px; }
	.header-cta .btn { height: 34px; padding: 0 7px; font-size: 11.5px; }
	.menu-toggle { width: 34px; height: 34px; }
	.header-inner { gap: 5px; }
}


/* ==========================================================================
   Primary navigation dropdowns
   ========================================================================== */
.main-nav .menu > li { position: relative; }

.main-nav .menu > .menu-item-has-children > a {
	padding-right: 36px;
}

.main-nav .menu > .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #b9c4d3;
	border-bottom: 1.5px solid #b9c4d3;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s ease, border-color .2s ease;
}

.main-nav .menu > .menu-item-has-children:hover > a::before,
.main-nav .menu > .menu-item-has-children:focus-within > a::before {
	border-color: var(--gold);
	transform: translateY(-30%) rotate(225deg);
}

.main-nav .sub-menu {
	position: absolute;
	top: calc(100% - 8px);
	left: 50%;
	z-index: 210;
	min-width: 220px;
	padding: 8px;
	margin: 0;
	background: linear-gradient(180deg, rgba(15, 29, 51, .98), rgba(5, 13, 26, .99));
	border: 1px solid rgba(177, 193, 216, .28);
	border-top-color: rgba(226, 180, 87, .72);
	border-radius: 4px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .48);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 10px);
	transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.main-nav .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -14px;
	height: 14px;
}

.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.main-nav .sub-menu li + li {
	border-top: 1px solid rgba(255, 255, 255, .07);
}

.main-nav .sub-menu a {
	padding: 11px 14px;
	font-size: 14.5px;
	font-weight: 450;
	line-height: 1.4;
	white-space: nowrap;
	color: #dce4ef;
	border-radius: 3px;
	transition: padding-left .16s ease, color .16s ease, background .16s ease;
}

.main-nav .sub-menu a::after { display: none; }

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus-visible,
.main-nav .sub-menu .current-menu-item > a {
	padding-left: 18px;
	color: #fff;
	background: linear-gradient(90deg, rgba(226, 180, 87, .16), rgba(226, 180, 87, .03));
}

@media (max-width: 1080px) {
	.main-nav .menu > li { width: 100%; }

	.main-nav .menu > .menu-item-has-children > a { padding-right: 48px; }

	.main-nav .menu > .menu-item-has-children > a::before {
		right: 25px;
		border-color: var(--gold);
		transform: translateY(-70%) rotate(45deg);
	}

	.main-nav .menu > .menu-item-has-children:hover > a::before,
	.main-nav .menu > .menu-item-has-children:focus-within > a::before {
		transform: translateY(-70%) rotate(45deg);
	}

	.main-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 14px 8px 24px;
		margin: 0 18px 4px 24px;
		background: transparent;
		border: 0;
		border-left: 1px solid rgba(226, 180, 87, .34);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		transition: none;
	}

	.main-nav .sub-menu::before { display: none; }
	.main-nav .sub-menu li + li { border-top: 0; }

	.main-nav .sub-menu a {
		margin-top: 3px;
		padding: 9px 12px;
		font-size: 15px;
		color: #bfcbdc;
		background: rgba(255, 255, 255, .025);
	}

	.main-nav .sub-menu a:hover,
	.main-nav .sub-menu a:focus-visible,
	.main-nav .sub-menu .current-menu-item > a {
		padding-left: 15px;
		color: #fff;
		background: rgba(226, 180, 87, .1);
	}
}

/* MOBILE MENU v1 */
/* ==========================================================================
   เมนูมือถือ: แก้ตัวหนังสือเมนูย่อยหายตอนชี้ และทำให้พับ/กางได้
   ========================================================================== */
@media (max-width: 1080px) {
	/* กันไม่ให้สไตล์ของเมนูแบบคอมมาเลื่อนเมนูย่อยออกนอกจอตอนชี้ */
	.main-nav .menu > li:hover > .sub-menu,
	.main-nav .menu > li:focus-within > .sub-menu { transform: none; }

	/* เมนูย่อยเริ่มต้นพับไว้ กดที่หัวข้อเพื่อกาง */
	.main-nav .sub-menu { display: none; }
	.main-nav .menu-item-has-children.is-expanded > .sub-menu { display: block; }
	.main-nav .menu > .menu-item-has-children > a { cursor: pointer; }
	.main-nav .menu > .menu-item-has-children > a::before { transition: transform .2s ease; }
	.main-nav .menu > .menu-item-has-children.is-expanded > a::before,
	.main-nav .menu > .menu-item-has-children.is-expanded:hover > a::before,
	.main-nav .menu > .menu-item-has-children.is-expanded:focus-within > a::before { transform: translateY(-20%) rotate(-135deg); }
}


/* DIR NAME LINKS v1 */
.dir-name a { color: inherit; transition: color .15s; }
.dir-name a:hover,
.dir-name a:focus-visible { color: var(--gold-2); text-decoration: underline; text-underline-offset: 4px; }


/* CASINO BRANDS v1 */
/* ==========================================================================
   บล็อกแนะนำแบรนด์คาสิโน (ด้านขวาของส่วน CASINO & SLOT COLLECTION)
   ========================================================================== */
.casino-brands {
	align-self: stretch;
	padding: 22px 20px 16px;
	background: linear-gradient(180deg, rgba(6, 14, 27, .94), rgba(4, 10, 20, .9));
	border: 1px solid rgba(200, 212, 230, .22);
	border-radius: var(--radius);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
	backdrop-filter: blur(3px);
}
.casino-brands .eyebrow { font-size: 11.5px; letter-spacing: .26em; margin-bottom: 4px; }
.brands-title { font-size: 20px; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 10px; }
.brand-list { border-top: 1px solid var(--line); }
.brand-row {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 10px;
	padding: 11px 2px;
	border-bottom: 1px solid var(--line);
}
.brand-num { font-family: var(--f-en); font-size: 11.5px; color: var(--muted-2); }
.brand-txt { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--f-en); font-style: normal; font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--gold); line-height: 1.3; }
.brand-name a { color: inherit; transition: color .15s; }
.brand-name a:hover, .brand-name a:focus-visible { color: var(--gold-2); text-decoration: underline; text-underline-offset: 4px; }
.brand-row small { font-size: 12.5px; line-height: 1.5; color: #aeb9ca; margin-top: 2px; }
.brand-go { width: 16px; height: 16px; color: #8fb4f0; }
.brand-row:hover .brand-go { color: var(--gold); }

@media (max-width: 1080px) {
	.casino-brands { width: 100%; max-width: none; order: -1; margin: 0 0 26px; }
}
@media (max-width: 760px) {
	.casino-brands { padding: 18px 14px 10px; }
	.brand-row { grid-template-columns: 24px minmax(0, 1fr) 16px; gap: 8px; padding: 12px 0; }
	.brand-name { font-size: 16px; }
	.brand-row small { font-size: 13px; }
	.brands-title { font-size: 18px; }
}


/* CASINO BRANDS LEFT v1 */
/* สลับฝั่ง: บล็อกแนะนำแบรนด์ไปอยู่ซ้าย การ์ดเกมไปอยู่ขวา (เฉพาะจอคอม) */
@media (min-width: 1081px) {
	.casino-grid { grid-template-columns: 420px minmax(0, 1fr); }
	.casino-brands { order: -1; }
}


/* MOBILE IMAGES v1 */
/* จอเล็ก: โหลดรูปพื้นหลังไฟล์เล็กแทนไฟล์เต็ม (ถ้าไม่มีไฟล์เล็กจะใช้ไฟล์เดิมเอง) */
@media (max-width: 760px) {
	.hero { background-image: var(--hero-bg-sm, var(--hero-bg)); }
	.photo { background-image: var(--img-sm, var(--img)); }
	.casino { background-image: var(--img-sm, var(--img)); }
}


/* ABOUT ROWS ALIGN v1 */
.about-col { display: grid; grid-auto-rows: 1fr; row-gap: 22px; align-content: stretch; }
.about-item { display: flex; flex-direction: column; }
.about-col h3 { margin: 0 0 6px; }
.about-col h3:first-child { margin-top: 0; }
@media (max-width: 760px) {
	.about-col { grid-auto-rows: auto; row-gap: 18px; }
}


/* RESPONSIVE SCALE v1 */
/* จอมือถือ: ซูมแบนเนอร์เข้าให้ตัวหนังสือในรูปใหญ่ขึ้น (เดิมย่อทั้งรูปจนสูงแค่ 150px) */
@media (max-width: 760px) {
	body .hero {
		aspect-ratio: 16 / 10 !important;
		background-size: cover !important;
		background-position: 8% center !important;
		min-height: 0 !important;
	}
}
/* จอมือถือแนวนอน/แท็บเล็ตเล็ก */
@media (min-width: 761px) and (max-width: 1000px) {
	.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* FOOTER MENU = HEADER STYLE v1 */
/* ฟุตเตอร์: ใช้หน้าตาเดียวกับเมนูด้านบนทุกอย่าง ต่างแค่เมนูย่อยเด้งขึ้นบน (เพราะอยู่ล่างสุด) */
.footer-nav .menu { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.footer-nav .menu > li { position: relative; }
.footer-nav .menu a {
	position: relative;
	display: block;
	padding: 14px 18px;
	font-size: 15.5px;
	font-weight: 400;
	color: #e3e8f0;
	transition: color .15s;
}
.footer-nav .menu a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 8px;
	width: 26px;
	height: 2px;
	margin-left: -13px;
	background: var(--gold);
	border-radius: 2px;
	transform: scaleX(0);
	transition: transform .2s;
}
.footer-nav .menu a:hover { color: #fff; }
.footer-nav .menu a:hover::after,
.footer-nav .current-menu-item > a::after { transform: scaleX(1); }
.footer-nav .current-menu-item > a { color: #fff; font-weight: 600; }

.footer-nav .menu > .menu-item-has-children > a { padding-right: 36px; color: #e3e8f0; }
.footer-nav .menu > .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #b9c4d3;
	border-bottom: 1.5px solid #b9c4d3;
	transform: translateY(-30%) rotate(225deg);
	transition: transform .2s ease, border-color .2s ease;
}
.footer-nav .menu > .menu-item-has-children:hover > a::before,
.footer-nav .menu > .menu-item-has-children:focus-within > a::before,
.footer-nav .menu > .menu-item-has-children.is-expanded > a::before {
	border-color: var(--gold);
	transform: translateY(-70%) rotate(45deg);
}

.footer-nav .sub-menu {
	position: absolute;
	top: auto;
	bottom: calc(100% - 8px);
	left: 50%;
	z-index: 210;
	min-width: 220px;
	max-width: none;
	padding: 8px;
	margin: 0;
	display: block;
	background: linear-gradient(180deg, rgba(15, 29, 51, .98), rgba(5, 13, 26, .99));
	border: 1px solid rgba(177, 193, 216, .28);
	border-bottom-color: rgba(226, 180, 87, .72);
	border-top-color: rgba(177, 193, 216, .28);
	border-radius: 4px;
	box-shadow: 0 -18px 44px rgba(0, 0, 0, .48);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, -10px);
	transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.footer-nav .sub-menu::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -14px;
	height: 14px;
}
.footer-nav .menu > li:hover > .sub-menu,
.footer-nav .menu > li:focus-within > .sub-menu,
.footer-nav .menu > li.is-expanded > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}
.footer-nav .sub-menu li + li { border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-nav .sub-menu a {
	padding: 11px 14px;
	font-size: 14.5px;
	font-weight: 450;
	line-height: 1.4;
	white-space: nowrap;
	color: #dce4ef;
	border-radius: 3px;
	transition: padding-left .16s ease, color .16s ease, background .16s ease;
}
.footer-nav .sub-menu a::after { display: none; }
.footer-nav .sub-menu a:hover,
.footer-nav .sub-menu a:focus-visible {
	padding-left: 18px;
	color: #fff;
	background: rgba(226, 180, 87, .1);
}

/* มือถือ: กางเป็นรายการเหมือนเมนูด้านบนในลิ้นชัก */
@media (max-width: 760px) {
	.footer-nav .menu { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
	.footer-nav .menu > li { width: 100%; }
	.footer-nav .menu a { padding: 11px 0; }
	.footer-nav .menu a::after { left: 0; margin-left: 0; }
	.footer-nav .menu > .menu-item-has-children > a { padding-right: 28px; }
	.footer-nav .menu > .menu-item-has-children > a::before { right: 6px; }
	.footer-nav .sub-menu {
		position: static;
		display: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		min-width: 0;
		padding: 2px 0 6px 14px;
		margin: 0 0 4px;
		background: none;
		border: 0;
		border-left: 1px solid rgba(226, 180, 87, .34);
		border-radius: 0;
		box-shadow: none;
	}
	.footer-nav .menu > li.is-expanded > .sub-menu { display: block; }
	.footer-nav .sub-menu li + li { border-top: 0; }
	.footer-nav .sub-menu a { white-space: normal; padding: 8px 10px; }
}


/* HERO HOTSPOTS v1 */
/* ปุ่มใสทับปุ่มที่วาดอยู่ในรูปแบนเนอร์ (ไม่มีกรอบ ไม่มีสี) */
.hero-hot {
	position: absolute;
	z-index: 3;
	display: block;
	border-radius: 6px;
	background: transparent;
	/* จอคอม: รูปแสดงเต็มกรอบพอดี ตำแหน่งตรงกับในไฟล์รูป */
	top: 62.5%;
	height: 10.9%;
}
.hero-hot-register { left: 6.9%; width: 15.9%; }
.hero-hot-login { left: 23.9%; width: 14%; }
@media (max-width: 760px) {
	/* มือถือ: รูปถูกซูมและครอป จึงต้องเลื่อนตำแหน่งตาม */
	/* มือถือ: รูปถูกซูมและครอปต่างกันในแต่ละขนาดจอ จึงให้ทั้งแบนเนอร์กดได้แทนการทาบทีละปุ่ม */
	.hero-hot-register { inset: 0; width: auto; height: auto; border-radius: 0; }
	.hero-hot-login { display: none; }
}


/* MOBILE DRAWER COMPACT v1 */
@media (max-width: 1080px) {
	.main-nav { width: min(241px, 82vw); }
	.drawer-head { padding: 10px 14px; }
	.drawer-head .brand-logo { max-height: 30px; }
	.drawer-close { width: 32px; height: 32px; }
	.drawer-close .ic { width: 17px; height: 17px; }
	.drawer-cta {
		display: grid;
		gap: 8px;
		margin: 0;
		padding: 12px 14px;
		border-bottom: 1px solid var(--line);
	}
	.drawer-cta .btn { height: 38px; font-size: 14px; }
	.main-nav .menu { padding: 6px 0 10px; }
	.main-nav .menu a { padding: 10px 14px; font-size: 15px; }
	.main-nav .sub-menu { padding: 0 10px 6px 16px; margin: 0 10px 2px 16px; }
	.main-nav .sub-menu a { margin-top: 2px; padding: 7px 10px; font-size: 14px; }
	.main-nav .menu > .menu-item-has-children > a::before { right: 16px; }
}


/* RICH TEXT v1 */
.hl-gold, .hl-gold strong, .hl-gold b, .hl-gold em, .hl-gold i,
strong .hl-gold, b .hl-gold { color: var(--gold-2); }
.hl-white, .hl-white strong, .hl-white b, strong .hl-white, b .hl-white { color: #fff; }
.hl-red, .hl-red strong, .hl-red b, strong .hl-red, b .hl-red { color: #ff6b6b; }
.hl-green, .hl-green strong, .hl-green b, strong .hl-green, b .hl-green { color: #58d68d; }
.dir-desc strong, .dir-desc b { color: #fff; font-weight: 700; }
.dir-desc .hl-gold, .dir-desc .hl-gold strong, .dir-desc .hl-gold b { color: var(--gold-2); }
.dir-desc .hl-white, .dir-desc .hl-white strong, .dir-desc .hl-white b { color: #fff; }
.dir-desc .hl-red, .dir-desc .hl-red strong, .dir-desc .hl-red b { color: #ff6b6b; }
.dir-desc .hl-green, .dir-desc .hl-green strong, .dir-desc .hl-green b { color: #58d68d; }
.dir-desc [style*="color"] strong, .dir-desc [style*="color"] b { color: inherit; }


/* RICH TEXT v2 */
.brand-txt small strong, .brand-txt small b,
.game-txt small strong, .game-txt small b { color: #fff; font-weight: 700; }
.brand-txt small .hl-gold, .brand-txt small .hl-gold strong, .brand-txt small .hl-gold b,
.game-txt small .hl-gold, .game-txt small .hl-gold strong, .game-txt small .hl-gold b { color: var(--gold-2); }
.brand-txt small .hl-white, .brand-txt small .hl-white strong,
.game-txt small .hl-white, .game-txt small .hl-white strong { color: #fff; }
.brand-txt small .hl-red, .brand-txt small .hl-red strong,
.game-txt small .hl-red, .game-txt small .hl-red strong { color: #ff6b6b; }
.brand-txt small .hl-green, .brand-txt small .hl-green strong,
.game-txt small .hl-green, .game-txt small .hl-green strong { color: #58d68d; }
.brand-txt small [style*="color"] strong, .brand-txt small [style*="color"] b,
.game-txt small [style*="color"] strong, .game-txt small [style*="color"] b { color: inherit; }


/* TEXT ON PHOTO v1 */
.casino::before {
	background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 32%, rgba(5, 12, 24, .88) 55%, rgba(5, 12, 24, .72) 75%, rgba(5, 12, 24, .8) 100%);
}
.casino .eyebrow, .casino .sec-title, .casino .sec-sub { text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.casino .sec-sub { color: #e4eaf4; }
@media (max-width: 1000px) {
	.casino::before { background: linear-gradient(180deg, rgba(5, 12, 24, .95), rgba(5, 12, 24, .88) 60%, rgba(5, 12, 24, .8)); }
}


/* STICKY HEADER v1 */
body { overflow-x: clip; }
body .site-header { position: sticky; top: 0; z-index: 250; }
body.nav-open .site-header { z-index: 300; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
