/* Store-only motion: the camera stays fixed; light and UI accents move. */
.hero-art::before {
  content: "";
  position: absolute;
  top: 35%;
  left: 60%;
  width: 108px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #a82635 65%, #ffe4dd);
  box-shadow: 0 0 10px #ec303b70;
  transform: rotate(12deg);
}
.detail-visual::after {
  inset: -35% auto auto -65%;
  z-index: 2;
  width: 35%;
  height: 170%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, #ff8b5820, transparent);
  transform: skewX(-20deg);
}
:is(a, button, summary):focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 5px;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art::before { animation: store-tracer 13s ease-in-out infinite; }
  .detail-visual::after { animation: store-light-pass 9s ease-in-out infinite; }
  .detail-copy { animation: rise .4s ease-out both; }
}
@keyframes store-tracer {
  0%, 57% { opacity: 0; transform: translate(0, 0) rotate(12deg); }
  63% { opacity: .5; }
  80%, 100% { opacity: 0; transform: translate(5vw, 1vh) rotate(12deg); }
}
@keyframes store-light-pass {
  0%, 65% { transform: translateX(0) skewX(-20deg); }
  95%, 100% { transform: translateX(650%) skewX(-20deg); }
}
@media (max-width: 620px) {
  .topbar {
    height: auto;
    min-height: 100px;
    padding: 10px 14px 0;
    flex-wrap: wrap;
  }
  .brand { flex: 1; margin-right: 12px; }
  .account-links { margin-left: auto; }
  .main-nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 0;
    border-top: 1px solid var(--line);
  }
  .main-nav a { font-size: 10px; white-space: nowrap; padding: 12px 0; }
  .nav-current::after { bottom: 0; }
  .hero h1 { font-size: clamp(30px, 9.4vw, 56px); line-height: .94; white-space: nowrap; }
  .detail-copy h1 { overflow-wrap: anywhere; }
}

/* The landing page is an orbital Rust frontier, not a product showcase. */
.hero {
  background:
    radial-gradient(ellipse at 75% 52%, rgba(99, 29, 35, .19), transparent 42%),
    #09090c;
}
.hero:before {
  background-color: #09090c;
  background-image:
    linear-gradient(90deg, rgba(7, 6, 9, .99) 0%, rgba(7, 6, 9, .96) 29%, rgba(7, 6, 9, .78) 46%, rgba(7, 6, 9, .22) 74%, rgba(7, 6, 9, .08) 100%),
    linear-gradient(0deg, rgba(7, 6, 9, .58) 0%, rgba(7, 6, 9, .08) 30%, transparent 60%),
    url("/media/starz-crimson-nebula.webp");
  background-size: cover, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .98;
}
.hero-grid {
  opacity: 1;
  background: none;
  mask-image: none;
}
.hero-planet {
  display: none;
}
.hero-grid:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .9;
  background:
    radial-gradient(1px 1px at 3% 33%, #ffefd9 55%, transparent 100%),
    radial-gradient(1.5px 1.5px at 5% 62%, #ffe4bd 55%, transparent 100%),
    radial-gradient(1px 1px at 9% 8%, #ffefd9 55%, transparent 100%),
    radial-gradient(1px 1px at 11% 85%, #fff3e4 55%, transparent 100%),
    radial-gradient(1px 1px at 16% 6%, #ffe1b3 55%, transparent 100%),
    radial-gradient(1.4px 1.4px at 20% 88%, #ffedd4 55%, transparent 100%),
    radial-gradient(1px 1px at 25% 52%, #ffe4bd 55%, transparent 100%),
    radial-gradient(1px 1px at 28% 92%, #fff3e4 55%, transparent 100%),
    radial-gradient(1.4px 1.4px at 34% 8%, #ffefd9 55%, transparent 100%),
    radial-gradient(1px 1px at 36% 62%, #ffe4bd 55%, transparent 100%),
    radial-gradient(1px 1px at 41% 91%, #ffedd4 55%, transparent 100%),
    radial-gradient(1px 1px at 45% 6%, #fff3e4 55%, transparent 100%),
    radial-gradient(1.7px 1.7px at 7% 16%, rgba(255, 231, 196, .9) 52%, transparent 100%),
    radial-gradient(1px 1px at 13% 47%, rgba(255, 239, 220, .78) 52%, transparent 100%),
    radial-gradient(1.2px 1.2px at 19% 25%, rgba(255, 213, 157, .78) 52%, transparent 100%),
    radial-gradient(1px 1px at 24% 69%, rgba(255, 235, 217, .72) 52%, transparent 100%),
    radial-gradient(1.8px 1.8px at 29% 12%, rgba(255, 239, 218, .88) 52%, transparent 100%),
    radial-gradient(1px 1px at 34% 39%, rgba(255, 216, 172, .72) 52%, transparent 100%),
    radial-gradient(1.2px 1.2px at 39% 79%, rgba(255, 235, 217, .7) 52%, transparent 100%),
    radial-gradient(1px 1px at 44% 22%, rgba(255, 238, 219, .72) 52%, transparent 100%),
    radial-gradient(1.8px 1.8px at 49% 54%, rgba(255, 215, 164, .8) 52%, transparent 100%),
    radial-gradient(1px 1px at 53% 17%, rgba(255, 235, 224, .95) 55%, transparent 100%),
    radial-gradient(1px 1px at 61% 34%, rgba(255, 230, 213, .78) 55%, transparent 100%),
    radial-gradient(1px 1px at 70% 12%, rgba(255, 244, 229, .85) 55%, transparent 100%),
    radial-gradient(1.5px 1.5px at 83% 27%, rgba(255, 220, 205, .9) 55%, transparent 100%),
    radial-gradient(1px 1px at 94% 14%, rgba(255, 236, 223, .8) 55%, transparent 100%),
    radial-gradient(1px 1px at 91% 43%, rgba(255, 224, 214, .72) 55%, transparent 100%),
    radial-gradient(1px 1px at 47% 42%, rgba(255, 232, 220, .68) 55%, transparent 100%),
    radial-gradient(1px 1px at 77% 7%, rgba(255, 236, 219, .7) 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 56%, rgba(0, 0, 0, .72) 72%, transparent 100%);
  pointer-events: none;
}
.hero-grid:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: clamp(-190px, -13vw, -125px);
  bottom: -116px;
  width: min(36vw, 390px);
  aspect-ratio: 1;
  background: url("/media/starz-asteroid-cluster.webp") center / contain no-repeat;
  opacity: .72;
  filter: drop-shadow(0 0 18px rgba(209, 77, 56, .12));
  pointer-events: none;
}
.hero:after {
  border-color: rgba(220, 51, 61, .36);
  box-shadow: 0 0 0 28px rgba(217, 37, 50, .045), 0 0 0 56px rgba(217, 37, 50, .025);
}
.hero-art:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 20%;
  right: -3%;
  width: min(68%, 900px);
  height: 75%;
  background: url("/media/orbital-frigate.webp") center / contain no-repeat;
  opacity: .86;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 9px rgba(221, 52, 61, .12)) drop-shadow(0 22px 34px rgba(0, 0, 0, .58));
  pointer-events: none;
}
.hero-art .art-label,
.hero-art .art-coordinates {
  z-index: 1;
  text-shadow: 0 2px 12px #050406;
}
.hero #hero-title {
  font-size: clamp(64px, 8.8vw, 119px);
  line-height: .78;
  white-space: nowrap;
  letter-spacing: -.035em;
}
@media (max-width: 900px) {
  .hero:before {
    background-size: cover, cover, cover;
    background-position: center, center, right center;
  }
  .hero-art:after {
    right: -8%;
    width: 72%;
    height: 67%;
    top: 25%;
  }
}
@media (max-width: 620px) {
  .hero {
    min-height: 555px;
  }
  .hero:before {
    background-image:
      linear-gradient(180deg, rgba(7, 6, 9, .99) 0%, rgba(7, 6, 9, .95) 38%, rgba(7, 6, 9, .66) 62%, rgba(7, 6, 9, .16) 100%),
      linear-gradient(90deg, rgba(7, 6, 9, .46), transparent 78%),
      url("/media/starz-crimson-nebula.webp");
    background-size: cover, cover, cover;
    background-position: center, center, right center;
  }
  .hero-grid:before {
    opacity: .8;
    mask-image: linear-gradient(90deg, #000 0%, #000 58%, rgba(0, 0, 0, .72) 78%, transparent 100%);
  }
  .hero-grid:after {
    left: -94px;
    bottom: -59px;
    width: 205px;
    opacity: .55;
  }
  .hero-art:after {
    top: 58%;
    right: -17%;
    width: 94%;
    height: 39%;
    opacity: .78;
  }
  .hero-art { display: block; }
  .hero-planet { top: 69%; right: -18%; width: 116vw; }
  .hero-art .art-label,
  .hero-art .art-coordinates { display: none; }
  .hero-art .art-label {
    top: 14%;
    right: 7%;
    font-size: 7px;
  }
  .hero-art .art-coordinates {
    right: 7%;
    bottom: 5%;
    font-size: 7px;
  }
  .hero #hero-title {
    font-size: clamp(30px, 9.4vw, 56px);
    line-height: .86;
    letter-spacing: -.045em;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art:before,
  .detail-visual:after,
  .detail-copy {
    animation: none !important;
  }
}

/* STARZ store color pass — saturated armory reds, ember orange, restrained gold. */
:root {
  --red: #ed2438;
  --red-hot: #ff3448;
  --ember: #ff713b;
  --line: rgba(255, 83, 91, .25);
}

.topbar {
  background: rgba(12, 8, 11, .96);
  border-bottom-color: rgba(255, 48, 66, .68);
  box-shadow: 0 1px 0 rgba(255, 113, 59, .12), 0 8px 28px rgba(80, 9, 19, .24);
}
.brand-word { color: #fff1ec; }
.brand-sub { color: #d39a8a; }
.main-nav a { color: #d0aaa1; }
.main-nav a:hover,
.main-nav .nav-current { color: #fff1ec; }
.nav-current:after { height: 2px; background: #ff3448; box-shadow: 0 0 10px rgba(255, 52, 72, .5); }
.account-links { color: #e0c2b9; }
.account-button { border-color: rgba(255, 113, 59, .48); color: #ffe3d4; }
.account-button:hover { border-color: #ff713b; background: rgba(255, 92, 52, .14); }

.hero {
  border-bottom-color: rgba(255, 62, 73, .32);
}
.hero h1 span { color: #ff4050; }
.hero .button-primary {
  color: #21090a;
  background: #ff713b;
  border-color: #ff9561;
  font-weight: 700;
}
.hero .button-primary:hover { background: #ff8750; }
.hero .button-quiet { border-color: rgba(255, 137, 94, .56); }
.hero .button-quiet:hover { border-color: #ff713b; }
.hero-footnote { color: #d1a99a; }
.footline { background: #ff713b; }
.hero-index span { color: #ff713b; }

.catalog-section {
  position: relative;
  isolation: isolate;
  padding-top: 91px;
}
.catalog-section:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 22px;
  left: 50%;
  width: 100%;
  height: 480px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(215, 22, 48, .2), transparent 54%),
    radial-gradient(ellipse at 9% 48%, rgba(255, 89, 50, .075), transparent 37%),
    radial-gradient(ellipse at 91% 46%, rgba(255, 35, 64, .09), transparent 38%);
}
.section-kicker { color: #ff7450; }
.section-head h2 span { color: #ff7952; }
.section-note { color: #d0b1a8; }
.catalog-tools {
  padding: 14px 13px;
  border-top-color: rgba(255, 61, 78, .48);
  border-bottom-color: rgba(255, 61, 78, .48);
  background: linear-gradient(90deg, rgba(105, 12, 27, .3), rgba(41, 12, 18, .5) 45%, rgba(99, 18, 24, .26));
  box-shadow: inset 0 1px 0 rgba(255, 127, 88, .08), 0 8px 24px rgba(78, 8, 19, .12);
}
.search-wrap input {
  background: #211116;
  border-color: rgba(255, 105, 76, .4);
}
.search-wrap input:focus { border-color: #ff6c4b; }
.search-wrap input::placeholder { color: #c49b91; }
.search-icon { border-color: #f29a79; }
.search-icon:after { background: #f29a79; }
.search-wrap kbd { color: #ddaa94; }
.category-scroll { scrollbar-color: #b73945 transparent; }
.filter-chip {
  color: #dbbeb4;
  border-color: rgba(255, 120, 87, .12);
}
.filter-chip:hover {
  color: #fff0e8;
  border-color: rgba(255, 120, 87, .56);
  background: rgba(191, 34, 48, .16);
}
.filter-chip.is-active {
  color: #fff5ed;
  border-color: #e94a50;
  background: linear-gradient(135deg, rgba(228, 34, 55, .42), rgba(255, 105, 58, .17));
  box-shadow: inset 0 -2px 0 rgba(255, 120, 75, .48);
}
.clear-button { color: #ffc09c; }
.clear-button:hover { color: #ff704e; }
.catalog-meta { color: #d1b5aa; }
.meta-rule { background: linear-gradient(90deg, rgba(255, 72, 81, .46), rgba(255, 135, 77, .12)); }
.meta-mono { color: #dc9a7e; }

.product-grid { gap: 16px; }
.product-card {
  border-color: rgba(255, 52, 76, .82);
  background:
    linear-gradient(145deg, #701323, #35101b 55%, #200c13 100%);
  box-shadow: inset 0 1px 0 rgba(255, 146, 103, .3), 0 0 15px rgba(255, 30, 65, .16), 0 9px 24px rgba(74, 8, 18, .3);
}
.product-card:after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 32%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 113, 59, .9));
  pointer-events: none;
}
.product-card:hover {
  border-color: #ff6258;
  box-shadow: inset 0 1px 0 rgba(255, 170, 120, .2), 0 17px 34px rgba(0, 0, 0, .42), 0 0 0 1px rgba(242, 42, 57, .16);
}
.product-card--featured {
  border-color: rgba(255, 190, 93, .75);
  background: linear-gradient(145deg, rgba(97, 23, 30, .96), rgba(33, 15, 17, .98) 52%, #170f10);
}
.product-card--featured:before {
  width: 55px;
  height: 3px;
  background: linear-gradient(90deg, #ffd27a, #ff793e);
}
.product-card--featured:after { background: linear-gradient(90deg, transparent, rgba(255, 205, 120, .82)); }
.product-card--featured:hover {
  border-color: #ffd27a;
  box-shadow: inset 0 1px 0 rgba(255, 222, 151, .18), 0 17px 34px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 191, 91, .15);
}
.item-type {
  color: #fff0e8;
  border-color: rgba(255, 122, 82, .48);
  background: rgba(30, 9, 13, .92);
}
.product-card--featured .item-type { border-color: rgba(255, 207, 121, .64); }
.card-content h3 { color: #fff2eb; }
.card-content p { color: #d0b7ae; }
.reward-chip {
  border-color: rgba(255, 147, 98, .28);
  background: rgba(255, 98, 59, .08);
  color: #f0d2c5;
}
.price { color: #ff9a58; }
.old-price { color: #bd9c93; }
.term-label { color: #e3b6a0; }
.card-link { color: #ffe3d6; }
.card-link span { color: #ff713b; }
.listing-record summary { color: #dfaa94; }
.listing-record summary:hover { color: #fff0e8; }
.listing-record p { color: #d3b9b0; }
.listing-record p:first-of-type { color: #ffe2d5; }

.state-panel {
  border-color: rgba(255, 72, 81, .4);
  background: linear-gradient(135deg, rgba(80, 15, 27, .48), rgba(23, 13, 17, .94));
}
.state-caption { color: #d0b4aa; }
.state-panel.error { border-color: #ff5a5b; }
.state-action {
  color: #240b0b;
  background: #ff713b;
  border-color: #ff9b67;
  font-weight: 700;
}
.state-action:hover { background: #ff8952; }
.loading-mark span { background: #ff514b; }

.community-band {
  border-color: rgba(255, 74, 79, .52);
  background:
    radial-gradient(ellipse at 8% 50%, rgba(221, 30, 48, .2), transparent 42%),
    linear-gradient(110deg, #35131a, #1b1013 65%, #391417);
  box-shadow: inset 0 1px 0 rgba(255, 143, 94, .12), 0 16px 42px rgba(63, 8, 18, .2);
}
.community-band:after {
  border-color: rgba(255, 189, 120, .24);
  box-shadow: 0 0 0 38px rgba(255, 93, 61, .045), 0 0 0 76px rgba(255, 93, 61, .025);
}
.band-mark {
  border-color: rgba(255, 192, 111, .42);
  color: #ffe0b2;
}
.band-mark span { color: #ffd071; }
.band-copy .eyebrow { color: #ff835a; }
.band-copy h2 span { color: #ff8057; }
.band-copy>p:last-child { color: #d5b9af; }
.button-outline {
  border-color: #ff754e;
  color: #fff0e8;
}
.button-outline:hover {
  background: rgba(255, 94, 58, .2);
  border-color: #ff9a62;
}
.band-serial { color: #d6a28b; }

.site-footer {
  border-top-color: rgba(255, 64, 74, .38);
  color: #c9a69c;
  background: rgba(13, 8, 11, .7);
}
.footer-brand { color: #fff0e8; }
.site-footer a:hover { color: #ff9a62; }

.detail-main { position: relative; }
.back-link { color: #ddbbb0; }
.back-link:hover { color: #fff1e9; }
.detail-visual {
  border-color: rgba(255, 78, 81, .55);
  background:
    radial-gradient(ellipse at 50% 44%, rgba(124, 34, 38, .72), #211116 68%);
  box-shadow: inset 0 1px 0 rgba(255, 157, 109, .13), 0 18px 45px rgba(68, 7, 18, .2);
}
.detail-visual:before { border-color: rgba(255, 193, 130, .2); }
.detail-visual:after { border-color: rgba(255, 67, 77, .42); }
.detail-tag {
  border-color: rgba(255, 133, 87, .55);
  background: rgba(31, 10, 14, .92);
}
.detail-number { color: #e7b39a; }
.detail-eyebrow { color: #ff7955; }
.detail-copy h1 { color: #fff1e9; }
.detail-price { color: #ff9655; }
.detail-old { color: #c1a198; }
.checkout-note {
  border-left-color: #ff713b;
  background: linear-gradient(90deg, rgba(131, 28, 32, .28), rgba(31, 15, 18, .78));
  color: #e0c2b6;
}
.checkout-note strong { color: #ffe4d4; }
.product-benefit { color: #d6ad9b; }
.product-benefit:before { background: #ff713b; }
.detail-description { color: #ddc2b8; }
.provider-info { border-color: rgba(255, 91, 82, .3); color: #d5b8ad; }
.provider-info summary { color: #ffe9dd; }
.provider-info summary:after { color: #ff7955; }
.provider-info p { color: #d3b9af; }
.detail-footer-links { color: #ddc1b7; }
.detail-footer-links a:hover { color: #ff9a62; }
.detail-footer-links a:last-child { color: #ffc091; }

@media (max-width: 620px) {
  .catalog-section { padding-top: 68px; }
  .catalog-tools { padding: 11px 9px; }
  .community-band { border-color: rgba(255, 91, 82, .58); }
  .detail-visual { box-shadow: inset 0 1px 0 rgba(255, 157, 109, .13), 0 12px 28px rgba(68, 7, 18, .2); }
}
