:root {
  color-scheme: dark;
  --bg: #0a080d;
  --panel: #15111a;
  --line: #332b3a;
  --purple: #963bd0;
  --text: #faf7fb;
  --muted: #aaa0af;
  --paper: #eeeaf0;
  --green: #b7ef61;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.shop-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  height: 74px;
  padding: 0 max(20px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid #ffffff14;
  background: #0b0910;
}
.shop-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: 40px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.shop-brand img {
  width: 43px;
  height: 43px;
}
.shop-nav nav {
  display: flex;
  gap: 26px;
}
.shop-nav nav a {
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.shop-nav nav a.active {
  color: #d38df4;
}
.cart-button {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 10px 13px;
  border: 1px solid #4c3d56;
  background: #19131e;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}
.cart-button b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: #9b3ed1;
}
.shop-hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}
.shop-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #08060aed 0, #08060ac7 53%, #08060a38),
    linear-gradient(0deg, #0a080d, transparent 45%);
}
.shop-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  margin: auto;
  padding-top: 90px;
}
.shop-hero-copy span {
  color: #cf85ef;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.shop-hero-copy h1 {
  max-width: 650px;
  margin: 8px 0 13px;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.07em;
}
.shop-hero-copy p {
  max-width: 510px;
  color: #d0c6d4;
  font-size: 16px;
}
.shop-hero-copy a {
  display: inline-flex;
  margin-top: 15px;
  padding: 13px 18px;
  border: 1px solid #624c6e;
  background: #130f17;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.store {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
  width: min(1180px, calc(100% - 44px));
  margin: 55px auto 110px;
}
.sidebar {
  align-self: start;
  position: sticky;
  top: 18px;
}
.sidebar-title {
  display: block;
  margin-bottom: 12px;
  color: #c977ee;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.17em;
}
.side-box {
  border-top: 3px solid #963bd0;
  background: #15111a;
}
.side-box h2 {
  margin: 0;
  padding: 18px 17px 8px;
  font-size: 18px;
}
.category-list {
  display: grid;
  padding: 7px 10px 13px;
}
.category-list button {
  display: flex;
  justify-content: space-between;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid #2d2532;
  background: none;
  color: #bdb3c2;
  text-align: left;
  cursor: pointer;
}
.category-list button.active {
  color: #fff;
}
.category-list b {
  font-size: 10px;
  color: #bf72e3;
}
.search {
  display: block;
  margin-top: 12px;
}
.search input {
  width: 100%;
  height: 43px;
  padding: 0 13px;
  border: 1px solid #3c3243;
  background: #100d14;
  color: #fff;
  outline: 0;
}
.discord-box {
  display: block;
  margin-top: 11px;
  padding: 16px;
  border-left: 3px solid #5865f2;
  background: #15111a;
  font-weight: 850;
}
.discord-box small {
  display: block;
  margin-top: 3px;
  color: #9c92a2;
  font-weight: 400;
}
.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.catalog-head h2 {
  margin: 6px 0 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.catalog-head p {
  max-width: 330px;
  color: #9e94a4;
  font-size: 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.product {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  border: 1px solid #312a37;
  background: #15111a;
  box-shadow: 7px 7px 0 #09070b;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.product:hover {
  transform: translate(-2px, -2px);
  border-color: #704e7e;
}
.product-icon {
  position: relative;
  display: grid;
  place-items: center;
  height: 235px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 115%, #7e3597 0, transparent 52%),
    linear-gradient(145deg, #22152c, #0d0a11);
}
.product:nth-child(4n + 2) .product-icon {
  background:
    radial-gradient(circle at 50% 115%, #9c5e24 0, transparent 54%),
    linear-gradient(145deg, #2b2115, #0d0a11);
}
.product:nth-child(4n + 3) .product-icon {
  background:
    radial-gradient(circle at 50% 115%, #276c75 0, transparent 54%),
    linear-gradient(145deg, #14292c, #0d0a11);
}
.product-icon:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49%, #ffffff08 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, #ffffff08 50%, transparent 51%);
  background-size: 22px 22px;
}
.product-icon img {
  position: relative;
  z-index: 1;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px #0008);
}
.product-tag {
  display: block;
  margin: 18px 18px 0;
  color: #bd6ce0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.product h3 {
  margin: 7px 18px;
  font-size: 23px;
}
.product p {
  min-height: 42px;
  margin: 0 18px;
  color: #9f95a5;
  font-size: 13px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 16px 18px;
}
.price strong {
  font-size: 21px;
}
.price del {
  color: #806f84;
  font-size: 11px;
}
.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin: auto 18px 18px;
}
.product-actions button {
  height: 41px;
  padding: 0 13px;
  border: 1px solid #413649;
  background: #1d1723;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}
.product-actions .add {
  border-color: #a149d0;
  background: #9036c4;
}
.empty {
  grid-column: 1/-1;
  padding: 60px;
  border: 1px solid #302936;
  text-align: center;
  color: #9f95a5;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 35px max(20px, calc((100% - 1180px) / 2));
  border-top: 1px solid #28212d;
  color: #817887;
  font-size: 10px;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 29;
  background: #09070bbd;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cart {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(450px, 100%);
  height: 100dvh;
  padding: 20px;
  border-left: 1px solid #3b3044;
  background: #0e0a13;
  color: #fff;
  transform: translateX(102%);
  transition: 0.24s;
}
.cart.open {
  transform: none;
}
.cart header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #342a3d;
}
.cart header span {
  color: #b76ed9;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}
.cart h2 {
  margin: 4px 0;
}
.cart header button,
.dialog-close {
  width: 35px;
  height: 35px;
  border: 1px solid #473a50;
  background: none;
  color: #fff;
  cursor: pointer;
}
.cart-items {
  flex: 1;
  overflow: auto;
}
.cart-empty {
  padding: 45px 5px;
  color: #958a9c;
  text-align: center;
}
.cart-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #2b2331;
  font-size: 12px;
}
.mini-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #211728;
}
.mini-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-item small {
  display: block;
  color: #94899a;
}
.cart-item button {
  border: 0;
  background: none;
  color: #df7d92;
  font-size: 10px;
}
.login-box {
  padding: 14px;
  border: 1px solid #3a3042;
}
.login-box label {
  display: grid;
  gap: 7px;
  font-size: 10px;
}
.login-box input,
.coupon input {
  height: 39px;
  padding: 0 11px;
  border: 1px solid #493a53;
  background: #0b0810;
  color: #fff;
}
.login-box small {
  color: #817587;
}
.coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin: 8px 0;
}
.coupon button {
  border: 1px solid #493a53;
  background: #1b1520;
  color: #fff;
}
.totals {
  display: grid;
  gap: 8px;
  padding: 13px 0;
}
.totals span {
  display: flex;
  justify-content: space-between;
  color: #a99eaf;
  font-size: 11px;
}
.totals .total {
  color: #fff;
  font-size: 15px;
}
.checkout {
  height: 44px;
  border: 0;
  background: #9239c5;
  color: #fff;
  font-weight: 850;
}
.checkout:disabled {
  background: #2c2332;
  color: #6e6374;
}
.checkout-note {
  text-align: center;
  color: #796e80;
  font-size: 9px;
}
dialog {
  width: min(450px, calc(100% - 28px));
  padding: 25px;
  border: 1px solid #493c51;
  background: #17121c;
  color: #fff;
}
dialog::backdrop {
  background: #09070bd9;
}
.dialog-close {
  float: right;
}
.dialog-product {
  clear: both;
  text-align: center;
}
.dialog-product .product-icon {
  height: 230px;
  margin-bottom: 19px;
}
.dialog-product p {
  color: #aaa0af;
}
.toast {
  position: fixed;
  z-index: 50;
  bottom: 20px;
  left: 50%;
  padding: 11px 15px;
  border-left: 3px solid #af53df;
  background: #17121c;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mobile-store-nav {
  display: none;
}
.store-helper {
  position: fixed;
  z-index: 10;
  right: 18px;
  bottom: 0;
  width: 205px;
  pointer-events: none;
}
.store-helper img {
  width: 120px;
  max-height: 290px;
  margin-left: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 8px 18px #000);
}
.helper-bubble {
  position: relative;
  padding: 13px 14px;
  border: 1px solid #624e6d;
  background: #15111af2;
  box-shadow: 0 14px 35px #0007;
  pointer-events: auto;
}
.helper-bubble p {
  margin: 0 0 8px;
  color: #d9d0dc;
  font-size: 11px;
}
.helper-bubble a {
  color: #d07ef2;
  font-size: 10px;
  font-weight: 850;
}
.helper-close {
  position: absolute;
  top: 5px;
  right: 6px;
  border: 0;
  background: none;
  color: #817587;
  cursor: pointer;
}
.store-helper.closed {
  display: none;
}
@media (max-width: 950px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .shop-nav nav {
    display: none;
  }
  .shop-hero {
    min-height: 390px;
  }
  .store {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .catalog-head {
    display: block;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-helper {
    width: 150px;
    right: 9px;
  }
  .store-helper img {
    width: 78px;
  }
  .helper-bubble p {
    font-size: 10px;
  }
  body {
    padding-bottom: 66px;
  }
  .mobile-store-nav {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #493a53;
    background: #0b0810f2;
    backdrop-filter: blur(14px);
  }
  .mobile-store-nav a,
  .mobile-store-nav button {
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 6px;
    border: 0;
    border-right: 1px solid #2b2331;
    background: transparent;
    color: #d8cfdd;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
  }
  .mobile-store-nav b {
    color: #d38df4;
  }
}
@media (max-width: 500px) {
  .shop-nav {
    padding: 0 14px;
  }
  .shop-brand span {
    font-size: 10px;
  }
  .shop-hero-copy {
    width: calc(100% - 30px);
  }
  .store {
    width: calc(100% - 30px);
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-icon {
    height: 250px;
  }
  .store-helper {
    width: 130px;
  }
  .helper-bubble {
    padding: 11px;
  }
  .helper-bubble p {
    padding-right: 10px;
  }
  .store-helper img {
    width: 65px;
  }
  footer {
    flex-direction: column;
    gap: 7px;
  }
}
