/* OVRILUX unified homepage library */
.ov-home{
  --ink:#071019;
  --panel:#0d1823;
  --line:#263746;
  --text:#f4f7f9;
  --muted:#93a3b3;
  --acid:#c8ff31;
  width:100%;
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:"Manrope",sans-serif;
}

.ov-shell{
  width:min(calc(100% - 48px),1560px);
  margin-inline:auto;
}

.ov-hero{
  position:relative;
  height:clamp(360px,28vw,500px);
  overflow:hidden;
  border-bottom:1px solid #26313d;
  background:#071019;
  isolation:isolate;
}

.ov-hero__image{
  position:absolute;
  inset:0;
  z-index:-3;
  background:url("https://revioo.top/wp-content/uploads/2026/10/OVRILUX-Fantasy-Games-Hero.webp") center/cover no-repeat;
}

.ov-hero__shade{
  position:absolute;
  inset:0;
  z-index:-2;
  background:linear-gradient(90deg,rgba(4,9,15,.98),rgba(4,9,15,.8) 25%,rgba(4,9,15,.25) 57%,rgba(4,9,15,.04));
}

.ov-hero__content{
  width:min(calc(100% - 48px),1560px);
  height:100%;
  margin:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}

.ov-hero__eyebrow,
.ov-kicker{
  margin:0 0 9px;
  color:var(--acid);
  font:700 11px/1.2 "Fira Code",monospace;
  letter-spacing:.18em;
}

.ov-hero h1{
  margin:0;
  color:#fff;
  font-size:clamp(52px,5vw,86px);
  font-weight:800;
  letter-spacing:-.065em;
  line-height:.82;
}

.ov-hero h1 span{color:var(--acid)}

.ov-hero__subtitle{
  margin:18px 0 22px;
  color:#eef1f4;
  font-size:clamp(15px,1.1vw,19px);
}

.ov-hero__cta{
  display:inline-flex;
  align-items:center;
  gap:15px;
  min-height:50px;
  padding:0 24px;
  border:1px solid #dcff73;
  border-radius:9px;
  background:linear-gradient(135deg,#d8ff42,#aef20b);
  color:#071019!important;
  font-size:13px;
  font-weight:850;
  letter-spacing:.04em;
  text-decoration:none!important;
  box-shadow:0 12px 28px rgba(174,242,11,.18);
}

.ov-hero__cta span{font-size:25px}

.ov-catalog{
  padding:74px 0 92px;
}

.ov-catalog__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:30px;
  padding-bottom:24px;
  border-bottom:1px solid rgba(73,94,110,.65);
}

.ov-catalog__head h2{
  margin:0;
  color:#fff;
  font-size:clamp(34px,3.25vw,56px);
  letter-spacing:-.055em;
  line-height:.95;
}

.ov-catalog__head p{
  max-width:680px;
  margin:14px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.ov-catalog__total{
  flex:0 0 auto;
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:14px 17px;
  border:1px solid #324655;
  border-radius:12px;
  background:#0c1721;
}

.ov-catalog__total strong{
  color:var(--acid);
  font-size:36px;
  line-height:1;
}

.ov-catalog__total span{
  color:#9aabba;
  font:700 10px/1 "Fira Code",monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ov-catalog__about{
  display:grid;
  grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);
  gap:56px;
  margin-top:68px;
  padding-top:42px;
  border-top:1px solid rgba(73,94,110,.65);
}

.ov-catalog__about-title h2{
  max-width:480px;
  margin:0;
  color:#fff;
  font-size:clamp(28px,2.7vw,44px);
  line-height:1.03;
  letter-spacing:-.05em;
}

.ov-catalog__about-copy{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}

.ov-catalog__about-copy p{
  margin:0;
  color:#b7c4ce;
  font-size:14px;
  line-height:1.8;
}

.ov-home-help{
  margin-top:72px;
  padding-top:46px;
  border-top:1px solid rgba(73,94,110,.65);
}

.ov-home-help>header{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:48px;
  align-items:end;
  margin-bottom:30px;
}

.ov-home-help>header .ov-kicker{grid-column:1/-1;margin-bottom:-30px}
.ov-home-help h2,.ov-home-review h2{margin:0;color:#fff;font-size:clamp(30px,3vw,46px);letter-spacing:-.05em;line-height:1.03}
.ov-home-help>header p,.ov-home-review__intro p{margin:0;color:#aebdca;font-size:15px;line-height:1.75}

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

.ov-home-help article{
  position:relative;
  min-height:100%;
  padding:28px 26px 30px;
  border:1px solid #2b3f4d;
  border-radius:13px;
  background:#0d1923;
}

.ov-home-help article>span{display:block;margin-bottom:30px;color:var(--acid);font:800 11px/1 "Fira Code",monospace;letter-spacing:.12em}
.ov-home-help h3{margin:0;color:#f7fafc;font-size:20px;line-height:1.25}
.ov-home-help article p{margin:14px 0 0;color:#aebdca;font-size:14px;line-height:1.76}
.ov-home-help article a{color:var(--acid)!important;text-underline-offset:3px}

.ov-home-review{
  display:grid;
  grid-template-columns:minmax(270px,.72fr) minmax(0,1.28fr);
  gap:50px;
  margin-top:18px;
  padding:40px;
  border:1px solid #324655;
  border-radius:16px;
  background:linear-gradient(135deg,#111f2a,#0a151e);
}

.ov-home-review__intro p{margin-top:18px}
.ov-home-review ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;counter-reset:review}
.ov-home-review li{position:relative;padding:20px 20px 20px 48px;border:1px solid #304452;border-radius:10px;background:rgba(7,16,25,.52);counter-increment:review}
.ov-home-review li:before{content:counter(review);position:absolute;left:17px;top:20px;color:var(--acid);font:800 11px/1 "Fira Code",monospace}
.ov-home-review li b{display:block;color:#fff;font-size:14px}
.ov-home-review li span{display:block;margin-top:7px;color:#aebdca;font-size:13px;line-height:1.6}

.ov-library-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:20px;
}

.ov-library-item{
  min-width:0;
}

.ov-library-item.is-hidden{
  display:none;
}

.ov-library-card{
  position:relative;
  display:block;
  height:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid #263a48;
  border-radius:13px;
  background:#0f1b26;
  color:#fff!important;
  text-decoration:none!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.ov-library-card:hover{
  z-index:2;
  transform:translateY(-5px);
  border-color:#6a8293;
  box-shadow:0 16px 34px rgba(0,0,0,.38);
}

.ov-library-card__media{
  position:relative;
  display:block;
  overflow:hidden;
  aspect-ratio:16/10;
  background:#13222e;
}

.ov-library-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .28s ease,filter .28s ease;
}

.ov-library-card:hover img{
  transform:scale(1.045);
  filter:saturate(1.08);
}

.ov-library-card__media i{
  position:absolute;
  right:12px;
  bottom:12px;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--acid);
  color:#071019;
  font-size:11px;
  font-style:normal;
  opacity:0;
  transform:scale(.82);
  transition:.18s ease;
}

.ov-library-card:hover .ov-library-card__media i{
  opacity:1;
  transform:scale(1);
}

.ov-library-card__title{
  display:block;
  overflow:hidden;
  padding:13px 13px 4px;
  color:#f5f8fa;
  font-size:15px;
  font-weight:760;
  line-height:1.3;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.ov-library-card>small{
  display:block;
  padding:0 13px 13px;
  color:#8295a5;
  font:700 9px/1.2 "Fira Code",monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.ov-catalog__actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  margin-top:38px;
}

.ov-catalog__more{
  min-height:48px;
  padding:0 22px;
  border:1px solid #4a5f6f;
  border-radius:9px;
  background:#101e29;
  color:#eef4f7;
  font:800 11px/1 "Fira Code",monospace;
  letter-spacing:.08em;
  cursor:pointer;
  transition:.18s ease;
}

.ov-catalog__more:hover{
  border-color:var(--acid);
  color:var(--acid);
  transform:translateY(-2px);
}

.ov-catalog__more[hidden]{display:none}

.ov-catalog__actions p{
  margin:0;
  color:#728696;
  font:700 10px/1.2 "Fira Code",monospace;
  letter-spacing:.06em;
}

.ov-library-empty{
  min-height:280px;
}

@media(max-width:1280px){
  .ov-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:900px){
  .ov-shell,
  .ov-hero__content{width:min(calc(100% - 32px),1560px)}
  .ov-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .ov-catalog__head{align-items:flex-start}
  .ov-catalog__about{grid-template-columns:1fr;gap:24px}
  .ov-home-help>header,.ov-home-review{grid-template-columns:1fr;gap:24px}
  .ov-home-help>header .ov-kicker{grid-column:auto;margin-bottom:0}
}

@media(max-width:620px){
  .ov-shell,
  .ov-hero__content{width:min(calc(100% - 24px),1560px)}
  .ov-hero{height:430px}
  .ov-hero__image{background-position:64% center}
  .ov-hero__content{justify-content:flex-end;padding-bottom:62px}
  .ov-hero h1{font-size:46px}
  .ov-hero__subtitle{max-width:280px;font-size:14px}
  .ov-hero__cta{min-height:46px;padding:0 18px;font-size:12px}
  .ov-catalog{padding:52px 0 70px}
  .ov-catalog__head{display:block;margin-bottom:20px;padding-bottom:18px}
  .ov-catalog__head h2{font-size:34px}
  .ov-catalog__head p{font-size:13px}
  .ov-catalog__total{display:inline-flex;margin-top:18px;padding:10px 12px}
  .ov-catalog__about{gap:20px;margin-top:48px;padding-top:30px}
  .ov-catalog__about-title h2{font-size:30px}
  .ov-catalog__about-copy{grid-template-columns:1fr;gap:14px}
  .ov-catalog__about-copy p{font-size:14px;line-height:1.72}
  .ov-home-help{margin-top:48px;padding-top:30px}
  .ov-home-help>header{display:block;margin-bottom:20px}
  .ov-home-help>header .ov-kicker{margin-bottom:9px}
  .ov-home-help>header p{margin-top:14px}
  .ov-home-help__grid{grid-template-columns:1fr;gap:10px}
  .ov-home-help article{padding:23px 21px}
  .ov-home-help article>span{margin-bottom:18px}
  .ov-home-review{margin-top:12px;padding:24px 20px}
  .ov-home-review ol{grid-template-columns:1fr}
  .ov-catalog__total strong{font-size:28px}
  .ov-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ov-library-card{border-radius:10px}
  .ov-library-card__title{padding:9px 9px 3px;font-size:12px}
  .ov-library-card>small{padding:0 9px 9px;font-size:7px}
  .ov-library-card__media i{display:none}
}

@media(prefers-reduced-motion:reduce){
  .ov-library-card,
  .ov-library-card img,
  .ov-library-card__media i,
  .ov-catalog__more{transition:none}
}