/* Collection browsing and a more deliberate flow below the work. */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.category-grid[hidden], .collection-view[hidden] { display: none; }
.category-card {
  --collection-accent: #c4a0ff;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 28px 28px;
  min-height: 368px;
  overflow: hidden;
  border: 1px solid rgba(219, 197, 255, .2);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 80% 25%, rgba(155, 107, 255, .17), transparent 65%),
    linear-gradient(150deg, rgba(255, 255, 255, .075), rgba(12, 5, 34, .7));
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(219, 197, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 197, 255, .035) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(135deg, transparent 15%, #000);
  mask-image: linear-gradient(135deg, transparent 15%, #000);
}
.category-stores { --collection-accent: #f5b9ff; }
.category-streamer { --collection-accent: #b4b8ff; }
.category-clients { --collection-accent: #dac7ff; }
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--collection-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .23), 0 24px 48px -30px rgba(155, 107, 255, .55);
}
.category-card:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; }
.category-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.category-index { padding: 7px 0; text-shadow: 0 1px 12px #10091e; font: 400 11px/1 Michroma, sans-serif; color: var(--collection-accent); letter-spacing: .12em; }
.category-count {
  padding: 6px 11px;
  border: 1px solid rgba(219, 197, 255, .14);
  border-radius: 999px;
  color: var(--ice);
  background: rgba(18, 10, 34, .7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12px;
  line-height: 1.4;
}
.category-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 132px;
  margin: 8px 0 18px;
  color: var(--collection-accent);
}
.category-art > svg {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 0 20px rgba(187, 139, 255, .28));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.category-card:hover .category-art > svg { transform: translateY(-4px) scale(1.04); }
.category-preview {
  position: absolute;
  z-index: -2;
  inset: -24% -9% auto 10%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  transform: rotate(-14deg) scale(1.02);
  opacity: .7;
  filter: saturate(.8);
  pointer-events: none;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .6s, filter .6s;
}
.category-preview-frame {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(231, 210, 255, .2);
  border-radius: 16px;
  background: #150e25;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}
.category-preview-frame img { width: 100%; height: 100%; object-fit: cover; }
.category-preview .preview-1 { transform: translateY(30px); }
.category-preview .preview-2 { transform: translateY(-18px); }
.category-preview .preview-3 { grid-column: 2; transform: translateY(-18px); }
.category-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 8, 31, .12) 0%, rgba(15, 8, 31, .25) 30%, rgba(14, 7, 29, .9) 65%, #10091e 100%),
    linear-gradient(100deg, rgba(21, 10, 40, .78), transparent 70%);
}
.category-card:not(.has-preview)::after {
  background: radial-gradient(ellipse at 65% 15%, rgba(156, 98, 255, .19), transparent 70%),
    linear-gradient(180deg, transparent 25%, rgba(14, 7, 29, .82) 80%);
}
.has-preview .category-art { justify-content: flex-start; align-items: flex-end; }
.has-preview .category-art > svg {
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid rgba(231, 210, 255, .23);
  border-radius: 15px;
  background: rgba(25, 13, 43, .6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  filter: none;
}
.has-preview .category-orbit { display: none; }
.category-card:is(:hover, :focus-visible) .category-preview {
  opacity: .9;
  filter: saturate(1);
  transform: rotate(-11deg) scale(1.07) translateY(-5px);
}
.category-orbit { opacity: .07; }
.category-card:is(:hover, :focus-visible) .category-preview { opacity: .86; filter: saturate(.95); }
.category-card:is(:hover, :focus-visible) .preview-1 { --preview-x: -77px; --preview-rotate: -15deg; }
.category-card:is(:hover, :focus-visible) .preview-3 { --preview-x: 77px; --preview-rotate: 15deg; }
.category-orbit {
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .12;
}
.category-orbit::before, .category-orbit::after {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid currentColor;
  border-radius: inherit;
}
.category-orbit::after { inset: 16px; }
.category-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.category-bottom > span:first-child { min-width: 0; }
.category-name { display: block; font: 700 clamp(23px, 2.25vw, 28px)/1.3 Manrope, sans-serif; }
.category-description { display: block; max-width: 40ch; margin-top: 9px; color: #c0b5d4; font-size: 14px; line-height: 1.7; }
.category-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(219, 197, 255, .25);
  border-radius: 50%;
  color: #eadfff;
  background: rgba(164, 112, 235, .2);
  transition: background .25s, color .25s;
}
.category-arrow svg { width: 19px; height: 19px; }
.category-card:hover .category-arrow { color: #1a0f33; background: var(--collection-accent); }
.category-soon { position: absolute; top: 68px; inset-inline-end: 28px; color: var(--label); font-size: 11px; }
.gal-total { font-size: 11px; line-height: 1.5; }
.collection-view { scroll-margin-top: 22px; }
.collection-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 3px 0 25px;
  padding: 9px 14px;
  border: 1px solid rgba(219, 197, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: var(--ice);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s, border-color .2s;
}
.collection-back:hover { color: #fff; border-color: var(--pink); }
.collection-back svg { width: 18px; height: 18px; }
.collection-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.collection-heading h3 { font-size: clamp(22px, 3vw, 30px); line-height: 1.45; }
.collection-heading h3:focus { outline: none; }
.collection-heading p { max-width: 52ch; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.collection-count { flex: none; color: var(--label); font-size: 13px; }
.collection-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 340px;
  padding: 38px 24px;
  border: 1px solid rgba(219, 197, 255, .17);
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(155, 107, 255, .13), transparent 75%), rgba(15, 7, 36, .45);
  text-align: center;
  animation: galIn .35s ease-out both;
}
.empty-art { color: var(--label); opacity: .8; }
.empty-art svg { width: 70px; height: 70px; }
.collection-empty h4 { margin: 18px 0 10px; font-size: 22px; line-height: 1.6; }
.collection-empty p { max-width: 43ch; color: var(--muted); font-size: 15px; line-height: 1.8; }
.collection-empty-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--label); text-underline-offset: 5px; font-size: 14px; }
.collection-empty-link svg { width: 18px; height: 18px; }

/* Services -> About -> Process -> Payment -> Contact. */
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: none; }
.section-head-split > div { flex: 1; }
.section-head-split .sub { flex: 0 1 44%; margin: 0 0 4px; font-size: 15px; }
.services-section .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; gap: 20px; }
.services-section .svc { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-content: start; gap: 16px 18px; padding: 28px; }
.services-section .svc-ic { margin: 0; }
.services-section .svc h3 { align-self: center; margin: 0; font-size: 18px; }
.services-section .svc p { grid-column: 1 / -1; }
.services-section .svc ul { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 2px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; }
.about-intro h2 { max-width: 20ch; }
.about-card { margin-top: 24px; }
.process-section .process { gap: 24px; padding: 28px; border: 1px solid rgba(219, 197, 255, .16); border-radius: 24px; background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(12, 5, 34, .5)); }
.process-section .step { padding-top: 20px; }
.process-section .step h3 { font-weight: 600; line-height: 1.5; }
.section.payments { padding-top: 40px; }
.wrap > footer { margin-top: 32px; }
.endcap-main > p:not(.endcap-kicker) { max-width: 48ch; }

html[lang="ar"] :is(.category-card, .collection-heading, .collection-back, .collection-empty) { font-family: Cairo, Manrope, sans-serif; }
html[lang="ar"] .category-name { font-family: Cairo, Manrope, sans-serif; font-weight: 700; line-height: 1.5; }
html[lang="ar"] .collection-heading h3 { font-family: Cairo, Manrope, sans-serif; font-weight: 700; }
html[dir="rtl"] :is(.category-arrow svg, .collection-back svg, .collection-empty-link svg) { transform: scaleX(-1); }

@media (max-width: 900px) {
  .section-head-split { display: block; }
  .section-head-split .sub { margin-top: 16px; }
  .category-card { padding: 21px; }
  .category-bottom { gap: 16px; }
  .category-name { font-size: 23px; }
  .category-description { font-size: 13px; }
  .category-arrow { width: 36px; height: 36px; }
  .process-section .process { gap: 28px; padding: 24px; }
}
@media (max-width: 600px) {
  .category-grid, .services-section .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .category-art { height: 105px; }
  .category-art > svg { width: 76px; height: 76px; }
  .category-card { min-height: 330px; }
  .has-preview .category-art { min-height: 116px; }
  .has-preview .category-art > svg { width: 44px; height: 44px; }
  .category-preview { inset-inline-start: 4%; gap: 9px; }
  .category-preview-frame { border-radius: 12px; }
  .category-orbit { width: 120px; height: 120px; }
  .category-description { max-width: 30ch; }
  .category-soon { top: 63px; inset-inline-end: 21px; }
  .services-section .svc { padding: 22px; }
  .services-section .svc h3 { font-size: 16px; }
  .collection-heading { align-items: flex-start; }
  .collection-heading h3 { font-size: 22px; }
  .collection-count { margin-top: 6px; font-size: 11px; }
  .collection-empty { min-height: 320px; }
  .collection-empty h4 { font-size: 20px; }
  .collection-empty p { font-size: 14px; }
  .process-section .process { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .process-section .step { padding-top: 18px; }
  .gal-bar { align-items: flex-start; gap: 16px; }
  .gal-total { margin-inline-start: 0; }
  .gal-filters { gap: 7px; }
  .chip { font-size: 12px; padding: 9px 11px; }
  .section.payments { padding-top: 28px; }
}
