:root {
  --orange: #ee4d2d;
  --orange-dark: #d83e20;
  --orange-soft: #fff0eb;
  --cream: #fffaf6;
  --ink: #20202a;
  --muted: #65636f;
  --line: #ebe4df;
  --white: #ffffff;
  --green: #17785b;
  --blue: #3459a6;
  --shadow-sm: 0 8px 24px rgba(73, 42, 28, 0.08);
  --shadow-lg: 0 18px 52px rgba(73, 42, 28, 0.13);
  --radius: 22px;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(235, 228, 223, 0.92);
  background: rgba(255, 250, 246, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(145deg, #ff754f, var(--orange));
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.23);
  font-size: 24px;
  font-weight: 900;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.contact-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-link:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 50px;
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 207, 184, 0.56), transparent 31%),
    radial-gradient(circle at 88% 20%, rgba(255, 222, 164, 0.45), transparent 26%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -130px;
  border: 46px solid rgba(238, 77, 45, 0.06);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(650px, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 730px;
  font-size: clamp(46px, 6.3vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--orange);
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-showcase {
  position: relative;
  min-height: 320px;
  display: block;
  border-radius: 36px;
  text-decoration: none;
  isolation: isolate;
}

.showcase-glow {
  position: absolute;
  inset: 18px 12px 12px 32px;
  z-index: -1;
  border: 1px dashed rgba(238, 77, 45, 0.2);
  border-radius: 48% 52% 46% 54% / 55% 43% 57% 45%;
  background: radial-gradient(circle at 50% 44%, rgba(255, 228, 211, 0.9), rgba(255, 246, 238, 0.24) 65%, transparent 66%);
  transform: rotate(-4deg);
}

.showcase-card {
  --card-rotate: 0deg;
  position: absolute;
  display: block;
  padding: 8px;
  border: 1px solid rgba(238, 77, 45, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(76, 42, 28, 0.17);
  overflow: hidden;
  transform: rotate(var(--card-rotate));
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.showcase-card img {
  width: 100%;
  height: 130px;
  border-radius: 17px;
  object-fit: cover;
  object-position: center bottom;
}

.showcase-card-main img {
  height: 176px;
}

.showcase-card-left {
  --card-rotate: -9deg;
  width: 178px;
  left: 8px;
  top: 84px;
  z-index: 1;
}

.showcase-card-right {
  --card-rotate: 8deg;
  width: 170px;
  right: 2px;
  top: 98px;
  z-index: 1;
}

.showcase-card-main {
  --card-rotate: -2deg;
  width: 236px;
  top: 15px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%) rotate(var(--card-rotate));
}

.hero-showcase:hover .showcase-card-left {
  transform: translate(-7px, -7px) rotate(-11deg);
}

.hero-showcase:hover .showcase-card-right {
  transform: translate(7px, -7px) rotate(10deg);
}

.hero-showcase:hover .showcase-card-main {
  box-shadow: 0 24px 48px rgba(76, 42, 28, 0.22);
  transform: translate(-50%, -9px) rotate(-2deg);
}

.showcase-label {
  position: absolute;
  z-index: 4;
  right: 32px;
  bottom: 5px;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 9px 11px 9px 18px;
  border: 1px solid rgba(238, 77, 45, 0.15);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(76, 42, 28, 0.13);
}

.showcase-label strong {
  font-size: 14px;
}

.showcase-label > span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.showcase-label b {
  font-size: 15px;
}

.support-card {
  position: relative;
  padding: 36px;
  border: 1px solid rgba(238, 77, 45, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
}

.support-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px dashed rgba(238, 77, 45, 0.18);
  border-radius: 23px;
}

.support-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--orange);
  background: var(--orange-soft);
  font-size: 30px;
  font-weight: 800;
}

.support-card h2 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.support-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.support-card strong {
  color: var(--ink);
}

.support-section {
  padding: 74px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 222, 164, 0.34), transparent 28%),
    var(--cream);
}

.support-layout {
  display: grid;
  gap: 20px;
}

.support-card-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 34px;
}

.support-card-bottom .support-icon {
  margin: 0;
}

.support-card-bottom .eyebrow {
  margin-bottom: 8px;
}

.support-card-bottom h2 {
  font-size: clamp(26px, 3.3vw, 38px);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.notice-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

.notice-marketplace .notice-icon {
  background: var(--blue);
}

.notice h2 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.3;
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.catalog {
  padding: 38px 0 82px;
  border-top: 1px solid var(--line);
  background: #fffdfb;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sort-label {
  margin-right: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.sort-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: border-color 170ms ease, color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.sort-button:hover {
  border-color: rgba(238, 77, 45, 0.48);
  color: var(--orange-dark);
}

.sort-button.is-active {
  border-color: rgba(238, 77, 45, 0.42);
  color: var(--orange-dark);
  background: var(--orange-soft);
  box-shadow: 0 5px 14px rgba(238, 77, 45, 0.1);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.result-count {
  flex: 0 0 auto;
  margin: 0 0 5px !important;
  font-size: 14px;
}

.result-count strong {
  color: var(--ink);
  font-size: 22px;
}

.category-scroller {
  overflow-x: auto;
  margin: 0 -4px 30px;
  padding: 4px;
  scrollbar-width: thin;
}

.category-list {
  display: flex;
  gap: 10px;
  width: max-content;
  min-width: 100%;
}

.category-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: border-color 170ms ease, color 170ms ease, background 170ms ease, transform 170ms ease;
}

.category-button:hover {
  border-color: rgba(238, 77, 45, 0.48);
  color: var(--orange-dark);
}

.category-button.is-active {
  border-color: var(--orange);
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 7px 18px rgba(238, 77, 45, 0.18);
}

.support-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -13px 0 20px;
  padding: 10px 14px;
  border: 1px solid #f5d3c8;
  border-radius: 12px;
  color: #75483c;
  background: #fff4ef;
  font-size: 13px;
  font-weight: 650;
}

.support-hint span {
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.product-card:hover {
  border-color: rgba(238, 77, 45, 0.42);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.product-card[hidden] {
  display: none;
}

.product-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 0.93;
  padding: 13px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff7f3, #f9f5f2);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 280ms ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.025);
}

.product-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 5px 15px rgba(42, 28, 22, 0.15);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.badge-popular {
  background: var(--green);
}

.badge-value {
  background: var(--blue);
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.product-category {
  margin: 0 0 7px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-body h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.32;
  letter-spacing: -0.025em;
}

.product-description {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-meta span {
  color: var(--muted);
  font-size: 12px;
}

.product-meta strong {
  color: var(--orange-dark);
  font-size: 18px;
  white-space: nowrap;
}

.product-action {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  border-radius: 14px;
  color: var(--white);
  background: var(--orange);
  font-size: 14px;
  font-weight: 850;
  transition: background 180ms ease;
}

.product-card:hover .product-action {
  background: var(--orange-dark);
}

.catalog-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #f1d8c7;
  border-radius: 16px;
  color: #6a4b3e;
  background: #fff7ef;
}

.catalog-note span {
  color: var(--orange-dark);
  font-weight: 900;
}

.catalog-note p {
  margin: 0;
  font-size: 14px;
}

.closing-message {
  padding: 78px 0;
  background: var(--ink);
}

.closing-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 52px;
  color: var(--white);
}

.closing-card .eyebrow {
  color: #ff9d82;
}

.closing-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.closing-card p:not(.eyebrow) {
  max-width: 730px;
  margin: 16px 0 0;
  color: #c9c7cf;
}

.closing-card > a {
  flex: 0 0 auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.closing-card > a:hover {
  border-color: var(--orange);
  background: var(--orange);
}

.site-footer {
  border-top: 1px solid #33323a;
  color: #aaa8b1;
  background: var(--ink);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

:focus-visible {
  outline: 3px solid #265fe5;
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .hero {
    padding-top: 52px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    display: none;
  }
}

@media (max-width: 940px) {

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closing-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .contact-link {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding: 38px 0 34px;
  }

  .hero h1 {
    font-size: clamp(42px, 13.5vw, 54px);
    line-height: 1.04;
  }

  .hero h1 span {
    display: inline-block;
    margin-top: 0.16em;
    line-height: 1;
  }

  .hero-lead {
    margin: 20px 0 24px;
    font-size: 16px;
  }

  .support-card {
    padding: 26px;
    border-radius: 24px;
  }

  .support-card h2 {
    font-size: 22px;
  }

  .support-section {
    padding: 56px 0;
  }

  .support-card-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .notice-grid {
    grid-template-columns: 1fr;
  }

  .notice {
    padding: 20px;
  }

  .catalog {
    padding: 30px 0 62px;
  }

  .catalog-toolbar {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .sort-control {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sort-label {
    display: none;
  }

  .sort-control::-webkit-scrollbar {
    display: none;
  }

  .sort-button {
    min-height: 46px;
  }

  .result-count {
    margin: 0 !important;
  }

  .category-scroller {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .category-button {
    min-height: 48px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card {
    border-radius: 20px;
  }

  .product-image-wrap {
    aspect-ratio: 1 / 0.82;
  }

  .product-body {
    padding: 19px;
  }

  .product-body h3 {
    font-size: 20px;
  }

  .product-action {
    min-height: 52px;
    font-size: 15px;
  }

  .closing-message {
    padding: 60px 0;
  }

  .closing-card > a {
    width: 100%;
    justify-content: center;
    overflow-wrap: anywhere;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px 0;
    gap: 10px;
  }
}

/* Local CTA comparison: ?cta-demo=1, ?cta-demo=2 or ?cta-demo=3. */
@property --links-panel-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.links-panel {
  --panel-fill-a: #07182f;
  --panel-fill-b: #0b2b4e;
  --panel-line-a: #53d7ff;
  --panel-line-b: #ffbd57;
  --panel-glow: rgba(82, 207, 255, 0.34);
  position: relative;
  isolation: isolate;
  min-width: 286px;
  min-height: 56px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 5px 6px 5px 7px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    conic-gradient(from var(--links-panel-angle), var(--panel-line-a), transparent 26%, var(--panel-line-b) 48%, transparent 72%, var(--panel-line-a)) border-box;
  box-shadow: 0 8px 26px rgba(81, 25, 11, 0.2), 0 0 20px var(--panel-glow);
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 170ms cubic-bezier(0.2, 0.9, 0.25, 1.25), box-shadow 170ms ease, filter 170ms ease;
  animation: links-panel-border 4.2s linear infinite;
}

.links-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b));
}

.links-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -55%;
  left: -42%;
  width: 38%;
  height: 210%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  filter: blur(1px);
  transform: rotate(18deg) translateX(-180%);
  animation: links-panel-sheen 3.8s ease-in-out infinite;
}

.links-panel-vfx {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.links-panel-vfx::before,
.links-panel-vfx::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  filter: blur(17px);
  opacity: 0.42;
}

.links-panel-vfx::before {
  top: -42px;
  right: 18%;
  background: var(--panel-line-a);
  animation: links-panel-breathe 2.8s ease-in-out infinite;
}

.links-panel-vfx::after {
  bottom: -54px;
  left: 20%;
  background: var(--panel-line-b);
  animation: links-panel-breathe 2.8s 1.1s ease-in-out infinite;
}

.links-panel-icon,
.links-panel-copy,
.links-panel-action {
  position: relative;
  z-index: 2;
}

.links-panel-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(130, 225, 255, 0.36);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(88, 207, 255, 0.2), rgba(37, 143, 242, 0.08));
  box-shadow: inset 0 0 16px rgba(108, 222, 255, 0.1), 0 0 13px rgba(88, 207, 255, 0.2);
  overflow: hidden;
}

.links-panel-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 170ms ease, filter 170ms ease;
}

.links-panel-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #c9f4ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(88, 207, 255, 0.72));
  transition: transform 170ms ease;
}

.links-panel-copy {
  min-width: 0;
  line-height: 1.08;
}

.links-panel-copy small,
.links-panel-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.links-panel-copy small {
  margin-bottom: 4px;
  color: #9de8ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.links-panel-copy strong {
  font-size: 15px;
  letter-spacing: -0.015em;
}

.links-panel-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #082036;
  background: linear-gradient(135deg, #d7f8ff, #70d7ff);
  box-shadow: 0 5px 13px rgba(0, 4, 18, 0.24);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.links-panel-action svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 170ms ease;
}

body.cta-demo-2 .links-panel {
  --panel-fill-a: rgba(255, 255, 255, 0.2);
  --panel-fill-b: rgba(255, 232, 181, 0.11);
  --panel-line-a: #fff6cf;
  --panel-line-b: #ffbd57;
  --panel-glow: rgba(255, 222, 106, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

body.cta-demo-2 .links-panel::before,
body.cta-demo-2 .links-panel-vfx {
  border-radius: 999px;
}

body.cta-demo-2 .links-panel-icon {
  border-color: rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.14);
}

body.cta-demo-2 .links-panel-icon svg {
  stroke: #fff;
  filter: drop-shadow(0 0 5px rgba(255, 235, 159, 0.65));
}

body.cta-demo-2 .links-panel-copy small {
  color: #fff2bc;
}

body.cta-demo-2 .links-panel-action {
  border-radius: 999px;
  color: #c93419;
  background: #fff;
}

body.cta-demo-3 .links-panel {
  --panel-fill-a: #160d27;
  --panel-fill-b: #06243c;
  --panel-line-a: #36e3ff;
  --panel-line-b: #ff5f92;
  --panel-glow: rgba(40, 221, 255, 0.32);
  border-radius: 13px;
  box-shadow: 0 8px 26px rgba(31, 5, 37, 0.34), 0 0 18px rgba(36, 215, 255, 0.24);
  animation-duration: 2.8s;
}

body.cta-demo-3 .links-panel::before,
body.cta-demo-3 .links-panel-vfx {
  border-radius: 11px;
}

body.cta-demo-3 .links-panel-icon {
  position: relative;
  border-color: rgba(54, 227, 255, 0.48);
  border-radius: 9px;
  background: rgba(41, 216, 255, 0.1);
}

body.cta-demo-3 .links-panel-icon::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79ffa7;
  box-shadow: 0 0 0 3px rgba(121, 255, 167, 0.12), 0 0 9px #79ffa7;
  animation: links-panel-signal 1.5s ease-in-out infinite;
}

body.cta-demo-3 .links-panel-copy small {
  color: #7dffac;
}

body.cta-demo-3 .links-panel-action {
  border-color: rgba(54, 227, 255, 0.44);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #087fa5, #8d2d76);
}

@media (hover: hover) {
  .links-panel:hover {
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(81, 25, 11, 0.24), 0 0 27px var(--panel-glow);
    transform: translateY(-2px) scale(1.012);
  }

  .links-panel:hover .links-panel-icon svg {
    transform: rotate(-7deg) scale(1.08);
  }

  .links-panel:hover .links-panel-icon img {
    filter: saturate(1.06) brightness(1.04);
    transform: scale(1.11) rotate(-2deg);
  }

  .links-panel:hover .links-panel-action svg {
    transform: translateX(3px);
  }
}

.links-panel:focus-visible {
  outline: 3px solid rgba(255, 241, 122, 0.9);
  outline-offset: 3px;
}

.links-panel:active,
.links-panel.is-pressed {
  filter: brightness(0.96);
  transform: translateY(1px) scale(0.972);
  transition-duration: 80ms;
}

.links-panel:active .links-panel-action,
.links-panel.is-pressed .links-panel-action {
  transform: translateX(2px) scale(0.96);
}

@keyframes links-panel-border {
  to { --links-panel-angle: 360deg; }
}

@keyframes links-panel-sheen {
  0%, 48% { transform: rotate(18deg) translateX(-190%); opacity: 0; }
  58% { opacity: 0.85; }
  78%, 100% { transform: rotate(18deg) translateX(520%); opacity: 0; }
}

@keyframes links-panel-breathe {
  0%, 100% { opacity: 0.25; transform: scale(0.82); }
  50% { opacity: 0.58; transform: scale(1.18); }
}

@keyframes links-panel-signal {
  0%, 100% { opacity: 0.52; transform: scale(0.82); }
  45% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 700px) {
  .header-inner {
    gap: 9px;
  }

  .links-panel {
    min-width: 0;
    width: min(230px, 53vw);
    min-height: 48px;
    grid-template-columns: 36px minmax(0, 1fr) 34px;
    gap: 7px;
    padding: 4px 5px;
    border-radius: 15px;
  }

  .links-panel::before {
    border-radius: 13px;
  }

  .links-panel-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .links-panel-icon svg {
    width: 20px;
    height: 20px;
  }

  .links-panel-copy small {
    margin-bottom: 2px;
    font-size: 7px;
  }

  .links-panel-copy strong {
    font-size: 12px;
  }

  .links-panel-action {
    width: 34px;
    min-height: 36px;
    padding: 0;
    border-radius: 10px;
  }

  .links-panel-action span {
    display: none;
  }
}

@media (max-width: 430px) {
  .links-panel {
    width: min(180px, 49vw);
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    gap: 5px;
  }

  .links-panel-copy small {
    display: none;
  }

  .links-panel-action {
    width: 30px;
  }
}

@media (max-width: 360px) {
  .links-panel {
    width: 132px;
    grid-template-columns: minmax(0, 1fr) 30px;
    padding-left: 9px;
  }

  .links-panel-icon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .links-panel,
  .links-panel::after,
  .links-panel-vfx::before,
  .links-panel-vfx::after,
  body.cta-demo-3 .links-panel-icon::after {
    animation: none !important;
  }
}

/* 2026-08-12: focused Gaming / Creator / Mobile discovery flow. */
.featured-section {
  scroll-margin-top: 92px;
  padding: 58px 0 62px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 188, 119, 0.2), transparent 28%),
    linear-gradient(180deg, #fff8f3 0%, #fffdfb 100%);
}

.featured-heading,
.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.featured-heading .eyebrow,
.catalog-heading .eyebrow {
  margin-bottom: 9px;
}

.featured-heading h2,
.catalog-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.featured-intro,
.catalog-heading > div > p:last-child {
  max-width: 690px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.featured-disclosure {
  max-width: 720px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 9px 12px;
  border: 1px solid #f1cfbf;
  border-radius: 12px;
  color: #713b2d;
  background: rgba(255, 244, 237, 0.92);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.featured-disclosure span {
  flex: 0 0 auto;
  color: var(--orange-dark);
  font-weight: 900;
}

.updated-stamp {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  padding: 9px 13px;
  border: 1px solid #f0cfc2;
  border-radius: 999px;
  color: #8a3b29;
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
}

.updated-stamp span {
  color: var(--orange-dark);
  font-size: 16px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featured-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  padding: 11px;
  border: 1px solid #f0d7cd;
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(98, 43, 26, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.featured-product:hover {
  border-color: rgba(217, 60, 30, 0.46);
  box-shadow: 0 13px 30px rgba(110, 39, 18, 0.14);
  transform: translateY(-3px);
}

.featured-product:focus-visible,
.mobile-featured-bar:focus-visible {
  outline: 3px solid rgba(43, 131, 255, 0.72);
  outline-offset: 3px;
}

.featured-product > img {
  width: 116px;
  height: 116px;
  border-radius: 11px;
  object-fit: cover;
  background: #fff6f1;
}

.featured-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.featured-copy small {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.featured-copy h3 {
  display: -webkit-box;
  margin: 5px 0 10px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-action {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 7px 9px;
  border-radius: 9px;
  color: #fff;
  background: #d93c1e;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.featured-product:hover .featured-action {
  background: #bd2d14;
}

.catalog-heading {
  margin-bottom: 20px;
}

.catalog-heading .result-count {
  margin-bottom: 3px !important;
}

.demo-market .catalog {
  padding-top: 54px;
}

.demo-market .product-action {
  padding: 7px 10px;
  line-height: 1.25;
  text-align: center;
}

.demo-market .product-meta strong {
  color: #b93218;
  font-size: 13px;
}

.mobile-featured-bar {
  display: none;
}

@media (max-width: 940px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 74px;
  }

  .featured-section {
    scroll-margin-top: 74px;
    padding: 40px 0 44px;
  }

  .featured-heading,
  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 20px;
  }

  .featured-heading h2,
  .catalog-heading h2 {
    font-size: 32px;
  }

  .featured-intro,
  .catalog-heading > div > p:last-child {
    font-size: 14px;
  }

  .featured-disclosure {
    margin-top: 10px;
    padding: 9px 10px;
    font-size: 12.5px;
  }

  .updated-stamp {
    margin: 0;
  }

  .featured-grid {
    display: flex;
    gap: 12px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 3px 14px 12px;
    overflow-x: auto;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .featured-grid::-webkit-scrollbar {
    display: none;
  }

  .featured-product {
    flex: 0 0 min(86vw, 360px);
    grid-template-columns: 126px minmax(0, 1fr);
    scroll-snap-align: start;
    box-shadow: 0 8px 20px rgba(98, 43, 26, 0.1);
  }

  .featured-product > img {
    width: 126px;
    height: 126px;
  }

  .featured-copy h3 {
    font-size: 16px;
  }

  .featured-action {
    min-height: 44px;
    font-size: 13px;
  }

  .demo-market .catalog {
    padding-top: 40px;
  }

  .catalog-heading .result-count {
    align-self: flex-start;
  }

  .category-scroller {
    margin-bottom: 24px;
  }

  .category-button {
    min-height: 50px;
    padding-right: 17px;
    padding-left: 17px;
  }

  .demo-market .product-meta {
    display: none;
  }

  .demo-market .product-action {
    min-height: 52px;
    margin-top: 13px;
    padding: 8px;
    font-size: 13px;
  }

  .mobile-featured-bar {
    position: fixed;
    z-index: 120;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(110deg, #d93c1e, #ee4d2d);
    box-shadow: 0 12px 28px rgba(100, 26, 10, 0.32);
    text-decoration: none;
    transform: translateY(0);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-featured-bar > span:first-child {
    color: #ffe071;
  }

  .mobile-featured-bar > span:last-child {
    margin-left: auto;
  }

  .mobile-featured-bar.is-hidden {
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(100% + 20px));
  }
}

@media (max-width: 370px) {
  .featured-product {
    flex-basis: 90vw;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .featured-product > img {
    width: 108px;
    height: 108px;
  }

  .featured-action {
    min-height: 40px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-product,
  .mobile-featured-bar {
    transition: none;
  }
}

/* Five higher-contrast Shopee-inspired skins for particle loop 5: &cta-style=1..5. */
body.cta-demo-2.cta-vfx-5.cta-particle-5[class*="cta-style-"] .links-panel {
  box-shadow: 0 9px 21px rgba(103, 26, 9, 0.27), 0 2px 0 rgba(255, 255, 255, 0.1) inset;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5[class*="cta-style-"] .links-panel-copy strong {
  text-shadow: none;
}

/* Style 1: clean white marketplace card with a decisive orange action. */
body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-1 .links-panel {
  --panel-fill-a: #fffdfb;
  --panel-fill-b: #fff1ea;
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    linear-gradient(105deg, #fff, #ffb49f, #ee4d2d) border-box;
  box-shadow: 0 10px 24px rgba(110, 30, 13, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.58) inset;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-1 .links-panel-copy strong {
  color: #bd3219;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-1 .links-panel-copy small {
  color: #8f4a3a;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-1 .links-panel-icon {
  border-color: rgba(238, 77, 45, 0.28);
  color: #d83c1e;
  background: #fff0e9;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-1 .links-panel-icon svg {
  stroke: #d83c1e;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-1 .links-panel-action {
  border-color: #d83c1e;
  color: #fff;
  background: linear-gradient(135deg, #ee4d2d, #d83c1e);
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-1 .links-panel-vfx::before {
  background: #ee4d2d;
  box-shadow: 0 0 4px rgba(238, 77, 45, 0.55);
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-1 .links-panel-vfx::after {
  background: #ffad55;
}

/* Style 2: deep Shopee orange, separated from the header by a cream frame. */
body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-2 .links-panel {
  --panel-fill-a: #c93419;
  --panel-fill-b: #a92715;
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    linear-gradient(100deg, #fff4e6, #ffc69f, #fff4e6) border-box;
  box-shadow: 0 11px 25px rgba(99, 19, 6, 0.36), 0 0 0 1px rgba(116, 19, 4, 0.2) inset;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-2 .links-panel-copy small {
  color: #ffd9a6;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-2 .links-panel-icon {
  border-color: rgba(255, 242, 220, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-2 .links-panel-action {
  color: #bd3219;
  background: #fff9f2;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-2 .links-panel-vfx::before {
  background: #fff1c9;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-2 .links-panel-vfx::after {
  background: #ffbd57;
}

/* Style 3: warm voucher cream with bold orange typography. */
body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-3 .links-panel {
  --panel-fill-a: #fff7df;
  --panel-fill-b: #ffe5af;
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    linear-gradient(100deg, #fff3ce, #ef5b32, #fff3ce) border-box;
  box-shadow: 0 10px 23px rgba(103, 35, 10, 0.31), 0 0 0 1px rgba(255, 255, 255, 0.54) inset;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-3 .links-panel-copy strong {
  color: #a92a15;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-3 .links-panel-copy small {
  color: #d84222;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-3 .links-panel-icon {
  border-color: rgba(217, 60, 30, 0.3);
  background: rgba(255, 255, 255, 0.52);
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-3 .links-panel-icon svg {
  stroke: #d93c1e;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-3 .links-panel-action {
  border-color: #d93c1e;
  color: #fff;
  background: #d93c1e;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-3 .links-panel-vfx::before {
  background: #e84a27;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-3 .links-panel-vfx::after {
  background: #ff9b3f;
}

/* Style 4: premium mall red with restrained gold accents. */
body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-4 .links-panel {
  --panel-fill-a: #78141a;
  --panel-fill-b: #a92519;
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    linear-gradient(105deg, #ffe0a3, #d78e2d, #fff0c4) border-box;
  box-shadow: 0 11px 26px rgba(74, 8, 8, 0.4), 0 0 0 1px rgba(255, 218, 146, 0.12) inset;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-4 .links-panel-copy small {
  color: #ffd985;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-4 .links-panel-icon {
  border-color: rgba(255, 217, 133, 0.42);
  background: rgba(255, 212, 121, 0.09);
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-4 .links-panel-icon svg {
  stroke: #ffe6ad;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-4 .links-panel-action {
  border-color: #f6c567;
  color: #5f160d;
  background: linear-gradient(135deg, #ffe9ad, #f4b84f);
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-4 .links-panel-vfx::before {
  background: #ffe5a3;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-4 .links-panel-vfx::after {
  background: #ffb64f;
}

/* Style 5: flash-sale dark contrast with a yellow action block. */
body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-5 .links-panel {
  --panel-fill-a: #29130d;
  --panel-fill-b: #5c1c11;
  border-radius: 15px;
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    linear-gradient(100deg, #ffdf64, #ff6a2d, #ffdf64) border-box;
  box-shadow: 0 11px 26px rgba(54, 12, 3, 0.43), 0 0 0 1px rgba(255, 213, 76, 0.1) inset;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-5 .links-panel::before,
body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-5 .links-panel-vfx {
  border-radius: 13px;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-5 .links-panel-copy small {
  color: #ffdf64;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-5 .links-panel-icon {
  border-color: rgba(255, 221, 96, 0.45);
  border-radius: 9px;
  background: rgba(255, 213, 76, 0.08);
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-5 .links-panel-icon svg {
  stroke: #ffe483;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-5 .links-panel-action {
  border-color: #ffd94d;
  border-radius: 9px;
  color: #531608;
  background: #ffd94d;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-5 .links-panel-vfx::before {
  background: #fff0a5;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5.cta-style-5 .links-panel-vfx::after {
  background: #ff7a31;
}

@media (max-width: 390px) {
  .brand strong {
    font-size: 16px;
  }

  .contact-link {
    padding: 0 11px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .support-card,
  .notice {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Local design comparison themes. They only activate with ?demo=1, ?demo=2 or ?demo=3. */
.demo-switcher {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  color: #fff;
  background: rgba(24, 24, 31, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.demo-switcher-label {
  padding: 0 9px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.demo-switcher a {
  min-width: 74px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 12px;
  color: #dedde3;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.demo-switcher a:hover,
.demo-switcher a.is-active {
  color: #fff;
  background: var(--orange);
}

/* Demo 1: familiar modern marketplace */
body.demo-market {
  --orange: #ee4d2d;
  --orange-dark: #d93c1e;
  --cream: #f5f5f5;
  --line: #e7e7e7;
  background: #f5f5f5;
}

.demo-market .site-header {
  border-bottom: 0;
  color: #fff;
  background: linear-gradient(90deg, #ee4d2d, #f45d3c);
  backdrop-filter: none;
}

.demo-market .brand-mark {
  color: var(--orange);
  background: #fff;
  box-shadow: none;
}

.demo-market .brand small {
  color: rgba(255, 255, 255, 0.82);
}

.demo-market .contact-link {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.demo-market .hero {
  padding: 54px 0 46px;
  color: #fff;
  background: linear-gradient(120deg, #e94324 0%, #f56845 58%, #ff8b5f 100%);
}

.demo-market .hero::after {
  border-color: rgba(255, 255, 255, 0.09);
}

.demo-market .hero .eyebrow,
.demo-market .hero h1 span {
  color: #ffe35b;
}

.demo-market .hero-lead {
  color: rgba(255, 255, 255, 0.86);
}

.demo-market .showcase-glow {
  border-color: rgba(255, 255, 255, 0.28);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 66%);
}

.demo-market .showcase-label > span {
  background: var(--orange-dark);
}

.demo-market .catalog {
  border-top: 0;
  background: #f5f5f5;
}

.demo-market .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.demo-market .product-card {
  border-radius: 8px;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.07);
}

.demo-market .product-image-wrap {
  aspect-ratio: 1;
  padding: 0;
  background: #fff;
}

.demo-market .product-image-wrap img {
  border-radius: 0;
}

.demo-market .product-body {
  padding: 15px;
}

.demo-market .product-body h3 {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  font-size: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.demo-market .product-description {
  display: none;
}

.demo-market .product-action {
  border-radius: 7px;
  background: var(--orange-dark);
}

.demo-market .category-button,
.demo-market .sort-button {
  border-radius: 8px;
}

.demo-market .category-button.is-active,
.demo-market .badge-featured {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

.demo-market .sort-button.is-active {
  border-color: #c86d5b;
  color: #c93419;
}

/* Demo 2: premium curated collection */
body.demo-premium {
  --orange: #e95432;
  --orange-dark: #b9361f;
  --orange-soft: #fff0e8;
  --cream: #fff8f2;
  --ink: #2b211f;
  --muted: #74645f;
  --line: #eaded7;
  background: #fff8f2;
}

.demo-premium .site-header {
  background: rgba(255, 248, 242, 0.9);
}

.demo-premium .hero {
  padding: 40px 0;
  background: #fff8f2;
}

.demo-premium .hero::after {
  display: none;
}

.demo-premium .hero-grid {
  padding: 50px 54px;
  border: 1px solid rgba(233, 84, 50, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 207, 165, 0.48), transparent 29%),
    linear-gradient(135deg, #fff 0%, #fff6ed 100%);
  box-shadow: 0 24px 70px rgba(103, 62, 42, 0.12);
}

.demo-premium .hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.7vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.demo-premium .hero h1 span {
  color: var(--orange-dark);
}

.demo-premium .catalog {
  border-top: 0;
  background: #fff8f2;
}

.demo-premium .product-grid {
  gap: 26px;
}

.demo-premium .product-card {
  border-radius: 28px;
  box-shadow: 0 14px 42px rgba(85, 54, 40, 0.1);
}

.demo-premium .product-card:hover {
  box-shadow: 0 22px 56px rgba(85, 54, 40, 0.16);
  transform: translateY(-7px);
}

.demo-premium .product-image-wrap {
  padding: 17px;
  border-bottom: 1px solid var(--line);
  background: #fff9f4;
}

.demo-premium .product-image-wrap img {
  border-radius: 20px;
}

.demo-premium .product-body {
  padding: 24px;
}

.demo-premium .product-action {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange));
}

.demo-premium .category-button,
.demo-premium .sort-button {
  border-radius: 999px;
}

/* Demo 3: premium tech with Shopee-orange actions */
body.demo-tech {
  --orange: #ff5b35;
  --orange-dark: #ec4322;
  --orange-soft: #2c2527;
  --ink: #171a22;
  --muted: #626875;
  --line: #dfe2e8;
  background: #f2f4f8;
}

.demo-tech .site-header {
  border-bottom-color: #2d323e;
  color: #fff;
  background: rgba(17, 20, 28, 0.94);
}

.demo-tech .brand small {
  color: #aeb4c0;
}

.demo-tech .brand-mark {
  background: linear-gradient(145deg, #ff714d, #ed4425);
}

.demo-tech .contact-link {
  border-color: #3a404d;
  color: #fff;
  background: #242934;
}

.demo-tech .hero {
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 91, 53, 0.27), transparent 30%),
    radial-gradient(circle at 8% 0%, rgba(61, 82, 132, 0.3), transparent 32%),
    #121620;
}

.demo-tech .hero::after {
  border-color: rgba(255, 91, 53, 0.11);
}

.demo-tech .hero .eyebrow,
.demo-tech .hero h1 span {
  color: #ff6c49;
}

.demo-tech .hero-lead {
  color: #b9bec9;
}

.demo-tech .showcase-glow {
  border-color: rgba(255, 113, 77, 0.32);
  background: radial-gradient(circle, rgba(255, 91, 53, 0.14), transparent 68%);
}

.demo-tech .catalog {
  border-top: 0;
  background: #f2f4f8;
}

.demo-tech .product-card {
  border-color: #e0e3e9;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(29, 35, 49, 0.09);
}

.demo-tech .product-image-wrap {
  background: linear-gradient(145deg, #edf0f5, #fff);
}

.demo-tech .product-action {
  border-radius: 10px;
  background: linear-gradient(90deg, #ef4424, #ff6d48);
}

.demo-tech .category-button.is-active {
  border-color: #1c202a;
  background: #1c202a;
}

.demo-tech .sort-button.is-active {
  border-color: #ff7859;
  color: #d93e20;
  background: #fff1ed;
}

@media (max-width: 1100px) {
  .demo-premium .hero-grid {
    padding: 42px;
  }

  .demo-market .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .demo-switcher {
    width: calc(100% - 24px);
    bottom: 10px;
    justify-content: center;
  }

  .demo-switcher-label {
    display: none;
  }

  .demo-switcher a {
    flex: 1;
    min-width: 0;
  }

  .demo-market .hero,
  .demo-tech .hero {
    padding: 38px 0 34px;
  }

  .demo-market .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .demo-market .product-body {
    padding: 12px;
  }

  .demo-market .product-body h3 {
    min-height: 42px;
    font-size: 14px;
  }

  .demo-market .product-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .demo-market .product-action {
    min-height: 48px;
    font-size: 13px;
  }

  .support-hint {
    margin-top: -12px;
    margin-bottom: 16px;
    padding: 9px 11px;
    font-size: 12px;
    line-height: 1.45;
  }

  .demo-premium .hero {
    padding: 14px 0 28px;
  }

  .demo-premium .hero-grid {
    width: min(calc(100% - 20px), var(--shell));
    padding: 34px 24px;
    border-radius: 26px;
  }

  .demo-premium .hero h1 {
    font-size: 43px;
  }
}

/* Five restrained VFX studies for the selected glass CTA: ?cta-demo=2&cta-vfx=1..5. */
body.cta-demo-2[class*="cta-vfx-"] .links-panel {
  --panel-fill-a: rgba(142, 39, 20, 0.42);
  --panel-fill-b: rgba(213, 72, 42, 0.25);
  --panel-line-a: rgba(255, 249, 231, 0.72);
  --panel-line-b: rgba(255, 195, 93, 0.5);
  --panel-glow: transparent;
  box-shadow: 0 7px 18px rgba(101, 24, 8, 0.2);
  animation: none;
}

body.cta-demo-2[class*="cta-vfx-"] .links-panel::after {
  opacity: 0;
  animation: none;
}

body.cta-demo-2[class*="cta-vfx-"] .links-panel-vfx::before,
body.cta-demo-2[class*="cta-vfx-"] .links-panel-vfx::after {
  opacity: 0;
  animation: none;
}

body.cta-demo-2[class*="cta-vfx-"] .links-panel-icon {
  border-color: rgba(255, 244, 224, 0.42);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.08);
}

body.cta-demo-2[class*="cta-vfx-"] .links-panel-icon svg {
  filter: none;
}

body.cta-demo-2[class*="cta-vfx-"] .links-panel-copy small {
  color: #ffe5ad;
}

body.cta-demo-2[class*="cta-vfx-"] .links-panel-action {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 248, 241, 0.94);
  box-shadow: 0 4px 10px rgba(95, 25, 10, 0.15);
}

/* VFX 1: a quiet breathing frame. */
body.cta-demo-2.cta-vfx-1 .links-panel {
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    linear-gradient(110deg, rgba(255, 250, 233, 0.62), rgba(255, 183, 82, 0.34), rgba(255, 250, 233, 0.56)) border-box;
  animation: links-vfx-soft-frame 3.6s ease-in-out infinite;
}

/* VFX 2: a slow edge trace with no bloom. */
body.cta-demo-2.cta-vfx-2 .links-panel {
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    conic-gradient(from var(--links-panel-angle), rgba(255, 255, 255, 0.2), rgba(255, 244, 209, 0.76), rgba(255, 184, 70, 0.3), rgba(255, 255, 255, 0.18)) border-box;
  animation: links-panel-border 8s linear infinite;
}

/* VFX 3: one narrow satin sweep every few seconds. */
body.cta-demo-2.cta-vfx-3 .links-panel {
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    rgba(255, 244, 222, 0.46) border-box;
}

body.cta-demo-2.cta-vfx-3 .links-panel::after {
  width: 18%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 233, 0.25), transparent);
  animation: links-vfx-satin 5.8s ease-in-out infinite;
}

/* VFX 4: a soft dual halo kept outside the text area. */
body.cta-demo-2.cta-vfx-4 .links-panel {
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    linear-gradient(90deg, rgba(255, 248, 228, 0.56), rgba(255, 184, 81, 0.38)) border-box;
  animation: links-vfx-halo 4.4s ease-in-out infinite;
}

body.cta-demo-2.cta-vfx-4 .links-panel-vfx::before,
body.cta-demo-2.cta-vfx-4 .links-panel-vfx::after {
  width: 42px;
  height: 42px;
  filter: blur(18px);
  opacity: 0.14;
  animation: links-panel-breathe 4.4s ease-in-out infinite;
}

body.cta-demo-2.cta-vfx-4 .links-panel-vfx::before {
  top: -32px;
  right: 8%;
}

body.cta-demo-2.cta-vfx-4 .links-panel-vfx::after {
  bottom: -36px;
  left: 10%;
  animation-delay: 1.8s;
}

/* VFX 5: particles travel continuously around the full rounded frame. */
body.cta-demo-2.cta-vfx-5 .links-panel {
  background:
    linear-gradient(135deg, var(--panel-fill-a), var(--panel-fill-b)) padding-box,
    rgba(255, 244, 222, 0.44) border-box;
}

body.cta-demo-2.cta-vfx-5 .links-panel-vfx::before,
body.cta-demo-2.cta-vfx-5 .links-panel-vfx::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  filter: none;
  opacity: 0.86;
  background: #ffe4a0;
  box-shadow: 0 0 4px rgba(255, 224, 145, 0.58);
  offset-path: inset(2px round 999px);
  offset-distance: 0%;
  offset-rotate: 0deg;
  animation: links-vfx-orbit 4.8s linear infinite;
}

body.cta-demo-2.cta-vfx-5 .links-panel-vfx::before {
  animation-delay: 0s;
}

body.cta-demo-2.cta-vfx-5 .links-panel-vfx::after {
  animation-delay: -2.4s;
}

/* Particle 1: one clean warm dot. */
body.cta-demo-2.cta-vfx-5.cta-particle-1 .links-panel-vfx::before {
  width: 5px;
  height: 5px;
  background: #ffe1a0;
  box-shadow: 0 0 5px rgba(255, 218, 135, 0.6);
  animation-duration: 4.6s;
}

body.cta-demo-2.cta-vfx-5.cta-particle-1 .links-panel-vfx::after {
  display: none;
}

/* Particle 2: two dots orbit together, always half a lap apart. */
body.cta-demo-2.cta-vfx-5.cta-particle-2 .links-panel-vfx::before {
  width: 5px;
  height: 5px;
  background: #fff0c8;
  animation-duration: 5.4s;
}

body.cta-demo-2.cta-vfx-5.cta-particle-2 .links-panel-vfx::after {
  width: 4px;
  height: 4px;
  background: #ffbd68;
  animation-duration: 5.4s;
  animation-delay: -2.7s;
}

/* Particle 3: two dots counter-orbit at different speeds. */
body.cta-demo-2.cta-vfx-5.cta-particle-3 .links-panel-vfx::before {
  background: #fff0cb;
  animation-duration: 4.4s;
}

body.cta-demo-2.cta-vfx-5.cta-particle-3 .links-panel-vfx::after {
  width: 5px;
  height: 5px;
  background: #ffc37a;
  animation-name: links-vfx-orbit-reverse;
  animation-duration: 5.2s;
  animation-delay: -1.9s;
}

/* Particle 4: a compact comet and a following spark. */
body.cta-demo-2.cta-vfx-5.cta-particle-4 .links-panel-vfx::before {
  width: 12px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 244, 211, 0.1), #ffe4a0);
  box-shadow: 2px 0 5px rgba(255, 216, 126, 0.5);
  offset-rotate: auto;
  animation-duration: 4.2s;
}

body.cta-demo-2.cta-vfx-5.cta-particle-4 .links-panel-vfx::after {
  width: 3px;
  height: 3px;
  background: #fff4d8;
  animation-duration: 4.2s;
  animation-delay: -0.42s;
}

/* Particle 5: two softly pulsing sparks on independent loops. */
body.cta-demo-2.cta-vfx-5.cta-particle-5 .links-panel-vfx::before {
  width: 6px;
  height: 6px;
  background: #ffe2a2;
  animation: links-vfx-orbit 4s linear infinite, links-vfx-particle-pulse 1.15s ease-in-out infinite;
}

body.cta-demo-2.cta-vfx-5.cta-particle-5 .links-panel-vfx::after {
  width: 3px;
  height: 3px;
  background: #fff6df;
  animation: links-vfx-orbit 3.2s -1.4s linear infinite, links-vfx-particle-pulse 0.9s -0.3s ease-in-out infinite;
}

@keyframes links-vfx-soft-frame {
  0%, 100% { border-color: transparent; box-shadow: 0 7px 18px rgba(101, 24, 8, 0.18); }
  50% { border-color: rgba(255, 244, 211, 0.18); box-shadow: 0 8px 20px rgba(101, 24, 8, 0.23), 0 0 0 2px rgba(255, 218, 145, 0.06); }
}

@keyframes links-vfx-satin {
  0%, 58% { opacity: 0; transform: rotate(18deg) translateX(-220%); }
  68% { opacity: 0.5; }
  84%, 100% { opacity: 0; transform: rotate(18deg) translateX(690%); }
}

@keyframes links-vfx-halo {
  0%, 100% { box-shadow: 0 7px 18px rgba(101, 24, 8, 0.18); }
  50% { box-shadow: 0 8px 21px rgba(101, 24, 8, 0.22), 0 0 15px rgba(255, 204, 113, 0.12); }
}

@keyframes links-vfx-orbit {
  to { offset-distance: 100%; }
}

@keyframes links-vfx-orbit-reverse {
  from { offset-distance: 100%; }
  to { offset-distance: 0%; }
}

@keyframes links-vfx-particle-pulse {
  0%, 100% { opacity: 0.5; scale: 0.72; }
  50% { opacity: 0.95; scale: 1.14; }
}

@media (prefers-reduced-motion: reduce) {
  body.cta-demo-2[class*="cta-vfx-"] .links-panel,
  body.cta-demo-2[class*="cta-vfx-"] .links-panel::after,
  body.cta-demo-2[class*="cta-vfx-"] .links-panel-vfx::before,
  body.cta-demo-2[class*="cta-vfx-"] .links-panel-vfx::after {
    animation: none !important;
  }

  body.cta-demo-2.cta-vfx-5 .links-panel-vfx::before,
  body.cta-demo-2.cta-vfx-5 .links-panel-vfx::after {
    opacity: 0 !important;
  }
}

/* Keep the mobile tap path compact after the selected marketplace theme overrides. */
@media (max-width: 700px) {
  .demo-market .product-meta {
    display: none;
  }

  .demo-market .product-action {
    min-height: 52px;
    margin-top: 13px;
    padding: 8px;
    font-size: 13px;
    line-height: 1.25;
  }
}
