:root {
  --bg: #08060f;
  --surface: rgba(17, 12, 28, 0.82);
  --surface-solid: #100b1a;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f7f3fb;
  --muted: #a49dac;
  --purple: #a751ff;
  --purple-light: #c88cff;
  --green: #69e4a5;
  --amber: #f0b75a;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(rgba(8, 6, 15, .83), rgba(8, 6, 15, .97)), url("/assets/x-marketplace-banner.png") center top / cover no-repeat;
  content: "";
}
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3, .wordmark { font-family: "Syne", system-ui, sans-serif; }
.page-shell, .nav-shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 15px; z-index: 100; padding: 10px 15px; border-radius: 8px; background: white; color: #111; }
.skip-link:focus { top: 15px; }

.navbar { position: fixed; top: 0; z-index: 50; width: 100%; border-bottom: 1px solid transparent; transition: .25s ease; }
.navbar.scrolled { border-color: var(--line); background: rgba(8, 6, 15, .76); backdrop-filter: blur(20px); }
.nav-shell { display: grid; height: 80px; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: 19px; font-weight: 700; letter-spacing: -.05em; }
.wordmark-x { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(202,139,255,.36); border-radius: 13px; background: linear-gradient(145deg, rgba(190,105,255,.28), rgba(71,20,128,.72)); box-shadow: 0 8px 28px rgba(126,42,220,.3), inset 0 1px rgba(255,255,255,.22); color: #dba9ff; transform: rotate(-4deg); }
.wordmark-x svg { width: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2.8; filter: drop-shadow(0 0 6px rgba(190,105,255,.8)); }
.nav-links { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(13,9,21,.62); backdrop-filter: blur(12px); }
.nav-links a { position: relative; padding: 8px 17px; border-radius: 999px; color: #a9a1b2; font-size: 12px; font-weight: 600; transition: .2s; }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.075); color: white; }
.nav-links a:not(:last-child)::after { position: absolute; right: -3px; color: #48404f; content: "·"; }
.discord-button { display: inline-flex; min-height: 39px; align-items: center; gap: 8px; justify-self: end; padding: 0 15px; border: 1px solid rgba(152,126,255,.35); border-radius: 10px; background: rgba(88,101,242,.12); color: #dddfff; font-size: 11px; font-weight: 700; transition: .2s; }
.discord-button:hover { border-color: rgba(152,126,255,.7); background: rgba(88,101,242,.24); transform: translateY(-1px); }
.discord-button svg { width: 17px; fill: currentColor; }
.mobile-discord-link { display: none; }
.menu-button { display: none; }

.hero { padding: 135px 0 64px; }
.hero-card { position: relative; display: grid; min-height: 430px; grid-template-columns: .92fr 1.08fr; overflow: hidden; border: 1px solid rgba(207,157,255,.24); border-radius: 30px; background: linear-gradient(135deg, rgba(23,14,38,.94), rgba(9,6,15,.86)); box-shadow: 0 45px 120px rgba(0,0,0,.5), 0 0 70px rgba(128,42,219,.08); backdrop-filter: blur(18px); }
.hero-card::before { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px rgba(255,255,255,.07); content: ""; pointer-events: none; }
.hero-copy { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: 58px 64px; }
.kicker { display: flex; align-items: center; gap: 9px; color: #b7aec1; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.kicker span { width: 26px; height: 1px; background: var(--purple-light); box-shadow: 0 0 8px var(--purple); }
.hero h1 { margin-bottom: 18px; font-size: clamp(38px, 4.7vw, 62px); line-height: 1; letter-spacing: -.065em; }
.hero blockquote { max-width: 610px; margin-bottom: 27px; color: #b6afbd; font-size: 15px; line-height: 1.75; }
.hero-copy > .catalog-button { display: inline-flex; min-height: 44px; align-items: center; padding: 0 20px; border: 1px solid rgba(195,127,255,.34); border-radius: 10px; background: linear-gradient(135deg, rgba(166,76,247,.22), rgba(104,43,176,.14)); box-shadow: inset 0 1px rgba(255,255,255,.08); font-size: 11px; font-weight: 700; transition: .2s; }
.hero-copy > .catalog-button:hover { border-color: rgba(205,147,255,.65); background: linear-gradient(135deg, rgba(175,86,255,.34), rgba(111,49,188,.22)); transform: translateY(-2px); }
.hero-showcase { position: relative; min-width: 0; overflow: hidden; border-left: 1px solid var(--line); background: #09060f; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.035); transition: opacity .8s ease, transform 5.8s ease; }
.hero-slide::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,4,12,.75), transparent 48%), linear-gradient(90deg, rgba(8,5,14,.16), transparent); content: ""; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-footer { position: absolute; right: 23px; bottom: 20px; left: 23px; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.hero-slide-footer > span { font-family: "Syne", sans-serif; font-size: 13px; font-weight: 700; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 18px; height: 3px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.32); cursor: pointer; transition: .25s; }
.hero-dots button.active { width: 30px; background: var(--purple-light); box-shadow: 0 0 9px rgba(197,132,255,.7); }
.hero-art { position: relative; overflow: hidden; border-left: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, rgba(153,58,255,.22), transparent 55%); }
.hero-art::before { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 25%, rgba(199,116,255,.06)); content: ""; }
.orb { position: absolute; border-radius: 50%; filter: blur(28px); }
.orb-one { top: -50px; right: -50px; width: 230px; height: 230px; background: rgba(172,71,255,.24); }
.orb-two { bottom: -90px; left: 25px; width: 260px; height: 260px; background: rgba(89,34,199,.2); }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(205,151,255,.2); border-radius: 50%; transform: translate(-50%,-50%) rotate(-20deg); }
.orbit-one { width: 340px; height: 190px; }
.orbit-two { width: 250px; height: 310px; transform: translate(-50%,-50%) rotate(35deg); }
.glass-x { position: absolute; top: 50%; left: 50%; color: rgba(211,153,255,.9); font-family: "Syne", sans-serif; font-size: 170px; font-weight: 800; line-height: 1; text-shadow: 0 0 24px rgba(170,71,255,.75), 0 0 70px rgba(121,33,221,.7); transform: translate(-50%,-52%); }
.status-chip { position: absolute; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(8,6,15,.68); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.status-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.art-code { position: absolute; bottom: 29px; left: 22px; color: #776c82; font-family: monospace; font-size: 9px; letter-spacing: .14em; }

.products-section { padding: 82px 0 115px; }
.section-title { text-align: center; }
.section-title > p:first-child { display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: 15px; color: #8e8498; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section-title > p:first-child span { width: 30px; height: 1px; background: #514959; }
.section-title h2 { margin-bottom: 14px; font-size: clamp(44px, 6vw, 70px); line-height: 1; letter-spacing: -.065em; }
.section-intro { color: var(--muted); font-size: 13px; }
.search-wrap { position: relative; display: flex; max-width: 630px; height: 56px; align-items: center; margin: 38px auto 46px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(15,10,24,.8); box-shadow: 0 18px 50px rgba(0,0,0,.22); backdrop-filter: blur(14px); }
.search-wrap:focus-within { border-color: rgba(188,116,255,.58); box-shadow: 0 0 0 3px rgba(167,81,255,.08), 0 18px 50px rgba(0,0,0,.25); }
.search-wrap svg { width: 19px; margin-left: 19px; fill: none; stroke: #857b8e; stroke-linecap: round; stroke-width: 1.6; }
.search-wrap input { width: 100%; height: 100%; padding: 0 18px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-wrap input::placeholder { color: #726a79; }
.search-wrap kbd { margin-right: 14px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.04); color: #706878; font-family: monospace; font-size: 9px; }
.products-section > .page-shell { width: min(calc(100% - 40px), 1440px); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 460px)); justify-content: center; gap: 18px; }
.product-card { display: block; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: rgba(14,9,23,.84); box-shadow: 0 22px 50px rgba(0,0,0,.18); transition: transform .25s, border-color .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(184,108,255,.32); box-shadow: 0 30px 65px rgba(0,0,0,.35); }
.product-card[hidden] { display: none; }
.product-image { position: relative; width: 100%; aspect-ratio: 46 / 30; overflow: hidden; border-bottom: 1px solid var(--line); background: #0a0710; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-image-two { --icon: #8baaff; --glow: rgba(63,91,255,.2); }
.product-image-three { --icon: #ef8cff; --glow: rgba(224,72,255,.17); }
.product-image-four { --icon: #8eebe0; --glow: rgba(64,213,195,.15); }
.product-image-five { --icon: #e7b0ff; --glow: rgba(157,70,255,.18); }
.product-image-six { --icon: #b598ff; --glow: rgba(99,66,220,.2); }
.image-label { position: absolute; top: 13px; left: 14px; z-index: 2; color: #665d6d; font-family: monospace; font-size: 8px; letter-spacing: .12em; }
.product-info { display: flex; min-width: 0; min-height: 132px; flex-direction: column; padding: 21px 22px 20px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: #786f80; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.stock { position: relative; padding-left: 10px; font-style: normal; }
.stock::before { position: absolute; top: 50%; left: 0; width: 5px; height: 5px; border-radius: 50%; content: ""; transform: translateY(-50%); }
.in-stock { color: #77cda1; }.in-stock::before { background: var(--green); box-shadow: 0 0 6px var(--green); }
.low-stock { color: #caa265; }.low-stock::before { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.product-info h3 { margin-bottom: 19px; font-size: 22px; letter-spacing: -.04em; }
.product-info p { margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.product-action { position: relative; display: flex; width: 100%; min-height: 43px; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 8px 0 15px; overflow: hidden; border: 1px solid rgba(188,120,255,.32); border-radius: 10px; background: linear-gradient(110deg, rgba(142,52,225,.2), rgba(93,31,159,.08)); box-shadow: inset 0 1px rgba(255,255,255,.06); color: #f5edfb; cursor: pointer; font: inherit; font-size: 10px; font-weight: 700; transition: .22s; }
.product-action::before { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.08), transparent 80%); content: ""; transform: translateX(-110%); transition: transform .5s; }
.product-action:hover { border-color: rgba(205,143,255,.7); background: linear-gradient(110deg, rgba(159,65,243,.3), rgba(104,36,176,.16)); box-shadow: 0 10px 28px rgba(103,29,179,.18), inset 0 1px rgba(255,255,255,.1); transform: translateY(-2px); }
.product-action:hover::before { transform: translateX(110%); }
.product-action span { position: relative; z-index: 1; }
.product-action i { position: relative; z-index: 1; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(217,171,255,.24); border-radius: 7px; background: rgba(190,112,255,.13); color: #d6a0ff; font-family: "Syne", sans-serif; font-size: 9px; font-style: normal; }
.no-results { padding: 50px 20px; border: 1px dashed var(--line-strong); border-radius: 18px; color: var(--muted); text-align: center; }

.duration-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.duration-modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(4,2,8,.8); backdrop-filter: blur(12px); cursor: default; }
.duration-dialog { position: relative; z-index: 1; width: min(100%, 560px); padding: 38px; border: 1px solid rgba(200,140,255,.28); border-radius: 24px; background: linear-gradient(145deg, #171023, #0d0915); box-shadow: 0 35px 110px rgba(0,0,0,.68), 0 0 70px rgba(136,45,224,.13); }
.duration-dialog h2 { margin-bottom: 10px; font-size: 38px; letter-spacing: -.055em; }
.duration-dialog > p:not(.kicker) { margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.modal-close { position: absolute; top: 16px; right: 16px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.04); color: #a9a0b2; cursor: pointer; font-size: 20px; }
.duration-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.duration-options a { display: flex; min-height: 116px; align-items: center; justify-content: space-between; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); transition: .22s; }
.duration-options a:hover { border-color: rgba(198,132,255,.54); background: rgba(152,62,235,.1); transform: translateY(-3px); }
.duration-options span { display: flex; flex-direction: column; }
.duration-options strong { font-family: "Syne", sans-serif; font-size: 18px; }
.duration-options small { margin-top: 5px; color: #7f7588; font-size: 9px; }
.duration-options i { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(197,130,255,.22); border-radius: 50%; color: var(--purple-light); font-family: monospace; font-size: 10px; font-style: normal; }
body.modal-open { overflow: hidden; }

.reviews-section { padding: 110px 0; border-top: 1px solid var(--line); background: rgba(9,6,15,.66); backdrop-filter: blur(12px); }
.reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 42px; }
.reviews-heading h2 { margin-bottom: 0; font-size: clamp(40px, 5vw, 62px); line-height: 1; letter-spacing: -.06em; }
.reviews-heading > p { max-width: 450px; margin-bottom: 2px; color: #827989; font-size: 11px; line-height: 1.65; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.review-card { display: flex; min-height: 285px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(18,12,29,.72); transition: opacity .3s, transform .3s; }
.featured-review { border-color: rgba(178,102,255,.28); background: linear-gradient(145deg, rgba(135,49,224,.13), rgba(18,12,29,.74)); }
.review-rating { color: #bf7fff; font-size: 11px; letter-spacing: 2px; }
.review-card.is-changing { opacity: .2; transform: translateY(5px); }
.sample-tag { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: #807688; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.stars { color: #bf7fff; font-size: 11px; letter-spacing: 2px; }
.review-card blockquote { flex: 1; margin: 42px 0 30px; color: #cdc6d3; font-size: 13px; line-height: 1.75; }
.review-author { display: flex; align-items: center; gap: 11px; }
.review-author > span { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(190,119,255,.25); border-radius: 10px; background: rgba(162,75,255,.1); color: var(--purple-light); font-family: "Syne", sans-serif; font-size: 10px; font-weight: 700; }
.review-author div { display: flex; flex-direction: column; }
.review-author strong { font-size: 11px; }.review-author small { color: #776e7e; font-size: 9px; }

footer { padding: 40px 0; border-top: 1px solid var(--line); background: #08060f; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; color: #665e6d; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 460px)); }
}

@media (max-width: 940px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  .discord-button { display: none; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-showcase { min-height: 360px; border-top: 1px solid var(--line); border-left: 0; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (max-width: 680px) {
  .page-shell, .nav-shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-shell { height: 70px; }
  .menu-button { display: grid; width: 42px; height: 42px; place-content: center; gap: 6px; justify-self: end; border: 0; background: none; }
  .menu-button i { display: block; width: 22px; height: 1px; background: white; transition: transform .2s; }
  .menu-button[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { position: absolute; top: 70px; left: 14px; right: 14px; display: none; align-items: stretch; flex-direction: column; padding: 10px; border-radius: 15px; background: rgba(10,7,17,.97); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 13px; }
  .nav-links a::after { display: none; }
  .nav-links .mobile-discord-link { display: block; color: #c9ccff; }
  .hero { padding-top: 105px; }
  .hero-copy { padding: 42px 25px; }
  .hero-showcase { min-height: 280px; }
  .glass-x { font-size: 130px; }
  .products-section, .reviews-section { padding: 80px 0; }
  .product-grid, .reviews-grid { grid-template-columns: minmax(0, 460px); }
  .product-image { height: auto; }
  .product-info { padding: 18px 20px; }
  .search-wrap kbd { display: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .duration-dialog { padding: 32px 20px 22px; }
  .duration-dialog h2 { font-size: 32px; }
  .duration-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 4px; }
