:root {
  --ink: #0b0d0c;
  --panel: #121513;
  --panel-soft: #181c19;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f4ee;
  --muted: #a6aaa2;
  --acid: #c9f052;
  --acid-ink: #172000;
  --serif: Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { color: inherit; }

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }

.app-shell {
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.brand, .gate-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.6px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(201, 240, 82, .45);
  border-radius: 8px;
  color: var(--acid);
  background: rgba(201, 240, 82, .07);
}

.brand-mark svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark svg path:last-child { fill: currentColor; stroke: none; }

.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(201, 240, 82, .17);
  border-radius: 999px;
  color: #c7c9c2;
  background: rgba(201, 240, 82, .05);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.secure-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(201, 240, 82, .1);
  animation: status-pulse 2.2s infinite;
}

@keyframes status-pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

.content {
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 42px 18px 34px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: var(--acid);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.eyebrow i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

.content > h1 {
  max-width: 520px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px, 9.2vw, 48px);
  line-height: 1.06;
  letter-spacing: -1.8px;
}

.content > h1 em, .desktop-gate h1 em {
  color: var(--acid);
  font-family: var(--serif);
  font-weight: 400;
}

.intro {
  max-width: 480px;
  margin: 17px 0 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.player-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .27);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070908;
  touch-action: pan-y;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 -90px 65px -50px rgba(0, 0, 0, .92);
}

#secureVideo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #080a09;
}

.bunny-player {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #080a09;
}

#secureVideo::-webkit-media-controls,
#secureVideo::-webkit-media-controls-enclosure { display: none !important; }

.poster-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: #1f2924;
  transition: opacity .45s ease, visibility .45s;
}

.poster-art.is-hidden { opacity: 0; visibility: hidden; }

.poster-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(300px) rotateX(56deg) scale(1.6) translateY(30%);
  transform-origin: center bottom;
  opacity: .35;
}

.poster-light { position: absolute; inset: -30% 35% 0 -30%; background: #91a988; filter: blur(80px); opacity: .44; transform: rotate(-18deg); }
.poster-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(226,255,151,.5); }
.orb-one { width: 180px; height: 180px; top: -60px; right: -12px; box-shadow: inset 0 0 70px rgba(201,240,82,.09), 0 0 50px rgba(201,240,82,.1); }
.orb-two { width: 60px; height: 60px; bottom: 36px; right: 86px; background: var(--acid); opacity: .7; filter: blur(.2px); }

.poster-copy { position: absolute; top: 28px; left: 27px; display: flex; flex-direction: column; }
.poster-copy span { color: rgba(255,255,255,.72); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.poster-copy strong { margin-top: -10px; color: rgba(255,255,255,.08); font-family: "Manrope", sans-serif; font-size: 110px; line-height: 1; letter-spacing: -10px; }

.dynamic-watermark {
  position: absolute;
  top: 17px;
  right: 15px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 5px 7px;
  color: rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .18);
  border-radius: 4px;
  font-size: 8px;
  line-height: 1.4;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: top .65s ease, right .65s ease, bottom .65s ease, left .65s ease;
}

.dynamic-watermark strong { font-weight: 700; letter-spacing: .1em; }
.dynamic-watermark span { font-variant-numeric: tabular-nums; }

.forensic-watermarks {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, .12);
  font-size: clamp(8px, 2.5vw, 13px);
  font-weight: 800;
  letter-spacing: .12em;
  pointer-events: none;
  transform: rotate(-19deg) scale(1.14);
  mix-blend-mode: screen;
}

.forensic-watermarks span:nth-child(even) { transform: translateX(14px); }

.center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: var(--acid-ink);
  background: var(--acid);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform .18s ease, opacity .25s ease;
}

.center-play:active { transform: translate(-50%, -50%) scale(.94); }
.center-play svg { width: 24px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.center-play .play-icon { margin-left: 3px; }

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  padding: 0 15px 13px;
  transition: opacity .3s ease;
}

.progress-wrap { display: flex; align-items: center; height: 16px; }
.progress { width: 100%; height: 3px; margin: 0; border-radius: 999px; background: linear-gradient(90deg, var(--acid) var(--progress, 0%), rgba(255,255,255,.24) var(--progress, 0%)); appearance: none; -webkit-appearance: none; outline: none; }
.progress::-webkit-slider-thumb { width: 11px; height: 11px; border: 2px solid #121512; border-radius: 50%; background: var(--acid); appearance: none; -webkit-appearance: none; }
.progress::-moz-range-thumb { width: 9px; height: 9px; border: 2px solid #121512; border-radius: 50%; background: var(--acid); }

.controls-row { display: flex; align-items: center; min-height: 30px; }
.icon-button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button .play-icon { fill: currentColor; stroke: none; }
.pause-icon, .muted-icon { display: none; }
.exit-fullscreen-icon { display: none; }
.is-playing .play-icon { display: none; }
.is-playing .pause-icon { display: block; fill: none; }
.is-muted .volume-icon { display: none; }
.is-muted .muted-icon { display: block; }
.is-fullscreen .enter-fullscreen-icon { display: none; }
.is-fullscreen .exit-fullscreen-icon { display: block; }
.time-label { margin-left: 6px; color: rgba(255,255,255,.8); font-size: 9px; font-weight: 600; font-variant-numeric: tabular-nums; }
.control-spacer { flex: 1; }
.fullscreen-button { margin-left: 2px; }
.quality-pill { margin-left: 5px; padding: 4px 5px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; font-size: 8px; font-weight: 800; }

.video-frame:fullscreen,
.video-frame:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  background: #000;
}

.video-frame:fullscreen #secureVideo,
.video-frame:-webkit-full-screen #secureVideo { object-fit: contain; }

.video-frame:fullscreen .player-controls,
.video-frame:-webkit-full-screen .player-controls { padding: 0 max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }

.privacy-shield {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #090b0a;
  text-align: center;
}

.shield-icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 12px; border: 1px solid rgba(201,240,82,.22); border-radius: 50%; color: var(--acid); background: rgba(201,240,82,.06); }
.shield-icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.privacy-shield strong { font: 700 14px "Manrope", sans-serif; }
.privacy-shield span { margin-top: 5px; color: var(--muted); font-size: 10px; }

.security-note { display: flex; align-items: center; min-height: 75px; padding: 15px; }
.lock-small { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; margin-right: 11px; border-radius: 10px; color: var(--acid); background: rgba(201,240,82,.09); }
.lock-small svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.security-note strong { display: block; margin-bottom: 3px; font-family: "Manrope", sans-serif; font-size: 11px; }
.security-note p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.info-button { display: grid; flex: 0 0 auto; place-items: center; width: 25px; height: 25px; margin-left: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--muted); background: transparent; font: 600 11px var(--serif); cursor: pointer; }

.lesson-meta { display: flex; align-items: center; padding: 21px 3px; border-bottom: 1px solid var(--line); }
.mentor-avatar { display: grid; place-items: center; width: 39px; height: 39px; margin-right: 11px; border: 1px solid rgba(201,240,82,.25); border-radius: 50%; color: var(--acid); background: #20261d; font: 700 11px "Manrope", sans-serif; }
.lesson-meta span { display: block; margin-bottom: 4px; color: #70756f; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.lesson-meta strong { display: block; font: 600 11px "Manrope", sans-serif; }
.duration-meta { margin-left: auto; padding-left: 24px; text-align: right; border-left: 1px solid var(--line); }
.session-line { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 19px; color: #696e68; font-size: 9px; }
.session-line svg { width: 13px; fill: none; stroke: var(--acid); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.desktop-gate { min-height: 100dvh; padding: 40px 22px; display: grid; place-items: center; }
.gate-panel { width: min(100%, 620px); padding: 43px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); text-align: center; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.gate-brand { justify-content: center; margin-bottom: 42px; font-size: 19px; }
.phone-visual { position: relative; width: 112px; height: 166px; margin: 0 auto 35px; padding: 11px 7px 8px; border: 2px solid #484d48; border-radius: 23px; background: #080a09; transform: rotate(3deg); box-shadow: 16px 16px 0 rgba(201,240,82,.05); }
.phone-speaker { width: 28px; height: 3px; margin: -4px auto 8px; border-radius: 99px; background: #343835; }
.phone-screen { position: relative; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; height: 142px; overflow: hidden; border-radius: 15px; background: #1a211d; }
.phone-screen::before { content: ""; position: absolute; width: 100px; height: 100px; border: 1px solid rgba(201,240,82,.25); border-radius: 50%; top: -45px; right: -45px; }
.phone-screen i { width: 48px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.12); }
.phone-screen i:last-child { width: 35px; }
.mini-lock { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 7px; border-radius: 50%; color: var(--acid); background: rgba(201,240,82,.1); }
.mini-lock svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.gate-kicker { color: var(--acid); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.desktop-gate h1 { margin: 13px 0 14px; font: 800 clamp(36px, 5vw, 55px)/1.05 "Manrope", sans-serif; letter-spacing: -2.4px; }
.desktop-gate p { max-width: 440px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.7; }
.gate-tip { display: flex; align-items: center; gap: 12px; max-width: 400px; margin: 30px auto 37px; padding: 14px 16px; border: 1px solid rgba(201,240,82,.13); border-radius: 12px; color: #c3c6bf; background: rgba(201,240,82,.045); text-align: left; font-size: 11px; line-height: 1.45; }
.gate-tip svg { flex: 0 0 auto; width: 20px; fill: none; stroke: var(--acid); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gate-panel small { color: #555a55; font-size: 9px; }

.security-toast { position: fixed; left: 50%; bottom: 22px; z-index: 100; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 30px); padding: 12px 16px; border: 1px solid rgba(201,240,82,.22); border-radius: 10px; color: #dfe1da; background: #1b201b; box-shadow: 0 15px 35px rgba(0,0,0,.4); font-size: 11px; opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: .25s ease; }
.security-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.security-toast svg { width: 18px; fill: none; stroke: var(--acid); stroke-width: 1.7; }

.security-dialog { width: min(calc(100% - 32px), 390px); padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; color: var(--text); background: #171a18; box-shadow: 0 25px 80px rgba(0,0,0,.65); text-align: center; }
.security-dialog::backdrop { background: rgba(4,6,5,.78); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border: 0; color: #7f847e; background: transparent; font-size: 24px; cursor: pointer; }
.dialog-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 17px; border-radius: 14px; color: var(--acid); background: rgba(201,240,82,.09); }
.dialog-icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.dialog-kicker { color: var(--acid); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.security-dialog h2 { margin: 9px 0 10px; font: 700 23px "Manrope", sans-serif; letter-spacing: -.7px; }
.security-dialog p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.dialog-button { width: 100%; margin-top: 24px; padding: 13px; border: 0; border-radius: 9px; color: var(--acid-ink); background: var(--acid); font-size: 12px; font-weight: 800; cursor: pointer; }

.noscript { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 30px; background: #0b0d0c; color: #fff; text-align: center; }

@media (min-width: 740px) and (max-width: 1024px) {
  .content { padding-top: 65px; }
  .video-frame { aspect-ratio: 16/9; }
}

@media (max-width: 370px) {
  .topbar { padding-inline: 15px; }
  .content { padding-inline: 13px; }
  .secure-pill { font-size: 8px; }
  .intro { font-size: 13px; }
  .security-note { padding-inline: 12px; }
}

@media print {
  html, body { background: #000 !important; }
  body > * { display: none !important; }
  body::after { content: "Konten dilindungi"; position: fixed; inset: 0; display: grid; place-items: center; color: #555; background: #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
