﻿/*
Theme Name: Punyub PWA Contact 22
Theme URI: https://punyub.com/
Author: Punyub
Author URI: https://punyub.com/
Description: ธีม WordPress สำหรับเว็บปั่นยับ โทนสล็อตพรีเมียม พร้อม Header, Hero, Footer, SEO และ Customizer
Version: 1.8.7
License: GNU General Public License v2 or later
Text Domain: punyub
*/

:root {
	--bg: #0a0705;
	--gold: #f5c518;
	--gold-light: #ffe27a;
	--gold-dark: #b8860b;
	--text: #ffffff;
	--border: rgba(245, 197, 24, 0.25);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: #1a0f08;
	color: var(--text);
	font-family: "Kanit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
}

button,
input,
select,
textarea {
	font-family: inherit;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 15% 10%, rgba(245, 197, 24, 0.18), transparent 28%),
		radial-gradient(circle at 85% 18%, rgba(255, 29, 64, 0.16), transparent 30%),
		linear-gradient(180deg, #130905 0%, #050302 100%);
	pointer-events: none;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.header {
	background: linear-gradient(180deg, #120b06 0%, #0a0705 100%);
	border-bottom: 2px solid var(--gold);
	box-shadow: 0 4px 20px rgba(245, 197, 24, 0.2);
	padding: 0 32px;
	position: relative;
	z-index: 10;
}

.header__inner {
	max-width: 1400px;
	margin: 0 auto;
	min-height: var(--punyub-header-height, 132px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.logo img {
	display: block;
	width: auto;
	max-width: var(--punyub-logo-width, 420px);
	max-height: var(--punyub-logo-height, 110px);
	object-fit: contain;
	object-position: center;
}

.logo__text {
	color: var(--gold);
	font-size: 24px;
	font-weight: 800;
	white-space: nowrap;
}

.nav,
.nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 0;
	padding: 0;
}

.nav a {
	position: relative;
	color: var(--text);
	text-decoration: none;
	font-size: 17px;
	font-weight: 600;
	padding: 6px 2px;
	transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active,
.nav li.current-menu-item > a {
	color: var(--gold);
}

.nav a.active::after,
.nav li.current-menu-item > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 3px;
	background: var(--gold);
	border-radius: 3px;
	box-shadow: 0 0 8px var(--gold);
}

.actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.hamburger {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(245, 197, 24, 0.55);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.56);
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex-direction: column;
	cursor: pointer;
}

.hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 999px;
	background: var(--gold-light);
	box-shadow: 0 0 8px rgba(245, 197, 24, 0.6);
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.btn {
	font-size: 16px;
	font-weight: 700;
	padding: 11px 26px;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
	white-space: nowrap;
	text-decoration: none;
	display: inline-block;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--login {
	background: transparent;
	color: var(--text);
	border: 2px solid var(--gold);
}

.btn--login:hover {
	background: rgba(245, 197, 24, 0.1);
	box-shadow: 0 0 14px rgba(245, 197, 24, 0.4);
}

.btn--register {
	background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
	color: #3a2400;
	border: none;
	box-shadow: 0 4px 14px rgba(245, 197, 24, 0.5);
}

.content {
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #0a0705;
	padding: 0;
}

.hero {
	position: relative;
	width: 100%;
	margin: 0;
	line-height: 0;
	overflow: hidden;
}

.hero--empty {
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	background: radial-gradient(circle at 50% 20%, rgba(245, 197, 24, 0.15), transparent 38%), #0a0705;
}

.hero--empty h1 {
	color: var(--gold);
	font-size: clamp(36px, 6vw, 76px);
	text-align: center;
}

.hero__img {
	display: block;
	width: 100%;
	height: auto;
}

.hero__title {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: clamp(14px, 2.4vw, 28px) 0 clamp(16px, 2.8vw, 34px);
	color: var(--gold);
	font-size: clamp(26px, 4vw, 58px);
	font-weight: 900;
	line-height: 1.16;
	text-align: center;
	text-wrap: balance;
	background: linear-gradient(180deg, rgba(7, 4, 2, 0.96), rgba(10, 7, 5, 0.98));
	border-top: 1px solid rgba(245, 197, 24, 0.28);
	border-bottom: 1px solid rgba(245, 197, 24, 0.2);
	text-shadow:
		0 2px 0 rgba(0, 0, 0, 0.75),
		0 0 14px rgba(0, 0, 0, 0.82),
		0 0 24px rgba(245, 197, 24, 0.38);
}

.hero__cta {
	position: absolute;
	left: 9%;
	bottom: 34%;
	display: flex;
	align-items: center;
	gap: 0;
	width: 42%;
}

.hero__cta a {
	display: block;
	flex: 0 0 50%;
	transition: transform 0.15s ease, filter 0.2s ease;
}

.hero__cta a + a {
	margin-left: -4%;
}

.hero__cta a:hover {
	transform: translateY(-3px);
	filter: brightness(1.08) drop-shadow(0 6px 14px rgba(245, 197, 24, 0.5));
}

.hero__cta img {
	display: block;
	width: 100%;
	height: auto;
}

.hero__button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	border-radius: 999px;
	font-size: clamp(12px, 1.1vw, 20px);
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.hero__button--register {
	background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
	color: #3a2400;
	box-shadow: 0 0 18px rgba(245, 197, 24, 0.6);
}

.hero__button--contact {
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	border: 2px solid var(--gold);
}

.footer {
	position: relative;
	width: 100%;
	min-height: 0;
	line-height: 0;
	background: #0a0705;
	border-top: 1px solid rgba(245, 197, 24, 0.2);
	margin-top: 0;
	padding-top: 0;
}

.footer > img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.footer__links {
	position: absolute;
	left: 30%;
	bottom: 3%;
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 1;
}

.footer--no-image .footer__links {
	position: static;
	justify-content: center;
	padding: 24px 16px;
	flex-wrap: wrap;
}

.footer__links a {
	color: var(--text);
	text-decoration: none;
	font-size: clamp(8px, 0.9vw, 13px);
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.footer__links a:hover {
	color: var(--gold);
	text-decoration: underline;
}

.footer__links .sep {
	color: rgba(255, 255, 255, 0.4);
	font-size: clamp(8px, 0.9vw, 13px);
}

.site-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 64px 24px;
	line-height: 1.8;
}

.site-content h1 {
	color: var(--gold);
	margin-bottom: 24px;
	font-size: clamp(32px, 5vw, 56px);
}

.site-content article {
	background: rgba(10, 7, 5, 0.78);
	border: 1px solid rgba(245, 197, 24, 0.2);
	border-radius: 12px;
	padding: 28px;
	margin-bottom: 24px;
}

.site-content a {
	color: var(--gold);
}

.home-seo-section {
	padding-top: 24px;
	padding-bottom: 24px;
}

.home-effects {
	width: min(1180px, calc(100% - 32px));
	margin: -28px auto 0;
	position: relative;
	z-index: 2;
}

.punyub-slider {
	position: relative;
	aspect-ratio: 16 / 5;
	overflow: hidden;
	border: 1px solid rgba(245, 197, 24, 0.38);
	border-radius: 18px;
	background: rgba(0, 0, 0, 0.62);
	box-shadow: 0 0 34px rgba(245, 197, 24, 0.18), inset 0 0 28px rgba(255, 20, 40, 0.14);
}

.punyub-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 0.75s ease, transform 1.6s ease;
}

.punyub-slide.is-active {
	opacity: 1;
	transform: scale(1);
}

.punyub-slider--auto .punyub-slide {
	animation: punyub-slide-auto calc(var(--slide-count) * 4s) infinite;
	animation-delay: calc(var(--slide-index) * 4s);
}

@keyframes punyub-slide-auto {
	0%, 28% {
		opacity: 1;
		transform: scale(1);
	}
	35%, 100% {
		opacity: 0;
		transform: scale(1.04);
	}
}

.punyub-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jackpot-arena {
	position: relative;
	margin-top: 22px;
	padding: 30px clamp(14px, 4vw, 42px);
	border: 1px solid rgba(245, 197, 24, 0.42);
	border-radius: 24px;
	background:
		radial-gradient(circle at 20% 20%, rgba(225, 29, 42, 0.2), transparent 38%),
		radial-gradient(circle at 80% 70%, rgba(245, 197, 66, 0.13), transparent 42%),
		linear-gradient(180deg, rgba(16, 7, 8, 0.98), rgba(5, 4, 5, 0.96));
	box-shadow: 0 0 42px rgba(224, 18, 43, 0.22), inset 0 0 70px rgba(139, 6, 22, 0.16);
	overflow: hidden;
	isolation: isolate;
}

.jackpot-fog {
	display: none;
}

.jackpot-stage {
	position: relative;
	z-index: 3;
	text-align: center;
	padding: clamp(24px, 4vw, 44px) clamp(14px, 4vw, 54px);
	border-radius: 22px;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.jackpot-stage > *:not(.jackpot-video) {
	position: relative;
	z-index: 2;
}

.jackpot-video {
	position: absolute;
	inset: -18%;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	mix-blend-mode: screen;
	opacity: .62;
	transform: scale(1.65);
	transform-origin: center;
	filter: saturate(1.2) contrast(1.7) brightness(1.45) drop-shadow(0 0 12px rgba(255,236,180,.7));
}

.jackpot-stage::before {
	content: none;
}

.jackpot-title {
	font-size: clamp(28px, 5vw, 58px);
	font-weight: 950;
	line-height: 1;
	background: linear-gradient(180deg, #fff3cf, var(--gold), var(--gold-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 0 18px rgba(245,197,66,.42);
}

.jackpot-subtitle {
	margin-top: 8px;
	color: #ff2f45;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 3px;
	text-shadow: 0 0 12px rgba(224,18,43,.72);
}

.jackpot-reel {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(3px, .7vw, 8px);
	margin-top: 24px;
}

.jackpot-live-number {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(8px, 1.2vw, 16px);
	margin-top: 24px;
	color: var(--gold-light);
	font-weight: 950;
	line-height: 1;
	text-shadow: none;
	isolation: isolate;
}

.jackpot-live-number::before,
.jackpot-live-number::after {
	content: none;
}

.jackpot-live-prefix {
	padding: 9px 16px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
	color: #261400;
	font-size: clamp(14px, 2vw, 22px);
	box-shadow: 0 0 20px rgba(245,197,66,.55);
}

.jackpot-live-amount {
	display: inline-block;
	min-width: 6.8em;
	font-size: clamp(36px, 8vw, 92px);
	font-variant-numeric: tabular-nums;
	letter-spacing: 1px;
	color: #ffe88b;
	-webkit-text-stroke: clamp(1px, .18vw, 2px) rgba(255, 248, 204, .9);
	text-shadow:
		0 0 2px #fff,
		0 0 8px rgba(255, 222, 94, .72),
		0 0 16px rgba(74, 217, 255, .46);
	filter:
		drop-shadow(0 0 5px rgba(255, 231, 128, .72))
		drop-shadow(0 0 12px rgba(74, 217, 255, .38));
}

.jackpot-live-number.is-running .jackpot-live-amount {
	animation: jackpot-amount-pulse .22s ease-in-out infinite alternate;
}

@keyframes jackpot-amount-pulse {
	from { transform: translateY(0) scale(1); }
	to { transform: translateY(-1px) scale(1.015); }
}


.jackpot-digit {
	position: relative;
	width: clamp(34px, 7vw, 72px);
	height: clamp(52px, 10vw, 104px);
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(180deg, #1a0e10 0%, #070405 50%, #1a0e10 100%);
	border: 1px solid rgba(245,197,66,.44);
	box-shadow: inset 0 4px 10px rgba(0,0,0,.9), inset 0 -4px 10px rgba(0,0,0,.9), 0 0 18px rgba(224,18,43,.35);
}

.jackpot-digit::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	z-index: 2;
	background: rgba(0,0,0,.72);
}

.jackpot-digit::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255,255,255,.15), transparent 40%), linear-gradient(0deg, rgba(255,255,255,.06), transparent 40%);
	pointer-events: none;
}

.jackpot-digit__reel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	will-change: transform;
}

.jackpot-digit__reel span {
	height: clamp(52px, 10vw, 104px);
	line-height: clamp(52px, 10vw, 104px);
	font-size: clamp(28px, 6vw, 56px);
	font-weight: 950;
	background: linear-gradient(180deg, #fff3cf, var(--gold) 55%, var(--gold-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 0 10px rgba(245,197,66,.35);
}

.jackpot-separator {
	font-size: clamp(26px, 6vw, 54px);
	font-weight: 950;
	color: #e0122b;
	text-shadow: 0 0 14px #ff2f45;
}

.jackpot-currency {
	margin-left: 8px;
	font-size: clamp(16px, 3vw, 28px);
	font-weight: 950;
	color: var(--gold-light);
}

.jackpot-tag {
	display: inline-block;
	margin-top: 22px;
	padding: 10px 24px;
	border-radius: 999px;
	font-weight: 950;
	color: #1a0b00;
	background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
	box-shadow: 0 0 20px rgba(245,197,66,.5), inset 0 0 8px rgba(255,255,255,.4);
}

.provider-strip {
	position: relative;
	margin: 24px auto 0;
	width: min(620px, 100%);
	overflow: hidden;
	padding: 10px 0;
	border-radius: 12px;
	background: linear-gradient(90deg, rgba(20,10,12,.9), rgba(6,5,7,.6), rgba(20,10,12,.9));
	border: 1px solid rgba(245,197,66,.3);
	-webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.provider-track {
	display: flex;
	align-items: center;
	gap: 30px;
	width: max-content;
	animation: provider-strip 22s linear infinite;
}

.provider-track img {
	height: 30px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 4px rgba(245,197,66,.35));
}

@keyframes provider-strip {
	to { transform: translateX(-50%); }
}

.marquee-bar {
	margin-top: 14px;
	overflow: hidden;
	border-block: 1px solid rgba(245, 197, 24, 0.25);
	background: rgba(0, 0, 0, 0.48);
}

.marquee-track {
	display: flex;
	width: max-content;
	animation: punyub-marquee 24s linear infinite;
}

.marquee-track span {
	padding: 12px 36px;
	color: #ffe27a;
	font-weight: 800;
	white-space: nowrap;
}

@keyframes punyub-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.pwa-promo {
	margin-top: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 22px;
	border-radius: 18px;
	border: 1px solid rgba(245, 197, 24, 0.32);
	background: linear-gradient(135deg, rgba(18, 11, 6, 0.94), rgba(75, 9, 5, 0.82));
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.pwa-promo strong {
	color: var(--gold);
	font-size: 22px;
}

.pwa-promo p {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.82);
}

.pwa-promo__button {
	flex: 0 0 auto;
	padding: 12px 20px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
	color: #3a2400;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 0 20px rgba(245, 197, 24, 0.45);
}

.pwa-promo__help {
	display: block;
	flex-basis: 100%;
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.5;
}

.pwa-promo__help[hidden] {
	display: none;
}

.game-masonry {
	margin-top: 28px;
	padding: 26px clamp(12px, 3vw, 28px) 34px;
	border-radius: 24px;
	border: 1px solid rgba(245,197,66,.36);
	background:
		radial-gradient(circle at 20% 10%, rgba(225,29,42,.2), transparent 42%),
		radial-gradient(circle at 85% 90%, rgba(245,197,66,.14), transparent 44%),
		linear-gradient(180deg, rgba(10,7,8,.94), rgba(5,3,3,.96));
	box-shadow: 0 0 44px rgba(224,18,43,.2), inset 0 0 45px rgba(245,197,66,.06);
}

.game-masonry__head {
	text-align: center;
	margin-bottom: 18px;
}

.game-masonry__head p {
	color: #c9a94e;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.game-masonry__head h2 {
	font-size: clamp(32px, 5vw, 62px);
	font-weight: 950;
	line-height: 1;
	background: linear-gradient(180deg, #fff3cf 0%, var(--gold) 46%, var(--gold-dark) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 2px 18px rgba(245,197,66,.36);
}

.game-masonry__head span {
	display: block;
	width: 132px;
	height: 3px;
	margin: 14px auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent, #e11d2a, var(--gold), #e11d2a, transparent);
}

.game-masonry__grid {
	display: flex;
	justify-content: center;
	gap: 16px;
	height: min(760px, 82vh);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.game-masonry__col {
	flex: 1 1 0;
	max-width: 260px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.game-masonry__track {
	display: flex;
	flex-direction: column;
	gap: 16px;
	will-change: transform;
}

.game-masonry__col--1 .game-masonry__track { animation: game-scroll-up 32s linear infinite; }
.game-masonry__col--2 .game-masonry__track { animation: game-scroll-down 38s linear infinite; }
.game-masonry__col--3 .game-masonry__track { animation: game-scroll-up 44s linear infinite; }
.game-masonry__col--4 .game-masonry__track { animation: game-scroll-down 36s linear infinite; }
.game-masonry:hover .game-masonry__track { animation-play-state: paused; }

@keyframes game-scroll-up {
	from { transform: translateY(0); }
	to { transform: translateY(-50%); }
}

@keyframes game-scroll-down {
	from { transform: translateY(-50%); }
	to { transform: translateY(0); }
}

.game-card {
	position: relative;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: #16100f;
	border: 1px solid rgba(245,197,66,.25);
	box-shadow: 0 6px 18px rgba(0,0,0,.62);
	text-decoration: none;
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.game-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
}

.game-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 54%, rgba(122,13,22,.68));
	opacity: .7;
	transition: opacity .35s ease;
}

.game-card:hover {
	z-index: 2;
	transform: scale(1.06);
	border-color: var(--gold);
	box-shadow: 0 0 24px rgba(245,197,66,.58), 0 0 44px rgba(225,29,42,.35);
}

.game-card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--gold), var(--gold-dark));
	box-shadow: 0 0 16px rgba(245,197,66,.7);
	opacity: 0;
	transform: translate(-50%, -50%) scale(.62);
	transition: opacity .35s ease, transform .35s ease;
}

.game-card__play::before {
	content: "";
	position: absolute;
	left: 21px;
	top: 16px;
	border-left: 17px solid #1a0f05;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
}

.game-card:hover .game-card__play {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.game-card strong {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	color: #fff;
	font-size: 15px;
	line-height: 1.2;
	text-shadow: 0 2px 10px #000;
}
.floating-social {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 120;
	display: grid;
	gap: 10px;
}

.floating-social__btn {
	position: relative;
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	border-radius: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-weight: 900;
	text-decoration: none;
	box-shadow: none;
	overflow: visible;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

.floating-social__label {
	position: absolute;
	right: calc(100% + 8px);
	top: 50%;
	transform: translateY(-50%);
	padding: 7px 12px;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 226, 122, 0.98), rgba(245, 197, 24, 0.96));
	color: #2a1600;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 0 18px rgba(245, 197, 24, 0.42);
	pointer-events: none;
}

.floating-social__btn--line,
.floating-social__btn--telegram,
.floating-social__btn--x {
	background: transparent;
	border: 0;
}

.floating-social__btn img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: scale(1.28);
	transform-origin: center;
}

.entry-popup,
.login-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 18px;
}

.entry-popup[hidden],
.login-modal[hidden] {
	display: none;
}

.entry-popup__backdrop,
.login-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(8px);
}

.entry-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(92vw, 520px);
	border-radius: 18px;
	border: 1px solid rgba(245, 197, 24, 0.65);
	background: rgba(10, 5, 3, 0.95);
	box-shadow: 0 0 42px rgba(245, 197, 24, 0.25), 0 22px 80px rgba(0, 0, 0, 0.65);
	overflow: hidden;
}

.entry-popup__dialog img {
	display: block;
	width: 100%;
	height: auto;
}

.entry-popup__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.login-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(94vw, 980px);
	height: min(86vh, 760px);
	display: grid;
	grid-template-rows: auto 1fr auto;
	border-radius: 18px;
	border: 1px solid rgba(245, 197, 24, 0.6);
	background: #080402;
	box-shadow: 0 0 42px rgba(245, 197, 24, 0.24), 0 22px 80px rgba(0, 0, 0, 0.72);
	overflow: hidden;
}

.login-modal__bar {
	min-height: 54px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	background: linear-gradient(90deg, #170904, #3f0704);
	border-bottom: 1px solid rgba(245, 197, 24, 0.32);
}

.login-modal__bar strong {
	color: var(--gold-light);
	font-size: 18px;
}

.login-modal__bar button {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.62);
	color: #fff;
	font-size: 24px;
	cursor: pointer;
}

.login-modal iframe {
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.login-modal__fallback {
	display: block;
	padding: 12px 16px;
	text-align: center;
	color: var(--gold-light);
	text-decoration: none;
	background: rgba(0, 0, 0, 0.72);
	border-top: 1px solid rgba(245, 197, 24, 0.26);
}

.mobile-tab-bar {
	position: fixed;
	left: 10px;
	right: 10px;
	bottom: 10px;
	z-index: 200;
	display: none;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	padding: 8px;
	border: 1px solid rgba(245, 197, 24, 0.42);
	border-radius: 18px;
	background: rgba(8, 4, 2, 0.9);
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(12px);
}

.mobile-tab-bar__item {
	min-height: 46px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
	background: linear-gradient(180deg, rgba(245, 197, 24, 0.15), rgba(0, 0, 0, 0.34));
	border: 1px solid rgba(245, 197, 24, 0.18);
}

.mobile-tab-bar__item--register {
	color: #2a1600;
	background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
}

.mobile-tab-bar__item--line { background: #06c755; }
.mobile-tab-bar__item--x { background: #111; }

.home-seo-article h2,
.latest-posts h2 {
	color: var(--gold);
	margin-bottom: 20px;
	font-size: clamp(28px, 4vw, 46px);
}

.latest-posts {
	margin-top: 32px;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.post-card__thumb {
	display: block;
	margin: -28px -28px 18px;
}

.post-card__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 12px 12px 0 0;
}

@media (max-width: 1024px) {
	.header {
		padding: 0 18px;
	}

	.nav,
	.nav ul {
		gap: 18px;
	}

	.nav a {
		font-size: 15px;
	}
}

@media (max-width: 860px) {
	body {
		padding-bottom: 78px;
	}

	.header__inner {
		min-height: 66px;
	}

	.logo img {
		max-height: min(var(--punyub-logo-height, 110px), 78px);
		max-width: min(var(--punyub-logo-width, 420px), 280px);
	}

	.hamburger {
		display: inline-flex;
		order: 3;
	}

	.nav {
		position: fixed;
		left: 12px;
		right: 12px;
		top: 86px;
		z-index: 500;
		display: block;
		padding: 14px;
		border-radius: 16px;
		border: 1px solid rgba(245, 197, 24, 0.42);
		background: rgba(8, 4, 2, 0.96);
		box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 0.18s ease, transform 0.18s ease;
	}

	body.mobile-menu-open .nav {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	body.mobile-menu-open .hamburger span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	body.mobile-menu-open .hamburger span:nth-child(2) {
		opacity: 0;
	}

	body.mobile-menu-open .hamburger span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.nav ul,
	.nav {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.nav a {
		display: block;
		padding: 12px 14px;
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.04);
	}

	.btn {
		padding: 9px 16px;
		font-size: 14px;
	}

	.hero__cta {
		bottom: 32%;
	}

	.content {
		background-attachment: scroll;
	}

	.pwa-promo {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: 72px;
		z-index: 195;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 12px 14px;
		border-radius: 16px;
	}

	.pwa-promo__button {
		display: inline-flex;
		margin-top: 0;
		margin-left: auto;
		white-space: nowrap;
	}

	.pwa-promo strong {
		font-size: 16px;
	}

	.pwa-promo p {
		font-size: 12px;
		line-height: 1.35;
	}

	.pwa-promo__help {
		position: absolute;
		left: 10px;
		right: 10px;
		bottom: calc(100% + 8px);
		padding: 10px 12px;
		border: 1px solid rgba(245, 197, 24, 0.32);
		border-radius: 12px;
		background: rgba(8, 5, 4, 0.94);
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
	}

	.floating-social {
		display: none;
	}

	.mobile-tab-bar {
		display: grid;
	}
}

@media (max-width: 560px) {
	.header__inner {
		gap: 10px;
	}

	.actions {
		gap: 8px;
	}

	.btn {
		padding: 8px 10px;
		font-size: 12px;
	}

	.actions {
		display: none;
	}

	.hero__cta {
		left: 8%;
		bottom: 30%;
		width: 48%;
	}

	.footer__links {
		left: 5%;
		right: 5%;
		bottom: 2%;
		justify-content: center;
		flex-wrap: wrap;
	}

	.post-grid {
		grid-template-columns: 1fr;
	}


	.jackpot-arena {
		padding: 18px 10px;
	}

	.jackpot-stage {
		padding: 22px 10px;
	}

	.jackpot-reel {
		gap: 3px;
	}

	.jackpot-currency {
		display: none;
	}

	.provider-track img {
		height: 24px;
	}

	.game-masonry {
		padding: 20px 10px 26px;
	}

	.game-masonry__grid {
		height: 70vh;
		gap: 10px;
	}

	.game-masonry__col {
		gap: 10px;
	}

	.game-masonry__track {
		gap: 10px;
	}

	.game-masonry__col--4 {
		display: none;
	}

	.game-card strong {
		font-size: 12px;
	}

	.floating-social {
		right: 10px;
		bottom: 10px;
	}

	.login-modal__dialog {
		width: 96vw;
		height: 82vh;
		border-radius: 14px;
	}

	.entry-popup__dialog {
		width: 94vw;
	}
}

@media (max-width: 420px) {
	.game-masonry__col--3 {
		display: none;
	}

	.game-masonry__grid {
		height: 64vh;
	}
}


