/* ==========================================================================
   Combo Subscription Landing Page (woocommerce/combo-landing.php)
   Giao diện tinh gọn, ít chữ, tập trung vào Kho Game & Popup Bảng Giá
   ========================================================================== */

html {
	scroll-behavior: smooth;
}

.edg-combo-lp {
	--clp-primary: #ff7a00;
	--clp-primary-hover: #e56d00;
	--clp-navy: #0f172a;
	--clp-navy-soft: #1e293b;
	--clp-accent: #2563eb;
	--clp-green: #16a34a;
	--clp-green-bg: #ecfdf5;
	--clp-green-border: #86efac;
	--clp-ink: #0f172a;
	--clp-muted: #475569;
	--clp-line: #e2e8f0;
	--clp-bg-soft: #f8fafc;
	--clp-radius: 16px;
	color: var(--clp-ink);
	font-size: 15.5px;
	line-height: 1.55;
	background: #f8fafc;
	padding-bottom: 84px;
}

.edg-combo-lp--pro {
	--clp-accent: #4f46e5;
}

.edg-combo-lp *,
.edg-combo-lp *::before,
.edg-combo-lp *::after {
	box-sizing: border-box;
}

.edg-clp-wrap {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 18px;
}

.edg-clp-notices {
	margin-top: 16px;
}

/* ---------- Buttons ---------- */
.edg-clp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.edg-clp-btn:hover {
	transform: translateY(-1px);
}

.edg-clp-btn--lg {
	min-height: 52px;
	padding: 12px 28px;
	font-size: 16px;
}

.edg-clp-btn--lg small {
	font-size: 13px;
	font-weight: 600;
	opacity: 0.92;
}

.edg-clp-btn--block {
	width: 100%;
}

.edg-clp-btn--primary {
	background: linear-gradient(135deg, #ff8a00 0%, #ff5e00 100%);
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(255, 106, 0, 0.32);
}

.edg-clp-btn--primary:hover {
	background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(234, 88, 12, 0.4);
}

.edg-clp-btn--navy {
	background: var(--clp-navy-soft);
	color: #fff !important;
}

.edg-clp-btn--navy:hover {
	background: var(--clp-accent);
	color: #fff !important;
}

.edg-clp-btn--light {
	background: #fff;
	color: var(--clp-ink) !important;
	padding: 7px 16px;
	min-height: 36px;
	font-size: 13.5px;
}

/* ==========================================================================
   1. HERO SECTION TINH GỌN
   ========================================================================== */
.edg-clp-hero {
	position: relative;
	padding: 154px 0 42px;
	background: radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.2), transparent 45%),
		linear-gradient(135deg, #0b1936 0%, #152c5b 55%, #1e3a8a 100%);
	color: #fff;
	text-align: center;
}

.edg-combo-lp--pro .edg-clp-hero {
	background: radial-gradient(circle at 85% 15%, rgba(250, 204, 21, 0.16), transparent 45%),
		linear-gradient(135deg, #121036 0%, #24195c 55%, #37207a 100%);
}

.edg-clp-hero__top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.edg-clp-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.78);
	background: rgba(255, 255, 255, 0.08);
	padding: 5px 14px;
	border-radius: 999px;
}

.edg-clp-breadcrumb a {
	color: rgba(255, 255, 255, 0.85) !important;
	text-decoration: none !important;
}

.edg-clp-breadcrumb a:hover {
	color: #fff !important;
}

.edg-clp-breadcrumb strong {
	color: #fde047;
}

.edg-clp-sibling-switch {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.18s ease;
}

.edg-clp-sibling-switch:hover {
	background: rgba(255, 255, 255, 0.22);
	color: #fde047 !important;
}

.edg-clp-hero__badge {
	margin-bottom: 10px;
}

.edg-clp-hero__badge span {
	display: inline-block;
	padding: 5px 15px;
	border-radius: 999px;
	background: rgba(250, 204, 21, 0.16);
	border: 1px solid rgba(250, 204, 21, 0.45);
	color: #fde047;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.4px;
}

.edg-clp-hero__title {
	margin: 0 0 10px !important;
	font-size: clamp(26px, 3.8vw, 40px) !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	color: #ffffff !important;
}

.edg-clp-hero__lead {
	max-width: 720px;
	margin: 0 auto 16px !important;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.5;
}

.edg-clp-hero__lead strong {
	color: #fde047;
}

.edg-clp-hero__pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 22px;
}

.edg-clp-hero__pills span {
	display: inline-flex;
	align-items: center;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #f8fafc;
	font-size: 13.5px;
	font-weight: 600;
}

.edg-clp-active-banner {
	max-width: 720px;
	margin: 0 auto 18px;
	padding: 10px 16px;
	border-radius: 12px;
	background: rgba(16, 185, 129, 0.2);
	border: 1.5px solid rgba(52, 211, 153, 0.55);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	text-align: left;
	font-size: 14px;
}

.edg-clp-active-banner__text {
	display: flex;
	align-items: center;
	gap: 10px;
}

.edg-clp-active-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
	flex-shrink: 0;
}

.edg-clp-hero__actions {
	display: flex;
	justify-content: center;
}

/* ==========================================================================
   2. DANH SÁCH TRÒ CHƠI TRONG GÓI (SHOWCASE GRID)
   ========================================================================== */
.edg-clp-showcase {
	padding: 36px 0 48px;
}

.edg-clp-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--clp-line);
}

.edg-clp-toolbar__title {
	margin: 0 0 2px !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	color: var(--clp-ink) !important;
	line-height: 1.25 !important;
}

.edg-clp-toolbar__sub {
	font-size: 13.5px;
	color: var(--clp-muted);
}

.edg-clp-toolbar__right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.edg-clp-tag-select {
	height: 42px;
	padding: 0 34px 0 16px;
	border-radius: 999px;
	border: 1.5px solid #cbd5e1;
	background-color: #fff;
	font-size: 14px;
	font-weight: 600;
	color: var(--clp-ink);
	outline: none;
	cursor: pointer;
}

.edg-clp-tag-select:focus {
	border-color: var(--clp-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.edg-clp-tag-pills {
	flex: 0 0 100%;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-top: 4px;
}

.edg-clp-tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #cbd5e1;
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.18s ease;
}

.edg-clp-tag-pill:hover {
	border-color: #f59e0b;
	background: #fffbeb;
	color: #b45309;
}

.edg-clp-tag-pill.is-active {
	background: #ea580c;
	border-color: #ea580c;
	color: #fff;
}

.edg-clp-tag-pill span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.08);
	font-size: 11px;
}

.edg-clp-tag-pill.is-active span {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.edg-clp-search-bar {
	display: flex;
	align-items: center;
	gap: 10px;
}

.edg-clp-search-bar input[type="search"] {
	width: 290px;
	max-width: 100%;
	height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1.5px solid #cbd5e1;
	background: #fff;
	font-size: 14px;
	color: var(--clp-ink);
	outline: none;
}

.edg-clp-search-bar input[type="search"]:focus {
	border-color: var(--clp-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.edg-clp-search-count {
	font-size: 13px;
	font-weight: 700;
	color: var(--clp-muted);
	background: #e2e8f0;
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.edg-clp-games-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.edg-clp-game-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	border: 1.5px solid var(--clp-line);
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.edg-clp-game-card:hover {
	transform: translateY(-3px);
	border-color: #93c5fd;
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
}

.edg-clp-game-card.is-unlocked {
	border-color: #86efac;
}

.edg-clp-game-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #e2e8f0;
	overflow: hidden;
}

.edg-clp-game-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.edg-clp-game-card:hover .edg-clp-game-card__media img {
	transform: scale(1.03);
}

.edg-clp-game-card__included-tag {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(22, 163, 74, 0.94);
	color: #fff;
	font-size: 11.5px;
	font-weight: 800;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.edg-clp-game-card__sku {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 2px 8px;
	border-radius: 6px;
	background: rgba(15, 23, 42, 0.78);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.edg-clp-game-card__body {
	padding: 15px 16px 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.edg-clp-game-card__title {
	margin: 0 0 6px !important;
	font-size: 16.5px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
}

.edg-clp-game-card__title a {
	color: var(--clp-ink) !important;
	text-decoration: none !important;
}

.edg-clp-game-card__title a:hover {
	color: var(--clp-accent) !important;
}

.edg-clp-game-card__desc {
	margin: 0 0 12px !important;
	font-size: 13.5px;
	color: var(--clp-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.edg-clp-game-card__actions {
	margin-top: auto;
	display: flex;
	gap: 8px;
}

.edg-clp-game-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 38px;
	padding: 0 12px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.edg-clp-game-btn--trial {
	background: #eff6ff;
	color: #1d4ed8 !important;
	border: 1px solid #bfdbfe;
}

.edg-clp-game-btn--trial:hover {
	background: #2563eb;
	color: #fff !important;
}

.edg-clp-game-btn--play {
	background: #16a34a;
	color: #fff !important;
}

.edg-clp-game-btn--play:hover {
	background: #15803d;
	color: #fff !important;
}

.edg-clp-game-btn--detail {
	flex: 0 0 auto;
	padding: 0 13px;
	background: #f8fafc;
	color: #475569 !important;
	border: 1px solid #e2e8f0;
}

.edg-clp-game-btn--detail:hover {
	border-color: #94a3b8;
	color: var(--clp-ink) !important;
}

.edg-clp-empty-box {
	padding: 28px;
	text-align: center;
	border-radius: 14px;
	background: #fff;
	border: 1px dashed #cbd5e1;
	color: var(--clp-muted);
}

/* ==========================================================================
   3. POPUP MODAL BẢNG GIÁ (.edg-clp-modal)
   ========================================================================== */
.edg-clp-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.edg-clp-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.edg-clp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.72);
	backdrop-filter: blur(5px);
}

.edg-clp-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 920px;
	max-height: 92vh;
	overflow-y: auto;
	background: #ffffff;
	border-radius: 22px;
	padding: 30px 28px 28px;
	box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
	transform: translateY(14px) scale(0.98);
	transition: transform 0.22s ease;
}

.edg-clp-modal.is-open .edg-clp-modal__dialog {
	transform: translateY(0) scale(1);
}

.edg-clp-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #334155;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s ease, color 0.18s ease;
}

.edg-clp-modal__close:hover {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #dc2626;
}

.edg-clp-modal__head {
	text-align: center;
	margin-bottom: 24px;
}

.edg-clp-eyebrow {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: #eff6ff;
	color: var(--clp-accent);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.4px;
	margin-bottom: 6px;
}

.edg-clp-modal__title {
	margin: 0 0 6px !important;
	font-size: clamp(21px, 2.8vw, 27px) !important;
	font-weight: 800 !important;
	color: var(--clp-ink) !important;
}

.edg-clp-modal__sub {
	margin: 0 !important;
	font-size: 14.5px;
	color: var(--clp-muted);
}

/* ---------- Cards trong Popup ---------- */
.edg-clp-plans-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.edg-clp-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	border: 2px solid var(--clp-line);
	padding: 22px 18px 18px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edg-clp-plan.is-featured {
	border-color: #f97316;
	background: linear-gradient(180deg, #fffaf5 0%, #ffffff 40%);
	box-shadow: 0 14px 32px rgba(234, 88, 12, 0.14);
}

.edg-clp-plan__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 3px 13px;
	border-radius: 999px;
	background: #334155;
	color: #fff;
	font-size: 11.5px;
	font-weight: 800;
	white-space: nowrap;
}

.edg-clp-plan.is-featured .edg-clp-plan__badge {
	background: linear-gradient(90deg, #f97316, #ea580c);
}

.edg-clp-plan__head {
	text-align: center;
	padding-bottom: 12px;
	border-bottom: 1px dashed var(--clp-line);
}

.edg-clp-plan__name {
	margin: 4px 0 4px !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	color: var(--clp-ink) !important;
}

.edg-clp-plan__days {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
	font-size: 12px;
	font-weight: 700;
}

.edg-clp-plan__price-box {
	text-align: center;
	padding: 14px 0;
}

.edg-clp-plan__old-row {
	min-height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 13px;
}

.edg-clp-plan__old-row del {
	color: #94a3b8;
}

.edg-clp-save-pill {
	display: inline-block;
	padding: 2px 7px;
	border-radius: 6px;
	background: #dcfce7;
	color: #15803d;
	font-size: 11.5px;
	font-weight: 700;
}

.edg-clp-plan__price {
	font-size: 28px;
	font-weight: 800;
	color: var(--clp-ink);
	line-height: 1.2;
	margin: 4px 0;
}

.edg-clp-plan.is-featured .edg-clp-plan__price {
	color: #ea580c;
}

.edg-clp-plan__per-month {
	font-size: 12.5px;
	color: var(--clp-muted);
}

.edg-clp-plan__perks {
	list-style: none !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	flex: 1;
}

.edg-clp-plan__perks li {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 13.5px;
	color: #334155;
	margin-bottom: 7px;
	line-height: 1.4;
}

.edg-clp-plan__perks .perk-check {
	flex-shrink: 0;
	color: var(--clp-green);
	font-weight: 800;
}

.edg-clp-plan__actions {
	margin-top: auto;
	text-align: center;
}

.edg-clp-cart-sublink {
	display: inline-block;
	margin-top: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--clp-muted) !important;
	text-decoration: none !important;
}

.edg-clp-cart-sublink:hover {
	color: var(--clp-accent) !important;
	text-decoration: underline !important;
}

/* ==========================================================================
   4. STICKY BOTTOM BAR
   ========================================================================== */
.edg-clp-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background: rgba(15, 23, 42, 0.95);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
	padding: 10px 0;
	transform: translateY(110%);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.25s ease, opacity 0.25s ease;
	backdrop-filter: blur(8px);
}

.edg-clp-sticky-bar.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.edg-clp-sticky-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.edg-clp-sticky-bar__info strong {
	display: block;
	color: #fff;
	font-size: 15px;
}

.edg-clp-sticky-bar__info span {
	font-size: 13px;
	color: #86efac;
}

.edg-clp-sticky-bar__controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.edg-clp-sticky-sibling {
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
}

.edg-clp-sticky-sibling:hover {
	color: #fde047 !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
	.edg-clp-games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.edg-clp-plans-grid {
		grid-template-columns: 1fr;
		max-width: 440px;
		margin: 0 auto;
	}
}

@media (max-width: 767px) {
	.edg-clp-hero {
		padding: 134px 0 32px;
	}
	.edg-clp-hero__top-row {
		justify-content: center;
	}
	.edg-clp-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	.edg-clp-search-bar input[type="search"] {
		flex: 1;
		width: auto;
	}
	.edg-clp-games-grid {
		grid-template-columns: 1fr;
	}
	.edg-clp-modal__dialog {
		padding: 24px 16px 20px;
	}
	.edg-clp-sticky-bar__info,
	.edg-clp-sticky-sibling {
		display: none;
	}
	.edg-clp-sticky-bar__controls,
	.edg-clp-sticky-bar__controls .edg-clp-btn {
		width: 100%;
	}
}
