:root {
  color-scheme: dark;
  --bg: #110b1c;
  --ink: #fbf6ff;
  --muted: #d2c2e0;
  --line: #3a2b4b;
  --accent: #d7a2ff;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #f1c8ff; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.skip { position: absolute; inset: 1rem auto auto 1rem; padding: .7rem 1rem; background: var(--bg); transform: translateY(-160%); z-index: 2; }
.skip:focus { transform: none; }
.site-header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
nav { display: flex; gap: clamp(.9rem, 3vw, 2rem); flex-wrap: wrap; }
nav a { color: var(--muted); font-size: .92rem; text-decoration: none; }
nav a:hover { color: var(--ink); text-decoration: underline; }
.wordmark { font-weight: 950; letter-spacing: .11em; white-space: nowrap; text-decoration: none; }
.wordmark span { color: var(--accent); margin-inline-start: .4em; font-size: .8em; }
.live-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .72rem; border: 1px solid #b75270; border-radius: 2rem; background: #48192a; color: #fff2f5; font-size: .9rem; font-weight: 800; white-space: nowrap; text-decoration: none; }
.live-badge::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #ff7193; }
.live-badge:hover { background: #65203a; text-decoration: underline; }
@media (max-width: 43rem) {
  .site-header:has(.live-badge:not([hidden])) { display: grid; grid-template-columns: 1fr auto; }
  .site-header:has(.live-badge:not([hidden])) nav { grid-area: 2 / 1 / 3 / 3; justify-content: flex-start; }
  .live-badge { grid-area: 1 / 2; }
}
.hero {
  text-align: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 16%, #8024cc35, transparent 55%),
    repeating-linear-gradient(135deg, #f7d5ff07 0 1px, transparent 1px 29px),
    linear-gradient(160deg, #160d22, #241438 53%, #100c19);
}
.hero-inner { display: grid; justify-items: center; padding-block: clamp(3.75rem, 9vw, 7.25rem); }
.hero-logo { display: block; width: min(100%, 41rem); height: auto; filter: drop-shadow(0 1.4rem 1.5rem #08030fbe); margin-bottom: 1.4rem; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 900; letter-spacing: -.05em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.035em; }
p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.hero p { max-width: 31rem; margin-block: .9rem 1.65rem; font-size: 1.125rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .62rem; min-height: 2.85rem; padding: .7rem 1rem; font: inherit; font-weight: 750; border-radius: .6rem; text-decoration: none; cursor: pointer; }
.primary { background: #bd82ff; color: #180b27; padding-inline: 1.45rem; border: 1px solid #dec0ff; box-shadow: 0 .5rem 2rem #ac53ff45; min-height: 3.35rem; }
.primary:hover { background: #d6b3ff; }
.play { width: .75rem; height: .85rem; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.handle { color: var(--muted); font-size: .9rem; margin-top: .8rem; }
.chronicle-inner { display: grid; align-items: center; gap: clamp(1.7rem, 6vw, 4.5rem); padding-block: clamp(2.75rem, 7vw, 5rem); }
.social { padding-block: clamp(2.75rem, 7vw, 5rem); }
.social-copy { margin-bottom: 1.5rem; }
.eyebrow { display: inline-block; color: var(--accent); font-size: .88rem; font-weight: 780; letter-spacing: .09em; margin-bottom: .7rem; }
.social-copy > p, .chronicle h2 + p { margin-block: .8rem 1.15rem; }
.secondary { color: var(--ink); background: #261836; border: 1px solid #5a4074; }
.secondary:hover { background: #3a2450; }
.post-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; overflow: hidden; border-radius: 1rem; border: 1px solid var(--line); background: linear-gradient(145deg, #2b183d, #181022); }
.post-card h3 { margin-bottom: .35rem; }
.chronicle { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 15% 60%, #3d2842, transparent 65%), #1b1322; }
.chronicle-inner { grid-template-columns: minmax(8rem, 15rem) 1fr; }
.chronicle img { display: block; width: 100%; height: auto; border-radius: 1.4rem; box-shadow: 0 1.1rem 2.6rem #08050e99; }
.chronicle .eyebrow { color: #e8c394; }
.features { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1rem; list-style: none; }
.features li { border: 1px solid #685044; border-radius: .45rem; padding: .35rem .55rem; font-size: .875rem; }
.trial { color: #ead2b9; }
.footer { padding-block: 1.6rem; }
@media (max-width: 43rem) {
  .wrap { width: min(100% - 2rem, 68rem); }
  .post-card, .chronicle-inner { grid-template-columns: minmax(0, 1fr); }
  .chronicle img { width: min(43%, 10rem); }
}
@media (max-width: 24rem) {
  .site-header { align-items: flex-start; }
  .site-header nav { gap: .35rem; flex-direction: column; align-items: flex-end; text-align: right; }
}

.post-photo { display: block; width: 100%; height: auto; }
.post-body { min-width: 0; padding: clamp(1.2rem, 4vw, 2rem); }
.post-body p + p, .post-body h3 + p { margin-top: .65rem; }
.post-caption { min-height: 0; overflow: hidden; overflow-wrap: anywhere; }
.post-caption[data-truncated] { mask-image: linear-gradient(to bottom, #000 calc(100% - 1.1em), transparent); }
.post-caption-text { white-space: pre-wrap; }
.post-link { display: inline-block; color: #e8caff; text-underline-offset: .22em; }
.post-body > .post-link { justify-self: start; margin-top: .85rem; }
@media (width > 43rem) {
  .post-body { align-self: stretch; contain: size; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
}
@media (width <= 43rem) {
  .post-caption { max-height: 13.2rem; }
}
.store {
  border-top: 1px solid #57346f;
  background:
    radial-gradient(ellipse at 50% 4%, #793cbb52, transparent 60%),
    repeating-linear-gradient(132deg, #bc92ed12 0 1px, transparent 1px 17px),
    repeating-linear-gradient(48deg, #e0baff09 0 1px, transparent 1px 17px),
    #190f24;
}
.store-inner { padding-block: clamp(2.75rem, 7vw, 5rem); text-align: center; }
.store-brand { display: grid; justify-items: center; gap: .32rem; margin-inline: auto; width: fit-content; max-width: 100%; }
.store-brand img { display: block; width: min(76vw, 24rem); max-width: 100%; height: auto; filter: drop-shadow(0 .7rem .6rem #09030de0); }
.store-brand span {
  display: block;
  padding-inline: .14em;
  color: #f6e3ff;
  font-size: clamp(2.35rem, 8vw, 5rem);
  font-weight: 950;
  letter-spacing: .13em;
  line-height: 1.1;
  transform: skewX(-11deg);
  text-shadow: 0 .06em #a65be0, 0 .12em #69328f, 0 .19em .35em #08030e;
}
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; list-style: none; padding: 0; margin: 2rem 0; }
.product-grid li { display: grid; justify-items: center; grid-template-rows: auto 1fr auto; gap: .9rem; padding: 1rem; min-width: 0; border: 1px solid var(--line); border-radius: 1rem; background: #20152d; }
.product-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: .65rem; background: #f3f0f6; }
.product-grid h3 { font-size: 1.2rem; }
.store-action { min-width: min(100%, 15rem); }
@media (max-width: 43rem) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .site-header nav { justify-content: flex-end; row-gap: .4rem; }
}
@media (max-width: 32rem) {
  .product-grid { grid-template-columns: 1fr; }
}

.rewards { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 20% 0%, #51207755, transparent 75%), #1a1126; }
.rewards-inner { padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.rewards h2 { max-width: 22ch; font-size: clamp(2rem, 5vw, 3.55rem); }
.rewards p { max-width: 65ch; margin-top: .95rem; }
.rewards strong { color: var(--ink); }
.rewards-links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.discord-invite { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; padding: 1.15rem 1.35rem; border: 1px solid #4e3d75; border-radius: 1rem; background: linear-gradient(120deg, #2b1742, #1f1938); }
.discord-logos { display: flex; align-items: center; gap: .75rem; flex: none; }
.discord-benghis-logo { display: block; width: 7rem; height: auto; }
.discord-logo-circle { display: grid; place-items: center; width: 2.65rem; aspect-ratio: 1; border-radius: .75rem; background: #5865f2; }
.discord-logo-circle img { display: block; width: 1.55rem; height: auto; }
.discord-copy { flex: 1; }
.discord-copy h2 { font-size: 1.3rem; letter-spacing: -.025em; }
.discord-copy p { margin-top: .35rem; }
.discord-button { flex: none; background: #5865f2; color: #fff; }
.discord-button:hover { background: #4a55d3; }
@media (width <= 43rem) {
  .discord-invite { flex-wrap: wrap; gap: .85rem; }
  .discord-copy { flex-basis: 100%; }
}
.yarrr-emote { display: inline-block; width: auto; height: .93em; vertical-align: -.06em; }
