html { scroll-behavior: smooth; background: #101416; }
body { margin: 0; background: #101416; }

.shop-site {
  --shop-night: #101416;
  --shop-panel: #171d1f;
  --shop-paper: #f2f0eb;
  --shop-muted: #aaa7a0;
  --shop-gold: #d2ad68;
  --shop-rose: #b65d60;
  min-height: 100vh;
  overflow: hidden;
  color: var(--shop-paper);
  background:
    radial-gradient(circle at 78% 7%, rgba(147, 82, 85, .17), transparent 28rem),
    radial-gradient(circle at 12% 48%, rgba(210, 173, 104, .055), transparent 30rem),
    var(--shop-night);
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}
.shop-site * { box-sizing: border-box; }
.shop-site a { color: inherit; text-decoration: none; }
.shop-nav { position: absolute; inset: 0 0 auto; z-index: 10; width: min(1280px, calc(100% - 64px)); height: 92px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-bottom: 1px solid rgba(210, 173, 104, .15); }
.shop-brand { display: flex; align-items: center; gap: 12px; width: max-content; }
.shop-brand > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(210, 173, 104, .5); border-radius: 50%; color: var(--shop-gold); box-shadow: inset 0 0 18px rgba(182, 93, 96, .12); }
.shop-brand strong,.shop-brand small { display: block; }
.shop-brand strong { font-size: 12px; letter-spacing: .22em; }
.shop-brand small { margin-top: 4px; color: var(--shop-muted); font-size: 10px; letter-spacing: .28em; }
.shop-nav nav { display: flex; gap: 35px; }
.shop-nav nav a { color: var(--shop-muted); font-size: 11px; letter-spacing: .08em; transition: 180ms ease; }
.shop-nav nav a:hover { color: var(--shop-paper); }
.discord-pill { justify-self: end; display: flex; align-items: center; gap: 18px; padding: 12px 17px; border: 1px solid rgba(210, 173, 104, .35); border-radius: 99px; color: var(--shop-gold) !important; background: rgba(210, 173, 104, .05); font-size: 11px; font-weight: 800; letter-spacing: .08em; }

.shop-hero {
  position: relative;
  width: 100%;
  min-height: min(960px, 100vh);
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(5, 8, 9, .2) 0%, transparent 38%, rgba(5, 8, 9, .38) 100%),
    url("/assets/storefront-hero.png") center / cover no-repeat;
}
.shop-hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 38%; background: linear-gradient(0deg, var(--shop-night), transparent); pointer-events: none; }
.shop-grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.shop-hero-copy {
  position: absolute;
  left: max(32px, calc((100% - 1280px) / 2 + 32px));
  bottom: 42px;
  z-index: 2;
  width: min(680px, calc(100% - 64px));
  padding: 20px 22px;
  border: 1px solid rgba(210, 173, 104, .22);
  background: rgba(10, 14, 15, .72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .34);
  backdrop-filter: blur(14px);
}
.shop-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--shop-gold); font: 700 9px/1.4 ui-monospace, monospace; letter-spacing: .17em; }
.shop-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--shop-rose); box-shadow: 0 0 14px var(--shop-rose); animation: shop-pulse 2s ease-in-out infinite; }
.shop-visual-heading { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shop-hero-copy > p:not(.shop-kicker) { max-width: 610px; margin: 0; color: #d1cdc5; font-size: 12px; line-height: 1.8; }
.shop-hero-copy .shop-kicker { margin-bottom: 12px; }
.shop-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.shop-primary,.shop-secondary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 0 19px; border: 1px solid var(--shop-gold); font-size: 11px; font-weight: 850; letter-spacing: .09em; transition: 180ms ease; }
.shop-primary { width: 220px; color: #171d1f !important; background: var(--shop-gold); }
.shop-secondary { width: 190px; color: var(--shop-gold) !important; background: rgba(210, 173, 104, .035); }
.shop-primary:hover,.shop-secondary:hover { transform: translateY(-2px); box-shadow: 0 16px 45px rgba(5, 8, 9, .35); }
.shop-status { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #918d85; font: 700 8px/1 ui-monospace, monospace; letter-spacing: .14em; }
.shop-status span { color: var(--shop-gold); font-size: 13px; }
.shop-status i { width: 3px; height: 3px; border-radius: 50%; background: var(--shop-rose); }

.game-ticker { overflow: hidden; border-block: 1px solid rgba(210, 173, 104, .14); background: rgba(210, 173, 104, .03); transform: rotate(-1deg) scale(1.02); }
.game-ticker > div { width: max-content; display: flex; align-items: center; gap: 38px; padding: 17px 0; animation: shop-marquee 26s linear infinite; }
.game-ticker span { color: #d4cbc2; font: 750 10px/1 ui-monospace, monospace; letter-spacing: .18em; }
.game-ticker b { color: var(--shop-rose); font-size: 9px; }

.shop-about,.shop-games { position: relative; width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 145px 5vw; }
.shop-section-tag { position: absolute; left: 0; top: 153px; display: flex; gap: 10px; color: #77756f; font: 700 8px/1 ui-monospace, monospace; letter-spacing: .17em; transform: rotate(-90deg) translateX(-100%); transform-origin: top left; }
.shop-section-tag span { color: var(--shop-rose); }
.shop-about { display: grid; grid-template-columns: 1fr .8fr; gap: 7vw; align-items: start; }
.about-heading h2,.games-heading h2,.discord-cta h2 { margin: 0; font-size: clamp(44px, 5.8vw, 76px); line-height: 1.1; letter-spacing: -.06em; }
.about-heading h2 span,.games-heading h2 span,.discord-cta h2 span { color: var(--shop-rose); }
.about-copy { padding-top: 55px; }
.about-copy p { margin: 0 0 22px; color: var(--shop-muted); font-size: 13px; line-height: 1.95; }
.about-copy strong { color: var(--shop-paper); }
.night-quotes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 34px; border-top: 1px solid rgba(210, 173, 104, .13); }
.night-quotes span { padding: 10px 15px; border: 1px solid rgba(210, 173, 104, .16); border-radius: 99px; color: #9a958d; background: rgba(210, 173, 104, .025); font-size: 10px; }

.shop-services { width: min(1180px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(210, 173, 104, .13); }
.shop-services article { position: relative; min-height: 260px; padding: 28px; border-right: 1px solid rgba(210, 173, 104, .13); background: #13191b; transition: 180ms ease; }
.shop-services article:last-child { border-right: 0; }
.shop-services article:hover { background: #1c2325; transform: translateY(-5px); }
.shop-services article > span { color: var(--shop-rose); font: 700 9px/1 ui-monospace, monospace; }
.shop-services article > i { position: absolute; right: 25px; top: 21px; color: var(--shop-gold); font-size: 25px; font-style: normal; }
.shop-services h3 { margin: 75px 0 13px; font-size: 22px; }
.shop-services p { margin: 0; color: #918d85; font-size: 11px; line-height: 1.75; }

.shop-games { padding-top: 155px; }
.games-heading { width: min(620px, 80%); }
.games-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 65px; border: 1px solid rgba(210, 173, 104, .13); }
.games-grid article { position: relative; min-height: 150px; display: grid; grid-template-columns: 38px 55px 1fr auto; align-items: center; gap: 15px; padding: 24px; border-right: 1px solid rgba(210, 173, 104, .13); border-bottom: 1px solid rgba(210, 173, 104, .13); background: rgba(23, 29, 31, .72); }
.games-grid article:nth-child(2n) { border-right: 0; }
.games-grid article:nth-child(n+3) { border-bottom: 0; }
.games-grid article > span { color: #65635e; font: 700 8px/1 ui-monospace, monospace; }
.games-grid article > b { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(210, 173, 104, .22); border-radius: 50%; color: var(--shop-gold); font: 700 10px/1 ui-monospace, monospace; }
.games-grid h3 { margin: 0; font-size: 13px; letter-spacing: .06em; }
.games-grid p { margin: 7px 0 0; color: #817d76; font-size: 9px; }
.games-grid article > i { color: var(--shop-rose); font-style: normal; }

.discord-cta { position: relative; width: min(1180px, calc(100% - 64px)); min-height: 600px; margin: 10px auto 0; padding: 125px 5vw; overflow: hidden; text-align: center; border: 1px solid rgba(210, 173, 104, .14); background: radial-gradient(circle at 50% 44%, rgba(147, 82, 85, .15), transparent 25rem), #13191b; }
.discord-cta .shop-kicker { justify-content: center; }
.discord-cta > p:not(.shop-kicker) { max-width: 580px; margin: 27px auto 0; color: var(--shop-muted); font-size: 12px; line-height: 1.8; }
.discord-cta > a { position: relative; z-index: 2; width: 250px; min-height: 60px; margin: 40px auto 0; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; color: #171d1f; background: var(--shop-gold); font-size: 11px; font-weight: 850; letter-spacing: .08em; transition: 180ms ease; }
.discord-cta > a:hover { transform: translateY(-2px); background: #e0c17c; }
.cta-orbits { position: absolute; left: 50%; top: 50%; width: 570px; height: 570px; border: 1px solid rgba(210, 173, 104, .07); border-radius: 50%; transform: translate(-50%, -50%); animation: shop-spin 34s linear infinite; }
.cta-orbits::before,.cta-orbits::after { content: ""; position: absolute; border: 1px solid rgba(210, 173, 104, .06); border-radius: 50%; }
.cta-orbits::before { inset: 65px; }.cta-orbits::after { inset: 135px; }
.cta-orbits i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--shop-rose); box-shadow: 0 0 12px var(--shop-rose); }
.cta-orbits i:nth-child(1) { left: 5%; top: 35%; }.cta-orbits i:nth-child(2) { right: 12%; bottom: 15%; }.cta-orbits i:nth-child(3) { right: 2%; top: 48%; background: var(--shop-gold); }

.shop-footer { width: min(1280px, calc(100% - 64px)); min-height: 175px; margin: 0 auto; padding: 45px 0; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid rgba(210, 173, 104, .14); }
.shop-footer > p { margin: 0; color: #817d76; text-align: center; font-size: 10px; }
.shop-footer > div { justify-self: end; display: flex; gap: 24px; }
.shop-footer > div a { color: #77756f; font: 700 8px/1 ui-monospace, monospace; letter-spacing: .13em; }
.shop-footer > div a:hover { color: var(--shop-gold); }

@keyframes shop-spin { to { transform: rotate(360deg); } }
@keyframes shop-marquee { to { transform: translateX(-50%); } }
@keyframes shop-pulse { 50% { opacity: .35; transform: scale(.75); } }

@media (max-width: 900px) {
  .shop-nav { width: min(100% - 34px, 1280px); grid-template-columns: 1fr auto; }
  .shop-nav nav { display: none; }
  .shop-hero { min-height: 820px; background-position: 62% center; }
  .shop-hero-copy { left: 17px; bottom: 24px; width: calc(100% - 34px); }
  .shop-about { grid-template-columns: 1fr; gap: 10px; }
  .about-copy { padding-top: 20px; }
  .shop-section-tag { display: none; }
  .shop-about,.shop-games,.shop-services,.discord-cta,.shop-footer { width: min(100% - 34px, 1180px); }
  .shop-services { grid-template-columns: 1fr; }
  .shop-services article { min-height: 210px; border-right: 0; border-bottom: 1px solid rgba(210, 173, 104, .13); }
  .shop-services article:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
  .shop-nav { height: 78px; }.shop-brand small { display: none; }.discord-pill { gap: 8px; padding: 10px 12px; }
  .shop-hero { min-height: 780px; background-position: 72% center; }
  .shop-visual-heading { position: static; width: auto; height: auto; margin: 0 0 12px; overflow: visible; clip: auto; white-space: normal; color: var(--shop-paper); font-size: clamp(32px, 10vw, 46px); line-height: 1.06; letter-spacing: -.06em; text-shadow: 0 3px 22px #000; }
  .shop-hero-copy > p:not(.shop-kicker) { font-size: 13px; }
  .shop-actions { align-items: stretch; flex-direction: column; }
  .shop-primary,.shop-secondary { width: 100%; max-width: 330px; }
  .shop-status { align-items: flex-start; flex-wrap: wrap; }
  .shop-about,.shop-games { padding: 95px 0; }
  .about-heading h2,.games-heading h2,.discord-cta h2 { font-size: clamp(40px, 12vw, 56px); }
  .games-heading { width: 100%; }
  .games-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .games-grid article { grid-template-columns: 30px 52px 1fr auto; border-right: 0; border-bottom: 1px solid rgba(210, 173, 104, .13) !important; }
  .games-grid article:last-child { border-bottom: 0 !important; }
  .discord-cta { min-height: 590px; padding: 95px 22px; }
  .discord-cta > a { width: 100%; max-width: 300px; }
  .shop-footer { grid-template-columns: 1fr; gap: 30px; }
  .shop-footer > p { text-align: left; }.shop-footer > div { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-site *,.shop-site *::before,.shop-site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
