/**
 * RShop — page Collaborations (hero cinématique premium)
 */
body.rs-collab-page {
  --collab-violet: #8b5cf6;
  --collab-violet-bright: #a78bfa;
  --collab-violet-deep: #5b21b6;
  --collab-violet-glow: rgba(139, 92, 246, 0.45);
  --collab-glass: rgba(14, 10, 24, 0.62);
  --collab-glass-border: rgba(167, 139, 250, 0.28);
  --collab-neon: rgba(192, 132, 252, 0.85);
}

/* ========== Hero cinématique ========== */
.rs-collab-hero--cinematic {
  position: relative;
  isolation: isolate;
  min-height: min(96vh, 920px);
  padding: clamp(5.5rem, 12vw, 7rem) 0 0;
  overflow: hidden;
  background: #030305;
}

.rs-collab-hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translateZ(0);
}

.rs-collab-hero__layer {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rs-collab-hero__layer--base {
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 72% 42%, rgba(88, 28, 180, 0.22), transparent 58%),
    radial-gradient(ellipse 55% 45% at 18% 78%, rgba(59, 7, 100, 0.35), transparent 52%),
    linear-gradient(180deg, #0a0614 0%, #030305 48%, #020203 100%);
}

.rs-collab-hero__layer--city {
  inset: -4% -8% -2% 28%;
  background-image: url("/assets/vitrine/hero-gta-keyart-c.png");
  background-size: cover;
  background-position: 62% 38%;
  filter: saturate(1.12) contrast(1.08) brightness(0.92);
  opacity: 0.95;
  -webkit-mask-image: linear-gradient(105deg, transparent 8%, #000 32%, #000 100%);
  mask-image: linear-gradient(105deg, transparent 8%, #000 32%, #000 100%);
  animation: collabCityDrift 22s ease-in-out infinite alternate;
}

.rs-collab-hero__layer--character {
  inset: auto -6% -8% -4%;
  width: min(58vw, 720px);
  height: min(72vh, 680px);
  background-image: url("/assets/vitrine/hero-gta-keyart-a.png");
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.04);
  opacity: 0.88;
  -webkit-mask-image: linear-gradient(75deg, #000 0%, #000 55%, transparent 92%);
  mask-image: linear-gradient(75deg, #000 0%, #000 55%, transparent 92%);
  animation: collabCharFloat 16s ease-in-out infinite alternate;
}

.rs-collab-hero__layer--neon {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 8, 0.94) 0%, rgba(3, 3, 8, 0.55) 42%, rgba(3, 3, 8, 0.15) 68%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(139, 92, 246, 0.03) 120px,
      rgba(139, 92, 246, 0.03) 121px
    );
}

.rs-collab-hero__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  opacity: 0.55;
}

.rs-collab-hero__aurora--a {
  width: min(520px, 55vw);
  height: min(380px, 40vw);
  top: -8%;
  right: 12%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 68%);
  animation: collabAuroraA 14s ease-in-out infinite alternate;
}

.rs-collab-hero__aurora--b {
  width: min(420px, 48vw);
  height: min(300px, 35vw);
  bottom: 8%;
  left: 8%;
  background: radial-gradient(circle, rgba(91, 33, 182, 0.42), transparent 70%);
  animation: collabAuroraB 18s ease-in-out infinite alternate;
}

.rs-collab-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(0, 0, 0, 0.75), transparent 55%),
    radial-gradient(ellipse 80% 60% at 0% 50%, rgba(0, 0, 0, 0.55), transparent 50%);
  pointer-events: none;
}

.rs-collab-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 6, 18, 0.35) 0%,
    rgba(3, 3, 8, 0.2) 40%,
    rgba(3, 3, 8, 0.65) 88%,
    #030305 100%
  );
  pointer-events: none;
}

.rs-collab-hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.rs-collab-hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

@keyframes collabCityDrift {
  from {
    transform: scale(1.02) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(-1.2%, -0.8%);
  }
}

@keyframes collabCharFloat {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-12px) translateX(6px);
  }
}

@keyframes collabAuroraA {
  from {
    opacity: 0.4;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 0.65;
    transform: translate(-3%, 4%) scale(1.08);
  }
}

@keyframes collabAuroraB {
  from {
    opacity: 0.35;
    transform: translate(0, 0);
  }
  to {
    opacity: 0.55;
    transform: translate(4%, -3%);
  }
}

.rs-collab-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.rs-collab-hero__copy {
  text-align: left;
  max-width: 36rem;
}

.rs-collab-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ede9fe;
  border-radius: var(--rs-radius-pill);
  border: 1px solid rgba(167, 139, 250, 0.5);
  background: rgba(91, 33, 182, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rs-collab-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4b5fd;
  box-shadow: 0 0 12px #a78bfa, 0 0 24px rgba(139, 92, 246, 0.8);
  animation: collabPulseDot 2.2s ease-in-out infinite;
}

@keyframes collabPulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.85);
  }
}

.rs-collab-hero__title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.35rem, 5.8vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #fafafa;
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.65), 0 0 60px rgba(124, 58, 237, 0.2);
}

.rs-collab-hero__title-accent {
  display: block;
  background: linear-gradient(120deg, #f5f3ff 0%, #ddd6fe 35%, #a78bfa 70%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(139, 92, 246, 0.35));
}

.rs-collab-hero__title-line {
  display: block;
  font-size: 0.92em;
  color: #e4e4e7;
}

.rs-collab-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.75;
  color: #d4d4d8;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.rs-collab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.rs-collab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--rs-radius-pill);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rs-collab-btn--primary {
  color: #faf5ff;
  border: 1px solid rgba(216, 180, 254, 0.55);
  background: linear-gradient(145deg, #a78bfa 0%, #7c3aed 42%, #5b21b6 100%);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.2),
    0 8px 32px rgba(91, 33, 182, 0.45),
    0 0 48px rgba(139, 92, 246, 0.25);
}

.rs-collab-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.35),
    0 14px 40px rgba(91, 33, 182, 0.55),
    0 0 64px rgba(139, 92, 246, 0.4);
}

.rs-collab-btn__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 45%,
    transparent 55%
  );
  transform: translateX(-120%);
  animation: collabBtnShine 4.5s ease-in-out infinite;
}

@keyframes collabBtnShine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}

.rs-collab-btn--ghost {
  color: #ede9fe;
  border: 1px solid rgba(167, 139, 250, 0.38);
  background: rgba(12, 8, 22, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.rs-collab-btn--ghost:hover {
  border-color: rgba(192, 132, 252, 0.65);
  background: rgba(91, 33, 182, 0.22);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

.rs-collab-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rs-collab-hero__tags li {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c4b5fd;
  border-radius: var(--rs-radius-pill);
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: rgba(0, 0, 0, 0.35);
}

/* Mockup / carousel */
.rs-collab-hero__visual {
  position: relative;
  perspective: 1200px;
}

.rs-collab-mockup {
  position: relative;
  padding: 0.65rem;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.22), rgba(91, 33, 182, 0.08));
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 80px rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  animation: collabMockupFloat 8s ease-in-out infinite alternate;
}

.rs-collab-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(139, 92, 246, 0.22);
}

@keyframes collabMockupFloat {
  from {
    transform: rotateY(-4deg) rotateX(2deg) translateY(0);
  }
  to {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-8px);
  }
}

.rs-collab-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem 0.6rem;
}

.rs-collab-mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.rs-collab-mockup__dot--accent {
  background: #a78bfa;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.8);
}

.rs-collab-mockup__label {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.rs-collab-mockup__viewport {
  position: relative;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 10;
  background: #0a0a0e;
}

.rs-collab-mockup__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.rs-collab-mockup__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 1.1s ease;
}

.rs-collab-mockup__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.rs-collab-mockup__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.rs-collab-mockup__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(139, 92, 246, 0.06) 48%,
    transparent 52%
  );
  background-size: 100% 220%;
  animation: collabScan 5s linear infinite;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.5;
}

@keyframes collabScan {
  from {
    background-position: 0 -120%;
  }
  to {
    background-position: 0 120%;
  }
}

.rs-collab-mockup__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f5f3ff;
  border-radius: var(--rs-radius-pill);
  border: 1px solid rgba(167, 139, 250, 0.4);
  background: rgba(12, 8, 22, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.15);
  animation: collabChipFloat 6s ease-in-out infinite alternate;
}

.rs-collab-mockup__float--tl {
  top: -0.5rem;
  left: -0.25rem;
}

.rs-collab-mockup__float--br {
  bottom: 0.75rem;
  right: -0.35rem;
  animation-delay: -3s;
}

@keyframes collabChipFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

.rs-collab-mockup__float-ico {
  font-size: 0.9rem;
}

/* Stats — cartes premium */
.rs-collab-hero__stats-wrap {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(2.75rem, 5vw, 3.5rem);
}

.rs-collab-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.15rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.rs-collab-hero__stats--trio {
  max-width: 56rem;
  margin: 0 auto;
}

.rs-collab-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(7.5rem, 14vw, 9.25rem);
  padding: clamp(1.35rem, 2.5vw, 1.75rem) clamp(1rem, 2vw, 1.35rem);
  text-align: center;
  border-radius: 1.15rem;
  background: linear-gradient(165deg, rgba(28, 18, 48, 0.72) 0%, rgba(10, 8, 18, 0.55) 100%);
  border: 1px solid rgba(167, 139, 250, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(91, 33, 182, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
  overflow: hidden;
}

.rs-collab-stat__glow {
  position: absolute;
  inset: auto -30% -40% -30%;
  height: 75%;
  background: radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.45), transparent 68%);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rs-collab-stat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(216, 180, 254, 0.35) 0%,
    rgba(139, 92, 246, 0.08) 40%,
    rgba(167, 139, 250, 0.25) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}

.rs-collab-stat:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(216, 180, 254, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 56px rgba(0, 0, 0, 0.45),
    0 0 56px rgba(139, 92, 246, 0.28),
    0 0 100px rgba(124, 58, 237, 0.12);
}

.rs-collab-stat:hover .rs-collab-stat__glow {
  opacity: 1;
  transform: scale(1.08);
}

.rs-collab-stat__value {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(2.75rem, 6vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #faf5ff;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 48px rgba(167, 139, 250, 0.65),
    0 0 24px rgba(139, 92, 246, 0.45),
    0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.65rem;
}

.rs-collab-stat__label {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 11rem;
  font-size: clamp(0.8125rem, 1.5vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #d4d4d8;
  line-height: 1.45;
}

.rs-collab-stat.is-counted .rs-collab-stat__value {
  animation: collabStatPop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes collabStatPop {
  0% {
    transform: scale(0.92);
    opacity: 0.7;
  }
  60% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Séparation lumineuse */
.rs-collab-hero__divider {
  position: relative;
  z-index: 4;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 139, 250, 0.15) 20%,
    rgba(192, 132, 252, 0.55) 50%,
    rgba(167, 139, 250, 0.15) 80%,
    transparent
  );
}

.rs-collab-hero__divider-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(420px, 60vw);
  height: 48px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.35), transparent 70%);
  filter: blur(12px);
  animation: collabDividerPulse 4s ease-in-out infinite;
}

@keyframes collabDividerPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .rs-collab-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rs-collab-hero__copy {
    text-align: center;
    max-width: none;
    margin: 0 auto;
  }

  .rs-collab-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .rs-collab-hero__actions {
    justify-content: center;
  }

  .rs-collab-hero__tags {
    justify-content: center;
  }

  .rs-collab-hero__layer--character {
    opacity: 0.45;
    width: 70vw;
  }

  .rs-collab-mockup {
    max-width: 32rem;
    margin: 0 auto;
    transform: none;
    animation: none;
  }

  .rs-collab-hero__stats,
  .rs-collab-hero__stats--trio {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}

@media (max-width: 640px) {
  .rs-collab-hero--cinematic {
    min-height: auto;
    padding-top: clamp(4.5rem, 14vw, 5.5rem);
  }

  .rs-collab-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rs-collab-btn {
    width: 100%;
  }

  .rs-collab-hero__stats,
  .rs-collab-hero__stats--trio {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .rs-collab-stat {
    min-height: 6.5rem;
    padding: 1.1rem 0.85rem;
  }

  .rs-collab-stat__value {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .rs-collab-mockup__float {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-collab-hero__layer--city,
  .rs-collab-hero__layer--character,
  .rs-collab-hero__aurora,
  .rs-collab-mockup,
  .rs-collab-mockup__scan,
  .rs-collab-mockup__float,
  .rs-collab-btn__shine,
  .rs-collab-hero__divider-glow,
  .rs-collab-hero__badge-dot {
    animation: none !important;
  }

  .rs-collab-hero__layer {
    transition: none;
  }
}

.rs-collab-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.rs-collab-section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--rs-border);
}

.rs-collab-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.rs-collab-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a78bfa;
}

.rs-collab-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rs-text);
}

.rs-collab-sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--rs-text-soft);
}

.rs-collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}

.rs-collab-card {
  position: relative;
  padding: 1.35rem 1.25rem;
  border-radius: var(--rs-radius-lg);
  background: var(--collab-glass);
  border: 1px solid var(--collab-glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.rs-collab-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.08), transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.rs-collab-card:hover {
  border-color: rgba(167, 139, 250, 0.42);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), 0 0 32px rgba(139, 92, 246, 0.1);
  transform: translateY(-3px);
}

.rs-collab-card:hover::before {
  opacity: 1;
}

.rs-collab-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  border-radius: 0.65rem;
  font-size: 1.25rem;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.15);
}

.rs-collab-card__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rs-text);
}

.rs-collab-card__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--rs-text-soft);
}

.rs-collab-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem;
  counter-reset: collab-step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rs-collab-step {
  position: relative;
  padding: 1.25rem 1rem 1.25rem 1.15rem;
  border-radius: var(--rs-radius-lg);
  background: var(--collab-glass);
  border: 1px solid var(--collab-glass-border);
  backdrop-filter: blur(12px);
}

.rs-collab-step::before {
  counter-increment: collab-step;
  content: counter(collab-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #ede9fe;
  background: linear-gradient(145deg, #8b5cf6, #6d28d9);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
}

.rs-collab-step__title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--rs-text);
}

.rs-collab-step__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--rs-text-soft);
}

.rs-collab-form-wrap {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--rs-radius-xl);
  background: var(--collab-glass);
  border: 1px solid var(--collab-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.08);
}

.rs-collab-form .rs-collab-field {
  margin-bottom: 1.1rem;
}

.rs-collab-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ddd6fe;
}

.rs-collab-form input,
.rs-collab-form select,
.rs-collab-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--rs-text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rs-radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rs-collab-form input:focus,
.rs-collab-form select:focus,
.rs-collab-form textarea:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.rs-collab-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.rs-collab-form__actions {
  margin-top: 1.35rem;
}

.rs-collab-form__actions .btn {
  width: 100%;
}

.rs-collab-form-error {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--rs-radius-md);
}

.rs-collab-form-error.hidden {
  display: none;
}

#rshopCollabToast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.85rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: #f5f3ff;
  background: linear-gradient(145deg, rgba(91, 33, 182, 0.95), rgba(109, 40, 217, 0.92));
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: var(--rs-radius-pill);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 32px rgba(139, 92, 246, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

#rshopCollabToast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

