/* Vice City theme (owner 2026-11-24, for the GTA VI launch weeks). Loaded after site.css only when
   Admin > Settings > Storefront > Theme is "Vice City"; switching back to "Classic gold" removes it, nothing else changes.
   Midnight indigo-to-plum gradient, soft pink / lilac / coastal blue accents, the pink lion, solid palm and skyline
   silhouettes (palms in front of buildings), and the same hover glow as the gold theme in pink and lilac.
   Artwork: public/brand/vice/*.svg (scripts/vice-theme-assets.mjs). Design preview: mockups/kngdm-vice-city. */

html.theme-vice {
  --bg: #16122f;
  --bg-2: #1b1636;
  --panel: #1f1a3d;
  --panel-2: #261f49;
  --line: #352c57;
  --line-2: #463a6e;
  --text: #f4f1f4;
  --muted: #b9b1d0;
  --soft: #d9d1ea;
  --accent: #eb9998;
  --accent-ink: #1a1030;
  --gold: linear-gradient(110deg, #ffe3de 0%, #f4bcb6 18%, #eb9998 38%, #c79be0 60%, #8eb2ec 80%, #ffe3de 100%);
  --gold-soft: linear-gradient(110deg, rgba(244, 188, 182, 0.9), rgba(163, 115, 211, 0.9), rgba(142, 178, 236, 0.9));
  --glow-rgb: 235, 153, 152;
  --glow2-rgb: 163, 115, 211;
  --glow3-rgb: 142, 178, 236;
  --hi-rgb: 255, 236, 236;
  --gold-hi: #f4bcb6;
  --gold-lo: #a373d3;
  --vice-edge: linear-gradient(115deg, #f4bcb6 0%, #eb9998 22%, #a373d3 52%, #6f70a2 76%, #8eb2ec 100%);
  --vice-edge-soft: linear-gradient(115deg, rgba(244, 188, 182, 0.5), rgba(163, 115, 211, 0.42), rgba(142, 178, 236, 0.5));

  /* Background: the reference palette as a gradient, palms on the outer edges in front of a Miami skyline, fronds in
     the top corners. Fixed, so it stays put while the page scrolls. First layers paint on top. */
  background-color: var(--bg);
  background-image:
    url("/brand/vice/fronds-left.svg"),
    url("/brand/vice/fronds-right.svg"),
    url("/brand/vice/palms-left.svg"),
    url("/brand/vice/palms-right.svg"),
    url("/brand/vice/skyline.svg"),
    radial-gradient(900px 560px at 92% 0%, rgba(163, 115, 211, 0.2), transparent 70%),
    radial-gradient(800px 620px at -4% 22%, rgba(93, 84, 156, 0.34), transparent 70%),
    radial-gradient(1100px 620px at 78% 104%, rgba(235, 153, 152, 0.24), transparent 70%),
    linear-gradient(168deg, #1a1638 0%, #221c49 26%, #2d1f4f 50%, #3d2251 72%, #50294f 100%);
  background-position: left -150px top 64px, right -150px top 44px, left -360px bottom -30px, right -360px bottom -20px, center bottom, 0 0, 0 0, 0 0, 0 0;
  background-size: 390px auto, 390px auto, auto 780px, auto 800px, auto max(130px, 12.5vw), auto, auto, auto, auto;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed;
}
/* The gold theme's drifting light and film grain sit over the background: keep the grain, soften the light. */
html.theme-vice body::before { opacity: 0.55; }
@media (max-width: 760px) {
  html.theme-vice {
    background-position: left -150px top 64px, right -110px top 40px, left -250px bottom -20px, right -250px bottom -20px, center bottom, 0 0, 0 0, 0 0, 0 0;
    background-size: 0 0, 240px auto, auto 450px, auto 460px, auto 96px, auto, auto, auto, auto;
  }
}

/* ---------------------------------------------------------------- surfaces */
html.theme-vice .site-header { background: rgba(22, 18, 47, 0.8); }
html.theme-vice .site-footer { background: linear-gradient(180deg, rgba(30, 22, 56, 0.75), rgba(24, 17, 46, 0.94)); }
html.theme-vice .kt-subnav { background: rgba(26, 20, 52, 0.75); }
html.theme-vice .card,
html.theme-vice .stat,
html.theme-vice .signin-certs { background: linear-gradient(180deg, rgba(38, 31, 74, 0.9), rgba(27, 21, 54, 0.92)); }
html.theme-vice .show-window,
html.theme-vice .slider { background: linear-gradient(180deg, #251f48, #18132f); }
html.theme-vice .slider-track { background: radial-gradient(circle at 50% 40%, #33295a, #19142f 70%); }
html.theme-vice .slider-nav > button,
html.theme-vice .show-detail { background-color: #1e1940; }
html.theme-vice .show-stage.is-shot { background: #120e26; }
html.theme-vice .kt-gallery-item a { background: #120e26; }
html.theme-vice .checker,
html.theme-vice .show-stage.checker {
  background-color: #1d1840;
  background-image: linear-gradient(45deg, #282151 25%, transparent 25%), linear-gradient(-45deg, #282151 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #282151 75%), linear-gradient(-45deg, transparent 75%, #282151 75%);
}
html.theme-vice .eyebrow { color: var(--accent); }

/* ---------------------------------------------------------------- the pink lion (replaces the gold lion mask) */
html.theme-vice .brand-lion,
html.theme-vice .show-lion {
  -webkit-mask: none;
  mask: none;
  background: url("/brand/vice/lion.svg") center / contain no-repeat;
  animation: none;
}
html.theme-vice .brand-lion { width: 30px; height: 50px; filter: none; transition: filter 0.3s var(--ease), transform 0.3s var(--ease); }
html.theme-vice .brand:hover .brand-lion,
html.theme-vice .footer-brand:hover .brand-lion { animation: none; filter: drop-shadow(0 0 10px rgba(255, 99, 196, 0.65)); transform: scale(1.05); }
html.theme-vice .brand-lion-lg { width: 32px; height: 54px; }
html.theme-vice .show-lion { filter: drop-shadow(0 20px 40px rgba(var(--glow2-rgb), 0.3)); }
@media (max-width: 760px) { html.theme-vice .brand-lion { width: 24px; height: 40px; } }

/* The sewing-thread line on the home page in pink, lilac and blue (its gradient stops can be restyled with CSS). */
html.theme-vice .stitch stop:nth-child(1),
html.theme-vice .stitch stop:nth-child(5) { stop-color: #a373d3; }
html.theme-vice .stitch stop:nth-child(2) { stop-color: #eb9998; }
html.theme-vice .stitch stop:nth-child(3) { stop-color: #c79be0; }
html.theme-vice .stitch stop:nth-child(4) { stop-color: #8eb2ec; }

/* ---------------------------------------------------------------- hover glow (pink and lilac) */
html.theme-vice .main-nav a:hover { text-shadow: 0 0 12px rgba(var(--glow-rgb), 0.7); }
html.theme-vice .btn:hover { box-shadow: 0 1px 0 rgba(var(--hi-rgb), 0.6) inset, 0 0 26px -2px rgba(var(--glow-rgb), 0.6), 0 14px 32px -12px rgba(var(--glow2-rgb), 0.6); }
html.theme-vice .card { border: 1px solid transparent; background: linear-gradient(180deg, rgba(38, 31, 74, 0.9), rgba(27, 21, 54, 0.92)) padding-box, linear-gradient(var(--line), var(--line)) border-box; }
html.theme-vice .card:hover,
html.theme-vice .card:focus-within {
  background: linear-gradient(180deg, rgba(46, 37, 88, 0.94), rgba(30, 23, 60, 0.94)) padding-box, var(--vice-edge) border-box;
  box-shadow: 0 0 34px -8px rgba(var(--glow-rgb), 0.55), 0 26px 60px -30px rgba(var(--glow2-rgb), 0.55);
}

/* ---------------------------------------------------------------- sale banner: sunset sky, palms and skyline, gradient border */
html.theme-vice .sale-banner {
  grid-template-columns: 1fr;
  min-height: 280px;
  padding: 40px 48px 48px;
  border-width: 1.5px;
  background:
    url("/brand/vice/banner-scene.svg") right bottom / auto 100% no-repeat padding-box,
    radial-gradient(46% 90% at 82% 112%, rgba(250, 210, 196, 0.42), transparent 68%) padding-box,
    linear-gradient(100deg, #1b1840 0%, #2c2759 34%, #5b3a72 64%, #a5627a 86%, #d98d8f 100%) padding-box,
    var(--vice-edge-soft) border-box;
  box-shadow: 0 18px 50px -30px rgba(var(--glow-rgb), 0.55);
}
html.theme-vice .sale-banner:hover,
html.theme-vice .sale-banner:focus-within {
  background:
    url("/brand/vice/banner-scene.svg") right bottom / auto 100% no-repeat padding-box,
    radial-gradient(46% 90% at 82% 112%, rgba(255, 218, 204, 0.5), transparent 68%) padding-box,
    linear-gradient(100deg, #1e1a46 0%, #302a60 34%, #613d78 64%, #ad6880 86%, #df9395 100%) padding-box,
    var(--vice-edge) border-box;
  box-shadow: 0 0 0 1px rgba(255, 236, 236, 0.08) inset, 0 0 40px -6px rgba(var(--glow-rgb), 0.55), 0 26px 70px -24px rgba(var(--glow2-rgb), 0.55);
}
html.theme-vice .sale-banner-glow { background: radial-gradient(440px circle at var(--mx) var(--my), rgba(255, 214, 224, 0.26), transparent 65%); }
html.theme-vice .sale-banner-logo { display: none; }
html.theme-vice .sale-banner-text { max-width: 640px; }
html.theme-vice .sale-banner-text .eyebrow { color: #f4bcb6; }
html.theme-vice .sale-banner-title { display: block; font-size: clamp(2.3rem, 5vw, 4rem); color: #fff; }
html.theme-vice .sale-banner-title .grad-text { background: none; color: #fff; animation: none; filter: none; }
html.theme-vice .sale-banner-slash { color: var(--accent); opacity: 1; margin-left: 0.22em; }
html.theme-vice .sale-banner-cm { display: block; color: #dfe7ff; white-space: nowrap; }
html.theme-vice .sale-banner-deal { margin: 12px 0 0; }
html.theme-vice .sale-banner-deal strong { background: none; color: #f4bcb6; animation: none; }
html.theme-vice .sale-banner-actions { flex-direction: row; flex-wrap: wrap; gap: 12px; }
html.theme-vice .sale-banner-actions .btn-ghost { background: linear-gradient(rgba(12, 14, 36, 0.5), rgba(12, 14, 36, 0.5)) padding-box, linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)) border-box; }
@media (max-width: 860px) {
  html.theme-vice .sale-banner { padding: 26px 22px 160px; }
  html.theme-vice .sale-banner,
  html.theme-vice .sale-banner:hover,
  html.theme-vice .sale-banner:focus-within { background-size: 100% auto, auto, auto, auto; background-position: right bottom, 0 0, 0 0, 0 0; }
  html.theme-vice .sale-banner-text .eyebrow { letter-spacing: 0.14em; }
}

@media (prefers-reduced-motion: reduce) {
  html.theme-vice .brand:hover .brand-lion,
  html.theme-vice .footer-brand:hover .brand-lion { transform: none; }
}
