/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.2.0
*/

:root {
	--tr88-bg: #0b0d12;
	--tr88-bg-2: #121621;
	--tr88-surface: rgba(15, 18, 26, 0.86);
	--tr88-surface-2: rgba(255, 255, 255, 0.06);
	--tr88-border: rgba(255, 255, 255, 0.1);
	--tr88-text: #f7f4ec;
	--tr88-muted: rgba(247, 244, 236, 0.72);
	--tr88-brand: #ff1b1b;
	--tr88-gold: #ff5d5d;
	--tr88-neon: #ff3d3d;
	--tr88-green: #ff6d6d;
	--tr88-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
	--tr88-radius: 24px;
}

body.page-id-20 {
	margin: 0;
	color: var(--tr88-text);
	background:
		radial-gradient(circle at top left, rgba(255, 178, 71, 0.14), transparent 26%),
		radial-gradient(circle at top right, rgba(95, 242, 208, 0.1), transparent 28%),
		linear-gradient(180deg, var(--tr88-bg) 0%, #080a0f 100%);
}

body.page-id-20 .skip-link {
	position: absolute;
	left: -9999px;
}

body.page-id-20 .skip-link:focus {
	left: 16px;
	top: 16px;
	z-index: 9999;
	background: #fff;
	color: #000;
	padding: 10px 14px;
	border-radius: 10px;
}

body.page-id-20 .ezfb,
body.page-id-20 .sip-overlay {
	display: none !important;
}

body.page-id-20 .tr88-postfooter-visual {
	display: flex;
	justify-content: center;
	position: static;
	width: min(340px, calc(100vw - 24px));
	margin: 0 auto;
	padding: 12px 0 18px;
	pointer-events: auto;
}

body.page-id-20 .tr88-postfooter-visual__frame {
	padding: 6px;
	border-radius: 999px;
	background:
		linear-gradient(180deg, rgba(255, 27, 27, 0.14), rgba(255, 255, 255, 0.03)),
		linear-gradient(180deg, rgba(18, 21, 30, 0.98), rgba(10, 12, 17, 0.96));
	border: 1px solid rgba(255, 93, 93, 0.22);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
	pointer-events: auto;
}

body.page-id-20 .tr88-postfooter-visual__frame .tr88-plugin-banner,
body.page-id-20 .tr88-postfooter-visual__frame .tr88-plugin-banner a {
	display: block;
	border-radius: 999px;
	overflow: hidden;
}

body.page-id-20 .tr88-postfooter-visual__frame .tr88-plugin-banner__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 999px;
}

body.page-id-20 .ezfb--bottom {
	display: none !important;
}

body #top-bar {
	display: none !important;
}

body #masthead {
	background: linear-gradient(180deg, #111317 0%, #08090d 100%) !important;
	border-bottom: 1px solid rgba(255, 178, 71, 0.18);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

body .header-wrapper {
	background: linear-gradient(180deg, #111317 0%, #08090d 100%) !important;
}

body .header-main {
	background: transparent !important;
}

body .header-main .logo img {
	max-height: 64px;
	width: auto;
	filter: drop-shadow(0 0 12px rgba(255, 27, 27, 0.36));
}

body .header-main .header-nav-main > li > a {
	color: #f8f1e6 !important;
	font-weight: 800;
	letter-spacing: 0.02em;
}

body .header-main .header-nav-main > li.current-menu-item > a,
body .header-main .header-nav-main > li > a:hover {
	color: #ff5d5d !important;
}

body #footer {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 16% 0, rgba(255, 213, 74, 0.16), transparent 28%),
		radial-gradient(circle at 88% 12%, rgba(255, 27, 27, 0.24), transparent 30%),
		linear-gradient(135deg, #5e0007 0%, #b70010 42%, #10070a 100%);
	color: #f8f1e6;
	border-top: 4px solid #ff1b1b;
	padding-top: 24px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 -22px 60px rgba(160, 0, 12, 0.22);
}

body #footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 62%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
	pointer-events: none;
}

body #footer > * {
	position: relative;
	z-index: 1;
}

body #footer .row {
	padding-top: 16px !important;
}

body #footer a,
body #footer p,
body #footer li,
body #footer span {
	color: rgba(255, 247, 235, 0.9) !important;
}

body #footer a {
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

body #footer a:hover {
	color: #ffd54a !important;
}

body.page-id-20 #wrapper {
	padding-bottom: 0;
}

body #footer h1,
body #footer h2,
body #footer h3 {
	color: #fff !important;
	text-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

body .entry-content h1,
body .entry-content h2,
body .entry-content h3,
body .entry-content h4,
body .entry-content h5,
body .entry-content h6 {
	color: #d63a3a;
}

body .entry-content a {
	color: #c81f1f;
}

.tr88-home {
	max-width: 1480px;
	margin: 0 auto;
	padding: 20px 16px 40px;
}

.tr88-home::before {
	content: '';
	display: block;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 178, 71, 0.45), transparent);
	margin-bottom: 18px;
}

.tr88-vip-strip {
	position: relative;
	min-height: 238px;
	margin-bottom: 18px;
	overflow: hidden;
	border-radius: 0 0 28px 28px;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.1) 68%),
		url('assets/images/tr88-vip-strip.png') center 38% / cover no-repeat;
	border-top: 8px solid #d80016;
	border-bottom: 1px solid rgba(216, 0, 22, 0.18);
	box-shadow: 0 22px 60px rgba(160, 0, 10, 0.16);
}

.tr88-vip-strip__copy {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 10px;
	width: min(46%, 590px);
	padding: 38px 32px 40px clamp(28px, 7vw, 92px);
	text-transform: uppercase;
}

.tr88-vip-strip__copy span,
.tr88-vip-strip__copy strong,
.tr88-vip-strip__copy em {
	display: block;
	font-style: normal;
	font-weight: 900;
	line-height: 0.94;
	letter-spacing: -0.045em;
	text-shadow: 0 10px 22px rgba(216, 0, 22, 0.14);
}

.tr88-vip-strip__copy span {
	width: max-content;
	padding: 4px 12px 6px;
	border-radius: 14px;
	background: linear-gradient(90deg, #d80016, #ff451f);
	color: #fff;
	font-size: clamp(1.95rem, 4.5vw, 3.9rem);
	box-shadow: 0 14px 28px rgba(216, 0, 22, 0.18);
}

.tr88-vip-strip__copy strong {
	color: #141414;
	font-size: clamp(1.65rem, 3.55vw, 3.05rem);
	letter-spacing: -0.055em;
}

.tr88-vip-strip__copy em {
	max-width: 9ch;
	color: #d80016;
	font-size: clamp(2.35rem, 5vw, 4.25rem);
	line-height: 0.92;
}

.tr88-vip-strip__dots {
	position: absolute;
	left: 50%;
	bottom: 12px;
	z-index: 1;
	display: inline-flex;
	gap: 8px;
	transform: translateX(-50%);
}

.tr88-vip-strip__dots span {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: rgba(216, 0, 22, 0.26);
}

.tr88-vip-strip__dots span:first-child {
	background: #d80016;
}

.tr88-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
	gap: 22px;
	padding: 24px;
	border-radius: 30px;
	background:
		radial-gradient(circle at 12% 16%, rgba(255, 214, 79, 0.28), transparent 24%),
		radial-gradient(circle at 82% 12%, rgba(255, 27, 27, 0.46), transparent 34%),
		radial-gradient(circle at 100% 100%, rgba(255, 112, 18, 0.34), transparent 36%),
		linear-gradient(135deg, #260207 0%, #7b0009 42%, #171017 100%);
	box-shadow: 0 28px 86px rgba(167, 0, 12, 0.38), 0 0 0 1px rgba(255, 213, 74, 0.08);
	border: 1px solid rgba(255, 84, 65, 0.36);
	position: relative;
	overflow: hidden;
}

.tr88-hero::before {
	content: '';
	position: absolute;
	inset: -45% 24% auto -20%;
	height: 130%;
	background: linear-gradient(115deg, transparent 20%, rgba(255, 210, 64, 0.12) 48%, rgba(255, 27, 27, 0.2) 58%, transparent 74%);
	transform: rotate(-8deg);
	pointer-events: none;
}

.tr88-hero::after {
	content: '';
	position: absolute;
	inset: auto -18% -32% auto;
	width: 430px;
	height: 430px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 86, 21, 0.42), rgba(255, 27, 27, 0.18) 38%, transparent 68%);
	filter: blur(12px);
	pointer-events: none;
}

.tr88-hero__copy {
	position: relative;
	z-index: 1;
}

.tr88-hero__brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
		linear-gradient(90deg, rgba(255, 27, 27, 0.2), rgba(255, 183, 31, 0.08));
	border: 1px solid rgba(255, 213, 74, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 38px rgba(140, 0, 12, 0.22);
}

.tr88-hero__logo {
	width: 76px;
	height: auto;
	flex: 0 0 auto;
	filter: drop-shadow(0 0 16px rgba(255, 27, 27, 0.34));
}

.tr88-hero__brandtext {
	display: grid;
	gap: 4px;
}

.tr88-hero__brandtext span {
	font-size: 0.86rem;
	color: var(--tr88-gold);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tr88-hero__brandtext strong {
	font-size: 1rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.3;
}

.tr88-hero__title {
	margin: 18px 0 14px;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.06;
	font-weight: 900;
	color: #fff;
	max-width: 14ch;
	text-wrap: balance;
	text-shadow: 0 10px 34px rgba(255, 27, 27, 0.45);
}

.tr88-hero__lead {
	margin: 0;
	max-width: 66ch;
	font-size: 1.04rem;
	line-height: 1.8;
	color: var(--tr88-muted);
}

.tr88-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.tr88-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 11px 18px;
	border-radius: 999px;
	font-weight: 900;
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.tr88-btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.04);
}

.tr88-btn--static {
	cursor: default;
	pointer-events: none;
}

.tr88-btn--primary {
	background: linear-gradient(90deg, var(--tr88-brand) 0%, #ff7a18 100%);
	color: #fff;
	box-shadow: 0 16px 28px rgba(255, 27, 27, 0.24);
}

.tr88-btn--secondary {
	background: linear-gradient(90deg, #ff4d4d 0%, #b80000 100%);
	color: #fff;
	box-shadow: 0 16px 28px rgba(255, 61, 61, 0.18);
}

.tr88-btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.tr88-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}

.tr88-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 18px 14px 16px;
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
		radial-gradient(circle at 50% 0, rgba(255, 53, 53, 0.3), transparent 58%);
	border: 1px solid rgba(255, 110, 82, 0.22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(88, 0, 8, 0.16);
	text-align: center;
}

.tr88-stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	min-width: 26px;
	max-width: 26px;
	height: 26px;
	margin: 0 auto 10px;
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(255, 213, 74, 0.28), rgba(255, 27, 27, 0.18));
	border: 1px solid rgba(255, 213, 74, 0.24);
	color: #ffd54a;
}

.tr88-stat__icon svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
	display: block;
}

.tr88-stat strong {
	display: block;
	width: 100%;
	font-size: 1.08rem;
	font-weight: 900;
	color: #fff;
	line-height: 1.1;
}

.tr88-stat > span:not(.tr88-stat__icon) {
	display: block;
	width: 100%;
	margin-top: 0;
	font-size: 0.82rem;
	color: var(--tr88-muted);
}

.tr88-hero__media {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tr88-spotlight {
	position: relative;
	width: 100%;
	display: grid;
	gap: 12px;
	justify-items: center;
}

.tr88-spotlight__halo {
	position: absolute;
	inset: 12% 10% auto;
	height: 58%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 213, 74, 0.5), rgba(255, 27, 27, 0.22) 38%, transparent 70%);
	filter: blur(18px);
}

.tr88-spotlight__frame {
	position: relative;
	width: min(100%, 620px);
	padding: 12px;
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
		linear-gradient(135deg, rgba(255, 27, 27, 0.18), rgba(255, 213, 74, 0.1));
	border: 1px solid rgba(255, 213, 74, 0.22);
	box-shadow: 0 24px 64px rgba(112, 0, 8, 0.34);
	backdrop-filter: blur(16px);
}

.tr88-plugin-banner,
.tr88-plugin-banner a {
	display: block;
}

.tr88-plugin-banner__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 18px;
}

.tr88-spotlight__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.tr88-spotlight__img--hero {
	border-radius: 16px;
	box-shadow: none;
}

.tr88-spotlight__caption {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.72);
	text-align: center;
}

.tr88-lobby {
	margin-top: 18px;
	padding: 18px;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 245, 0.96)),
		radial-gradient(circle at top left, rgba(255, 27, 27, 0.18), transparent 34%);
	border: 1px solid rgba(255, 27, 27, 0.18);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
	color: #161616;
}

.tr88-lobby__feature {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	gap: 18px;
	align-items: stretch;
	margin-bottom: 16px;
}

.tr88-lobby__banner {
	min-height: 220px;
	overflow: hidden;
	border-radius: 18px;
	background: linear-gradient(135deg, #e60012, #ffcf4a);
	border: 1px solid rgba(255, 27, 27, 0.24);
}

.tr88-lobby__banner img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
}

.tr88-lobby__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 22px;
	border-radius: 18px;
	background:
		linear-gradient(135deg, #d80016 0%, #ff3b2f 58%, #ffca42 100%);
	color: #fff;
	box-shadow: 0 16px 36px rgba(216, 0, 22, 0.28);
}

.tr88-section-kicker {
	display: inline-flex;
	align-self: flex-start;
	margin-bottom: 10px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	color: #d80016;
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.tr88-lobby__panel h2 {
	margin: 0;
	font-size: clamp(1.45rem, 2.2vw, 2.2rem);
	line-height: 1.12;
	font-weight: 900;
	color: inherit;
}

.tr88-lobby__panel p {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.7;
	font-weight: 700;
}

.tr88-game-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.tr88-game-card {
	position: relative;
	min-height: 168px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 14px;
	border-radius: 16px;
	background-color: #d80016;
	background-image: linear-gradient(90deg, rgba(31, 0, 4, 0.82), rgba(40, 0, 8, 0.3) 55%, rgba(255, 27, 27, 0.1));
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
	border: 1px solid rgba(216, 0, 22, 0.2);
	box-shadow: 0 12px 24px rgba(216, 0, 22, 0.16);
}

.tr88-game-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		linear-gradient(90deg, rgba(22, 0, 4, 0.78) 0%, rgba(22, 0, 4, 0.48) 42%, rgba(22, 0, 4, 0.1) 100%),
		radial-gradient(circle at 84% 18%, rgba(255, 213, 74, 0.24), transparent 34%);
	pointer-events: none;
}

.tr88-game-card::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 54%;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.56));
	pointer-events: none;
}

.tr88-game-card > * {
	position: relative;
	z-index: 1;
}

.tr88-game-card__tag {
	align-self: flex-start;
	margin-bottom: 8px;
	padding: 5px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #d80016;
	font-size: 0.72rem;
	font-weight: 900;
	text-transform: uppercase;
}

.tr88-game-card strong {
	display: block;
	font-size: 1.05rem;
	line-height: 1.15;
	font-weight: 900;
	color: #fff;
}

.tr88-game-card small {
	display: block;
	margin-top: 4px;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.86);
	font-weight: 700;
}

.tr88-game-card--slot {
	background-image:
		linear-gradient(90deg, rgba(38, 0, 5, 0.82), rgba(38, 0, 5, 0.34) 58%, rgba(255, 184, 0, 0.06)),
		url('assets/images/tr88-card-slot.png');
}

.tr88-game-card--casino {
	background-image:
		linear-gradient(90deg, rgba(38, 0, 5, 0.82), rgba(38, 0, 5, 0.34) 58%, rgba(255, 93, 93, 0.06)),
		url('assets/images/tr88-card-casino.png');
}

.tr88-game-card--fish {
	background-image:
		linear-gradient(90deg, rgba(8, 14, 32, 0.82), rgba(8, 14, 32, 0.32) 58%, rgba(0, 145, 255, 0.06)),
		url('assets/images/tr88-card-fish.png');
}

.tr88-game-card--sport {
	background-image:
		linear-gradient(90deg, rgba(16, 20, 10, 0.82), rgba(16, 20, 10, 0.32) 58%, rgba(24, 160, 88, 0.06)),
		url('assets/images/tr88-card-sport.png');
}

.tr88-game-card--poker {
	background-image:
		linear-gradient(90deg, rgba(18, 0, 5, 0.84), rgba(18, 0, 5, 0.36) 58%, rgba(255, 27, 27, 0.08)),
		url('assets/images/tr88-card-poker.png');
}

.tr88-game-card--lottery {
	background-image:
		linear-gradient(90deg, rgba(38, 0, 5, 0.82), rgba(38, 0, 5, 0.34) 58%, rgba(249, 115, 22, 0.08)),
		url('assets/images/tr88-card-lottery.png');
}

.tr88-game-card--cock {
	background-image:
		linear-gradient(90deg, rgba(38, 0, 5, 0.82), rgba(38, 0, 5, 0.34) 58%, rgba(255, 195, 0, 0.08)),
		url('assets/images/tr88-card-cock.png');
}

.tr88-game-card--vip {
	background-image:
		linear-gradient(90deg, rgba(38, 0, 5, 0.82), rgba(38, 0, 5, 0.34) 58%, rgba(255, 213, 74, 0.08)),
		url('assets/images/tr88-card-vip.png');
}

.tr88-promo-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 16px;
}

.tr88-promo-card {
	position: relative;
	overflow: hidden;
	padding: 18px 18px 20px;
	border-radius: 22px;
	background:
		radial-gradient(circle at 88% 12%, rgba(255, 213, 74, 0.24), transparent 28%),
		linear-gradient(135deg, #d80016 0%, #8c000a 56%, #1a0609 100%);
	border: 1px solid rgba(255, 86, 64, 0.36);
	box-shadow: 0 18px 42px rgba(180, 0, 12, 0.24);
}

.tr88-promo-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, transparent 64%);
	transform: translateX(-35%);
	pointer-events: none;
}

.tr88-promo-card > * {
	position: relative;
	z-index: 1;
}

.tr88-promo-card__kicker {
	display: inline-flex;
	margin-bottom: 10px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #d80016;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.tr88-promo-card strong {
	display: block;
	font-size: 0.98rem;
	line-height: 1.55;
	color: #fff;
}

.tr88-promo__cta--static {
	cursor: default;
	pointer-events: none;
}

.tr88-content-grid {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 20px;
	margin-top: 18px;
	align-items: start;
}

.tr88-sidebar {
	display: grid;
	gap: 16px;
	position: sticky;
	top: 18px;
}

.tr88-sidebar__panel {
	position: relative;
	overflow: hidden;
	padding: 18px;
	border-radius: 22px;
	background:
		radial-gradient(circle at 92% 0, rgba(255, 213, 74, 0.16), transparent 34%),
		linear-gradient(160deg, rgba(216, 0, 22, 0.98), rgba(80, 0, 8, 0.94) 52%, rgba(10, 12, 17, 0.96));
	border: 1px solid rgba(255, 86, 64, 0.32);
	box-shadow: 0 18px 42px rgba(160, 0, 10, 0.24);
}

.tr88-sidebar__panel--logo {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 12px;
	background:
		radial-gradient(circle at 50% 0, rgba(255, 213, 74, 0.2), transparent 46%),
		linear-gradient(180deg, #d80016 0%, #610008 100%);
}

.tr88-sidebar__panel--logo img {
	width: min(100%, 180px);
	height: auto;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.tr88-sidebar__panel--logo p {
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	line-height: 1.65;
	font-size: 0.95rem;
}

.tr88-sidebar__panel h2 {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 900;
	color: #fff;
}

.tr88-sidebar__panel ul {
	margin: 0;
	padding-left: 1.1rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.75;
}

.tr88-sidebar__panel li::marker {
	color: #ffd54a;
}

.tr88-sidebar__panel li + li {
	margin-top: 8px;
}

.tr88-sidebar__panel--banner img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.tr88-article {
	min-width: 0;
}

.tr88-article__shell {
	display: flex;
	flex-direction: column;
	padding: 22px 24px 30px;
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(248, 244, 236, 0.98), rgba(238, 232, 220, 0.96));
	color: #161616;
	box-shadow: var(--tr88-shadow);
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.tr88-article__head {
	padding-bottom: 16px;
	margin-bottom: 18px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tr88-article__eyebrow {
	display: inline-flex;
	padding: 6px 10px;
	margin-bottom: 10px;
	border-radius: 999px;
	background: rgba(255, 93, 93, 0.16);
	color: #a31d1d;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.tr88-article__title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 2vw, 2.1rem);
	line-height: 1.18;
	font-weight: 900;
	color: #d63a3a;
}

.tr88-article__head p {
	margin: 0;
	color: #56493f;
	line-height: 1.7;
}

.tr88-article__scroll {
	min-height: 0;
	max-height: clamp(560px, 74vh, 980px);
	overflow: auto;
	padding-right: 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(177, 77, 12, 0.9) rgba(0, 0, 0, 0.08);
}

.tr88-article__scroll::-webkit-scrollbar {
	width: 10px;
}

.tr88-article__scroll::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.08);
	border-radius: 999px;
}

.tr88-article__scroll::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(177, 77, 12, 0.95), rgba(255, 178, 71, 0.95));
	border-radius: 999px;
}

.tr88-home-content {
	font-size: 1.05rem;
	line-height: 1.85;
}

.tr88-home-content h1,
.tr88-home-content h2,
.tr88-home-content h3 {
	color: #d63a3a;
	line-height: 1.22;
	font-weight: 900;
	margin: 28px 0 14px;
}

.tr88-home-content h1 {
	font-size: clamp(1.9rem, 3vw, 2.8rem);
	margin-top: 0;
}

.tr88-home-content h2 {
	font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.tr88-home-content h3 {
	font-size: clamp(1.2rem, 1.6vw, 1.45rem);
}

.tr88-home-content p {
	margin: 0 0 16px;
}

.tr88-home-content a {
	color: #135fd0;
	font-weight: 700;
	text-decoration: none;
}

.tr88-home-content a:hover {
	text-decoration: underline;
}

.tr88-home-content figure,
.tr88-home-content .wp-block-image,
.tr88-home-content .wp-caption {
	margin: 22px auto 18px;
	max-width: 100%;
}

.tr88-home-content img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.tr88-home-content figcaption,
.tr88-home-content .wp-caption-text {
	padding: 8px 10px 0;
	text-align: center;
	font-size: 0.95rem;
	font-style: italic;
	color: #5a524a;
}

.tr88-home-content ul,
.tr88-home-content ol {
	padding-left: 1.3rem;
	margin: 0 0 18px;
}

.tr88-home-content li + li {
	margin-top: 8px;
}

.tr88-home-content blockquote {
	margin: 24px 0;
	padding: 18px 20px;
	border-left: 4px solid #d63a3a;
	background: rgba(255, 255, 255, 0.72);
	border-radius: 12px;
}

@media (max-width: 1200px) {
	.tr88-hero {
		grid-template-columns: 1fr;
	}

	.tr88-hero__title {
		max-width: none;
	}

	.tr88-content-grid {
		grid-template-columns: 1fr;
	}

	.tr88-sidebar {
		position: static;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tr88-lobby__feature {
		grid-template-columns: 1fr;
	}

	.tr88-game-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.tr88-home {
		padding: 14px 12px 30px;
	}

	.tr88-vip-strip {
		min-height: 196px;
		margin: -2px -12px 14px;
		border-radius: 0 0 22px 22px;
		background:
			linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.12) 100%),
			url('assets/images/tr88-vip-strip.png') 66% center / cover no-repeat;
	}

	.tr88-vip-strip__copy {
		width: 58%;
		gap: 6px;
		padding: 32px 14px 34px 20px;
	}

	.tr88-vip-strip__copy span {
		padding: 3px 8px 5px;
		border-radius: 10px;
		font-size: clamp(1.45rem, 7.6vw, 2.05rem);
	}

	.tr88-vip-strip__copy strong {
		font-size: clamp(1.22rem, 6.2vw, 1.7rem);
	}

	.tr88-vip-strip__copy em {
		max-width: 8ch;
		font-size: clamp(1.6rem, 8vw, 2.18rem);
	}

	.tr88-hero {
		padding: 18px 16px;
		border-radius: 22px;
	}

	.tr88-hero__brand {
		width: 100%;
	}

	.tr88-hero__logo {
		width: 62px;
	}

	.tr88-hero__title {
		font-size: clamp(1.8rem, 8vw, 2.45rem);
	}

	.tr88-hero__lead {
		font-size: 0.98rem;
		line-height: 1.72;
	}

	.tr88-hero__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tr88-stat__icon {
		width: 24px;
		min-width: 24px;
		max-width: 24px;
		height: 24px;
		border-radius: 7px;
	}

	.tr88-stat__icon svg {
		width: 12px;
		height: 12px;
	}

	.tr88-promo-row,
	.tr88-sidebar {
		grid-template-columns: 1fr;
	}

	.tr88-lobby {
		padding: 14px;
		border-radius: 18px;
	}

	.tr88-lobby__banner,
	.tr88-lobby__banner img {
		min-height: 150px;
	}

	.tr88-lobby__panel {
		padding: 18px;
		border-radius: 14px;
	}

	.tr88-game-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tr88-game-card {
		min-height: 132px;
		border-radius: 14px;
	}

	.tr88-article__shell {
		padding: 18px 14px 22px;
		border-radius: 20px;
	}

	.tr88-article__scroll {
		max-height: min(62vh, 640px);
	}

	.tr88-home-content {
		font-size: 1rem;
		line-height: 1.75;
	}

	body.page-id-20 .tr88-postfooter-visual {
		width: min(270px, calc(100vw - 22px));
		padding: 10px 0 16px;
	}

	body.page-id-20 .tr88-postfooter-visual__frame {
		padding: 5px;
	}
}
