/* DDG Landing Rose — โทนแดง / ม่วง + Hero แบ่งซ้าย-ขวา */

body.ddg-layout-rose.ddg-landing {
	--ddg-black: #120810;
	--ddg-bg: #1a0a14;
	--ddg-bg-mid: #2a1020;
	--ddg-panel: rgba(42, 16, 32, 0.9);
	--ddg-gold: #f43f5e;
	--ddg-gold-bright: #fda4af;
	--ddg-gold-dim: #be123c;
	--ddg-bronze: #7c2d4a;
	--ddg-text: #fce8ef;
	--ddg-muted: #c4a0ad;
	--ddg-border: rgba(244, 63, 94, 0.45);
	--ddg-glow: rgba(168, 85, 247, 0.28);
	--ddg-font: "Noto Sans Thai", system-ui, sans-serif;
	--ddg-display: "Playfair Display", "Noto Sans Thai", serif;
}

/* Hero กะทัดรัด — แถบบนเท่านั้น ไม่ซ้ำโลโก้/ปุ่มกับ hero */
body.ddg-layout-rose .ddg-hero {
	min-height: clamp(4.5rem, 14vh, 7rem);
	min-height: clamp(4.5rem, 14svh, 7rem);
	display: flex;
	flex-direction: column;
}

body.ddg-layout-rose .ddg-hero__bg {
	position: absolute;
	inset: 0;
	min-height: 0;
}

body.ddg-layout-rose .ddg-hero__scrim {
	background: linear-gradient(180deg, rgba(18, 8, 16, 0.88) 0%, rgba(18, 8, 16, 0.45) 70%, transparent 100%);
}

body.ddg-layout-rose .ddg-top--on-hero {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding-top: calc(0.45rem + env(safe-area-inset-top, 0px));
	padding-bottom: 0.45rem;
	background: linear-gradient(180deg, rgba(18, 8, 16, 0.9) 0%, rgba(18, 8, 16, 0.35) 100%);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ddg-border);
}

body.ddg-layout-rose .ddg-logo-img--header,
body.ddg-layout-rose .ddg-logo-wordmark.ddg-logo-img--header {
	max-height: clamp(1.75rem, 5vw, 2.35rem);
	width: auto;
}

body.ddg-layout-rose .ddg-btn-nav {
	padding: 0.45rem 0.9rem;
	font-size: 0.8125rem;
}

/* ซ่อนโลโก้ใหญ่ + ปุ่ม CTA ซ้ำ (มีปุ่มใน header แล้ว) */
body.ddg-layout-rose .ddg-hero__logoWrap,
body.ddg-layout-rose .ddg-hero-cta {
	display: none;
}

body.ddg-layout-rose .ddg-hero__inner {
	flex: 1;
	min-height: 0;
	flex-direction: row;
	align-items: flex-end;
	justify-content: center;
	text-align: center;
	padding:
		calc(3.25rem + env(safe-area-inset-top, 0px)) var(--ddg-page-pad) 0.65rem;
}

body.ddg-layout-rose .ddg-hero__h1 {
	margin: 0;
	text-align: center;
	max-width: min(36rem, 94vw);
	font-size: clamp(0.9rem, 2.4vw, 1.15rem);
	line-height: 1.35;
}

/* ถ้าไม่มีหัวข้อ hero ให้เหลือแค่แถบ header */
body.ddg-layout-rose .ddg-hero__inner:empty,
body.ddg-layout-rose .ddg-hero__inner:not(:has(.ddg-hero__h1)) {
	padding-bottom: 0;
	min-height: 0;
}

body.ddg-layout-rose .ddg-btn-nav--register {
	background: linear-gradient(135deg, #f43f5e, #e11d48);
}

body.ddg-layout-rose .ddg-btn-nav--login {
	border-color: #fda4af;
	color: #fda4af;
}

/* โปรโม — กริด 2x2 */
body.ddg-layout-rose .ddg-promo {
	background: var(--ddg-bg-mid);
}

body.ddg-layout-rose .ddg-promo__wrap {
	overflow: visible;
}

body.ddg-layout-rose .ddg-promo__track {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.65rem;
	overflow: visible;
}

body.ddg-layout-rose .ddg-promo__cell {
	width: auto;
	flex: unset;
}

body.ddg-layout-rose .ddg-promo__card {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--ddg-border);
}

/* Split — เน้นเต็มความกว้างก่อนเกม */
body.ddg-layout-rose .ddg-split {
	background: linear-gradient(180deg, #2a1020, #120810);
}

body.ddg-layout-rose .ddg-split__infoTitle {
	font-family: var(--ddg-display);
}

/* แท็บเกม — segmented เต็มจอ */
body.ddg-layout-rose .ddg-gtab__barWrap {
	padding: 0 var(--ddg-page-pad);
}

body.ddg-layout-rose .ddg-gtab__bar {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.35rem;
	overflow: visible;
	padding: 0.35rem;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--ddg-border);
}

body.ddg-layout-rose .ddg-gtab__tab {
	flex: unset;
	border-radius: 10px;
	justify-content: center;
}

body.ddg-layout-rose .ddg-gtab__tab[aria-selected="true"] {
	background: linear-gradient(135deg, rgba(244, 63, 94, 0.35), rgba(168, 85, 247, 0.25));
	box-shadow: inset 0 0 0 1px var(--ddg-border);
}

/* Trust — กึ่งกลางแคบ */
body.ddg-layout-rose .ddg-trust {
	background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.12), transparent 70%);
}

body.ddg-layout-rose .ddg-trust__inner {
	text-align: center;
	max-width: 40rem;
	margin-inline: auto;
}

body.ddg-layout-rose .ddg-trust__title {
	font-family: var(--ddg-display);
	font-style: italic;
}

/* Deep — zigzag สลับ */
@media (min-width: 768px) {
	body.ddg-layout-rose .ddg-liveCasino__inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: center;
	}

	body.ddg-layout-rose .ddg-liveCasino__visual {
		order: 2;
	}

	body.ddg-layout-rose .ddg-slotPitch__row {
		flex-direction: row-reverse;
	}
}

body.ddg-layout-rose .ddg-jackpot__frame {
	filter: hue-rotate(-25deg) saturate(1.2);
}

body.ddg-layout-rose .ddg-providers__panel {
	border-radius: 20px;
	border: 1px solid var(--ddg-border);
	background: var(--ddg-panel);
}

body.ddg-layout-rose .ddg-foot {
	background: #0a0508;
}

body.ddg-layout-rose .ddg-floatContacts__toggle {
	background: linear-gradient(135deg, #f43f5e, #a855f7);
}

body.ddg-layout-rose #ddgSplitGoldStroke stop:nth-child(1) {
	stop-color: #fda4af;
}
body.ddg-layout-rose #ddgSplitGoldStroke stop:nth-child(2) {
	stop-color: #f43f5e;
}
body.ddg-layout-rose #ddgSplitGoldStroke stop:nth-child(3) {
	stop-color: #7c3aed;
}

@media (max-width: 520px) {
	body.ddg-layout-rose .ddg-top-inner {
		flex-direction: row;
		align-items: center;
	}

	body.ddg-layout-rose .ddg-brand {
		justify-content: flex-start;
	}

	body.ddg-layout-rose .ddg-header-actions {
		justify-content: flex-end;
	}

	body.ddg-layout-rose .ddg-hero {
		min-height: clamp(4rem, 12vh, 5.5rem);
	}
}
