/* creepymocha - streaming website prototype (V2 layout: a real streaming home)
   Brand: V2 horror identity (blood red, void black, bone white, Cinzel title type).
   Arnas Himmelsbach's flavour stays in the details: outlined pills, rounded tiles, the corner bloom. */

@font-face { font-family: "Inter Tight"; src: url("../fonts/intertight-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans Thai"; src: url("../fonts/notosansthai-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-var.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Chonburi"; src: url("../fonts/chonburi-thai.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --red: #c0141c;
  --red-lit: #f0353b;
  --void: #0e0b0a;
  --void-2: #171312;
  --void-3: #221c1a;
  --bone: #ede6d8;
  --bone-soft: rgba(237, 230, 216, 0.74);
  --ash: #8a817a;
  --roast: #2b1611;
  --line: rgba(237, 230, 216, 0.14);
  --line-red: rgba(240, 53, 59, 0.42);
  --font: "Inter Tight", "Noto Sans Thai", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-th: "Noto Sans Thai", "Inter Tight", "Leelawadee UI", Tahoma, sans-serif;
  --font-display: "Cinzel", "Chonburi", Georgia, serif;
  --gutter: clamp(16px, 3.6vw, 64px);
  --r-tile: clamp(8px, 0.7vw, 12px);
  --radius: clamp(16px, 1.4vw, 26px);
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bloom: radial-gradient(farthest-corner at 100% 100%, rgba(192, 20, 28, 0.6) 0%, rgba(192, 20, 28, 0.34) 8%, rgba(192, 20, 28, 0.18) 16%, rgba(192, 20, 28, 0.07) 28%, rgba(192, 20, 28, 0.02) 42%, rgba(192, 20, 28, 0) 56%);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); -webkit-text-size-adjust: 100%; scrollbar-color: rgba(237, 230, 216, 0.3) var(--void); scrollbar-width: thin; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lock { overflow: hidden; }
body { margin: 0; overflow-x: clip; background: var(--void); color: var(--bone); font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--bone); color: var(--void); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; border-radius: 6px; }
.th { font-family: var(--font-th); line-height: 1.55; letter-spacing: 0; }
[hidden] { display: none !important; }

.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }
.lk { --h: 32px; display: inline-flex; align-items: flex-start; gap: calc(var(--h) * var(--lk-gap, 0.12)); }
.lk svg { fill: currentColor; height: var(--h); width: auto; }
.lk .lk__word { height: calc(var(--h) * var(--lk-word, 0.89)); margin-top: calc(var(--h) * var(--lk-word-y, 0.18)); }
svg.sym, svg.word { fill: currentColor; }

/* buttons + tags (his outlined capsules) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  height: 46px; padding: 0 1.5em; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn .ic { width: 1.15em; height: 1.15em; }
.btn--play { background: var(--bone); color: var(--void); }
.btn--play:hover { background: #fff; }
.btn--ghost { background: rgba(60, 52, 50, 0.62); color: var(--bone); border: 1px solid rgba(237, 230, 216, 0.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(80, 70, 68, 0.75); }
.btn--red { background: var(--red); color: var(--bone); }
.btn--red:hover { background: #d81b24; }
.btn--sm { height: 36px; font-size: 14px; padding: 0 1.1em; }
.btn--round { width: 40px; height: 40px; padding: 0; border: 1.5px solid rgba(237, 230, 216, 0.55); background: rgba(14, 11, 10, 0.5); }
.btn--round:hover { border-color: var(--bone); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid rgba(237, 230, 216, 0.32); border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; }
.tag--match { color: #7ee08a; border-color: rgba(126, 224, 138, 0.45); }
.tag--age { border-color: var(--bone); }
.tag--new { background: var(--red); border-color: var(--red); color: var(--bone); }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone); }
.badge svg { height: 22px; width: auto; fill: var(--red-lit); }

/* ================================================================== splash (brand intro) */
.splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--red); animation: splash-out 0.7s var(--ease) 1.5s forwards; cursor: pointer; }
.splash img { width: min(78vw, 1100px); animation: splash-in 1.6s var(--ease) both; }
@keyframes splash-in { from { opacity: 0; transform: scale(1.08); filter: blur(14px) brightness(0.4); } 60% { opacity: 1; filter: none; } to { transform: scale(1); } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

/* ================================================================== top nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px);
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(14, 11, 10, 0.88) 0%, rgba(14, 11, 10, 0) 100%);
  transition: background-color 0.4s var(--ease);
}
.nav.is-solid { background-color: var(--void); }
.nav__links { display: flex; gap: clamp(12px, 1.6vw, 26px); }
.nav__links a { position: relative; font-size: 14px; font-weight: 500; color: var(--bone-soft); white-space: nowrap; transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--bone); }
.nav__links a[aria-current="true"] { color: var(--bone); font-weight: 700; }
.nav__links a[aria-current="true"]::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 5px; height: 5px; border-radius: 999px; background: var(--red-lit); transform: translateX(-50%); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: clamp(8px, 1.2vw, 18px); }
.nav__icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; transition: background-color 0.3s var(--ease); }
.nav__icon:hover { background: rgba(237, 230, 216, 0.1); }
.nav__icon .ic { width: 21px; height: 21px; }
.nav__bell { position: relative; }
.nav__bell i { position: absolute; right: 6px; top: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--red); font-size: 10px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.me { position: relative; }
.me__btn { display: flex; align-items: center; gap: 6px; }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--red); color: var(--bone); }
.avatar svg { height: 66%; width: auto; fill: currentColor; }
.me__btn .ic { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.me[data-open] .me__btn .ic { transform: rotate(180deg); }
.me__menu { position: absolute; right: 0; top: calc(100% + 12px); min-width: 220px; padding: 8px; border-radius: 14px; background: rgba(23, 19, 18, 0.98); border: 1px solid var(--line); box-shadow: 0 24px 50px -20px #000; display: none; }
.me[data-open] .me__menu { display: grid; }
.me__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--bone-soft); }
.me__menu a:hover { background: rgba(237, 230, 216, 0.07); color: var(--bone); }
.me__menu .avatar { width: 26px; height: 26px; border-radius: 6px; }
.me__menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

/* ================================================================== hero billboard (rotating) */
.hero { position: relative; height: clamp(540px, 92vh, 940px); overflow: hidden; background: var(--void); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 35%; transform: scale(1.06); transition: transform 9s linear; }
.slide.is-on .slide__img { transform: scale(1); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 11, 10, 0.94) 0%, rgba(14, 11, 10, 0.72) 30%, rgba(14, 11, 10, 0.08) 62%); }
.slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--void) 0%, rgba(14, 11, 10, 0.6) 14%, rgba(14, 11, 10, 0) 36%); }
.slide__in { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(150px, 27vh, 280px); width: min(620px, 88vw); display: grid; gap: 16px; justify-items: start; }
.slide__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 5.4vw, 98px); line-height: 0.95; letter-spacing: 0.005em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55); }
.slide__title .line { display: block; }
.slide__syn { font-size: clamp(15px, 1.15vw, 19px); color: var(--bone-soft); max-width: 34em; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.slide__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.slide__rank { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.slide__rank b { display: grid; place-items: center; width: 30px; height: 34px; border-radius: 4px; background: var(--red); font-size: 10px; line-height: 1; text-align: center; letter-spacing: 0.04em; }
.hero__side { position: absolute; z-index: 3; right: 0; bottom: clamp(150px, 27vh, 280px); display: flex; align-items: center; gap: 12px; }
.hero__age { display: inline-flex; align-items: center; height: 38px; margin-right: var(--gutter); padding: 0 16px; border: 1px solid rgba(237, 230, 216, 0.55); border-radius: 999px; background: rgba(14, 11, 10, 0.5); font-size: 15px; font-weight: 600; }
.hero__dots { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(118px, 22vh, 230px); display: flex; gap: 2px; }
.hero__dots button { width: 34px; height: 4px; border-radius: 4px; background: rgba(237, 230, 216, 0.35); transform: scaleX(0.62); transition: background-color 0.3s var(--ease), transform 0.4s var(--ease); }
.hero__dots button[aria-current="true"] { transform: none; background: var(--bone); }

/* ================================================================== rows */
.rows { position: relative; z-index: 4; margin-top: clamp(-200px, -19vh, -96px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3vw, 46px); padding-bottom: 20px; }
.page-top { padding-top: calc(var(--nav-h) + 26px); }
.page-top .rows { margin-top: 0; }
.page-head { padding: 0 var(--gutter); margin-bottom: 10px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 56px); }
.row { position: relative; min-width: 0; }
.row__head { display: flex; align-items: baseline; gap: 14px; padding: 0 var(--gutter); margin-bottom: 10px; }
.row__pager { margin-left: auto; display: flex; gap: 3px; align-self: center; }
.row__pager i { width: 14px; height: 3px; border-radius: 3px; background: rgba(237, 230, 216, 0.25); transition: background-color 0.3s var(--ease); }
.row__pager i.is-on { background: var(--bone); }
.row__title { font-size: clamp(18px, 1.45vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
.row__more { font-size: 13px; font-weight: 600; color: var(--red-lit); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.row:hover .row__more { opacity: 1; transform: none; }
.track { min-width: 0; display: grid; grid-auto-flow: column; gap: clamp(6px, 0.6vw, 10px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 8px var(--gutter) 16px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.track--posters { grid-auto-columns: clamp(124px, 12.4vw, 220px); }
.track--big { grid-auto-columns: clamp(150px, 16vw, 290px); }
.track--wide { grid-auto-columns: clamp(220px, 21vw, 380px); }
.track--top { grid-auto-columns: clamp(170px, 17vw, 300px); }
.track--genres { grid-auto-columns: clamp(160px, 15vw, 260px); }
.row__arrow { position: absolute; z-index: 3; top: 46px; bottom: 16px; width: max(44px, var(--gutter)); display: grid; place-items: center; background: linear-gradient(90deg, rgba(14, 11, 10, 0.85), rgba(14, 11, 10, 0.35)); opacity: 0.75; transition: opacity 0.3s var(--ease), background-color 0.3s var(--ease); }
.row__arrow .ic { width: 28px; height: 28px; transition: transform 0.3s var(--ease); }
.row__arrow--l { left: 0; border-radius: 0 var(--r-tile) var(--r-tile) 0; }
.row__arrow--r { right: 0; border-radius: var(--r-tile) 0 0 var(--r-tile); background: linear-gradient(270deg, rgba(14, 11, 10, 0.85), rgba(14, 11, 10, 0.35)); }
.row:hover .row__arrow { opacity: 1; }
@media (hover: none) { .row__arrow { display: none; } }
.row__arrow:hover { background: rgba(14, 11, 10, 0.8); }
.row__arrow:hover .ic { transform: scale(1.2); }

/* cards */
.card { position: relative; display: block; width: 100%; text-align: left; border-radius: var(--r-tile); overflow: hidden; background: var(--void-2); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card--poster { aspect-ratio: 2 / 3; }
.card--wide { aspect-ratio: 16 / 9; }
.card__veil { position: absolute; inset: 0; display: grid; align-content: end; gap: 7px; padding: 12px; background: linear-gradient(180deg, rgba(14, 11, 10, 0) 30%, rgba(14, 11, 10, 0.96)), var(--bloom); opacity: 0; transition: opacity 0.35s var(--ease); }
.card__veil .tags .tag { height: 20px; font-size: 10px; padding: 0 7px; }
.card__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.12; }
.card__acts { display: flex; gap: 6px; }
.card__acts span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; border: 1.5px solid rgba(237, 230, 216, 0.55); }
.card__acts span:first-child { background: var(--bone); color: var(--void); border-color: var(--bone); }
.card__acts .ic { width: 13px; height: 13px; }
.card__orig { position: absolute; left: 8px; top: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--red); color: var(--bone); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45); }
.card__orig svg { height: 72%; width: auto; fill: currentColor; }
.card__new { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding: 4px 10px; border-radius: 6px 6px 0 0; background: var(--red); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: scale(1.06); box-shadow: 0 26px 40px -18px #000; z-index: 2; }
  .card:hover .card__veil { opacity: 1; }
  .card:hover .card__new { opacity: 0; }
}
.card--wide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14, 11, 10, 0) 45%, rgba(14, 11, 10, 0.9)); }
.card__ep { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 20px; font-size: 13px; text-shadow: 0 1px 8px #000; }
.card__ep b { font-family: var(--font-display); font-weight: 700; display: block; font-size: 15px; margin-bottom: 2px; }
.card__bar { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(237, 230, 216, 0.28); overflow: hidden; }
.card__bar i { display: block; height: 100%; background: var(--red-lit); }
.card__playbig { position: absolute; z-index: 2; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(0.9); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: rgba(14, 11, 10, 0.55); border: 1.5px solid var(--bone); opacity: 0; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.card--wide:hover .card__playbig { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card__playbig .ic { width: 20px; height: 20px; margin-left: 3px; }

.top { position: relative; display: grid; grid-template-columns: 0.6fr 1fr; align-items: end; }
.top__n { font-family: var(--font-display); font-weight: 900; font-size: clamp(110px, 11.5vw, 210px); line-height: 0.78; color: var(--void); -webkit-text-stroke: 3px rgba(237, 230, 216, 0.72); margin-right: -0.14em; transform: translateY(0.05em); transition: -webkit-text-stroke-color 0.4s var(--ease); }
.top:hover .top__n { -webkit-text-stroke-color: var(--red-lit); }
.top .card { aspect-ratio: 2 / 3; }

.gtile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-tile); overflow: hidden; background: var(--void-2); text-align: left; transition: transform 0.45s var(--ease); }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); }
.gtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 11, 10, 0.05) 30%, rgba(14, 11, 10, 0.9)), var(--bloom); }
.gtile__name { position: absolute; z-index: 2; left: 12px; bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.5vw, 24px); line-height: 1; }
.gtile__n { position: absolute; z-index: 2; right: 12px; bottom: 11px; font-size: 11px; color: var(--bone-soft); }
.gtile:hover { transform: scale(1.04); }
.gtile:hover img { opacity: 0.9; transform: scale(1.06); }

/* upsell banner row */
.promo { margin: 0 var(--gutter); position: relative; overflow: hidden; border-radius: var(--radius); background: var(--void-2) var(--bloom); border: 1px solid var(--line-red); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: clamp(20px, 2.6vw, 40px); }
.promo h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 38px); line-height: 1.05; }
.promo p { color: var(--bone-soft); margin-top: 8px; font-size: 15px; }

/* footer */
.footer { padding: clamp(40px, 5vw, 80px) var(--gutter) 40px; margin-top: 30px; border-top: 1px solid var(--line); color: var(--ash); font-size: 13px; display: grid; gap: 26px; }
.footer .lk { --h: 28px; color: var(--bone); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 20px; }
.footer__cols a:hover { color: var(--bone); text-decoration: underline; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid rgba(237, 230, 216, 0.3); border-radius: 999px; color: var(--bone); }

/* ================================================================== plans page */
.plans-page { padding: calc(var(--nav-h) + clamp(24px, 4vw, 60px)) var(--gutter) 20px; display: grid; gap: clamp(28px, 3.4vw, 56px); }
.plans-head { display: grid; gap: 14px; justify-items: center; text-align: center; }
.plans-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 80px); line-height: 1; }
.plans-head p { color: var(--bone-soft); font-size: clamp(15px, 1.2vw, 20px); max-width: 36em; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px); max-width: 1180px; width: 100%; margin: 0 auto; }
.plan { position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(20px, 2vw, 34px); border-radius: var(--radius); background: var(--void-2); border: 1px solid var(--line); }
.plan.is-pick { background-image: var(--bloom); border-color: var(--line-red); }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2vw, 36px); }
.plan__price { font-size: clamp(32px, 3vw, 52px); font-weight: 600; letter-spacing: -0.03em; }
.plan__price small { font-size: 0.34em; font-weight: 400; color: var(--ash); letter-spacing: 0; }
.plan ul { display: grid; gap: 9px; font-size: 14px; color: var(--bone-soft); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { color: var(--red-lit); margin-top: 2px; }
.plan .btn { margin-top: 8px; justify-self: stretch; }
.plan__flag { position: absolute; right: 16px; top: 16px; }
.fine { font-size: 12px; color: var(--ash); text-align: center; }
.screens { max-width: 1180px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 10px; }
.screens img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-tile); }
.faq { max-width: 860px; margin: 0 auto; width: 100%; display: grid; gap: 8px; }
.faq h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 40px); text-align: center; margin-bottom: 10px; }
.faq details { border-radius: 12px; background: var(--void-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: clamp(16px, 1.25vw, 20px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 24px; height: 24px; transition: transform 0.4s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--bone-soft); }

/* ================================================================== profiles */
.profiles { position: fixed; inset: 0; z-index: 70; background: var(--void); display: grid; place-items: center; padding: var(--gutter); }
.profiles__in { display: grid; justify-items: center; gap: clamp(22px, 3vw, 46px); text-align: center; }
.profiles__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 66px); line-height: 1.05; }
.profiles__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.6vw, 28px); }
.prof { display: grid; justify-items: center; gap: 12px; width: clamp(104px, 10vw, 170px); }
.prof__tile { width: 100%; aspect-ratio: 1; border-radius: var(--r-tile); display: grid; place-items: center; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); box-shadow: inset 0 0 0 1px var(--line); }
.prof__tile svg { height: 56%; width: auto; fill: currentColor; }
.prof__name { font-size: 15px; color: var(--bone-soft); }
.prof:hover .prof__tile { transform: translateY(-5px); box-shadow: inset 0 0 0 3px var(--bone); }
.prof:hover .prof__name { color: var(--bone); }
.prof--1 .prof__tile { background: var(--red); color: var(--bone); }
.prof--2 .prof__tile { background: var(--bone); color: var(--void); }
.prof--3 .prof__tile { background: var(--roast); color: var(--bone); }
.prof--add .prof__tile { background: var(--void-2); color: var(--ash); }
.prof--add .prof__tile .ic { width: 34%; height: 34%; }
.btn--outline { border: 1px solid rgba(237, 230, 216, 0.45); color: var(--bone-soft); font-weight: 500; }
.btn--outline:hover { border-color: var(--bone); color: var(--bone); }

/* ================================================================== title modal */
.modal { width: min(980px, calc(100vw - 24px)); max-height: calc(100svh - 48px); margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--void-2); color: var(--bone); overflow: hidden auto; scrollbar-width: thin; scrollbar-color: rgba(237, 230, 216, 0.3) transparent; box-shadow: 0 40px 80px -30px #000; }
.modal::backdrop { background: rgba(5, 4, 4, 0.78); }
.modal[open] { animation: modal-in 0.5s var(--ease) both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__hero { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; }
.modal__hero > img { width: 100%; height: 100%; object-fit: cover; }
.modal__hero.is-poster > img { filter: blur(26px) brightness(0.55); transform: scale(1.2); }
.modal__key { position: absolute; right: 6%; top: 10%; height: 80%; width: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-tile); box-shadow: 0 24px 50px -16px #000; }
.modal__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--void-2) 0%, rgba(23, 19, 18, 0) 55%); }
.modal__close { position: absolute; z-index: 3; right: 14px; top: 14px; }
.modal__head { position: absolute; z-index: 2; left: clamp(20px, 3vw, 44px); right: clamp(20px, 3vw, 44px); bottom: clamp(16px, 2vw, 28px); display: grid; gap: 14px; justify-items: start; }
.modal__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 64px); line-height: 1; max-width: 70%; }
.modal__btns { display: flex; gap: 10px; align-items: center; }
.modal__body { padding: 6px clamp(20px, 3vw, 44px) clamp(24px, 3vw, 40px); display: grid; gap: clamp(22px, 2.4vw, 34px); }
.modal__cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 40px); }
.modal__syn { font-size: clamp(15px, 1.1vw, 17px); color: var(--bone-soft); }
.modal__facts { display: grid; gap: 10px; font-size: 14px; color: var(--ash); }
.modal__facts b { color: var(--bone); font-weight: 400; }
.sub-title { font-size: clamp(18px, 1.5vw, 24px); font-weight: 700; margin-bottom: 12px; }
.eps { display: grid; }
.ep { width: 100%; display: grid; grid-template-columns: 2em 150px 1fr auto; align-items: center; gap: 16px; padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; border-radius: 10px; transition: background-color 0.3s var(--ease); }
.ep:first-child { background: rgba(237, 230, 216, 0.06); }
.ep:hover { background: rgba(237, 230, 216, 0.08); }
.ep__n { font-size: 22px; color: var(--ash); text-align: center; }
.ep__thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.ep__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep__name { font-weight: 600; font-size: 15px; }
.ep__desc { font-size: 13px; color: var(--ash); margin-top: 4px; }
.ep__dur { font-size: 13px; color: var(--ash); }
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }

/* ================================================================== player */
.player { position: fixed; inset: 0; z-index: 90; background: #000; color: var(--bone); }
.player__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: transform 40s linear; }
.player.is-playing .player__frame { transform: scale(1.1); }
.player__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.9) 100%); }
.player__top { position: absolute; left: var(--gutter); right: var(--gutter); top: 20px; display: flex; align-items: center; gap: 16px; }
.player__now { font-size: 15px; color: var(--bone-soft); }
.player__now b { font-family: var(--font-display); font-weight: 700; color: var(--bone); font-size: 19px; margin-right: 10px; }
.player__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 92px; height: 92px; border-radius: 999px; background: rgba(14, 11, 10, 0.45); border: 1.5px solid rgba(237, 230, 216, 0.6); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.player.is-playing .player__center { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
.player__center .ic { width: 34px; height: 34px; margin-left: 4px; }
.player__sub { position: absolute; left: 50%; bottom: 130px; transform: translateX(-50%); max-width: 80vw; text-align: center; font-size: clamp(18px, 1.8vw, 30px); font-weight: 500; text-shadow: 0 2px 4px #000, 0 0 18px #000; }
.player__skip { position: absolute; right: var(--gutter); bottom: 124px; }
.player__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; display: grid; gap: 12px; }
.seek { position: relative; height: 5px; border-radius: 5px; background: rgba(237, 230, 216, 0.25); cursor: pointer; }
.seek i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--red-lit); }
.seek b { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 999px; background: var(--red-lit); transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(240, 53, 59, 0.25); }
.ctl { display: flex; align-items: center; gap: 12px; }
.ctl .grow { flex: 1; }
.ctl__time { font-size: 13px; color: var(--bone-soft); font-variant-numeric: tabular-nums; }
.ctl .nav__icon { width: 44px; height: 44px; }
.ctl .nav__icon .ic { width: 24px; height: 24px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid rgba(237, 230, 216, 0.4); border-radius: 999px; font-size: 13px; }
.chip:hover { border-color: var(--bone); }

/* ================================================================== search */
.search { position: fixed; inset: 0; z-index: 80; background: rgba(14, 11, 10, 0.98); overflow-y: auto; padding: calc(var(--nav-h) + 6px) var(--gutter) 40px; }
.search__bar { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 18px; border-radius: 999px; background: var(--void-2); border: 1px solid var(--line); }
.search__bar .ic { width: 22px; height: 22px; color: var(--ash); }
.search__input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: clamp(17px, 1.4vw, 22px); color: var(--bone); }
.search__input::placeholder { color: rgba(237, 230, 216, 0.4); }
.search__hint { margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.search__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.search__empty { color: var(--ash); padding: 30px 0; }

/* ================================================================== mobile tab bar */
.tabbar { display: none; }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .modal__cols { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .screens { grid-template-columns: 1fr 1fr; }
  .screens img:last-child { grid-column: 1 / -1; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  :root { --nav-h: 58px; }
  .nav .lk__word { display: none; }
  .nav__bell { display: none; }
  .hero { height: 86svh; }
  .slide::before { background: linear-gradient(0deg, rgba(14, 11, 10, 0.98) 0%, rgba(14, 11, 10, 0.7) 40%, rgba(14, 11, 10, 0.05) 75%); }
  .slide__img { object-position: 64% 30%; }
  .slide__in { bottom: 120px; justify-items: center; text-align: center; left: 6vw; width: 88vw; }
  .slide__syn { display: none; }
  .slide__btns { justify-content: center; }
  .hero__side { display: none; }
  .hero__dots { left: 0; right: 0; justify-content: center; bottom: 92px; }
  .rows { margin-top: -60px; }
  .row__arrow { display: none; }
  .ep { grid-template-columns: 1.4em 104px 1fr; }
  .ep__dur { display: none; }
  .modal { width: 100vw; max-height: 100svh; border-radius: 18px 18px 0 0; margin-bottom: 0; }
  .modal__title { max-width: 100%; }
  .modal__key { display: none; }
  .promo { grid-template-columns: 1fr; }
  .player__sub { bottom: 112px; }
  .player__skip { bottom: 156px; }
  body { padding-bottom: 64px; }
  .tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(14, 11, 10, 0.97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; align-content: center; gap: 4px; font-size: 10px; color: var(--ash); }
  .tabbar .ic { width: 22px; height: 22px; }
  .tabbar [aria-current="true"] { color: var(--bone); }
}
