* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  color: #fff;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.app {
  width: min(100%, 430px);
  min-height: 100vh;
  background: #000;
}

.topbar {
  position: relative;
  z-index: 20;
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0b0b0b;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.logo {
  width: 22px;
  height: 22px;
  flex: none;
}

.wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1;
}

.tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.icon {
  width: 22px;
  height: 22px;
  display: block;
}

.menu-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.menu[hidden] {
  display: none !important;
}

.menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 30;
  width: min(100%, 430px);
  transform: translateX(-50%);
  background: #000;
  overflow-y: auto;
}

.menu-bar {
  height: 44px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  background: #0b0b0b;
}

.menu-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0 6px;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.menu-back svg {
  width: 22px;
  height: 22px;
}

.menu-list {
  padding-top: 8px;
}

.menu-home,
.menu-about,
.menu-referral,
.menu-support,
.menu-faq,
.menu-member,
.menu-item-accent {
  cursor: pointer;
}

.menu-item {
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.menu-item-accent {
  color: #ff4b4b;
}

.menu-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.menu-label svg,
.chev {
  width: 20px;
  height: 20px;
  flex: none;
}

.chev {
  color: #6f6f6f;
}

.menu-item-accent .chev {
  color: #ff4b4b;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 300;
  overflow: hidden;
  background: #000;
}

.slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-shade,
.hero-copy,
.dots {
  z-index: 1;
}

.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slides img {
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slides img.on {
  opacity: 1;
}

.hero-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 38%, #000 100%);
}

.hero-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 26px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.watch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px 0 10px;
  border: 0;
  border-radius: 999px;
  background: #ff4b4b;
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.watch svg {
  width: 14px;
  height: 14px;
  display: block;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.dots span.on {
  background: #ff4b4b;
}

.shelf {
  padding: 14px 14px 0;
}

.shelf-trending {
  padding-bottom: 28px;
}

.shelf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.shelf-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #161616;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.poster::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}

.plays {
  position: absolute;
  left: 6px;
  bottom: 5px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.plays svg {
  width: 11px;
  height: 11px;
  display: block;
}

.card h3 {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 20px;
  }

  .wordmark {
    font-size: 17px;
  }
}

.watch-screen[hidden] {
  display: none !important;
}

.watch-screen {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 40;
  width: min(100%, 430px);
  transform: translateX(-50%);
  background: #000;
  overflow: hidden;
  color: #fff;
}

.watch-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.55));
}

.watch-close,
.watch-top,
.watch-rail,
.watch-title,
.sponsor,
.watch-next {
  position: absolute;
  z-index: 1;
}

.watch-close {
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.watch-close svg {
  width: 22px;
  height: 22px;
}

.watch-top {
  top: 46px;
  left: 14px;
  right: 72px;
}

.watch-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.watch-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2a2a2a url("img/in-poster-second.jpg") center 20% / cover no-repeat;
  box-shadow: 0 0 0 2px #fff;
}

.watch-task {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.watch-ticker {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
}

.watch-ticker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5c542;
  flex: none;
}

.watch-ticker b {
  font-weight: 800;
}

.watch-ticker em {
  color: #3ddc84;
  font-style: normal;
  font-weight: 700;
}

.watch-rail {
  top: 150px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.rail-btn {
  width: 46px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.rail-btn svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}

#watch-like .icon-liked {
  display: none;
}

#watch-like.is-liked .icon-outline {
  display: none;
}

#watch-like.is-liked .icon-liked {
  display: block;
}

#watch-like.is-liked svg {
  background: #ff4b4b;
}

#watch-save .icon-saved {
  display: none;
}

#watch-save.is-saved .icon-outline {
  display: none;
}

#watch-save.is-saved .icon-saved {
  display: block;
}

#watch-save.is-saved svg {
  background: #ff4b4b;
}

#watch-mute .icon-sound {
  display: none;
}

#watch-mute.is-muted .icon-muted {
  display: block;
}

#watch-mute:not(.is-muted) .icon-muted {
  display: none;
}

#watch-mute:not(.is-muted) .icon-sound {
  display: block;
}

.rail-progress {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#ff4b4b 0 var(--hold, 100%), rgba(255, 255, 255, 0.25) 0);
}

.rail-progress span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.rail-vip svg {
  background: rgba(0, 0, 0, 0.45);
}

.rail-vip span {
  color: #f5c542;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.watch-title {
  left: 14px;
  right: 78px;
  bottom: 292px;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.sponsor {
  left: 14px;
  bottom: 118px;
  width: 230px;
  padding: 10px 12px 12px;
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.88);
}

.sponsor-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f5c542;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 800;
}

.sponsor-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sponsor-row img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.sponsor-row strong,
.sponsor-row small {
  display: block;
}

.sponsor-row strong {
  font-size: 14px;
}

.sponsor-row small {
  color: #bdbdbd;
  font-size: 12px;
}

.sponsor-count {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2a2a2a;
  font-size: 12px;
}

.sponsor-meta {
  margin-top: 8px;
  color: #cfcfcf;
  font-size: 12px;
  line-height: 1.45;
}

.sponsor-meta em {
  color: #f5c542;
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
}

.watch-next {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.watch-next.is-locked,
.watch-next[hidden] {
  display: none !important;
}

.reward-pop {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}

.reward-pop[hidden] {
  display: none !important;
}

.reward-card {
  width: min(100%, 320px);
  padding: 28px 22px 22px;
  border-radius: 22px;
  background: #161616;
  text-align: center;
}

.reward-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #1f8f45;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.reward-check {
  width: 74px;
  height: 74px;
  margin: 22px auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1f8f45;
}

.reward-check svg {
  width: 36px;
  height: 36px;
}

.reward-card p {
  margin: 0;
  color: #c8c8c8;
  font-size: 15px;
}

.reward-amount {
  display: block;
  margin: 18px 0 22px;
  color: #f5c542;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.reward-claim {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #1f8f45;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.next-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(70, 70, 70, 0.72);
  display: grid;
  place-items: center;
}

.next-circle svg {
  width: 26px;
  height: 26px;
}

.login-page {
  position: relative;
  min-height: 100vh;
  padding: 72px 24px 40px;
}

.login-page .brand {
  justify-content: center;
}

.login-page h1 {
  margin: 28px 0 8px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
}

.login-lead {
  margin: 0 0 28px;
  text-align: center;
  color: #9a9a9a;
  font-size: 14px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-form input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  background: #141414;
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.login-form input:focus {
  outline: none;
  border-color: #ff4b4b;
}

.login-submit {
  height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #ff4b4b;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.login-submit:disabled {
  opacity: 0.7;
}

.login-error {
  margin: 0;
  color: #ff4b4b;
  font-size: 13px;
  text-align: center;
}

.login-back {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: #9a9a9a;
  font-size: 14px;
  text-decoration: none;
}

.about-page {
  min-height: 100vh;
  padding: 0 0 36px;
}

.about-bar {
  height: 44px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  background: #0b0b0b;
  position: sticky;
  top: 0;
}

.about-bar a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 0 6px;
}

.about-bar svg {
  width: 22px;
  height: 22px;
}

.about-wrap {
  padding: 22px 16px 0;
}

.about-wrap h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
}

.about-lead {
  margin: 0 0 18px;
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.55;
}

.about-card {
  margin-bottom: 12px;
  padding: 14px 14px 4px;
  border-radius: 14px;
  background: #141414;
}

.about-card h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.about-card p,
.about-card li {
  margin: 0 0 10px;
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.55;
}

.about-card ul {
  margin: 0;
  padding-left: 18px;
}

.about-card strong {
  color: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 14px;
  background: #141414;
  overflow: hidden;
}

.faq-item summary {
  min-height: 52px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.6px solid #9a9a9a;
  border-bottom: 1.6px solid #9a9a9a;
  transform: rotate(45deg);
}

.faq-item[open] summary::after {
  margin-top: 4px;
  border-color: #ff4b4b;
  transform: rotate(225deg);
}

.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.55;
}

.support-empty {
  margin-top: 72px;
  text-align: center;
}

.support-empty h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 6px;
  border-radius: 999px;
  background: #ff4b4b;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.member-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.member-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.35));
}

.member-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.member-hero-copy span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.member-hero-copy h1 {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 800;
}

.member-section {
  padding: 22px 0 28px;
}

.member-section h2 {
  margin: 0 0 8px;
  text-align: center;
  color: #ff4b4b;
  font-size: 18px;
  font-weight: 800;
}

.member-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #242424;
}

.member-badge {
  width: 96px;
  height: 64px;
  flex: 0 0 96px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.member-badge svg {
  width: 16px;
  height: 16px;
}

.tier-1 { background: #1a2744; }
.tier-2 { background: #243656; }
.tier-3 { background: #4a2428; }

.member-row p {
  margin: 0;
  color: #f2f2f2;
  font-size: 15px;
  line-height: 1.7;
}

.lang {
  position: relative;
  margin-left: auto;
}

.tools .lang {
  margin-left: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #333;
  border-radius: 999px;
  background: #141414;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
}

.lang-menu {
  position: absolute;
  top: 34px;
  right: 0;
  z-index: 50;
  min-width: 148px;
  padding: 4px 0;
  border-radius: 10px;
  background: #1c1c1c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.lang-menu[hidden] {
  display: none !important;
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.lang-menu button.is-on {
  background: #ff4b4b;
}

.login-page > .lang {
  position: absolute;
  top: 14px;
  right: 14px;
  margin-left: 0;
}
