:root {
  --ink: #28213a;
  --muted: #6a6178;
  --purple: #7048d9;
  --pink: #eb8dbd;
  --line: #eeeaf4;
  --bg: #fbfaff;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px "DM Sans",
    sans-serif;
}
button,
input {
  font: inherit;
}
main {
  flex: 1;
}
button,
a {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
header {
  height: 76px;
  background: #ffffffeb;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(15px);
}
.head {
  display: flex;
  align-items: center;
  gap: 35px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 18px Manrope;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.mark {
  height: 35px;
  width: 35px;
  border-radius: 12px;
  background: linear-gradient(145deg, #885fe9, #6135c8);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 7px 18px #7048d92b;
}
.brandname {
  color: var(--ink);
}
.brandname span {
  color: var(--purple);
}
.mark {
  color: #fff;
}
nav {
  display: flex;
  gap: 27px;
  color: #625b70;
  font-weight: 600;
  font-size: 12px;
}
nav a:hover {
  color: var(--purple);
}
.head-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search {
  height: 44px;
  width: 230px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 11px;
  color: #aaa4b4;
  background: #fff;
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}
.login {
  border: 1px solid #ded5f2;
  border-radius: 10px;
  color: var(--purple);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
}
.join {
  border: 0;
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  box-shadow: 0 6px 16px #7048d927;
}
.hero {
  padding: 51px 0 34px;
}
.hero-grid {
  min-height: 345px;
  background: radial-gradient(ellipse at 82% 8%, #193d88 0%, #112553 38%, #08132d 80%);
  border-radius: 24px;
  padding: 48px 54px;
  position: relative;
  overflow: hidden;
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  align-items: center;
  box-shadow: 0 18px 48px #7148d928;
}
.hero-grid:before,
.hero-grid:after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  right: 5%;
  top: -315px;
}
.hero-grid:after {
  width: 600px;
  height: 600px;
  right: -1%;
  top: -390px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 460px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 40px;
  border: 1px solid #ffffff35;
  background: #ffffff19;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero h1 {
  font: 800 clamp(32px, 4vw, 48px)/1.12 Manrope;
  letter-spacing: -2px;
  margin: 18px 0 12px;
}
.hero p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
  max-width: 370px;
  margin: 0 0 22px;
}
.hero-actions {
  display: flex;
  gap: 11px;
  align-items: center;
}
.whitebtn {
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #623dc2;
  font-size: 11px;
  font-weight: 800;
  padding: 12px 16px;
}
.softbtn {
  border: 1px solid #ffffff5c;
  border-radius: 10px;
  background: #ffffff15;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 11px 15px;
}
.card-stack {
  position: relative;
  width: 400px;
  height: 310px;
  perspective: 1100px;
  transform-style: preserve-3d;
}
.gift {
  position: absolute;
  border-radius: 18px;
  border: 1px solid #ffffff65;
  box-shadow:
    0 24px 55px #03091860,
    inset 0 1px #ffffff70;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  overflow: hidden;
  font-family: "DM Sans", sans-serif;
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}
.gift:before {
  content: "";
  position: absolute;
  width: 165px;
  height: 165px;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  right: -90px;
  top: -100px;
  pointer-events: none;
}
.gift-top,
.gift-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.gift-brand {
  font:
    800 9px Manrope,
    sans-serif;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}
.gift-main {
  position: relative;
  z-index: 1;
  font:
    700 22px/1.04 Manrope,
    sans-serif;
  letter-spacing: -0.75px;
}
.gift-foot {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.82;
}
.gift-foot strong {
  font:
    800 11px Manrope,
    sans-serif;
  letter-spacing: 0;
}
.gift.one {
  background: linear-gradient(135deg, #55c7e7 0%, #36b5dc 58%, #4ccee0 100%);
  left: 50%;
  top: 50%;
  width: 292px;
  height: 188px;
  color: #08214b;
  border-color: #b4f3ff;
  z-index: 1;
  animation: giftOrbit 18s linear infinite;
  will-change: transform;
}
.gift.two {
  background: radial-gradient(ellipse at 52% 48%, #304ffb 0, #182ddc 34%, #0c1695 100%);
  left: 50%;
  top: 50%;
  width: 310px;
  height: 198px;
  color: #fff;
  border-color: #9bacff;
  z-index: 3;
  animation: giftOrbit 18s linear -6s infinite;
  will-change: transform;
}
.gift.two:before {
  width: 126px;
  height: 126px;
  right: 106px;
  top: 32px;
  border-color: #ffffff78;
  box-shadow:
    0 0 0 5px #ffffff12,
    0 0 0 10px #ffffff0b;
}
.gift.three {
  background: linear-gradient(135deg, #fbfcff 0%, #e8edf2 100%);
  left: 50%;
  top: 50%;
  width: 270px;
  height: 168px;
  color: #13224b;
  border-color: #ffffff;
  z-index: 2;
  animation: giftOrbit 18s linear -12s infinite;
  will-change: transform;
}
.gift.three:before {
  width: 90px;
  height: 90px;
  right: 30px;
  top: 42px;
  border-color: #4165ff;
  box-shadow:
    0 0 0 7px #4165ff10,
    0 0 0 14px #4165ff08;
}
@keyframes giftOrbit {
  0% {
    transform: translate(-50%, -50%) translate3d(0, 42px, 70px) rotateZ(7deg) rotateY(-7deg) scale(1.08);
  }
  25% {
    transform: translate(-50%, -50%) translate3d(36px, 0, 0) rotateZ(0) rotateY(4deg) scale(0.95);
  }
  50% {
    transform: translate(-50%, -50%) translate3d(0, -42px, -70px) rotateZ(-7deg) rotateY(7deg) scale(0.82);
  }
  75% {
    transform: translate(-50%, -50%) translate3d(-36px, 0, 0) rotateZ(0) rotateY(-4deg) scale(0.95);
  }
  100% {
    transform: translate(-50%, -50%) translate3d(0, 42px, 70px) rotateZ(7deg) rotateY(-7deg) scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gift {
    animation: none;
  }
}
.trust {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 4px 0;
  color: #5f5870;
  font-size: 12px;
}
.trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust i {
  color: #289b79;
  font-style: normal;
  font-weight: 800;
}
section.catalog {
  padding: 25px 0 35px;
}
.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.overline {
  font-size: 9px;
  color: var(--purple);
  font-weight: 800;
  letter-spacing: 1.4px;
  margin-bottom: 7px;
}
.section-top h2,
.partner h2 {
  font: 800 23px Manrope;
  letter-spacing: -0.8px;
  margin: 0 0 5px;
}
.section-top p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.link {
  border: 0;
  background: none;
  color: var(--purple);
  font-weight: 700;
  font-size: 13px;
}
.filters {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: white;
  color: #5f5870;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 700;
}
.chip.on {
  color: white;
  background: var(--purple);
  border-color: var(--purple);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.product {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  transition: 0.2s;
  box-shadow: 0 5px 16px #24154404;
}
.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 27px #24154410;
}
.art {
  height: 135px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 19px Manrope;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 5px #0002;
}
.art:after {
  content: "";
  position: absolute;
  width: 135px;
  height: 135px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  right: -48px;
  top: -60px;
}
.a1 {
  background: linear-gradient(135deg, #292d38, #555e6d);
}
.a2 {
  background: linear-gradient(135deg, #b51e39, #ed5363);
}
.a3 {
  background: linear-gradient(135deg, #9ea4ae, #cdd1d8);
}
.a4 {
  background: linear-gradient(135deg, #2052a4, #4c8ff0);
}
.a5 {
  background: linear-gradient(135deg, #e69a18, #f1c43f);
}
.a6 {
  background: linear-gradient(135deg, #14865c, #38bd88);
}
.a7 {
  background: linear-gradient(135deg, #272c35, #596170);
}
.a8 {
  background: linear-gradient(135deg, #6649a9, #a276dc);
}
.a9 {
  background: linear-gradient(135deg, #a34d00, #cc6600);
}
.a10 {
  background: linear-gradient(135deg, #8f1220, #c22436);
}
.a11 {
  background: linear-gradient(135deg, #a3133f, #d12a5e);
}
.a12 {
  background: linear-gradient(135deg, #a3134f, #d11a63);
}
.a13 {
  background: linear-gradient(135deg, #7d161c, #a91e26);
}
.a14 {
  background: linear-gradient(135deg, #00594d, #007a68);
}
.a15 {
  background: linear-gradient(135deg, #33691e, #558b2f);
}
.a16 {
  background: linear-gradient(135deg, #4a3600, #7a5c00);
}
.a17 {
  background: linear-gradient(135deg, #1a1f71, #2a2f8f);
}
.prodline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 2px 2px;
}
.prodline h3 {
  font-size: 14px;
  margin: 0 0 5px;
}
.prodline p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.tag {
  border-radius: 20px;
  background: #fff3f8;
  color: #b03d7d;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 7px;
  white-space: nowrap;
}
.prodfoot {
  border-top: 1px solid #f1eef5;
  margin-top: 11px;
  padding: 10px 2px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.view {
  border: 0;
  border-radius: 8px;
  background: #f3effd;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  padding: 35px;
}
footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 25px 0 17px;
  color: var(--muted);
  font-size: 12px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.footer-mark {
  width: 35px;
  height: 35px;
  border-radius: 12px;
  background: linear-gradient(145deg, #885fe9, #6135c8);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 20px Manrope;
  box-shadow: 0 7px 18px #7048d926;
}
.footer-brand-copy strong {
  display: block;
  font: 800 15px Manrope;
  letter-spacing: -0.4px;
}
.footer-brand-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footerlinks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footerlinks a:hover {
  color: var(--purple);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  color: var(--muted);
}
@media (max-width: 850px) {
  nav {
    display: none;
  }
  .search {
    width: 160px;
  }
  .card-stack {
    position: absolute;
    right: 10%;
    top: auto;
    bottom: 8px;
    transform: scale(0.58);
    transform-origin: bottom right;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 38px;
    min-height: 435px;
  }
  .hero-copy {
    max-width: 520px;
    padding-bottom: 135px;
  }
  .hero p {
    max-width: 420px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .wrap {
    width: min(100% - 30px, 480px);
  }
  header {
    height: 65px;
  }
  .head {
    gap: 10px;
  }
  nav {
    display: none;
  }
  .head-right {
    gap: 7px;
  }
  .search {
    flex: 1;
    min-width: 120px;
    height: 44px;
  }
  .search input {
    display: block;
    font-size: 13px;
  }
  .login {
    padding: 12px 14px;
  }
  .join {
    padding: 12px 14px;
  }
  .hero {
    padding: 24px 0 18px;
  }
  .hero-grid {
    padding: 28px 23px;
    min-height: 490px;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }
  .hero p {
    font-size: 13px;
  }
  .card-stack {
    position: absolute;
    top: auto;
    right: 8%;
    bottom: 7px;
    transform: scale(0.68);
    transform-origin: bottom right;
  }
  .hero-copy {
    padding-bottom: 160px;
  }
  .trust {
    gap: 12px;
    font-size: 11px;
  }
  .catalog {
    padding-top: 15px !important;
  }
  .section-top h2 {
    font-size: 20px;
  }
  .section-top p {
    font-size: 12px;
  }
  .grid {
    gap: 9px;
  }
  .product {
    padding: 8px;
  }
  .art {
    height: 100px;
    font-size: 15px;
  }
  .prodline {
    padding-top: 9px;
  }
  .prodline h3 {
    font-size: 13px;
  }
  .tag {
    font-size: 10px;
    padding: 5px 7px;
  }
  .prodfoot {
    font-size: 11px;
  }
  .view {
    padding: 7px;
  }
  .foot {
    font-size: 9px;
  }
}
/* Dark mode palette, enabled only when the user selects it */
html[data-theme="dark"] {
  --ink: #f7f2ff;
  --muted: #aaa0b8;
  --purple: #a78bfa;
  --pink: #ee91c2;
  --line: #30273d;
  --bg: #251a38;
  --white: #2c2344;
  background: #251a38;
}
html[data-theme="dark"] body {
  background: radial-gradient(ellipse at 50% -15%, #3e2d66 0, #251a38 58%);
  color: var(--ink);
}
html[data-theme="dark"] header {
  background: rgba(37, 26, 56, 0.94);
  border-color: #30273d;
}
html[data-theme="dark"] nav {
  color: #c8bfd4;
}
html[data-theme="dark"] nav a:hover {
  color: #d8c8ff;
}
html[data-theme="dark"] .search {
  background: #2f2549;
  border-color: #372d45;
  color: #b8acc5;
}
html[data-theme="dark"] .search input {
  color: #f7f2ff;
}
html[data-theme="dark"] .search input::placeholder {
  color: #887e96;
}
html[data-theme="dark"] .login {
  background: #2f2549;
  border-color: #493965;
  color: #d7c7ff;
}
html[data-theme="dark"] .hero-grid {
  background: radial-gradient(ellipse at 82% 8%, #193c88 0, #10224d 36%, #08132d 78%);
  box-shadow: 0 20px 50px #05030b80;
  border-color: #ffffff12;
}
html[data-theme="dark"] .hero-grid:before,
html[data-theme="dark"] .hero-grid:after {
  border-color: #ffffff18;
}
html[data-theme="dark"] .trust {
  color: #b5a9c2;
}
html[data-theme="dark"] .section-top p {
  color: #aa9fb8;
}
html[data-theme="dark"] .link {
  color: #c5b0ff;
}
html[data-theme="dark"] .chip {
  background: #2c2344;
  border-color: #332a40;
  color: #c2b8ce;
}
html[data-theme="dark"] .chip.on {
  background: #7953d0;
  border-color: #7953d0;
  color: #fff;
}
html[data-theme="dark"] .product {
  background: #2d2446;
  border-color: #332a40;
  box-shadow: 0 8px 24px #05030b40;
}
html[data-theme="dark"] .product:hover {
  box-shadow: 0 14px 30px #05030b70;
  border-color: #514069;
}
html[data-theme="dark"] .prodline p,
html[data-theme="dark"] .prodfoot {
  color: #a99eb6;
}
html[data-theme="dark"] .prodfoot {
  border-color: #332a40;
}
html[data-theme="dark"] .tag {
  background: #4b3054;
  color: #f0a4ce;
}
html[data-theme="dark"] .view {
  background: #413361;
  color: #d3c2ff;
}
html[data-theme="dark"] footer {
  background: #291d3f;
  border-color: #30273d;
  color: #9b90a8;
}
html[data-theme="dark"] .footer-brand {
  color: #f7f2ff;
}
html[data-theme="dark"] .footer-main {
  border-color: #30273d;
}
html[data-theme="dark"] .footerlinks a:hover {
  color: #c9b7ff;
}
html[data-theme="dark"] .input::placeholder {
  color: #827890;
}
.theme-toggle {
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #615778;
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  transition: 0.18s;
}
.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: #cfc2e6;
  color: var(--purple);
}
html[data-theme="dark"] .theme-toggle {
  background: #2f2549;
  border-color: #3b3049;
  color: #f5c56b;
}
@media (max-width: 620px) {
  .hero-grid {
    border-radius: 20px;
  }
}
/* Skeleton cards on the homepage grid: hide the decorative circle on the skeleton art block */
.art.skel::after {
  display: none;
}
