/* PATCH 045 — visual effects for the existing DESKTOP category strip only.
 * Grid, dimensions, spacing, typography, markup and all source images are retained.
 * No mobile, header, hero, footer or legal-page selectors are modified.
 */
@media (min-width: 768px) {
  .desktop-main > .strip-shell > .strip-card {
    position: relative;
    isolation: isolate;
    background: linear-gradient(
      135deg,
      rgba(25, 17, 35, 0.96) 0%,
      rgba(13, 11, 20, 0.98) 48%,
      rgba(8, 8, 13, 0.98) 100%
    );
    border-color: rgba(168, 111, 223, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(235, 213, 255, 0.045),
      0 3px 10px rgba(0, 0, 0, 0.16);
    transform: translateY(0);
    transition:
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 320ms ease,
      box-shadow 380ms ease;
  }

  /* Light is decorative and never intercepts clicks or media protection. */
  .desktop-main > .strip-shell > .strip-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
      170px circle at var(--pz-category-light-x, 28%) var(--pz-category-light-y, 50%),
      rgba(186, 112, 255, 0.16),
      rgba(135, 65, 225, 0.055) 48%,
      transparent 78%
    );
    opacity: 0;
    transition: opacity 400ms ease;
  }

  .desktop-main > .strip-shell > .strip-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, #c38aff, transparent);
    box-shadow: 0 0 8px rgba(178, 98, 255, 0.35);
    opacity: 0;
    transform: scaleX(0.65);
    pointer-events: none;
    transition:
      opacity 340ms ease,
      transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .desktop-main > .strip-shell > .strip-card .strip-thumb {
    background: rgba(39, 22, 53, 0.55);
    border-color: rgba(177, 101, 244, 0.26);
    transition:
      background-color 360ms ease,
      border-color 320ms ease,
      box-shadow 380ms ease;
  }

  .desktop-main > .strip-shell > .strip-card .strip-thumb img {
    transform: scale(1);
    transform-origin: center;
    transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .desktop-main > .strip-shell > .strip-card .strip-copy strong {
    transition: color 300ms ease, text-shadow 350ms ease;
  }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .desktop-main > .strip-shell > .strip-card:hover,
  .desktop-main > .strip-shell > .strip-card:focus-within {
    border-color: rgba(197, 130, 255, 0.62);
    box-shadow:
      inset 0 1px 0 rgba(237, 210, 255, 0.09),
      0 5px 16px rgba(83, 33, 132, 0.16),
      0 0 12px rgba(153, 71, 233, 0.09);
    transform: translateY(-2px);
  }

  .desktop-main > .strip-shell > .strip-card:hover::before,
  .desktop-main > .strip-shell > .strip-card:focus-within::before,
  .desktop-main > .strip-shell > .strip-card:hover::after,
  .desktop-main > .strip-shell > .strip-card:focus-within::after {
    opacity: 1;
  }

  .desktop-main > .strip-shell > .strip-card:hover::after,
  .desktop-main > .strip-shell > .strip-card:focus-within::after {
    transform: scaleX(1);
  }

  .desktop-main > .strip-shell > .strip-card:hover .strip-thumb,
  .desktop-main > .strip-shell > .strip-card:focus-within .strip-thumb {
    background-color: rgba(65, 29, 85, 0.64);
    border-color: rgba(207, 132, 255, 0.52);
    box-shadow: inset 0 0 10px rgba(172, 82, 248, 0.09);
  }

  .desktop-main > .strip-shell > .strip-card:hover .strip-thumb img,
  .desktop-main > .strip-shell > .strip-card:focus-within .strip-thumb img {
    transform: scale(1.055);
  }

  .desktop-main > .strip-shell > .strip-card:hover .strip-copy strong,
  .desktop-main > .strip-shell > .strip-card:focus-within .strip-copy strong {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(194, 124, 255, 0.22);
  }

  .desktop-main > .strip-shell > .strip-card:active {
    transform: translateY(0);
    border-color: rgba(221, 169, 255, 0.76);
    transition-duration: 130ms;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .desktop-main > .strip-shell > .strip-card,
  .desktop-main > .strip-shell > .strip-card::before,
  .desktop-main > .strip-shell > .strip-card::after,
  .desktop-main > .strip-shell > .strip-card .strip-thumb,
  .desktop-main > .strip-shell > .strip-card .strip-thumb img,
  .desktop-main > .strip-shell > .strip-card .strip-copy strong {
    transition: none !important;
    transform: none !important;
  }
}
