:root{
  --rx-bg:#090d18;
  --rx-bg-soft:#0f1524;
  --rx-surface:#141b2d;
  --rx-surface-2:#1a2236;
  --rx-border:rgba(255,255,255,.1);
  --rx-text:#f8fafc;
  --rx-muted:#9ca8be;
  --rx-primary:#5c6cff;
  --rx-primary-2:#8b5cf6;
  --rx-accent:#db5da7;
  --rx-success:#2dd4bf;
  --rx-radius:22px;
  --rx-shadow:0 26px 70px rgba(0,0,0,.34);
  --rx-container:1240px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Manrope,sans-serif;
  background:var(--rx-bg);
  color:var(--rx-text);
  line-height:1.6;
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  opacity:.04;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
}

button,
input,
select{
  font:inherit;
}

.rx-container{
  width:min(var(--rx-container),calc(100% - 40px));
  margin:auto;
}

.rx-header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(9,13,24,.76);
  border-bottom:1px solid transparent;
  backdrop-filter:blur(18px);
  transition:.25s ease;
}

.rx-header.scrolled{
  background:rgba(9,13,24,.94);
  border-color:var(--rx-border);
}

.rx-nav{
  height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.rx-brand img{
  width:166px;
  height:auto;
}

.rx-nav-links{
  display:flex;
  align-items:center;
  gap:34px;
  color:#cbd5e1;
  font-size:14px;
  font-weight:700;
}

.rx-nav-links a{
  transition:.2s ease;
}

.rx-nav-links a:hover,
.rx-nav-links a.active{
  color:#fff;
}

.rx-access{
  padding:11px 18px;
  border:1px solid var(--rx-border);
  border-radius:13px;
  background:rgba(255,255,255,.035);
}

.rx-mobile-toggle{
  display:none;
  border:0;
  background:none;
  color:#fff;
  font-size:27px;
}

.rx-hero{
  position:relative;
  overflow:hidden;
  padding:86px 0 74px;
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(219,93,167,.11),
      transparent 30%
    ),
    radial-gradient(
      circle at 25% 90%,
      rgba(92,108,255,.16),
      transparent 35%
    );
  border-bottom:1px solid var(--rx-border);
}

.rx-hero-glow{
  position:absolute;
  width:540px;
  height:540px;
  left:28%;
  bottom:-390px;
  border-radius:50%;
  background:rgba(124,92,255,.18);
  filter:blur(80px);
  pointer-events:none;
}

.rx-hero-content{
  position:relative;
}

.rx-kicker{
  color:#a78bfa;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.rx-hero h1{
  max-width:850px;
  margin:14px 0 18px;
  font-size:clamp(46px,6vw,78px);
  line-height:.99;
  letter-spacing:-.055em;
}

.rx-hero h1 span{
  background:linear-gradient(
    100deg,
    #a78bfa,
    #f472b6
  );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.rx-hero p{
  max-width:760px;
  margin:0;
  color:var(--rx-muted);
  font-size:17px;
}

.rx-search{
  max-width:930px;
  margin-top:30px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:9px 9px 9px 18px;
  background:rgba(255,255,255,.045);
  border:1px solid var(--rx-border);
  border-radius:18px;
  box-shadow:0 16px 50px rgba(0,0,0,.2);
}

.rx-search>i{
  color:#94a3b8;
  font-size:21px;
}

.rx-search input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  background:none;
  color:#fff;
}

.rx-search input::placeholder{
  color:#64748b;
}

.rx-search button{
  border:0;
  padding:13px 20px;
  border-radius:12px;
  background:#fff;
  color:#0f172a;
  font-weight:800;
  cursor:pointer;
}

.rx-search-meta{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  margin-top:18px;
  color:#8d9ab0;
  font-size:13px;
}

.rx-search-meta strong{
  color:#fff;
}

.rx-search-meta span{
  display:flex;
  align-items:center;
  gap:7px;
}

.rx-discovery-bar{
  border-bottom:1px solid var(--rx-border);
  background:#0b101d;
  padding:22px 0;
}

.rx-genre-strip{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:none;
}

.rx-genre-strip::-webkit-scrollbar{
  display:none;
}

.rx-chip{
  flex:0 0 auto;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid var(--rx-border);
  background:rgba(255,255,255,.025);
  color:#cbd5e1;
  font-size:12px;
  font-weight:800;
  transition:.2s ease;
}

.rx-chip small{
  margin-left:5px;
  color:#738099;
}

.rx-chip:hover,
.rx-chip.active{
  color:#fff;
  border-color:rgba(167,139,250,.55);
  background:linear-gradient(
    135deg,
    rgba(92,108,255,.25),
    rgba(139,92,246,.18)
  );
}

.rx-tag-cloud{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px;
}

.rx-tag-cloud a{
  padding:7px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.028);
  color:#8592a8;
  font-size:11px;
  border:1px solid transparent;
}

.rx-tag-cloud a.active,
.rx-tag-cloud a:hover{
  color:#ddd6fe;
  border-color:rgba(167,139,250,.3);
  background:rgba(124,92,255,.1);
}

.rx-tag-cloud small{
  margin-left:3px;
  opacity:.65;
}

.rx-main-section{
  padding:62px 0 110px;
}

.rx-mobile-filter-button{
  display:none;
}

.rx-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:28px;
  align-items:start;
}

.rx-sidebar{
  position:sticky;
  top:118px;
  padding:24px;
  border-radius:22px;
  border:1px solid var(--rx-border);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.04),
      rgba(255,255,255,.018)
    );
}

.rx-filter-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:20px;
  border-bottom:1px solid var(--rx-border);
}

.rx-filter-header h2{
  margin:4px 0 0;
  font-size:24px;
}

.rx-filter-header>a{
  color:#a78bfa;
  font-size:12px;
  font-weight:800;
}

.rx-filter-group{
  padding:20px 0;
  border-bottom:1px solid var(--rx-border);
}

.rx-filter-group:last-of-type{
  border-bottom:0;
}

.rx-filter-group>label,
.rx-filter-label{
  display:block;
  margin-bottom:10px;
  color:#d9e0eb;
  font-size:13px;
  font-weight:800;
}

.rx-select{
  width:100%;
  min-height:46px;
  padding:0 12px;
  color:#fff;
  background:#101726;
  border:1px solid var(--rx-border);
  border-radius:12px;
  outline:0;
}

.rx-select:focus{
  border-color:rgba(167,139,250,.65);
  box-shadow:0 0 0 3px rgba(124,92,255,.1);
}

.rx-check{
  position:relative;
  display:grid!important;
  grid-template-columns:auto 1fr;
  gap:11px;
  align-items:start;
  padding:10px 0;
  cursor:pointer;
}

.rx-check input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.rx-check-box{
  width:20px;
  height:20px;
  margin-top:1px;
  display:grid;
  place-items:center;
  border-radius:6px;
  border:1px solid #445068;
  background:#101726;
  color:transparent;
  transition:.2s ease;
}

.rx-check input:checked+.rx-check-box{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(
    135deg,
    var(--rx-primary),
    var(--rx-primary-2)
  );
}

.rx-check strong,
.rx-check small{
  display:block;
}

.rx-check strong{
  color:#e8edf5;
  font-size:13px;
}

.rx-check small{
  margin-top:2px;
  color:#748097;
  font-size:10px;
  font-weight:500;
}

.rx-filter-submit{
  width:100%;
  min-height:48px;
  margin-top:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:13px;
  color:#fff;
  background:linear-gradient(
    135deg,
    var(--rx-primary),
    var(--rx-primary-2)
  );
  font-weight:800;
  cursor:pointer;
  transition:.22s ease;
}

.rx-filter-submit:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(92,108,255,.22);
}

.rx-results-head{
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:end;
  margin-bottom:24px;
}

.rx-results-head h2{
  margin:5px 0 4px;
  font-size:32px;
  letter-spacing:-.035em;
}

.rx-results-head p{
  margin:0;
  color:var(--rx-muted);
  font-size:13px;
}

.rx-clear-all{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#c4b5fd;
  font-size:12px;
  font-weight:800;
}

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

.rx-work-card{
  overflow:hidden;
  border-radius:22px;
  border:1px solid var(--rx-border);
  background:var(--rx-surface);
  transition:.25s ease;
}

.rx-work-card:hover{
  transform:translateY(-6px);
  border-color:rgba(167,139,250,.42);
  box-shadow:var(--rx-shadow);
}

.rx-work-media{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#111827;
}

.rx-work-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.35s ease;
}

.rx-work-card:hover .rx-work-media img{
  transform:scale(1.035);
}

.rx-work-placeholder{
  height:100%;
  display:grid;
  place-items:center;
  color:#a78bfa;
  font-size:52px;
  background:linear-gradient(
    135deg,
    #243b67,
    #4c1d95
  );
}

.rx-play{
  position:absolute;
  right:17px;
  bottom:17px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:#101827;
  box-shadow:0 14px 32px rgba(0,0,0,.36);
  transition:.22s ease;
}

.rx-work-card:hover .rx-play{
  transform:scale(1.06);
}

.rx-media-overlay{
  position:absolute;
  left:16px;
  top:16px;
}

.rx-availability{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  color:#99f6e4;
  background:rgba(7,35,34,.78);
  border:1px solid rgba(45,212,191,.28);
  backdrop-filter:blur(10px);
  font-size:10px;
  font-weight:800;
}

.rx-work-body{
  padding:19px;
}

.rx-work-kicker{
  color:#a78bfa;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.rx-work-body h3{
  margin:7px 0 5px;
  font-size:20px;
  line-height:1.2;
}

.rx-work-author{
  color:var(--rx-muted);
  font-size:13px;
}

.rx-tags{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:13px;
}

.rx-tags span{
  padding:5px 8px;
  border-radius:8px;
  color:#9aa6ba;
  background:rgba(255,255,255,.035);
  font-size:10px;
}

.rx-badges{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-top:14px;
}

.rx-badges span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 9px;
  border-radius:999px;
  color:#99f6e4;
  background:rgba(45,212,191,.1);
  border:1px solid rgba(45,212,191,.18);
  font-size:10px;
}

.rx-card-footer{
  margin-top:17px;
  padding-top:15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--rx-border);
  color:#c4b5fd;
  font-size:12px;
  font-weight:800;
}

.rx-empty{
  min-height:420px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px;
  border:1px dashed rgba(255,255,255,.16);
  border-radius:24px;
  background:rgba(255,255,255,.02);
}

.rx-empty-icon{
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  border-radius:20px;
  color:#c4b5fd;
  background:rgba(124,92,255,.12);
  font-size:30px;
}

.rx-empty h3{
  margin:22px 0 8px;
  font-size:25px;
}

.rx-empty p{
  max-width:480px;
  margin:0;
  color:var(--rx-muted);
}

.rx-empty a{
  margin-top:22px;
  padding:11px 17px;
  border-radius:12px;
  background:#fff;
  color:#111827;
  font-size:12px;
  font-weight:800;
}

.rx-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:40px;
}

.rx-pagination a,
.rx-pagination span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid var(--rx-border);
  color:#b8c1d1;
  background:rgba(255,255,255,.025);
  font-size:12px;
  font-weight:800;
}

.rx-pagination span{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(
    135deg,
    var(--rx-primary),
    var(--rx-primary-2)
  );
}

.rx-pagination i{
  color:#617087;
}

.rx-footer{
  padding:60px 0 22px;
  border-top:1px solid var(--rx-border);
}

.rx-footer-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:40px;
}

.rx-footer img{
  width:166px;
  height:auto;
  margin-bottom:16px;
}

.rx-footer p{
  max-width:280px;
  color:var(--rx-muted);
}

.rx-footer strong{
  display:block;
  margin-bottom:14px;
}

.rx-footer a{
  display:block;
  margin:8px 0;
  color:var(--rx-muted);
  font-size:14px;
}

.rx-footer a:hover{
  color:#fff;
}

.rx-footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:42px;
  padding-top:20px;
  border-top:1px solid var(--rx-border);
  color:#64748b;
  font-size:13px;
}

.rx-filter-backdrop{
  display:none;
}

@media(max-width:1100px){
  .rx-layout{
    grid-template-columns:250px minmax(0,1fr);
  }

  .rx-work-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:820px){
  .rx-nav{
    height:82px;
  }

  .rx-brand img{
    width:145px;
  }

  .rx-nav-links{
    display:none;
    position:absolute;
    left:18px;
    right:18px;
    top:74px;
    flex-direction:column;
    align-items:stretch;
    gap:16px;
    padding:18px;
    border:1px solid var(--rx-border);
    border-radius:18px;
    background:#0f1524;
  }

  .rx-nav-links.open{
    display:flex;
  }

  .rx-mobile-toggle{
    display:block;
  }

  .rx-hero{
    padding:65px 0 58px;
  }

  .rx-hero h1{
    font-size:52px;
  }

  .rx-search{
    display:grid;
    grid-template-columns:auto 1fr;
  }

  .rx-search button{
    grid-column:1/-1;
  }

  .rx-mobile-filter-button{
    width:100%;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-bottom:20px;
    border:1px solid var(--rx-border);
    border-radius:13px;
    color:#fff;
    background:rgba(255,255,255,.04);
    font-weight:800;
  }

  .rx-mobile-filter-button span{
    min-width:22px;
    height:22px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#7c3aed;
    font-size:10px;
  }

  .rx-layout{
    display:block;
  }

  .rx-sidebar{
    position:fixed;
    z-index:90;
    left:0;
    top:0;
    bottom:0;
    width:min(360px,88vw);
    overflow:auto;
    border-radius:0 22px 22px 0;
    background:#0e1422;
    transform:translateX(-105%);
    transition:.28s ease;
  }

  body.filters-open .rx-sidebar{
    transform:translateX(0);
  }

  .rx-filter-backdrop{
    position:fixed;
    z-index:80;
    inset:0;
    background:rgba(0,0,0,.62);
    backdrop-filter:blur(3px);
  }

  body.filters-open .rx-filter-backdrop{
    display:block;
  }
}

@media(max-width:620px){
  .rx-container{
    width:min(100% - 28px,var(--rx-container));
  }

  .rx-hero h1{
    font-size:45px;
  }

  .rx-results-head{
    display:block;
  }

  .rx-results-actions{
    margin-top:14px;
  }

  .rx-work-grid{
    grid-template-columns:1fr;
  }

  .rx-footer-grid{
    grid-template-columns:1fr;
  }

  .rx-footer-bottom{
    display:block;
  }
}
