.sw-red { background: var(--red); }
.sw-yellow { background: var(--yellow); }
.sw-pink { background: var(--pink); }
.sw-teal { background: var(--teal); }

.app-boot-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  padding: 32px;
  background:
    radial-gradient(circle at 75% 25%, rgba(0, 196, 164, .12), transparent 34%),
    radial-gradient(circle at 20% 80%, rgba(61, 111, 216, .1), transparent 38%),
    #080a0c;
  color: #fff;
  place-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .32s ease, visibility .32s ease;
}

body.app-booting {
  overflow: hidden;
}

body.app-booting .app-boot-screen {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.app-boot-brand {
  color: var(--teal);
  font-size: clamp(27px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -.045em;
}

.app-boot-title {
  margin-top: 9px;
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 104px);
  font-weight: 400;
  line-height: .92;
  text-transform: uppercase;
}

.app-boot-note {
  margin-top: 17px;
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.app-boot-progress {
  position: relative;
  display: block;
  width: 150px;
  height: 2px;
  margin: 31px auto 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .13);
}

.app-boot-progress::after {
  position: absolute;
  inset: 0;
  width: 45%;
  background: var(--teal);
  content: '';
  animation: platform-boot-progress 1.15s ease-in-out infinite;
  transform: translateX(-115%);
}

@keyframes platform-boot-progress {
  50% { transform: translateX(115%); }
  100% { transform: translateX(330%); }
}

@media (prefers-reduced-motion: reduce) {
  .app-boot-progress::after {
    animation-duration: 2.3s;
  }
}

.plat-nav .avatar {
  text-decoration: none;
}

.plat-nav .avatar[hidden] {
  display: none;
}

.sh-bgs .sh-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-empty-hero {
  max-width: 720px;
}

.platform-today-carousel {
  position: relative;
}

.platform-today-rail {
  gap: 34px;
  padding: 12px 2px 20px;
}

.platform-today-day {
  flex: 0 0 auto;
}

.platform-today-day > h4 {
  margin: 0 0 18px 8px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.platform-today-films {
  display: flex;
  gap: 20px;
}

.platform-rail-arrow {
  position: absolute;
  top: 48%;
  z-index: 15;
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(8, 8, 8, .88);
  place-items: center;
  font-size: 20px;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .25s, background .25s;
}

.platform-today-carousel:hover .platform-rail-arrow,
.platform-today-carousel:focus-within .platform-rail-arrow {
  opacity: 1;
}

.platform-rail-arrow:hover {
  background: var(--teal);
  color: var(--black);
}

.platform-rail-arrow-prev { left: 8px; }
.platform-rail-arrow-next { right: 8px; }

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

.stream-showcase-grid .mcard {
  width: 100%;
  min-height: 260px;
}

.stream-showcase-card.showcase-1 { background: var(--yellow); }
.stream-showcase-card.showcase-2 { background: var(--pink); }
.stream-showcase-card.showcase-3 { background: var(--teal); }

.view#view-conta .conta-wrap {
  max-width: 1240px;
  padding-top: 120px;
}

.account-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.account-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  place-items: center;
  color: var(--black);
  font-family: var(--display);
  font-size: 25px;
}

.account-header > div:nth-child(2) > span,
.account-card-heading span,
.account-login-state > span {
  color: var(--teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.account-header h1 {
  margin-top: 4px;
  line-height: 1.05;
}

.account-header p {
  margin-top: 7px;
  color: rgba(255, 255, 255, .56);
  font-size: 13px;
}

.account-logout {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.account-logout:hover {
  border-color: var(--red);
  background: var(--red);
}

.account-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.account-card-heading h4 {
  margin: 5px 0 0;
}

.account-card-heading > b {
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
}

.account-favorites {
  min-height: 80px;
}

.account-list-card {
  margin-top: 34px;
  padding: 8px 0 18px;
}

.account-list-card .home-film-list-kicker {
  color: var(--teal);
}

.account-list-card .home-film-carousel[hidden],
.account-list-card .account-favorites-empty[hidden] {
  display: none;
}

.account-list-card .account-favorites-empty {
  min-height: 100px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.account-empty {
  padding: 20px 0;
  color: rgba(255, 255, 255, .48);
  font-size: 13px;
}

.order-li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.order-li span {
  color: rgba(255, 255, 255, .62);
}

.account-login-state {
  display: grid;
  min-height: 60vh;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.account-login-state p {
  max-width: 460px;
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .stream-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .account-header {
    grid-template-columns: auto 1fr;
  }

  .account-logout {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .order-li {
    flex-direction: column;
    gap: 5px;
  }
}

@media (hover: none) {
  .platform-rail-arrow {
    opacity: 1;
  }
}
