/* ============================================================
   Warungslot — warungslot.games
   Tema: Kasino (merah · emas · hijau · biru · hitam · putih)
   Kerangka gaya WordPress: style.css tema anak
   ============================================================ */

:root {
	--red: #D81045;
	--red-d: #A50C34;
	--gold: #FFC53D;
	--gold-d: #E8A312;
	--green: #0FA958;
	--green-d: #0B7A40;
	--blue: #2563EB;
	--blue-d: #1740B0;
	--ink: #16121C;
	--ink-2: #221B2A;
	--ink-3: #342B3F;
	--paper: #FFFFFF;
	--cream: #FAF6EF;
	--line: #EAE2D6;
	--text: #2B2530;
	--muted: #6E6676;
	--radius: 16px;
	--shadow: 0 10px 30px -12px rgba(22, 18, 28, .18);
	--shadow-lg: 0 24px 60px -20px rgba(22, 18, 28, .35);
	--font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--paper);
	overflow-x: hidden;
	min-width: 0;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
ul, ol { padding-left: 1.3em; }
p { overflow-wrap: break-word; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); font-weight: 800; overflow-wrap: break-word; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Tombol & lencana ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
	border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, #FFD968, var(--gold-d)); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(232, 163, 18, .8); }
.btn-gold:hover { color: var(--ink); box-shadow: 0 12px 26px -8px rgba(232, 163, 18, .95); }
.btn-red { background: linear-gradient(180deg, #F02258, var(--red-d)); color: #fff; box-shadow: 0 8px 20px -8px rgba(168, 12, 52, .8); }
.btn-red:hover { color: #fff; }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-ghost-w { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost-w:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.badge-18 {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; border-radius: 50%;
	background: var(--red); color: #fff; font-weight: 800; font-size: 15px;
	border: 3px solid var(--gold); padding: 0 6px;
}
.badge-rg { color: #E8E2D8; }

.chip {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
	background: var(--cream); border: 1px solid var(--line); color: var(--muted);
}

/* ---------- Header ---------- */
.brand-stripe { display: flex; height: 5px; }
.brand-stripe i { flex: 1; }
.brand-stripe i:nth-child(1) { background: var(--red); }
.brand-stripe i:nth-child(2) { background: var(--gold); }
.brand-stripe i:nth-child(3) { background: var(--green); }
.brand-stripe i:nth-child(4) { background: var(--blue); }

.site-header {
	position: sticky; top: 0; z-index: 900;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(22, 18, 28, .4); }

.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-text { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; }
.logo-text em { font-style: normal; color: var(--red); }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text em { color: var(--gold); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.main-nav a {
	display: block; padding: 9px 13px; border-radius: 10px;
	font-weight: 600; font-size: 14.5px; color: var(--text);
}
.main-nav a:hover { color: var(--red); background: var(--cream); }
.main-nav a.is-active { color: var(--red); background: #FDECEF; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 12px; color: var(--text);
	border: 1px solid var(--line); background: #fff;
}
.icon-btn:hover { color: var(--red); border-color: var(--red); }

.nav-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 42px; height: 42px; padding: 9px; background: none; border: 1px solid var(--line);
	border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2.6px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

.mobile-nav {
	display: none; overflow: hidden; max-height: 0;
	transition: max-height .35s ease;
	background: #fff; border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { max-height: 560px; }
.mobile-nav ul { list-style: none; padding: 10px 20px 4px; }
.mobile-nav li a {
	display: block; padding: 12px 10px; font-weight: 600; color: var(--text);
	border-bottom: 1px solid #F3EEE6;
}
.mobile-nav li a.is-active { color: var(--red); }
.mobile-nav-cta { display: flex; gap: 10px; padding: 14px 20px 18px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 480px at -10% -10%, rgba(216, 16, 69, .5), transparent 60%),
		radial-gradient(800px 500px at 110% 15%, rgba(255, 197, 61, .18), transparent 55%),
		radial-gradient(700px 500px at 50% 120%, rgba(37, 99, 235, .22), transparent 60%),
		linear-gradient(180deg, var(--ink), var(--ink-2));
	color: #F4EFE8;
}
.hero::before {
	content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
	background-image: radial-gradient(#fff 1.2px, transparent 1.2px);
	background-size: 26px 26px;
}
.hero-inner {
	position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
	align-items: center; padding: 64px 0 72px;
}
.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 16px; border-radius: 999px;
	background: rgba(255, 197, 61, .14); border: 1px solid rgba(255, 197, 61, .4);
	color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .4px;
}
.hero h1 {
	color: #fff; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -1px; margin: 18px 0 16px;
}
.hero h1 .grad {
	background: linear-gradient(92deg, #FFD968, #FFB830, #FFC53D);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 17px; color: #CFC7D4; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-trust .chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #E9E2EE; }
.hero-trust .chip svg { color: var(--gold); }
.hero-note { margin-top: 22px; font-size: 13px; color: #9C93A8; max-width: 520px; }

/* Mesin slot hero (ilustrasi CSS) */
.hero-visual { display: flex; justify-content: center; }
.hero-machine {
	position: relative; width: min(320px, 78vw);
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
	animation: machine-float 6s ease-in-out infinite;
}
@keyframes machine-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hm-marquee {
	background: linear-gradient(180deg, #FFD968, var(--gold-d));
	color: var(--ink); font-weight: 800; letter-spacing: 2px; font-size: 13px;
	text-align: center; padding: 10px 12px 8px; border-radius: 18px 18px 0 0;
	border: 3px solid #B57E00; border-bottom: none;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}
.hm-screen {
	position: relative; background: var(--ink);
	border: 3px solid #B57E00; border-top: none;
	padding: 18px 14px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.hm-reel {
	position: relative; overflow: hidden; height: 96px; border-radius: 10px;
	background: linear-gradient(180deg, #FFF6DE 0%, #FFE9A8 50%, #F7D774 100%);
	border: 2px solid #B57E00; box-shadow: inset 0 8px 14px rgba(120, 80, 0, .25);
}
.hm-strip {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
	font-size: 52px; line-height: 96px; will-change: transform;
	animation: reel-spin linear infinite;
}
.hm-strip span { height: 96px; }
@keyframes reel-spin { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.hm-r1 .hm-strip { animation-duration: 2.4s; }
.hm-r2 .hm-strip { animation-duration: 3.2s; }
.hm-r3 .hm-strip { animation-duration: 2.8s; }
.hm-payline {
	position: absolute; left: 6px; right: 6px; top: 50%; height: 3px;
	background: rgba(216, 16, 69, .85); box-shadow: 0 0 12px rgba(216, 16, 69, .8);
	pointer-events: none;
}
.hm-body {
	background: linear-gradient(180deg, #2A2333, var(--ink));
	border: 3px solid #B57E00; border-top: none;
	border-radius: 0 0 18px 18px; padding: 14px 18px 18px;
	display: flex; align-items: center; justify-content: space-between;
}
.hm-buttons { display: flex; gap: 8px; }
.hm-buttons i {
	width: 22px; height: 22px; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #FF8FA9, var(--red-d));
	border: 2px solid #7A0A27;
}
.hm-buttons i:nth-child(2) { background: radial-gradient(circle at 30% 30%, #9BE8BC, var(--green-d)); border-color: #085C30; }
.hm-buttons i:nth-child(3) { background: radial-gradient(circle at 30% 30%, #A8C4FF, var(--blue-d)); border-color: #11308A; }
.hm-tray {
	width: 92px; height: 30px; border-radius: 8px;
	background: linear-gradient(180deg, #FFF2CC, #E8C968);
	border: 2px solid #B57E00; box-shadow: inset 0 -6px 8px rgba(120, 80, 0, .35);
}
.hm-coin {
	position: absolute; width: 26px; height: 26px; border-radius: 50%;
	background: radial-gradient(circle at 32% 30%, #FFE9A8, #F2B90D 55%, #B57E00);
	border: 2px solid #FFE9A8; opacity: 0;
	animation: coin-rise 3.6s ease-in infinite;
}
.hm-coin::after {
	content: ""; position: absolute; inset: 6px; border-radius: 50%;
	border: 2px dashed rgba(120, 80, 0, .5);
}
.hm-c1 { left: -18px; bottom: 40px; animation-delay: 0s; }
.hm-c2 { right: -14px; bottom: 90px; animation-delay: 1.1s; }
.hm-c3 { left: 30px; top: -20px; animation-delay: 2.2s; }
.hm-c4 { right: 34px; bottom: -12px; animation-delay: .6s; }
@keyframes coin-rise {
	0% { transform: translateY(0) scale(.6) rotate(0deg); opacity: 0; }
	15% { opacity: 1; }
	100% { transform: translateY(-120px) scale(1.05) rotate(28deg); opacity: 0; }
}

/* ---------- Bagian umum ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--cream); }
.section-dark { background: linear-gradient(180deg, var(--ink), var(--ink-2)); color: #EDE7F0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
}
.section-head .eyebrow::before, .section-head .eyebrow::after {
	content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 36px); margin: 10px 0 12px; letter-spacing: -.5px; }
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 16.5px; }
.section-dark .section-head p { color: #C4BBCB; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }

/* Kartu umum */
.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 26px; box-shadow: 0 4px 16px -10px rgba(22, 18, 28, .12);
	transition: transform .2s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section-soft .card { background: #fff; }

/* ---------- Langkah pemula ---------- */
.step-card { position: relative; padding-top: 34px; }
.step-num {
	position: absolute; top: -22px; left: 26px;
	width: 48px; height: 48px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 20px; color: #fff;
	background: linear-gradient(160deg, var(--red), var(--red-d));
	border: 3px solid var(--gold); box-shadow: 0 8px 18px -6px rgba(165, 12, 52, .55);
}
.step-card h3 { font-size: 18px; margin: 12px 0 8px; }
.step-card p { font-size: 14.5px; color: var(--muted); }
.steps-wrap { margin-top: 30px; }

/* ---------- Kartu keunggulan ---------- */
.feat-icon {
	width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px; font-size: 26px;
}
.fi-red { background: #FDECEF; color: var(--red); }
.fi-gold { background: #FFF4D6; color: var(--gold-d); }
.fi-green { background: #E4F6EC; color: var(--green-d); }
.fi-blue { background: #E8EFFF; color: var(--blue); }
.feat-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feat-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Kenapa memilih (split) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.split h2 { font-size: clamp(23px, 3vw, 32px); margin-bottom: 14px; letter-spacing: -.5px; }
.split .lead { color: var(--muted); margin-bottom: 20px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick {
	flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--green); color: #fff; font-size: 13px; font-weight: 800;
}
.check-list b { display: block; color: var(--ink); }
.check-list span { font-size: 14px; color: var(--muted); }
.frame-img { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; }
.frame-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.frame-img .img-cap {
	position: absolute; left: 14px; bottom: 14px; right: 14px;
	background: rgba(22, 18, 28, .78); color: #fff; backdrop-filter: blur(6px);
	border-radius: 12px; padding: 10px 16px; font-size: 13.5px; font-weight: 600;
}

/* ---------- Testimoni ---------- */
.testi-card { display: flex; flex-direction: column; gap: 14px; }
.testi-stars { color: var(--gold-d); font-size: 15px; letter-spacing: 3px; }
.testi-card blockquote { font-size: 15px; color: var(--text); font-style: italic; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.avatar {
	width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-weight: 800; font-size: 16px;
}
.av-1 { background: linear-gradient(160deg, #F02258, #A50C34); }
.av-2 { background: linear-gradient(160deg, #2E7BFF, #1740B0); }
.av-3 { background: linear-gradient(160deg, #17C46F, #0B7A40); }
.av-4 { background: linear-gradient(160deg, #FFB830, #B57E00); }
.testi-who b { display: block; font-size: 14.5px; color: var(--ink); }
.testi-who span { font-size: 12.5px; color: var(--muted); }
.testi-note { text-align: center; margin-top: 26px; font-size: 13px; color: var(--muted); }

/* ---------- Checklist interaktif ---------- */
.checklist-box {
	max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
	border-radius: 20px; padding: 30px; box-shadow: var(--shadow-lg);
}
.checklist-item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 12px; border-bottom: 1px dashed var(--line); cursor: pointer; }
.checklist-item:last-of-type { border-bottom: none; }
.checklist-item input {
	appearance: none; -webkit-appearance: none; flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px;
	border: 2px solid #C9BFA8; border-radius: 8px; cursor: pointer; position: relative;
	transition: .15s;
}
.checklist-item input:checked { background: var(--green); border-color: var(--green); }
.checklist-item input:checked::after {
	content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 14px; font-weight: 800;
}
.checklist-item b { display: block; font-size: 15px; color: var(--ink); }
.checklist-item span { font-size: 13.5px; color: var(--muted); }
.checklist-score { margin-top: 22px; }
.meter { height: 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); overflow: hidden; }
.meter i {
	display: block; height: 100%; width: 0%; border-radius: 999px;
	background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
	transition: width .5s ease;
}
.meter-label { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; margin-top: 8px; }
#checklistVerdict { margin-top: 12px; font-size: 14.5px; padding: 12px 16px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
#checklistVerdict.good { background: #E4F6EC; border-color: #BCE7CE; }
#checklistVerdict.warn { background: #FFF4D6; border-color: #EFD9A0; }
#checklistVerdict.bad { background: #FDECEF; border-color: #F3C1CD; }

/* ---------- Keamanan & RG ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.duo-card { border-radius: 20px; padding: 32px; color: #fff; position: relative; overflow: hidden; }
.duo-security { background: linear-gradient(155deg, #1E293B, #0F172A); }
.duo-rg { background: linear-gradient(155deg, #0E9F6E, #0B7A40); }
.duo-card::after {
	content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px;
	border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.duo-card h3 { color: #fff; font-size: 21px; margin: 14px 0 10px; }
.duo-card p { font-size: 14.5px; color: rgba(255, 255, 255, .85); margin-bottom: 16px; }
.duo-card .btn { position: relative; z-index: 1; }
.duo-ico {
	width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .15); color: var(--gold);
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
details.faq {
	background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
details.faq[open] { border-color: #F0C7D2; box-shadow: 0 10px 26px -14px rgba(165, 12, 52, .3); }
details.faq summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
	padding: 18px 20px; font-weight: 700; font-size: 15.5px; color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
	content: "+"; margin-left: auto; flex: 0 0 28px; height: 28px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--cream); color: var(--red); font-weight: 800; transition: .2s;
}
details.faq[open] summary::after { content: "−"; background: var(--red); color: #fff; }
details.faq .faq-a { padding: 0 20px 18px 62px; color: var(--muted); font-size: 14.5px; }
details.faq .faq-a a { font-weight: 600; }

/* ---------- Pencarian & tag cloud ---------- */
.search-band { padding: 56px 0; background: linear-gradient(120deg, var(--red-d), var(--red) 55%, #E8336A); position: relative; overflow: hidden; }
.search-band::before {
	content: ""; position: absolute; inset: 0; opacity: .12;
	background-image: radial-gradient(#FFD968 1.4px, transparent 1.4px); background-size: 30px 30px;
}
.search-band-inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.search-band h2 { color: #fff; font-size: clamp(21px, 3vw, 30px); margin-bottom: 8px; }
.search-band p { color: #FFD9E3; font-size: 14.5px; margin-bottom: 22px; }
.search-form { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45); }
.search-form input {
	flex: 1; min-width: 0; border: none; outline: none; font-family: var(--font);
	font-size: 15.5px; padding: 10px 16px; color: var(--text); background: transparent;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.tag-pill {
	padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
	background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
	transition: .18s;
}
.tag-pill:hover { background: #fff; color: var(--red); transform: translateY(-2px); }
.tag-cloud.on-light .tag-pill { background: var(--cream); border-color: var(--line); color: var(--text); }
.tag-cloud.on-light .tag-pill:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Halaman artikel ---------- */
.page-hero { padding: 40px 0 8px; background: var(--cream); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; font-size: 13px; color: var(--muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: #C9BFA8; font-size: 15px; }
.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current] { color: var(--red); font-weight: 700; }

.article-head { max-width: 840px; margin: 0 auto; text-align: center; padding: 26px 0 6px; }
.article-head .kicker {
	display: inline-flex; padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
	letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.k-red { background: var(--red); } .k-green { background: var(--green); }
.k-blue { background: var(--blue); } .k-gold { background: var(--gold-d); } .k-ink { background: var(--ink); }
.article-head h1 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.6px; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13.5px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-cover { max-width: 840px; margin: 26px auto 0; }
.article-cover img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); }
.article-cover figcaption { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }

.article-body { max-width: 800px; margin: 0 auto; padding: 40px 0 30px; }
.article-body h2 {
	font-size: clamp(21px, 2.6vw, 27px); margin: 44px 0 14px; padding-left: 16px;
	border-left: 5px solid var(--gold); letter-spacing: -.4px; scroll-margin-top: 96px;
}
.article-body h3 { font-size: 18.5px; margin: 28px 0 10px; scroll-margin-top: 96px; }
.article-body p { margin-bottom: 16px; color: #3D3644; }
.article-body ul, .article-body ol { margin: 0 0 18px; color: #3D3644; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 14px; margin: 22px 0; }
.article-body strong { color: var(--ink); }

.toc {
	background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
	padding: 18px 22px; margin: 6px 0 10px;
}
.toc b { display: block; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.toc ul { list-style: none; padding: 0; columns: 2; column-gap: 26px; }
.toc a { font-size: 14px; font-weight: 600; }

.table-wrap { overflow-x: auto; margin: 20px 0 26px; border-radius: 14px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; font-size: 14px; }
.table-wrap th {
	background: var(--ink); color: #fff; text-align: left; padding: 13px 16px; font-size: 13.5px; white-space: nowrap;
}
.table-wrap td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: #FBF8F2; }

.info-box {
	display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; margin: 22px 0;
	font-size: 14.5px; border: 1px solid;
}
.info-box svg { flex: 0 0 22px; margin-top: 2px; }
.ib-warn { background: #FFF7E8; border-color: #F0DCAE; color: #7A5B14; }
.ib-info { background: #E8F0FF; border-color: #C4D6F7; color: #1D3E86; }
.ib-green { background: #EAF8F0; border-color: #BCE7CE; color: #0B5C33; }
.ib-red { background: #FDECEF; border-color: #F3C1CD; color: #8E1030; }

.cta-inline {
	background: linear-gradient(130deg, var(--ink), #2A1F33); border-radius: 18px;
	padding: 28px; margin: 36px 0; color: #fff; text-align: center;
	position: relative; overflow: hidden;
}
.cta-inline::before {
	content: ""; position: absolute; inset: 0; opacity: .14;
	background-image: radial-gradient(#FFD968 1.2px, transparent 1.2px); background-size: 24px 24px;
}
.cta-inline h3 { color: var(--gold); font-size: 20px; margin-bottom: 8px; position: relative; }
.cta-inline p { color: #D8D1DE; font-size: 14.5px; margin-bottom: 18px; position: relative; }
.cta-inline .btn { position: relative; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; }
.article-tags a {
	font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
	background: var(--cream); border: 1px solid var(--line); color: var(--muted);
}
.article-tags a:hover { background: var(--red); color: #fff; border-color: var(--red); }

.author-box {
	display: flex; gap: 16px; align-items: center; margin-top: 34px; padding: 20px 22px;
	background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
}
.author-box b { display: block; font-size: 15px; }
.author-box span { font-size: 13px; color: var(--muted); }

.related { padding: 46px 0 66px; background: var(--cream); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .pc-img { position: relative; overflow: hidden; }
.post-card .pc-img img { aspect-ratio: 16/9.5; width: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .pc-img img { transform: scale(1.05); }
.post-card .pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-tag { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.post-card h3 { font-size: 16.5px; margin: 7px 0 8px; line-height: 1.4; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--red); }
.post-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.post-card .pc-meta { font-size: 12.5px; color: #A79EA8; margin-top: 12px; }

/* ---------- Kartu kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat-card {
	position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px;
	display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.cat-card::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(22, 18, 28, .05) 30%, rgba(22, 18, 28, .88));
}
.cat-card:hover img { transform: scale(1.07); }
.cat-body { position: relative; z-index: 1; padding: 22px; width: 100%; }
.cat-body .pc-tag { color: var(--gold); }
.cat-body h3 { color: #fff; font-size: 20px; margin: 6px 0 6px; }
.cat-body p { font-size: 13px; color: #D9D2DE; margin-bottom: 10px; }
.cat-body .cat-link { font-size: 13.5px; font-weight: 700; color: var(--gold); }

/* ---------- Kartu promosi ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.promo-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s; }
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.promo-card .pc-img { position: relative; }
.promo-card .pc-img img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.promo-flag {
	position: absolute; top: 12px; left: 12px; padding: 5px 13px; border-radius: 999px;
	font-size: 11.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
	background: var(--gold); color: var(--ink);
}
.promo-card .pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.promo-card h3 { font-size: 17.5px; margin: 8px 0 8px; }
.promo-card h3 a { color: var(--ink); } .promo-card h3 a:hover { color: var(--red); }
.promo-card p { font-size: 14px; color: var(--muted); flex: 1; }
.promo-mini { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 16px; }
.promo-mini span { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--text); }

/* ---------- Formulir ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 60px 0 80px; }
.auth-form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); max-width: 480px; width: 100%; margin: 0 auto; }
.auth-form-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-form-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.form-field input {
	width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.6px solid var(--line);
	font-family: var(--font); font-size: 15px; color: var(--text); background: #FDFAF5; outline: none;
	transition: border-color .18s, box-shadow .18s; min-width: 0;
}
.form-field input:focus { border-color: var(--gold-d); box-shadow: 0 0 0 4px rgba(232, 163, 18, .15); background: #fff; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.form-check input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; }
.form-msg { display: none; margin-bottom: 14px; padding: 11px 15px; border-radius: 10px; font-size: 13.5px; }
.form-msg.err { display: block; background: #FDECEF; color: #9E1034; border: 1px solid #F3C1CD; }
.form-alt { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.auth-side h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 14px; }
.auth-side p { color: var(--muted); margin-bottom: 14px; }
.form-note { font-size: 12px; color: #A79EA8; margin-top: 14px; text-align: center; }

/* ---------- Halaman pencarian ---------- */
.search-page-head { padding: 48px 0 26px; background: var(--cream); border-bottom: 1px solid var(--line); }
.search-page-head h1 { font-size: clamp(24px, 3.4vw, 34px); margin: 8px 0 18px; }
.search-results { max-width: 800px; margin: 0 auto; padding: 34px 0 70px; }
.result-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: #fff; }
.result-card .pc-tag { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.result-card h3 { font-size: 17px; margin: 5px 0 6px; }
.result-card h3 a { color: var(--ink); } .result-card h3 a:hover { color: var(--red); }
.result-card p { font-size: 13.5px; color: var(--muted); }
.search-empty { text-align: center; padding: 40px 0; color: var(--muted); }
mark { background: #FFE9A8; color: inherit; padding: 0 3px; border-radius: 3px; }

/* ---------- Footer ---------- */
.site-footer {
	background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: #B9B0C2;
	padding: 58px 0 0; margin-top: 0;
	padding-bottom: 120px; /* ruang untuk float CTA tanpa area kosong */
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: #A79EB4; margin-bottom: 18px; }
.footer-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge-rg { font-size: 12.5px; font-weight: 600; color: #CFC7D4; border: 1px solid #463B52; padding: 6px 13px; border-radius: 999px; }
.footer-col h3 { color: #fff; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #B9B0C2; font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid #322940; padding: 22px 0 8px; }
.footer-legal p { font-size: 12.5px; color: #8E8498; margin-bottom: 8px; }
.footer-copy { text-align: center; margin-top: 14px; }

/* ---------- Float CTA (gaya mesin slot + koin) ---------- */
.float-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
	display: flex; justify-content: center; padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
	pointer-events: none;
}
.float-cta-btn {
	pointer-events: auto; position: relative; overflow: hidden;
	display: inline-flex; align-items: center; gap: 14px;
	padding: 12px 30px 12px 14px; border-radius: 999px;
	background: linear-gradient(180deg, #B30E3B, #7E0A2A);
	border: 2.5px solid var(--gold);
	box-shadow: 0 0 0 4px rgba(22, 18, 28, .35), 0 16px 34px -10px rgba(0, 0, 0, .65);
	text-decoration: none;
	animation: cta-pulse 2.6s ease-in-out infinite;
}
@keyframes cta-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(22, 18, 28, .35), 0 16px 34px -10px rgba(0, 0, 0, .65), 0 0 0 0 rgba(255, 197, 61, .55); }
	55% { box-shadow: 0 0 0 4px rgba(22, 18, 28, .35), 0 16px 34px -10px rgba(0, 0, 0, .65), 0 0 0 14px rgba(255, 197, 61, 0); }
}
.fcta-reels { display: flex; gap: 4px; }
.fcta-reel {
	width: 30px; height: 34px; overflow: hidden; border-radius: 8px;
	background: linear-gradient(180deg, #FFF6DE, #F7D774);
	border: 2px solid #B57E00; box-shadow: inset 0 4px 6px rgba(120, 80, 0, .3);
	display: flex; align-items: center; justify-content: center;
}
.fcta-strip { display: inline-flex; white-space: nowrap; font-size: 17px; line-height: 30px; animation: fcta-spin 1.15s steps(5) infinite; }
.fcta-r2 .fcta-strip { animation-duration: 1.45s; animation-direction: reverse; }
.fcta-r3 .fcta-strip { animation-duration: 1.3s; }
@keyframes fcta-spin { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.fcta-text {
	color: #fff; font-weight: 800; font-size: 15.5px; letter-spacing: 1.5px;
	text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}
.fcta-shine {
	position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent);
	transform: skewX(-20deg); animation: cta-shine 3.2s ease-in-out infinite;
}
@keyframes cta-shine { 0%, 60% { left: -70%; } 100% { left: 140%; } }
.fcta-coins { position: absolute; inset: 0; pointer-events: none; }
.fcta-coins i {
	position: absolute; bottom: 4px; width: 14px; height: 14px; border-radius: 50%;
	background: radial-gradient(circle at 32% 30%, #FFE9A8, #F2B90D 60%, #B57E00);
	border: 1.5px solid #FFE9A8; opacity: 0;
	animation: fcoin-rise 2.4s linear infinite;
}
.fcta-coins i:nth-child(1) { left: 18%; animation-delay: 0s; }
.fcta-coins i:nth-child(2) { left: 46%; animation-delay: .8s; }
.fcta-coins i:nth-child(3) { left: 72%; animation-delay: 1.5s; }
.fcta-coins i:nth-child(4) { left: 88%; animation-delay: 2s; }
@keyframes fcoin-rise {
	0% { transform: translateY(0) scale(.5); opacity: 0; }
	20% { opacity: 1; }
	100% { transform: translateY(-44px) scale(1); opacity: 0; }
}

/* ---------- Animasi reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
	.main-nav ul { gap: 0; }
	.main-nav a { padding: 9px 9px; font-size: 13.5px; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
	.main-nav { display: none; }
	.header-actions .btn-outline, .header-actions .btn-gold { display: none; }
	.nav-toggle { display: flex; }
	.mobile-nav { display: block; }
	.hero-inner { grid-template-columns: 1fr; padding: 48px 0 56px; text-align: center; }
	.hero-lead { margin: 0 auto; }
	.hero-cta { justify-content: center; }
	.hero-trust { justify-content: center; }
	.hero-note { margin-left: auto; margin-right: auto; }
	.hero-visual { margin-top: 18px; }
	.split { grid-template-columns: 1fr; gap: 30px; }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.auth-wrap { grid-template-columns: 1fr; padding: 40px 0 60px; }
	.duo { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
	.section { padding: 54px 0; }
	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: 1fr; }
	.promo-grid { grid-template-columns: 1fr; }
	.related-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
	.auth-form-card { padding: 26px 20px; }
	.checklist-box { padding: 20px 14px; }
	.search-form { flex-direction: column; border-radius: 18px; }
	.search-form input { padding: 13px 14px; }
	.search-form .btn { width: 100%; }
	.hm-reel { height: 74px; }
	.hm-strip { font-size: 40px; line-height: 74px; }
	.hm-strip span { height: 74px; }
	.toc ul { columns: 1; }
	.float-cta { padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
	.float-cta-btn { width: 100%; justify-content: center; padding: 11px 18px; gap: 12px; }
	.fcta-text { font-size: 15px; letter-spacing: 1px; }
	.site-footer { padding-bottom: 104px; }
	.article-body { padding: 30px 0 20px; }
	.article-body h2 { font-size: 20px; }
}

@media (max-width: 400px) {
	.container { padding: 0 15px; }
	.logo-text { font-size: 21px; }
	.fcta-reel { width: 26px; height: 30px; }
	.fcta-strip { font-size: 15px; line-height: 26px; }
	.badge-18 { width: 38px; height: 38px; min-width: 38px; font-size: 13px; }
}
