:root {
  --bg: #07080b;
  --panel: #111218;
  --text: #f6f6f5;
  --muted: #92929b;
  --red: #ff3e5c;
  --purple: #9d62ff;
  --line: rgba(255, 255, 255, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.auth-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  background: #08090c;
}
.auth-visual {
  position: relative;
  min-height: 100vh;
  padding: 42px 4.5vw;
  background:
    linear-gradient(0deg, rgba(5, 6, 9, 0.95), rgba(5, 6, 9, 0.08) 68%),
    linear-gradient(90deg, transparent 70%, #08090c),
    url("assets/hero-cakrawala-v1.png") center/cover;
}
.auth-brand,
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.auth-brand span,
.brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ff6177, #a51742 55%, #360817);
  box-shadow: 0 10px 30px rgba(255, 62, 92, 0.3);
  font-size: 19px;
}
.auth-brand b,
.brand b {
  color: #aaaab1;
}
.auth-quote {
  position: absolute;
  left: 4.5vw;
  bottom: 9vh;
}
.auth-quote small,
.eyebrow,
.original {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.auth-quote h1 {
  margin: 15px 0;
  font: 700 clamp(50px, 5.5vw, 85px)/0.95 "Space Grotesk";
}
.auth-quote em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, #ff6179, #bd7aff);
  -webkit-background-clip: text;
}
.auth-quote p {
  color: #c1c1c5;
  font-size: 12px;
}
.auth-panel {
  display: grid;
  place-items: center;
  padding: 35px;
}
.auth-card {
  width: min(410px, 100%);
}
.eyebrow {
  color: #7e7e87;
}
.auth-card h2 {
  margin: 12px 0 8px;
  font: 700 30px "Space Grotesk";
}
.auth-sub {
  margin: 0 0 30px;
  color: #85858e;
  font-size: 11px;
}
.auth-card label {
  display: block;
  margin: 0 0 17px;
  color: #aaaab2;
  font-size: 9px;
  font-weight: 700;
}
.auth-card input:not([type="checkbox"]) {
  width: 100%;
  height: 51px;
  margin-top: 8px;
  padding: 0 15px;
  border: 1px solid #2b2c33;
  border-radius: 11px;
  outline: 0;
  background: #101116;
  color: white;
}
.auth-card input:focus {
  border-color: #b14666;
  box-shadow: 0 0 0 3px rgba(255, 62, 92, 0.07);
}
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -2px 0 18px;
  color: #86868f;
  font-size: 9px;
}
.form-row .check {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
.form-row a {
  color: #e37083;
}
.primary {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(90deg, #ff405e, #c82c55);
  color: white;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(255, 62, 92, 0.2);
}
.form-error {
  min-height: 18px;
  color: #ff7388;
  font-size: 9px;
}
.switch-copy {
  text-align: center;
  margin: 23px 0;
  color: #85858e;
  font-size: 10px;
}
.switch-copy button {
  border: 0;
  background: none;
  color: #ff6a80;
  font-weight: 800;
}
.legal {
  text-align: center;
  color: #4f5058;
  font-size: 8px;
  line-height: 1.6;
}
.app-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 4vw;
  background: linear-gradient(#050609, transparent);
}
.brand {
  color: white;
  text-decoration: none;
}
.app-header nav {
  display: flex;
  gap: 27px;
  margin-left: 5vw;
}
.app-header nav a {
  color: #b1b1b7;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
}
.app-header nav a.active,
.app-header nav a:hover {
  color: white;
}
.app-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.app-actions button {
  width: 37px;
  height: 37px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e2e4;
}
.avatar {
  border-radius: 10px !important;
  background: linear-gradient(145deg, #4f2940, #1b121a) !important;
  color: #ffbac5 !important;
  font-size: 9px !important;
  font-weight: 900;
}
.search-drawer {
  position: fixed;
  z-index: 30;
  top: -86px;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  background: rgba(8, 9, 12, 0.97);
  border-bottom: 1px solid var(--line);
  transition: 0.25s;
}
.search-drawer.open {
  top: 0;
}
.search-drawer input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font: 600 20px "Space Grotesk";
}
.search-drawer button {
  border: 0;
  background: none;
  color: #aaa;
  font-size: 24px;
}
.app-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  padding: 110px 6vw 80px;
  background: url("assets/hero-cakrawala-v1.png") center/cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #07080b 1%,
      rgba(7, 8, 11, 0.79) 38%,
      rgba(7, 8, 11, 0.08) 70%
    ),
    linear-gradient(0deg, #07080b, transparent 45%);
}
.hero-content {
  position: relative;
  max-width: 600px;
}
.original {
  color: #f4d7dc;
}
.hero-content h1 {
  margin: 14px 0 12px;
  font: 700 clamp(43px, 5.5vw, 78px)/0.95 "Space Grotesk";
  letter-spacing: -0.05em;
}
.meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #bcbcc1;
  font-size: 9px;
  font-weight: 700;
}
.match {
  color: #48d68f;
}
.rating {
  padding: 2px 6px;
  border: 1px solid #73737b;
}
.hero-content > p:not(.original) {
  max-width: 520px;
  color: #c0c0c5;
  font-size: 12px;
  line-height: 1.75;
}
.watch,
.more {
  height: 45px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
}
.watch {
  background: white;
  color: #111;
}
.more {
  margin-left: 7px;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  backdrop-filter: blur(12px);
}
.hero-index {
  position: absolute;
  right: 5vw;
  bottom: 70px;
  color: #adadb4;
  font-size: 9px;
}
.hero-index i {
  display: inline-block;
  width: 65px;
  height: 1px;
  margin: 0 9px;
  background: linear-gradient(90deg, var(--red) 33%, #555 33%);
}
.content-area,
.search-results {
  position: relative;
  padding: 0 4vw 80px;
}
.rail {
  margin-bottom: 42px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.section-title small {
  color: #666771;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.section-title h2 {
  margin: 5px 0 16px;
  font: 700 20px "Space Grotesk";
}
.title-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.title-card {
  position: relative;
  height: 235px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(140deg, #192033, #563649 60%, #0b0c10);
  transition: 0.25s;
}
.title-card:nth-child(2n) {
  background: linear-gradient(145deg, #151b29, #403761 58%, #0b0c10);
}
.title-card:nth-child(3n) {
  background: linear-gradient(145deg, #2b201e, #76534b 58%, #0b0c10);
}
.title-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 70% 24%,
      rgba(255, 255, 255, 0.22),
      transparent 15%
    ),
    linear-gradient(0deg, rgba(5, 6, 9, 0.93), transparent 70%);
}
.title-card:hover {
  transform: scale(1.025);
  z-index: 2;
  border-color: #777;
}
.card-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
}
.card-info h3 {
  margin: 0 0 5px;
  font: 700 13px "Space Grotesk";
}
.card-info p {
  margin: 0;
  color: #93939c;
  font-size: 8px;
}
.card-action {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: white;
  opacity: 0;
}
.title-card:hover .card-action {
  opacity: 1;
}
.rail-loading {
  padding: 40px;
  color: #777;
  font-size: 11px;
}
.profile-menu {
  position: fixed;
  z-index: 25;
  top: 68px;
  right: 4vw;
  width: 235px;
  display: none;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 16, 21, 0.98);
  box-shadow: 0 25px 70px #000;
}
.profile-menu.open {
  display: block;
}
.profile-menu > div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 7px 14px;
  border-bottom: 1px solid var(--line);
}
.avatar.large {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}
.profile-menu p {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.profile-menu b {
  font-size: 10px;
}
.profile-menu small {
  color: #777;
  font-size: 8px;
}
.profile-menu a,
.profile-menu > button {
  display: block;
  width: 100%;
  padding: 11px 7px;
  border: 0;
  background: none;
  color: #aaa;
  text-align: left;
  text-decoration: none;
  font-size: 9px;
}
.profile-menu > button {
  border-top: 1px solid var(--line);
  color: #ff7489;
}
.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
}
.modal article {
  position: relative;
  overflow: hidden;
  width: min(780px, 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #111217;
}
.modal-image {
  height: 330px;
  background:
    linear-gradient(0deg, #111217, transparent),
    url("assets/hero-cakrawala-v1.png") center/cover;
}
.modal-copy {
  padding: 0 30px 30px;
  margin-top: -70px;
  position: relative;
}
.modal-copy h2 {
  margin: 12px 0;
  font: 700 35px "Space Grotesk";
}
.modal-copy > p:not(.original) {
  color: #aaa;
  line-height: 1.7;
  font-size: 11px;
}
.modal-close {
  position: absolute;
  z-index: 2;
  right: 15px;
  top: 15px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 20px;
}
.billing-modal article {
  width: min(940px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 34px;
}
.billing-head {
  max-width: 620px;
}
.billing-head h2 {
  margin: 10px 0;
  font: 700 32px "Space Grotesk";
}
.billing-head > p:last-child {
  color: #8e8e98;
  font-size: 10px;
  line-height: 1.7;
}
.billing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.billing-plan {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #0c0d11;
  transition: 0.2s;
}
.billing-plan:hover,
.billing-plan.selected {
  border-color: #ff536d;
  transform: translateY(-3px);
}
.billing-plan small {
  color: #777781;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.billing-plan h3 {
  margin: 12px 0 6px;
  font: 700 22px "Space Grotesk";
}
.billing-plan h3 span {
  color: #777781;
  font: 500 8px Manrope;
}
.billing-plan p {
  color: #8c8c96;
  font-size: 9px;
}
.billing-plan button {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(90deg, #ff405e, #bd315b);
  color: white;
  font-size: 9px;
  font-weight: 800;
}
.payment-picker {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b0c10;
}
.payment-picker[hidden] {
  display: none;
}
.payment-picker small {
  color: #6f7079;
  font-size: 7px;
  letter-spacing: 0.15em;
}
.payment-picker h3 {
  margin: 5px 0 0;
  font-size: 13px;
}
.payment-picker label {
  color: #8e8e98;
  font-size: 8px;
}
.payment-picker select {
  width: 100%;
  height: 40px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px solid #303039;
  border-radius: 8px;
  background: #111218;
  color: white;
  font-size: 9px;
}
.billing-pay {
  height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  background: white;
  color: #111;
  font-size: 9px;
  font-weight: 900;
}
.billing-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #ff7489;
  font-size: 8px;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.progress-track {
  position: absolute;
  right: 14px;
  bottom: 10px;
  left: 14px;
  height: 3px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.22);
}
.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff526f, #c52d68);
}
.account-modal article {
  width: min(760px, calc(100vw - 28px));
  max-height: 88vh;
  overflow-y: auto;
  padding: 30px;
}
.account-section {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #2a2b32;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
}
.viewer-profile {
  position: relative;
  padding: 14px;
  border: 1px solid #292a31;
  border-radius: 11px;
  background: #111218;
}
.viewer-profile .profile-orb {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 12px;
  color: white;
  font-size: 11px;
  font-weight: 900;
}
.viewer-profile b,
.viewer-profile small {
  display: block;
}
.viewer-profile b { font-size: 10px; }
.viewer-profile small { margin-top: 4px; color: #777782; font-size: 8px; }
.profile-remove,
.session-remove {
  margin-top: 10px;
  border: 0;
  background: none;
  color: #ff7186;
  font-size: 8px;
}
.profile-create {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.profile-create input,
.profile-create select {
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #303039;
  border-radius: 8px;
  background: #111218;
  color: white;
  font-size: 8px;
}
.profile-create label { color: #8a8a95; font-size: 8px; }
.profile-create label input { width: auto; height: auto; }
.profile-create button,
.session-all {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff5b75, #b62762);
  color: white;
  font-size: 8px;
  font-weight: 800;
}
.session-list { display: grid; gap: 8px; }
.session-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px;
  border: 1px solid #292a31;
  border-radius: 9px;
  background: #101117;
}
.session-entry b,
.session-entry small { display: block; }
.session-entry b { font-size: 9px; }
.session-entry small { margin-top: 4px; color: #777782; font-size: 8px; }
.player-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .93);
}
.player-modal[hidden] { display: none; }
.player-stage {
  position: relative;
  width: min(1120px, 100%);
  overflow: hidden;
  border: 1px solid #292a32;
  border-radius: 16px;
  background: #050506;
  box-shadow: 0 40px 110px rgba(0, 0, 0, .65);
}
.player-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020203;
}
.player-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 10, 13, .78);
  color: white;
  font-size: 18px;
}
.player-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 20px 18px;
}
.player-caption small { color: #dc4669; font-size: 7px; letter-spacing: .16em; }
.player-caption h2 { margin: 4px 0 0; font-size: 17px; }
.player-caption span { color: #858590; font-size: 8px; }
.verification-banner {
  position: fixed;
  z-index: 34;
  top: 78px;
  right: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 14px;
  width: min(390px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid #4a2a35;
  border-radius: 12px;
  background: rgba(19, 14, 19, .96);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .45);
}
.verification-banner[hidden] { display: none; }
.verification-banner b,
.verification-banner span { display: block; }
.verification-banner b { font-size: 9px; }
.verification-banner span,
.verification-banner small { margin-top: 3px; color: #92929b; font-size: 7px; }
.verification-banner small { grid-column: 1 / -1; color: #ff8094; }
.verification-banner button {
  border: 0;
  border-radius: 8px;
  padding: 9px 11px;
  background: #e04367;
  color: white;
  font-size: 8px;
  font-weight: 800;
}
@media (max-width: 720px) {
  .billing-modal article {
    padding: 24px 18px;
  }
  .billing-plans {
    grid-template-columns: 1fr;
  }
  .payment-picker {
    grid-template-columns: 1fr;
  }
  .profile-create {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    display: none;
  }
  .auth-panel {
    min-height: 100vh;
  }
  .title-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 650px) {
  .app-header {
    height: 68px;
    padding: 0 18px;
  }
  .app-header nav {
    display: none;
  }
  .brand {
    font-size: 10px;
  }
  .brand span {
    width: 31px;
    height: 31px;
  }
  .app-actions button:not(.avatar):nth-child(2) {
    display: none;
  }
  .app-hero {
    min-height: 72vh;
    padding: 110px 22px 70px;
    background-position: 62% center;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      #07080b 1%,
      rgba(7, 8, 11, 0.68) 56%,
      rgba(7, 8, 11, 0.08)
    );
  }
  .hero-content {
    align-self: end;
  }
  .hero-content h1 {
    font-size: 45px;
  }
  .content-area,
  .search-results {
    padding-left: 18px;
    padding-right: 18px;
  }
  .title-grid {
    display: flex;
    overflow-x: auto;
  }
  .title-card {
    min-width: 67vw;
  }
  .hero-index {
    display: none;
  }
  .modal-copy {
    padding: 0 20px 24px;
  }
  .modal-image {
    height: 260px;
  }
}
