/* LiveforYou — "channel guide" theme */
:root {
  --night: #16112e;
  --deck: #211a42;
  --deck-2: #2a2252;
  --line: #3a3166;
  --text: #f1ecff;
  --dim: #a69cd0;
  --onair: #ff4d5e;
  --amber: #ffc15e;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-hot { background: var(--onair); color: #fff; }
.btn-hot:hover { background: #ff6573; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--dim); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(22, 17, 46, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 800 22px/1 var(--display); text-decoration: none; letter-spacing: -0.03em; }
.logo b { color: var(--amber); font-weight: 800; }
.logo-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--onair); box-shadow: 0 0 0 4px rgba(255, 77, 94, .22); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--dim); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--deck); }
.topbar-cta { margin-left: auto; }
.menu-btn { display: none; margin-left: 4px; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; padding: 12px 20px 18px; background: var(--night); border-bottom: 1px solid var(--line); margin: 0; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .topbar-in { gap: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.onair {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 16px; border-radius: 14px;
  border: 2.5px solid var(--onair); color: #ffe3e6;
  font: 800 18px/1 var(--display); letter-spacing: .06em;
  box-shadow: 0 0 22px rgba(255, 77, 94, .45), inset 0 0 14px rgba(255, 77, 94, .25);
  text-shadow: 0 0 10px rgba(255, 77, 94, .8);
}
.onair i { width: 12px; height: 12px; border-radius: 50%; background: var(--onair); box-shadow: 0 0 10px var(--onair); }
.onair span { font-family: var(--body); font-weight: 600; letter-spacing: 0; font-size: 15px; color: var(--text); text-shadow: none; padding-left: 12px; border-left: 1.5px solid rgba(255, 77, 94, .5); }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); font-weight: 800; letter-spacing: -0.045em; margin: 26px 0 20px; line-height: .95; }
.hero-lead { color: var(--dim); font-size: 19px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Channel monitor (the one animated element) */
.monitor { position: relative; border-radius: 28px; padding: 14px; background: var(--deck); border: 1px solid var(--line); }
.monitor-screen { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #0f0b22; }
.monitor-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; text-decoration: none; }
.monitor-slide.on { opacity: 1; }
.monitor-slide img { width: 100%; height: 100%; object-fit: cover; }
.monitor-slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(15, 11, 34, .92)); }
.monitor-cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.monitor-cap strong { display: block; font: 800 30px/1 var(--display); letter-spacing: -0.03em; }
.monitor-cap small { color: var(--dim); font-size: 15px; }
.monitor-ch { position: absolute; top: 16px; left: 16px; z-index: 2; font: 800 15px/1 var(--display); color: var(--night); background: var(--amber); padding: 7px 11px; border-radius: 8px; }
.monitor-static { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px),
  radial-gradient(circle at 50% 50%, rgba(255,255,255,.18), transparent 70%); }
.monitor.switching .monitor-static { animation: static .32s steps(4) 1; }
@keyframes static { 0% { opacity: .9; transform: translateY(0); } 50% { opacity: .6; transform: translateY(-3px); } 100% { opacity: 0; transform: translateY(0); } }
.monitor-dial { display: flex; gap: 8px; justify-content: center; padding-top: 14px; }
.monitor-dial button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--dim); font: 700 13px/1 var(--display); cursor: pointer; }
.monitor-dial button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--night); }
.monitor-empty { display: grid; place-items: center; height: 100%; text-align: center; padding: 30px; color: var(--dim); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .monitor { max-width: 460px; }
}

/* ---------- Sections ---------- */
.band { padding: 48px 0; }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.band-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.band-head p { color: var(--dim); margin-top: 8px; }
.band-link { color: var(--amber); font-weight: 600; text-decoration: none; white-space: nowrap; }
.band-link:hover { text-decoration: underline; }

/* ---------- Room tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.tiles-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.tiles-row .tile { scroll-snap-align: start; }
.tile { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: var(--deck); text-decoration: none; }
.tile-img { display: block; aspect-ratio: 3 / 4; background: var(--deck-2); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; }
.ch { font: 800 13px/1 var(--display); background: var(--amber); color: var(--night); padding: 6px 9px; border-radius: 7px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font: 600 12px/1 var(--body); background: rgba(22, 17, 46, .8); padding: 6px 9px; border-radius: 999px; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--onair); }
.tile-body { display: block; padding: 12px 14px 14px; }
.tile-body strong { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-body small { display: flex; justify-content: space-between; gap: 8px; color: var(--dim); font-size: 13px; }
.tile-body em { font-style: normal; color: var(--text); }

/* ---------- Channel lineup (TV guide rows) ---------- */
.lineup { border-top: 1px solid var(--line); }
.lineup-row { display: grid; grid-template-columns: 220px 120px 1fr auto; align-items: center; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.lineup-row:hover { background: var(--deck); }
.lineup-row h3 { font-size: 24px; font-weight: 700; }
.lineup-row p { color: var(--dim); font-size: 14px; margin-top: 4px; }
.lineup-count { font: 700 15px/1 var(--body); color: var(--text); }
.lineup-count b { color: var(--onair); }
.faces { display: flex; }
.faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--night); margin-left: -10px; background: var(--deck-2); }
.faces img:first-child { margin-left: 0; }
.lineup-go { color: var(--amber); font-weight: 600; }
@media (max-width: 760px) {
  .lineup-row { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .faces { grid-column: 1 / -1; }
  .lineup-go { display: none; }
}

/* ---------- Page headers ---------- */
.page-head { padding: 48px 0 24px; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; }
.page-head p { color: var(--dim); font-size: 18px; margin-top: 14px; max-width: 40em; }
.crumbs { display: flex; gap: 8px; color: var(--dim); font-size: 14px; margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; }
.chips a { flex: none; padding: 9px 15px; border-radius: 999px; background: var(--deck); color: var(--dim); text-decoration: none; font-size: 14px; font-weight: 500; }
.chips a:hover { color: var(--text); }
.chips a[aria-current="page"] { background: var(--text); color: var(--night); }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; background: var(--deck); text-decoration: none; font-weight: 600; }
.pager a[aria-current="page"] { background: var(--amber); color: var(--night); }
.pager span { background: none; color: var(--dim); }

.empty { padding: 48px 28px; border-radius: var(--r-lg); border: 1.5px dashed var(--line); text-align: center; }
.empty h2 { font-size: 28px; margin-bottom: 10px; }
.empty p { color: var(--dim); margin-bottom: 20px; }

/* ---------- Creator ---------- */
.creator { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 48px; align-items: center; padding: 40px 0 24px; }
.creator-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--deck); }
.creator-photo img { width: 100%; height: 100%; object-fit: cover; }
.creator-photo .live-pill { position: absolute; top: 16px; left: 16px; font-size: 14px; padding: 8px 12px; }
.creator h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 800; letter-spacing: -0.04em; word-break: break-word; }
.creator-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.fact { padding: 12px 16px; border-radius: 14px; background: var(--deck); min-width: 120px; }
.fact small { display: block; color: var(--dim); font-size: 13px; }
.fact strong { font: 700 22px/1.2 var(--display); }
.creator-note { color: var(--dim); font-size: 14px; margin-top: 16px; max-width: 34em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--deck-2); color: var(--dim); }
@media (max-width: 800px) { .creator { grid-template-columns: 1fr; gap: 28px; } .creator-photo { max-width: 420px; } }

/* ---------- Articles ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--deck); overflow: hidden; text-decoration: none; }
.post-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 9; padding: 16px 18px; overflow: hidden;
  background: var(--pc); color: var(--pt); }
.post-art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 4px); }
.post-word { order: 2; font: 800 clamp(34px, 3.6vw, 48px)/.95 var(--display); letter-spacing: -0.04em; word-break: break-word; transition: transform .2s ease; transform-origin: left bottom; }
.post:hover .post-word { transform: scale(1.05); }
.post-tag { order: 1; align-self: flex-start; font: 600 12px/1 var(--body); padding: 6px 9px; border-radius: 999px; background: rgba(22, 17, 46, .14); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.post-body small { color: var(--dim); font-size: 13px; }
.post-body strong { font: 700 19px/1.25 var(--display); letter-spacing: -0.01em; }
.post-ex { color: var(--dim); font-size: 15px; }
.post-big { grid-column: span 2; }
.post-big .post-art { aspect-ratio: 21 / 9; }
.post-big .post-word { font-size: clamp(48px, 6vw, 80px); }
.post-big .post-body strong { font-size: 26px; }
@media (max-width: 700px) { .post-big { grid-column: auto; } .post-big .post-art { aspect-ratio: 16 / 9; } }

.reading { display: grid; grid-template-columns: minmax(0, 680px) 300px; gap: 56px; padding: 8px 0 40px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose p { margin: 0 0 1.2em; color: #ddd6f6; }
.prose h2 { font-size: 32px; font-weight: 700; margin: 1.6em 0 .55em; }
.prose h3 { font-size: 23px; font-weight: 700; margin: 1.4em 0 .5em; }
.prose a { color: var(--amber); }
.side { position: sticky; top: 92px; align-self: start; padding: 22px; border-radius: var(--r-lg); background: var(--deck); }
.side h2 { font-size: 22px; margin-bottom: 14px; }
.side-list { display: grid; gap: 10px; margin-bottom: 18px; }
.side-room { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.side-room img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--deck-2); }
.side-room strong { display: block; font-size: 15px; }
.side-room small { color: var(--dim); font-size: 13px; }
@media (max-width: 960px) { .reading { grid-template-columns: 1fr; } .side { position: static; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; padding-bottom: 56px; }
.legal h2 { font-size: 26px; margin: 34px 0 10px; }
.legal p { color: #ddd6f6; margin-bottom: 14px; }
.legal a { color: var(--amber); }

/* ---------- Footer ---------- */
.footer { margin-top: 64px; border-top: 1px solid var(--line); background: #120e27; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 48px 0 32px; }
.footer-brand p { color: var(--dim); font-size: 15px; margin-top: 14px; max-width: 30em; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h2 { font: 600 15px/1 var(--body); color: var(--dim); margin-bottom: 6px; }
.footer-col a { text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--amber); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 0 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
/* Perbaikan tampilan 31 Okt */
.hero h1 { letter-spacing: -0.03em; line-height: 1; }

.tile-body small { display: block; }
.tile-body small em { display: block; margin-top: 2px; }

.tiles-row { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.tiles-row::-webkit-scrollbar { height: 8px; }
.tiles-row::-webkit-scrollbar-track { background: transparent; }
.tiles-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.tiles-row::-webkit-scrollbar-thumb:hover { background: var(--dim); }