/**
 * PHWIN static homepage — matches desktop index.html (#1f1f1f skin, hero/hotgames, marquee).
 * Loaded only on front page; keep front-page.css / front-page-index.css off home to avoid conflicts.
 */

/* Body background / font unified in assets/css/phwin-site-shell.css (body.phwin-site-shell). */

#main-content.fp-phwin-home {
	background-color: transparent;
}

.prose-phwin h2 {
	color: #ffeb00;
}

.prose-phwin h3 {
	color: #ffeb00;
}

.phwin-container {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.tbl {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.tbl th,
.tbl td {
	border: 1px solid #444;
	padding: 0.65rem 0.75rem;
	text-align: left;
}

.tbl th {
	background: #2a2a2a;
	color: #ffeb00;
}

.hero-phwin {
	position: relative;
	background-color: #222;
	background-image: url("../img/7742632.webp");
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.hero-phwin::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(31, 31, 31, 0.94);
	pointer-events: none;
}

.hero-phwin > * {
	position: relative;
	z-index: 1;
}

.hotgames-bg {
	position: relative;
	background-image: url("../img/26410626.webp");
	background-size: cover;
	background-position: center;
}

.hotgames-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(31, 31, 31, 0.95);
	pointer-events: none;
}

.hotgames-bg > * {
	position: relative;
	z-index: 1;
}

.marquee-strip {
	background: linear-gradient(180deg, #3a3a3a 0%, #222 100%);
	color: #ffeb00;
	border-radius: 9999px;
	padding: 0.6rem 1rem;
	font-size: 14px;
}

.marquee-wrap {
	overflow: hidden;
}

.marquee-inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	white-space: nowrap;
	animation: marquee 28s linear infinite;
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (min-width: 768px) {
	.marquee-inner {
		animation: none !important;
		white-space: normal;
		justify-content: center;
	}
}

.promo-box {
	border: 1px solid #ff4101;
	border-radius: 12px;
	background: #383838;
	padding: 1rem;
	width: 100%;
}

@media (min-width: 768px) {
	.promo-box {
		max-width: 35%;
		flex: 0 0 auto;
		min-width: 260px;
	}
}

.promo-counter {
	background: #212121;
	border: 1px solid #e9e9e9;
	border-radius: 8px;
	padding: 0.35rem 0.5rem;
	color: #edbe37;
	font-size: 1.35rem;
	font-weight: 600;
	font-style: italic;
	letter-spacing: 0.2em;
}

.game-caption {
	background: #fce900;
	border: 2px solid #fff300;
	border-radius: 12px;
	padding: 0.45rem 0.6rem;
	font-size: 15px;
	font-weight: 700;
	color: #161616;
	text-align: center;
	line-height: 1.25;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	min-height: 2.4em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.section-card-dark {
	background: #292929;
	border-radius: 16px;
	padding: 1.5rem;
}

@media (min-width: 768px) {
	.section-card-dark {
		padding: 2rem;
	}
}

.banner-img {
	border-radius: 10px;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.hotgames-img {
	border-radius: 25px;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

.hotgames-badge {
	border-radius: 9999px;
	background: radial-gradient(circle at center, #dbc54a 0%, #fde900 100%);
	padding: 0.5rem 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #000;
	font-weight: 600;
	font-size: 1.125rem;
}
