/* Si Jalak Harupat · web promosi */
@font-face { font-family: "Lilita One"; src: url("../assets/fonts/LilitaOne-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #14060e; --bg2: #1d0915; --panel: #2a0f22; --plum: #3c1228; --line: rgba(236, 196, 120, .28);
  --gold: #ffd36a; --gold2: #f3a93a; --cream: #f6ead2; --muted: #b9a38f; --red: #e2492e; --teal: #36c2a8;
  --legend: #ffc93c; --epic: #b46ae0; --rare: #4a9be8; --common: #9a8a7c;
  --display: "Lilita One", "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--cream); font: 16px/1.6 var(--body); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .5px; line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
p { margin: 0 0 1em; }
b { color: #fff3d6; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.narrow { max-width: 680px; margin-inline: auto; color: var(--muted); }
.muted { color: var(--muted); }
.grad { background: linear-gradient(180deg, #fff6c8, var(--gold) 45%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-block; font: 700 13px/1 var(--body); letter-spacing: 2px; text-transform: uppercase; color: var(--gold2); margin-bottom: 12px; }
.kicker::before { content: "◆ "; color: var(--gold); }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line);
  font: 700 15px var(--body); color: var(--cream); background: rgba(255,255,255,.04); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, #ffd978, #e9962a); color: #3a1406; border-color: #ffe7a8; box-shadow: 0 6px 22px rgba(240,160,50,.35), inset 0 1px 0 #fff4c8; }
.btn-gold:hover { box-shadow: 0 10px 30px rgba(240,160,50,.55), inset 0 1px 0 #fff4c8; }
.btn-ghost:hover { background: rgba(255,211,106,.1); border-color: var(--gold); }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn.disabled { opacity: .5; cursor: not-allowed; }
.btn.disabled:hover { transform: none; }

/* ---------- intro (splash) ---------- */
#intro { position: fixed; inset: 0; z-index: 100; background: #3c1228; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; cursor: pointer; transition: opacity .6s, visibility .6s; }
#intro.done { opacity: 0; visibility: hidden; }
.intro-word { font: clamp(54px, 12vw, 104px)/1 var(--display); background: linear-gradient(180deg, #fffbe6, #ffd86a 50%, #ff9d3a); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 #3a0f18) drop-shadow(0 -2px 0 #3a0f18) drop-shadow(3px 0 0 #3a0f18) drop-shadow(-3px 0 0 #3a0f18) drop-shadow(0 10px 8px rgba(0,0,0,.4));
  transform-origin: 50% 100%; animation: dropWord .8s cubic-bezier(.3,1.4,.5,1) .15s both, squash .35s ease-out .62s; }
.intro-blocks { display: flex; gap: 12px; }
.intro-blocks span { width: clamp(54px, 9vw, 78px); aspect-ratio: 1; border-radius: 18%; display: grid; place-items: center; font: clamp(34px, 6vw, 54px)/1 var(--display); color: #fff;
  text-shadow: 0 3px 0 rgba(40,10,20,.5); box-shadow: inset 0 -8px 0 rgba(0,0,0,.18), inset 0 6px 0 rgba(255,255,255,.22), 0 8px 0 rgba(0,0,0,.3);
  animation: dropBlock .55s cubic-bezier(.3,1.5,.55,1) both; }
.intro-blocks span:nth-child(1) { background: linear-gradient(#ff6b4a, #c93a26); animation-delay: 1.05s; --rot: -14deg; }
.intro-blocks span:nth-child(2) { background: linear-gradient(#ffb432, #d17a0e); animation-delay: 1.3s; --rot: 12deg; }
.intro-blocks span:nth-child(3) { background: linear-gradient(#36c2a8, #1d8a76); animation-delay: 1.55s; --rot: -10deg; }
.intro-blocks span:nth-child(4) { background: linear-gradient(#5b8cf0, #3459b8); animation-delay: 1.8s; --rot: 14deg; }
.intro-skip { position: absolute; bottom: 24px; font-size: 13px; color: rgba(246,234,210,.45); }
@keyframes dropWord { from { transform: translateY(-80vh); } to { transform: translateY(0); } }
@keyframes squash { 0%,100% { transform: scale(1,1); } 30% { transform: scale(1.12,.82); } }
@keyframes dropBlock { from { transform: translateY(-80vh) rotate(var(--rot)); } to { transform: translateY(0) rotate(0); } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 10px max(16px, calc((100% - 1180px) / 2));
  transition: background .3s, box-shadow .3s, padding .3s; }
.nav.scrolled { background: rgba(20,6,14,.86); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding-block: 6px; }
.nav-logo img { height: 46px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--cream); font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .25s; }
.nav-links a:hover::after, .nav-links a.on::after { right: 0; }
.nav-cta { padding: 9px 18px; }
.nav-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-burger i { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 80px; }
.hero-bg { position: absolute; inset: -6%; background: url("../assets/img/hero_senja.png") center 70% / cover no-repeat; transform: scale(1.05); will-change: transform; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,6,14,.92) 0%, rgba(20,6,14,.62) 48%, rgba(20,6,14,.25) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 99px; background: rgba(226,73,46,.18); border: 1px solid rgba(226,73,46,.5); color: #ffb9a6; font-size: 13px; font-weight: 700; }
.hero-logo { width: min(430px, 90%); margin: 14px 0 6px -10px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.55)); animation: logoIn 1s cubic-bezier(.3,1.45,.5,1) both; animation-delay: var(--intro-delay, .1s); }
@keyframes logoIn { from { transform: translateY(-60px) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); text-shadow: 0 4px 18px rgba(0,0,0,.5); }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: #e9dcc4; max-width: 560px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.btn-dl { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border-radius: 14px; color: #fff; background: #111; border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s, box-shadow .2s; min-width: 190px; }
.btn-dl svg { width: 30px; height: 30px; fill: currentColor; flex-shrink: 0; }
.btn-dl span { display: flex; flex-direction: column; font: 700 18px/1.1 var(--body); }
.btn-dl small { font: 500 11px/1.2 var(--body); opacity: .75; letter-spacing: .3px; }
.btn-dl:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.5); }
.btn-dl[data-dl="pc"] { background: linear-gradient(180deg, #ffd978, #e9962a); color: #3a1406; border-color: #ffe7a8; box-shadow: 0 6px 22px rgba(240,160,50,.35); }
.btn-dl.android { background: linear-gradient(180deg, #3ddc84, #1f9e5a); border-color: #9ff0c2; }
.btn-dl.soon { opacity: .55; cursor: not-allowed; position: relative; }
.btn-dl.soon:hover { transform: none; box-shadow: none; }
.btn-dl.soon::after { content: "SEGERA"; position: absolute; top: -9px; right: -8px; background: var(--red); color: #fff; font: 800 10px/1 var(--body); padding: 4px 7px; border-radius: 6px; letter-spacing: .6px; }
.hero-note { font-size: 13px; color: var(--muted); }
.hero-media { position: relative; }
.screen { position: relative; border-radius: 18px; overflow: hidden; border: 3px solid #ffd36a; box-shadow: 0 0 0 6px rgba(60,18,40,.9), 0 0 60px rgba(255,190,90,.35), 0 30px 60px rgba(0,0,0,.6);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform .5s; aspect-ratio: 816 / 624; background: #000; }
.screen:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.screen video { width: 100%; height: 100%; object-fit: cover; }
.screen-glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, transparent 35%); pointer-events: none; }
.float-chip { position: absolute; padding: 8px 14px; border-radius: 12px; background: rgba(42,15,34,.92); border: 1px solid var(--gold); font: 700 14px var(--body); color: var(--gold);
  box-shadow: 0 8px 20px rgba(0,0,0,.45); animation: bob 4s ease-in-out infinite; white-space: nowrap; }
.float-chip.c1 { top: -18px; right: 8%; }
.float-chip.c2 { bottom: 14%; left: -26px; animation-delay: -1.3s; }
.float-chip.c3 { bottom: -16px; right: 14%; animation-delay: -2.6s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(246,234,210,.5); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- stats ---------- */
.stats { position: relative; padding: 26px 0; background: linear-gradient(90deg, #2a0f22, #4a1630 50%, #2a0f22); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center; }
.stat b { display: block; font: 44px/1 var(--display); color: var(--gold); text-shadow: 0 3px 0 #3a0f18; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- section umum ---------- */
.section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.section.alt { background: radial-gradient(ellipse at 50% 0%, #3a1228 0%, var(--bg2) 60%); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.two-col.rev > :first-child { order: 0; }
.frame { position: relative; border-radius: var(--r); overflow: hidden; border: 2px solid rgba(255,211,106,.55); box-shadow: 0 24px 50px rgba(0,0,0,.55), 0 0 0 6px rgba(42,15,34,.8); background: #000; aspect-ratio: 816 / 624; }
.frame.gold { border-color: var(--gold); box-shadow: 0 0 50px rgba(255,190,90,.3), 0 24px 50px rgba(0,0,0,.55), 0 0 0 6px rgba(42,15,34,.8); }
.frame video { width: 100%; height: 100%; object-fit: cover; }
.frame-tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 8px; background: rgba(20,6,14,.85); font-size: 12px; font-weight: 700; color: var(--gold); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.thumbs img { border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; transition: transform .25s; aspect-ratio: 816 / 624; object-fit: cover; }
.thumbs img:hover { transform: scale(1.04); }

/* timeline cerita */
.timeline { list-style: none; padding: 0; margin: 26px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), rgba(255,211,106,.1)); }
.timeline li { position: relative; padding: 0 0 18px 46px; }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 6px; width: 16px; height: 16px; transform: rotate(45deg); background: var(--plum); border: 2px solid var(--gold); }
.timeline li.now::before { background: var(--gold); box-shadow: 0 0 14px var(--gold); animation: pulse 1.8s infinite; }
.timeline span { font: 700 12px var(--body); color: var(--gold2); letter-spacing: 1px; text-transform: uppercase; display: block; }
.timeline b { font: 22px/1.2 var(--display); color: #fff3d6; display: block; }
.timeline em { font-style: normal; color: var(--muted); font-size: 14px; }
@keyframes pulse { 50% { box-shadow: 0 0 2px var(--gold); } }

/* battle */
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: #e3d5bc; }
.checks li::before { content: "⚔"; position: absolute; left: 0; color: var(--gold); }
.enemy-row { display: flex; flex-wrap: wrap; gap: 8px; }
.enemy-row span { padding: 5px 12px; border-radius: 99px; background: rgba(226,73,46,.14); border: 1px solid rgba(226,73,46,.45); color: #ffc2b3; font-size: 13px; font-weight: 600; }

/* ---------- gacha ---------- */
.gacha-sec { overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #4a1630 0%, var(--bg) 70%); }
.ritual-bg { position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1; translate: -50% -50%; opacity: .14; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23ffd36a'%3E%3Ccircle cx='100' cy='100' r='96' stroke-width='1.2'/%3E%3Ccircle cx='100' cy='100' r='88'/%3E%3Ccircle cx='100' cy='100' r='52'/%3E%3Cpath d='M100 12 176 144H24Z M100 188 24 56H176Z'/%3E%3Cpath d='M100 48 145 126H55Z M100 152 55 74H145Z' opacity='.7'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: spin 80s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.gacha-grid { margin-top: 46px; align-items: start; }
.rates { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; background: rgba(42,15,34,.7); border-radius: 12px; overflow: hidden; }
.rates td { padding: 9px 14px; border-bottom: 1px solid rgba(236,196,120,.12); }
.rates td:first-child { font-weight: 700; white-space: nowrap; }
.rates td:nth-child(2) { color: var(--muted); }
.rates td:last-child { text-align: right; font-weight: 800; color: var(--gold); white-space: nowrap; }
.rates i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.t-legend { background: var(--legend); box-shadow: 0 0 8px var(--legend); } .t-epic { background: var(--epic); } .t-rare { background: var(--rare); } .t-common { background: var(--common); }

/* demo gacha */
.demo { border-radius: 18px; border: 2px solid var(--gold); background: linear-gradient(180deg, #3a1530, #170616); box-shadow: 0 0 50px rgba(255,190,90,.2); overflow: hidden; }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.demo-head b { font: 24px var(--display); color: var(--gold); }
.demo-tabs { display: flex; gap: 6px; }
.demo-tabs button { padding: 7px 14px; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 700 14px var(--body); cursor: pointer; }
.demo-tabs button.on { background: linear-gradient(180deg, #d9a038, #8a4a12); color: #fffbe8; border-color: #fff1c0; }
.demo-stage { position: relative; height: 380px; overflow: hidden; background: radial-gradient(circle at 60% 55%, rgba(255,190,90,.25), transparent 60%); }
.demo-art { position: absolute; right: 2%; bottom: 0; height: 92%; width: auto; max-width: 70%; object-fit: contain; object-position: bottom; transition: opacity .4s, transform .4s; filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); }
.demo-art.landscape { height: auto; width: 82%; max-width: 82%; right: 0; }
.demo-ring { position: absolute; left: 50%; top: 50%; width: 330px; height: 330px; translate: -50% -50%; opacity: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23ffe3a0' stroke-width='1.6'%3E%3Ccircle cx='100' cy='100' r='95'/%3E%3Ccircle cx='100' cy='100' r='86' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='50'/%3E%3Cpath d='M100 14 174 143H26Z M100 186 26 57H174Z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 10px var(--ring, #ffd36a)); }
.demo-stage.summon .demo-ring { animation: summon 2s ease-in forwards; }
.demo-stage.summon .demo-art { opacity: .15; transform: scale(.96); }
@keyframes summon { 0% { opacity: 0; transform: scale(.4) rotate(0); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1.1) rotate(540deg); } }
.demo-cards { position: absolute; inset: 14px 14px 44px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-content: center; perspective: 900px; pointer-events: none; }
.demo-cards.one { grid-template-columns: minmax(0, 160px); justify-content: center; }
.card { position: relative; aspect-ratio: 118 / 168; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3,1.3,.6,1); animation: deal .45s cubic-bezier(.2,1.3,.5,1) backwards; }
.card.flip { transform: rotateY(180deg); }
.card > div { position: absolute; inset: 0; border-radius: 10px; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 6px; }
.card .back { background: linear-gradient(180deg, #4a1838, #170616); border: 2px solid var(--gold); color: var(--gold); font: 30px var(--display); }
.card .front { transform: rotateY(180deg); background: linear-gradient(180deg, #2c0f28, #120510); border: 3px solid var(--tc); box-shadow: 0 0 18px var(--tc); }
.card .front .ico { --s: 40px; width: var(--s); height: var(--s); background: url("../assets/img/icons.png") no-repeat; background-size: auto var(--s);
  background-position: calc(var(--i, 0) * var(--s) * -1) 0; image-rendering: pixelated; }
.card .front .nm { font: 700 11px/1.2 var(--body); color: #fff1d2; }
.card .front .tr { font: 800 9px var(--body); padding: 2px 6px; border-radius: 4px; background: var(--tc); color: #1a0812; letter-spacing: .5px; }
.card .front .st { color: #ffe27a; font-size: 10px; letter-spacing: 1px; }
.demo-cards.one .card .front .ico { --s: 64px; }
.demo-cards.one .card .front .nm { font-size: 15px; }
@keyframes deal { from { transform: translateY(80px) scale(.3); opacity: 0; } }
.demo-msg { position: absolute; left: 16px; right: 16px; bottom: 14px; text-align: center; font-weight: 700; color: var(--gold); text-shadow: 0 2px 6px #000; pointer-events: none; }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line); }
.demo-pity { font-size: 14px; color: var(--muted); }
.demo-pity b { color: var(--gold); font-size: 18px; }
.demo-btns { display: flex; gap: 8px; }
.demo-btns .btn:disabled { opacity: .5; cursor: wait; transform: none; }
.demo-note { margin: 0; padding: 0 16px 14px; font-size: 12px; color: var(--muted); }

/* cinematic legendaris (demo) */
.cine { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: #050106; overflow: hidden; animation: fadeIn .2s both; cursor: pointer; }
.cine[hidden] { display: none; }
.cine-rays { position: absolute; left: 50%; top: 45%; width: 220vmax; height: 220vmax; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,215,120,.55) 0deg 7deg, transparent 7deg 18deg); mask: radial-gradient(circle, #000 0%, transparent 60%); -webkit-mask: radial-gradient(circle, #000 0%, transparent 60%);
  animation: spin 18s linear infinite; }
.cine-art { position: relative; max-height: 66vh; max-width: 86vw; animation: slam .7s cubic-bezier(.2,1.5,.5,1) .15s both; filter: drop-shadow(0 0 40px rgba(255,200,90,.6)); }
.cine-text { position: absolute; bottom: 9vh; left: 0; right: 0; text-align: center; font: clamp(40px, 8vw, 84px)/1 var(--display); color: #ffd36a; text-shadow: 0 5px 0 #4a1a00, 0 0 30px rgba(255,180,60,.9);
  animation: textIn .6s cubic-bezier(.2,1.5,.5,1) .8s both; }
.cine-text small { display: block; margin-top: 10px; font: 700 clamp(14px, 2vw, 20px) var(--body); color: #fff1c8; text-shadow: 0 2px 6px #000; }
@keyframes slam { from { transform: scale(1.8); opacity: 0; filter: brightness(4); } }
@keyframes textIn { from { transform: scale(2.2); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- karakter ---------- */
.chars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 40px 0 26px; }
.char { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r); background: linear-gradient(180deg, #2c1024, #1a0814); border: 1px solid var(--line); }
.char img { width: 112px; height: 112px; border-radius: 14px; border: 2px solid var(--gold); background: #3a1530; flex-shrink: 0; }
.char b { font: 26px var(--display); display: block; }
.cls { display: inline-block; font: 700 12px var(--body); color: var(--gold2); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.char p { margin: 0; color: var(--muted); font-size: 14px; }
.premium-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.premium { position: relative; border-radius: 20px; overflow: hidden; border: 2px solid var(--gold); background: linear-gradient(160deg, #5c1020, #2e0c26 55%, #14050f); box-shadow: 0 0 40px rgba(255,190,90,.18); display: grid; grid-template-rows: 300px auto; }
.premium::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%); background-size: 250% 100%; background-position: 120% 0; transition: background-position .9s; pointer-events: none; }
.premium:hover::after { background-position: -40% 0; }
.premium-art { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 80%, rgba(255,190,90,.35), transparent 65%); }
.premium-art img { position: absolute; left: 50%; bottom: 0; translate: -50% 0; height: 100%; width: auto; max-width: none; object-fit: contain; transition: transform .5s; }
.premium[data-art="rongawi"] .premium-art img { height: auto; width: 100%; top: 50%; bottom: auto; translate: -50% -50%; }
.premium:hover .premium-art img { transform: scale(1.05); }
.premium-info { padding: 18px 20px 22px; }
.premium-info h3 { font-size: 28px; color: var(--gold); margin-bottom: 4px; }
.premium-info p { color: #e3d5bc; font-size: 15px; }
.badge-prem { display: inline-block; padding: 3px 10px; border-radius: 6px; background: linear-gradient(90deg, #e2492e, #8a1a3a); color: #fff6d0; font: 800 11px var(--body); letter-spacing: 1px; margin-bottom: 8px; }
.skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.skills span { padding: 4px 10px; border-radius: 8px; background: rgba(255,211,106,.1); border: 1px solid rgba(255,211,106,.35); font-size: 12px; font-weight: 700; color: #ffe2a8; }
.skills .ult { background: linear-gradient(90deg, #ffd36a, #f3a93a); color: #3a1406; border-color: #fff1c0; }

/* ---------- fitur ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.feat { border-radius: var(--r); overflow: hidden; background: linear-gradient(180deg, #2c1024, #1a0814); border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.feat:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 36px rgba(0,0,0,.45), 0 0 24px rgba(255,190,90,.15); }
.feat-media { aspect-ratio: 816 / 624; overflow: hidden; background: #000; }
.feat-media img, .feat-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feat:hover .feat-media img { transform: scale(1.07); }
.feat-body { padding: 14px 16px 18px; }
.feat-body i { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,211,106,.14); color: var(--gold); font-size: 18px; margin-bottom: 8px; }
.feat-body b { display: block; font: 20px var(--display); margin-bottom: 4px; }
.feat-body p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- galeri ---------- */
.gal-tabs { display: flex; justify-content: center; gap: 8px; margin: 30px 0 22px; }
.gal-tabs button { padding: 9px 20px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 700 15px var(--body); cursor: pointer; }
.gal-tabs button.on { background: var(--plum); color: var(--gold); border-color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery img { border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; aspect-ratio: 816 / 624; object-fit: cover; transition: transform .3s, box-shadow .3s; }
.gallery img:hover { transform: scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.gallery.videos figure { margin: 0; position: relative; cursor: pointer; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery.videos figure img { border: 0; border-radius: 0; cursor: pointer; }
.gallery.videos figure::before { content: "▶"; position: absolute; left: 50%; top: 42%; translate: -50% -50%; z-index: 1; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,211,106,.92); color: #3a1406; font-size: 20px; padding-left: 4px; box-shadow: 0 0 0 6px rgba(255,211,106,.25); transition: transform .25s; }
.gallery.videos figure:hover::before { transform: scale(1.12); }
.gallery figcaption { padding: 9px 12px; font-weight: 700; font-size: 14px; background: #1f0b18; }
.gallery[hidden] { display: none; }

/* ---------- download ---------- */
.download { background: radial-gradient(ellipse at 50% 100%, #4a1630, var(--bg) 70%); }
.dl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.dl-card { padding: 26px 24px; border-radius: 20px; background: linear-gradient(180deg, #2c1024, #170616); border: 1px solid var(--line); display: flex; flex-direction: column; }
.dl-card.featured { border: 2px solid var(--gold); box-shadow: 0 0 40px rgba(255,190,90,.2); }
.dl-card.soon { opacity: .7; }
.dl-card svg { width: 44px; height: 44px; fill: var(--gold); margin-bottom: 12px; }
.dl-card h3 { font-size: 28px; margin-bottom: 2px; }
.dl-meta { color: var(--gold2); font-weight: 700; font-size: 14px; }
.dl-card ul { padding-left: 18px; color: var(--muted); font-size: 14px; flex: 1; }
.faq { max-width: 760px; margin: 50px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: rgba(42,15,34,.6); }
.faq summary { padding: 14px 18px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 18px 14px; margin: 0; color: var(--muted); }

/* ---------- footer ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--line); background: #0e0409; text-align: center; }
.foot-inner img { height: 60px; width: auto; margin: 0 auto 10px; }
.footer p { margin: 4px 0; font-size: 14px; }

/* ---------- lightbox / toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(6,2,8,.92); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s both; }
.lightbox[hidden] { display: none; }
.lb-body img, .lb-body video { max-width: min(1100px, 94vw); max-height: 86vh; border-radius: 12px; border: 2px solid var(--gold); box-shadow: 0 20px 60px #000; }
.lb-close { position: absolute; top: 12px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(42,15,34,.9); color: var(--cream); font-size: 26px; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 99; translate: -50% 40px; opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 12px; background: #2a0f22; border: 1px solid var(--gold);
  color: var(--cream); font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: opacity .3s, translate .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- animasi muncul saat scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.tilt { transition: transform .25s ease; transform-style: preserve-3d; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- responsif ---------- */
@media (max-width: 980px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .screen { transform: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .premium-row, .chars { grid-template-columns: 1fr; }
  .dl-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 0; right: 0; bottom: 0; width: min(280px, 80vw); flex-direction: column; gap: 4px; padding: 80px 24px; background: #1d0915; border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .35s; }
  .nav-links a { font-size: 18px; padding: 10px 0; }
  .nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20,6,14,.97); }
  .nav.open .nav-links { transform: none; box-shadow: -20px 0 40px rgba(0,0,0,.5); }
  .nav.open .nav-burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-burger i:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-burger { display: block; position: relative; z-index: 2; }
  .nav-cta { margin-left: auto; }
  .nav-logo img { height: 38px; }
  .dl-row { flex-direction: column; }
  .btn-dl { width: 100%; }
  .float-chip { font-size: 12px; padding: 6px 10px; }
  .float-chip.c2 { left: -6px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat:last-child { grid-column: span 2; }
  .demo-stage { height: 330px; }
  .demo-cards { gap: 5px; inset: 10px; }
  .card .front .ico { --s: 28px; }
  .card .front .nm { font-size: 9px; }
  .char img { width: 84px; height: 84px; }
  .premium { grid-template-rows: 240px auto; }
}
