:root {
  --rws-bg: #050308;
  --rws-panel: rgba(18, 12, 28, .72);
  --rws-panel-strong: rgba(22, 13, 34, .92);
  --rws-line: rgba(255, 255, 255, .1);
  --rws-pink: #ff2fb3;
  --rws-purple: #8f46ff;
  --rws-blue: #35d1ff;
  --rws-text: #fff;
  --rws-muted: rgba(255, 255, 255, .7);
  --rws-radius: 24px;
}

html {
  scroll-behavior: smooth;
}

html.rws-is-filtering .rws-vault-grid,
html.rws-is-filtering .rws-feed-stack {
  opacity: .72;
  transform: translateY(2px);
  transition: opacity .18s ease, transform .18s ease;
}

.rws-app {
  position: relative;
  min-height: 100%;
  padding: 28px 16px 64px;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 47, 179, .30), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(53, 209, 255, .22), transparent 26rem),
    radial-gradient(circle at 48% 98%, rgba(143, 70, 255, .18), transparent 30rem),
    linear-gradient(180deg, #08030d, var(--rws-bg) 55%, #020104);
  color: var(--rws-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  isolation: isolate;
  overflow: hidden;
}

.rws-app *,
.rws-app *::before,
.rws-app *::after {
  box-sizing: border-box;
}

.rws-app > :not(.rws-snow-field) {
  position: relative;
  z-index: 1;
}

.rws-snow-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.rws-snow-field span {
  position: absolute;
  top: -18px;
  left: var(--rws-x);
  width: var(--rws-size);
  height: var(--rws-size);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow:
    0 0 12px rgba(105, 215, 255, .74),
    0 0 24px rgba(255, 47, 179, .18);
  opacity: var(--rws-opacity);
  filter: blur(var(--rws-blur));
  animation:
    rws-snow-fall var(--rws-duration) linear var(--rws-delay) infinite,
    rws-snow-sway calc(var(--rws-duration) * .48) ease-in-out var(--rws-delay) infinite alternate;
}

.rws-home,
.rws-lock-screen,
.rws-book-show {
  padding-top: 0;
}

.rws-card {
  border: 1px solid var(--rws-line);
  background:
    linear-gradient(145deg, rgba(255, 47, 179, .08), rgba(53, 209, 255, .05) 44%, rgba(255, 255, 255, .022)),
    var(--rws-panel);
  backdrop-filter: blur(18px);
  border-radius: var(--rws-radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.rws-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .42s ease, transform .42s ease, border-color .24s ease, box-shadow .24s ease;
}

.rws-card:hover {
  transform: translateY(-3px);
  border-color: rgba(105, 215, 255, .42);
  box-shadow:
    0 26px 70px rgba(255, 47, 179, .16),
    0 0 34px rgba(53, 209, 255, .12);
}

.rws-app-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 8px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto -72px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(5, 3, 8, .62);
  backdrop-filter: blur(22px);
}

.rws-app-nav a {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.rws-app-nav div {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}

.rws-brand {
  flex: 0 0 auto;
  color: #fff !important;
}

.rws-hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  margin: 0 -16px 42px;
  padding: 110px 18px 36px;
  background:
    linear-gradient(180deg, rgba(5, 3, 8, .12), rgba(5, 3, 8, .94)),
    radial-gradient(circle at 50% 12%, rgba(255, 47, 179, .26), transparent 26rem),
    linear-gradient(135deg, #16071f, #050308 58%, #070015);
  position: relative;
  overflow: hidden;
}

.rws-hero::before,
.rws-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.rws-hero::before {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 47, 179, .32), transparent 66%);
  filter: blur(6px);
  animation: rws-float 12s ease-in-out infinite;
}

.rws-hero::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(5, 3, 8, .95));
}

.rws-hero-inner {
  width: min(980px, 100%);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  margin: 0 auto;
}

.rws-eyebrow,
.rws-lock-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 47, 179, .34);
  border-radius: 999px;
  background: rgba(255, 47, 179, .09);
  color: #ffd9f4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rws-hero h1,
.rws-section-head h1,
.rws-section-head h2,
.rws-lock-card h1,
.rws-book-card h1 {
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  line-height: .96;
}

.rws-hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 12vw, 116px);
  text-shadow: 0 16px 60px rgba(255, 47, 179, .18);
}

.rws-hero p,
.rws-section-head p,
.rws-lock-card p,
.rws-book-card p {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--rws-muted);
  font-size: 17px;
  line-height: 1.65;
}

.rws-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.rws-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rws-pink), var(--rws-purple) 52%, var(--rws-blue));
  background-size: 180% 180%;
  box-shadow:
    0 14px 34px rgba(255, 47, 179, .24),
    0 0 24px rgba(53, 209, 255, .12);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  animation: rws-button-shimmer 7s ease infinite;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.rws-button:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgba(255, 47, 179, .30),
    0 0 32px rgba(53, 209, 255, .18);
}

.rws-button-ghost {
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.rws-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.rws-hero-stats span,
.rws-vault-meta span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
}

.rws-hero-stats strong {
  color: #fff;
}

.rws-phone-preview {
  display: none;
  justify-self: end;
  width: min(330px, 100%);
  padding: 14px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 47, 179, .28), transparent 52%),
    rgba(12, 8, 20, .72);
}

.rws-phone-top {
  width: 86px;
  height: 8px;
  margin: 2px auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.rws-phone-tile {
  min-height: 350px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .78)),
    radial-gradient(circle at 24% 18%, rgba(255, 47, 179, .62), transparent 38%),
    linear-gradient(135deg, #302047, #0b0710);
}

.rws-phone-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.rws-phone-row div {
  min-height: 86px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(53, 209, 255, .24), rgba(255, 47, 179, .14));
}

.rws-phone-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 4px 2px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
}

.rws-phone-caption strong {
  color: #fff;
}

.rws-section,
.rws-vault,
.rws-feed {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.rws-section {
  margin-top: 44px;
}

.rws-section-head {
  margin-bottom: 20px;
}

.rws-row-head,
.rws-feed-head,
.rws-vault-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.rws-section-head h1,
.rws-section-head h2 {
  font-size: clamp(32px, 7vw, 62px);
}

.rws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(164px, 1fr));
  gap: 16px;
}

.rws-text-link {
  flex: 0 0 auto;
  color: #ffd9f4;
  font-weight: 850;
  text-decoration: none;
}

.rws-category-card {
  min-height: 148px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 47, 179, .12)),
    var(--rws-panel-strong);
  position: relative;
}

.rws-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, .08));
  opacity: 0;
  transition: opacity .22s ease;
}

.rws-category-card:hover::before {
  opacity: 1;
}

.rws-category-card span {
  position: relative;
  font-size: 24px;
  font-weight: 900;
}

.rws-category-card small {
  position: relative;
  color: rgba(255, 255, 255, .66);
  font-weight: 850;
}

.rws-category-card--1 { background: radial-gradient(circle at 22% 12%, rgba(255, 47, 179, .34), transparent 45%), var(--rws-panel-strong); }
.rws-category-card--2 { background: radial-gradient(circle at 22% 12%, rgba(53, 209, 255, .28), transparent 45%), var(--rws-panel-strong); }
.rws-category-card--3 { background: radial-gradient(circle at 22% 12%, rgba(143, 70, 255, .34), transparent 45%), var(--rws-panel-strong); }
.rws-category-card--4 { background: radial-gradient(circle at 22% 12%, rgba(255, 47, 179, .24), transparent 45%), linear-gradient(135deg, #1b0927, #07040c); }

.rws-benefit-card,
.rws-book-card,
.rws-lock-card,
.rws-subscribe-card {
  padding: 24px;
}

.rws-subscribe-card,
.rws-vault-cta {
  display: grid;
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 47, 179, .16), rgba(53, 209, 255, .08)),
    rgba(16, 8, 28, .82);
}

.rws-benefit-card h3,
.rws-card-body h2 {
  margin: 0;
  color: #fff;
}

.rws-benefit-card p,
.rws-card-body p {
  color: var(--rws-muted);
}

.rws-category-rail {
  display: flex;
  gap: 10px;
  margin: 0 0 20px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: none;
}

.rws-category-rail::-webkit-scrollbar,
.rws-latest-row::-webkit-scrollbar {
  display: none;
}

.rws-chip {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--rws-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.rws-chip:hover {
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(255, 47, 179, .45);
}

.rws-chip.is-active {
  border-color: rgba(255, 47, 179, .55);
  background: rgba(255, 47, 179, .18);
}

.rws-vault-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.rws-vault--videos .rws-vault-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.rws-media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #07040b;
  overflow: hidden;
}

.rws-vault--videos .rws-media-frame {
  aspect-ratio: 16 / 10;
}

.rws-media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .42s ease, filter .42s ease;
}

.rws-vault-card:hover .rws-media-frame img,
.rws-drop-card:hover .rws-drop-art img,
.rws-feed-card:hover .rws-feed-thumb img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.rws-media-frame video,
.rws-video-embed,
.rws-video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.rws-media-frame video {
  object-fit: cover;
}

.rws-media-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--rws-muted);
  font-weight: 900;
}

.rws-play-dot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 47, 179, .88);
  box-shadow: 0 0 26px rgba(255, 47, 179, .48);
}

.rws-play-dot::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid #fff;
}

.rws-card-body {
  padding: 14px;
}

.rws-card-kicker {
  display: block;
  margin-bottom: 6px;
  color: #ffafe5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rws-card-body h2 {
  font-size: 16px;
  line-height: 1.25;
}

.rws-card-body h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
}

.rws-card-body p {
  margin: 7px 0 0;
  font-size: 13px;
}

.rws-feed-stack {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.rws-feed-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #050308;
  overflow: hidden;
}

.rws-feed-thumb--locked {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 47, 179, .36), transparent 42%),
    linear-gradient(135deg, #1b0d27, #050308);
  color: #fff;
  font-weight: 950;
}

.rws-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .42s ease, filter .42s ease;
}

.rws-feed-card {
  border-radius: 30px;
}

.rws-feed-card .rws-card-body {
  padding: 18px;
}

.rws-feed-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
}

.rws-feed-actions a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.rws-soft-lock {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(5, 3, 8, .72);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.rws-latest-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.rws-drop-card {
  scroll-snap-align: start;
}

.rws-drop-art {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 47, 179, .32), transparent 42%),
    linear-gradient(135deg, #20112f, #08040e);
  color: #fff;
  font-weight: 900;
}

.rws-drop-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .42s ease, filter .42s ease;
}

.rws-vault-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.rws-vault-cta {
  margin-top: 24px;
  padding: 22px;
}

.rws-lock-screen,
.rws-book-show {
  display: grid;
  min-height: 72vh;
  place-items: center;
}

.rws-book-show.rws-app {
  display: block;
  width: min(1180px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 20px 16px 44px;
  background: transparent !important;
  overflow: visible;
}

.rws-lock-card,
.rws-book-card {
  width: min(620px, 100%);
}

.rws-book-show .rws-book-card {
  margin: 0 auto 18px;
}

.rws-book-options {
  width: min(760px, 100%);
  margin: 0 auto;
}

.rws-book-rules {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(105, 215, 255, .22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 47, 179, .11), rgba(53, 209, 255, .08)),
    rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.rws-book-rules h2 {
  margin: 0 0 12px;
  color: #ff6bed;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.rws-book-rules ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rws-book-rules li {
  color: #f6f8ff;
  font-size: 15px;
  line-height: 1.45;
}

.rws-book-rules li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 999px;
  background: #69d7ff;
  box-shadow: 0 0 14px rgba(105, 215, 255, .7);
  vertical-align: middle;
}

.rws-book-rules strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 18px;
}

.rws-empty {
  padding: 22px;
  color: var(--rws-muted);
}

@media (min-width: 760px) {
  .rws-app {
    padding: 40px 28px 86px;
  }

  .rws-hero {
    margin: 0 -28px 56px;
    padding: 140px 32px 56px;
  }

  .rws-hero-inner {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .rws-phone-preview {
    display: block;
  }

  .rws-vault-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .rws-subscribe-card,
  .rws-vault-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .rws-feed-stack {
    margin-left: clamp(0px, 7vw, 120px);
  }
}

@media (max-width: 640px) {
  .rws-app-nav {
    width: calc(100% - 10px);
    margin-bottom: -62px;
  }

  .rws-app-nav div {
    max-width: 58vw;
  }

  .rws-actions .rws-button {
    flex: 1 1 150px;
  }

  .rws-row-head,
  .rws-feed-head,
  .rws-vault-head {
    display: block;
  }

  .rws-section-head h1,
  .rws-section-head h2 {
    font-size: 34px;
  }

  .rws-feed-card {
    min-height: 70vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rws-hero::before,
  .rws-snow-field span,
  .rws-button,
  .rws-card,
  .rws-media-frame img,
  .rws-drop-art img,
  .rws-feed-thumb img {
    animation: none;
    transition: none;
  }
}

@keyframes rws-snow-fall {
  0% {
    transform: translate3d(0, -18px, 0);
  }

  100% {
    transform: translate3d(var(--rws-drift), calc(100vh + 48px), 0);
  }
}

@keyframes rws-snow-sway {
  0% {
    margin-left: -10px;
  }

  100% {
    margin-left: 16px;
  }
}

@keyframes rws-button-shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes rws-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-22px, 18px, 0) scale(1.04);
  }
}
