:root {
  --bg: #060406;
  --bg-2: #0d0808;
  --panel: rgba(24, 14, 12, 0.78);
  --panel-2: rgba(35, 19, 14, 0.88);
  --line: rgba(255, 183, 94, 0.16);
  --line-2: rgba(255, 183, 94, 0.28);
  --text: #fff7ec;
  --muted: #bda78f;
  --soft: #7f6d5d;
  --brand: #ff6b1a;
  --brand-2: #ffb347;
  --brand-3: #dc2626;
  --blue: #5865f2;
  --green: #22c55e;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 126px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 107, 26, 0.13), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(88, 101, 242, 0.13), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(34, 197, 94, 0.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/ember-forge-bg.png") center top / cover no-repeat;
  opacity: 0.065;
  pointer-events: none;
}

#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}

.promo-strip {
  position: sticky;
  top: 0;
  z-index: 150;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 14px;
  background: linear-gradient(90deg, rgba(255, 107, 26, 0.22), rgba(88, 101, 242, 0.17));
  border-bottom: 1px solid var(--line);
  color: var(--brand-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-strip strong {
  color: var(--text);
}

.site-nav {
  position: sticky;
  top: 34px;
  z-index: 140;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 0 28px;
  background: rgba(9, 5, 5, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 150px;
}

.brand-logo {
  width: auto;
  height: 62px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a,
.mobile-drawer a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-drawer a:hover,
.mobile-drawer a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.discord-link,
.cart-button,
.icon-btn,
.menu-button,
.secondary-btn,
.text-btn,
.close-btn {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 850;
  font-size: 0.82rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.discord-link {
  background: var(--blue);
  border-color: rgba(255, 255, 255, 0.12);
}

.cart-button strong {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #160604;
}

.menu-button {
  display: none;
}

.discord-link:hover,
.cart-button:hover,
.icon-btn:hover,
.menu-button:hover,
.secondary-btn:hover,
.close-btn:hover,
.text-btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.075);
}

.primary-btn,
.add-btn,
.login-modal button,
.floating-cart button,
.mini-bundle button,
.upsell-box button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #180705;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 34px rgba(255, 107, 26, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-btn:hover,
.add-btn:hover,
.login-modal button:hover,
.floating-cart button:hover,
.mini-bundle button:hover,
.upsell-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(255, 107, 26, 0.34);
}

.full {
  width: 100%;
}

.mobile-drawer {
  position: fixed;
  top: 106px;
  left: 12px;
  right: 12px;
  z-index: 130;
  display: none;
  flex-direction: column;
  padding: 10px;
  background: rgba(12, 7, 7, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-drawer.open {
  display: flex;
}

#app {
  min-height: 70vh;
}

.hero-section,
.page-hero,
.store-shell,
.stats-band,
.section-head,
.carousel-row,
.product-grid,
.offer-grid,
.activity-section,
.testimonial-grid,
.cta-grid,
.product-showcase,
.detail-grid,
.bundle-row,
.story-grid,
.timeline,
.team-grid,
.support-grid,
.faq-layout,
.news-grid,
.policy-layout,
.dashboard-grid,
.leaderboard,
.faq-group.standalone,
.cta-band {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.hero-section {
  min-height: calc(100vh - 106px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 34px;
  padding: 72px 0 48px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 16px;
  font-size: clamp(2.6rem, 6vw, 5.75rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-copy p,
.page-hero p {
  margin-top: 20px;
  max-width: 680px;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span,
.cart-trust span {
  padding: 8px 10px;
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: var(--radius);
  background: rgba(34, 197, 94, 0.07);
  color: #a7f3d0;
  font-size: 0.76rem;
  font-weight: 800;
}

.trust-row.block {
  align-items: flex-start;
}

.glass-card,
.hero-market-card,
.product-card,
.offer-card,
.info-card,
.support-card,
.news-card,
.stat-card,
.testimonial-grid article,
.dashboard-panel,
.policy-card,
.leaderboard,
.faq-group,
.mini-bundle {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
}

.hero-market-card {
  padding: 24px;
  min-height: 420px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  position: relative;
}

.hero-market-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.32), transparent 65%);
}

.market-top,
.goal-mini > div,
.cart-summary > div,
.offer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.market-top span,
.goal-mini span {
  color: var(--soft);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.12em;
}

.market-top strong {
  color: #a7f3d0;
}

.player-ring {
  width: 230px;
  height: 230px;
  margin: 24px auto;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle, rgba(255, 107, 26, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.035);
}

.player-ring span {
  display: block;
  font-size: 3.2rem;
  font-weight: 900;
}

.player-ring small {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 12px;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--green));
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.stat-card {
  padding: 18px;
}

.stat-card span {
  display: block;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.2rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 76px;
  margin-bottom: 18px;
}

.section-head p {
  margin-top: 8px;
}

.section-head a {
  color: var(--brand-2);
  font-weight: 900;
}

.carousel-row,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.carousel-row {
  overflow-x: auto;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  grid-template-columns: none;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.product-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.product-image {
  min-height: 190px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 107, 26, 0.2), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.product-image span,
.media-main span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--brand-2);
  background: rgba(255, 107, 26, 0.1);
  font-weight: 950;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-row {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.badge-row strong,
.featured-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--brand-2);
  color: #160604;
  font-size: 0.67rem;
  font-weight: 950;
  text-transform: uppercase;
}

.badge-row .sale {
  background: #fecaca;
  color: #7f1d1d;
}

.product-body {
  padding: 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-category {
  color: var(--brand-2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-body h3 {
  margin-top: 8px;
}

.product-body p {
  margin-top: 9px;
  min-height: 66px;
  font-size: 0.88rem;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.price-stack {
  display: grid;
  gap: 2px;
}

.price-stack s {
  color: var(--soft);
  font-size: 0.75rem;
}

.price-stack strong,
.product-price {
  font-size: 1.4rem;
  font-weight: 950;
}

.wishlist-btn {
  margin-top: 12px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-weight: 850;
}

.wishlist-btn.saved {
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, 0.35);
  background: rgba(88, 101, 242, 0.12);
}

.cta-band {
  margin-top: 62px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 107, 26, 0.14), rgba(88, 101, 242, 0.12)),
    rgba(255, 255, 255, 0.035);
}

.cta-band p {
  margin-top: 8px;
}

.offer-grid,
.story-grid,
.team-grid,
.support-grid,
.news-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.offer-card,
.info-card,
.support-card,
.news-card,
.dashboard-panel {
  padding: 20px;
}

.offer-card h3,
.info-card h2,
.support-card h2,
.news-card h2,
.dashboard-panel h2 {
  margin-top: 10px;
}

.offer-card p,
.info-card p,
.support-card p,
.news-card p,
.dashboard-panel p {
  margin-top: 10px;
}

.offer-meta {
  margin: 18px 0;
  color: var(--muted);
}

.activity-section {
  margin-top: 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.purchase-feed {
  display: grid;
  gap: 10px;
}

.purchase-feed div,
.leader-row,
.timeline article,
.mini-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.purchase-feed span,
.purchase-feed em,
.leader-row span,
.mini-product em {
  color: var(--muted);
  font-style: normal;
}

.testimonial-grid,
.cta-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.testimonial-grid article {
  padding: 20px;
}

.testimonial-grid strong,
.testimonial-grid span {
  display: block;
  margin-top: 12px;
}

.testimonial-grid span {
  color: var(--soft);
  font-size: 0.82rem;
}

.page-hero {
  padding: 76px 0 34px;
}

.page-hero.slim {
  min-height: 300px;
}

.page-hero.category-hero,
.page-hero.community-hero {
  min-height: 440px;
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.store-shell {
  display: grid;
  grid-template-columns: 286px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 60px;
}

.filter-panel {
  position: sticky;
  top: 124px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 8, 8, 0.86);
}

.filter-head,
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.category-pill {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 900;
  text-align: left;
}

.category-pill span {
  color: var(--soft);
}

.category-pill.active {
  border-color: var(--brand);
  background: rgba(255, 107, 26, 0.12);
}

.filter-block {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.filter-block.two {
  grid-template-columns: 1fr 1fr;
}

.filter-block label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
}

.filter-block input,
.search-input,
.select-input,
.hero-search,
.login-modal input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  padding: 0 12px;
}

.filter-block input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--brand);
}

.filter-block label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
}

.secure-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: var(--radius);
  background: rgba(34, 197, 94, 0.07);
}

.secure-box p {
  margin-top: 6px;
  font-size: 0.84rem;
}

.store-results {
  min-width: 0;
}

.toolbar {
  margin-bottom: 12px;
}

.toolbar-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px;
  gap: 10px;
  width: min(520px, 100%);
}

.result-meta {
  margin-bottom: 16px;
  color: var(--soft);
  font-weight: 800;
}

.product-showcase {
  padding: 60px 0 26px;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.product-media {
  padding: 16px;
}

.media-main {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 107, 26, 0.18), transparent 50%),
    rgba(255, 255, 255, 0.035);
}

.media-main span {
  width: 140px;
  height: 140px;
  font-size: 2.2rem;
}

.media-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.media-thumbs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-weight: 850;
}

.product-info {
  align-self: center;
}

.product-info p {
  margin-top: 18px;
  max-width: 680px;
  font-size: 1.05rem;
}

.product-price {
  margin-top: 22px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}

.detail-grid article {
  padding: 22px;
}

.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.review-card {
  margin-top: 12px;
  padding: 13px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.review-card span {
  display: block;
  margin-top: 4px;
  color: var(--brand-2);
  font-size: 0.78rem;
}

.bundle-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-bundle {
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.mini-bundle div,
.mini-product span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 107, 26, 0.12);
  color: var(--brand-2);
  font-weight: 950;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.support-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-group,
.faq-group.standalone {
  padding: 18px;
}

.faq-item {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 54px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  font-weight: 850;
}

.faq-item p {
  display: none;
  padding: 0 14px 14px;
}

.faq-item.open p {
  display: block;
}

.hero-search {
  max-width: 520px;
  margin-top: 20px;
}

.news-card span {
  color: var(--brand-2);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card small {
  display: block;
  margin-top: 18px;
  color: var(--soft);
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 124px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.policy-nav a {
  padding: 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 850;
}

.policy-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.policy-card {
  padding: 24px;
}

.policy-card h2 {
  margin-top: 22px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p {
  margin-top: 8px;
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reward-tier {
  display: grid;
  gap: 8px;
}

.mini-product {
  margin-top: 8px;
}

.mini-product strong {
  flex: 1;
}

.leaderboard {
  padding: 20px;
  margin-top: 18px;
}

.leader-row {
  margin-top: 10px;
}

.loading-shell {
  min-height: 60vh;
  display: grid;
  place-items: center;
}

.loading-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.floating-cart {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 120;
  transform: translate(-50%, 120%);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(9, 5, 5, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.floating-cart.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.floating-cart span {
  color: var(--muted);
  font-weight: 850;
}

.cart-overlay,
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.cart-overlay.open,
.login-overlay.open {
  display: block;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 220;
  width: min(460px, 100%);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  background: rgba(10, 6, 6, 0.98);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cart-panel.open {
  transform: translateX(0);
}

.panel-head {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.cart-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.cart-line > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 107, 26, 0.12);
  color: var(--brand-2);
  font-weight: 950;
}

.cart-line small {
  display: block;
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-controls button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.qty-controls em {
  color: var(--muted);
  font-style: normal;
  min-width: 20px;
  text-align: center;
}

.cart-empty {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.upsell-box {
  margin: 0 16px 16px;
}

.upsell-box:empty {
  display: none;
}

.upsell-box {
  padding: 14px;
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: var(--radius);
  background: rgba(88, 101, 242, 0.12);
}

.upsell-box p {
  margin: 6px 0 12px;
}

.cart-summary {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.cart-summary p {
  margin: 10px 0 14px;
  font-size: 0.84rem;
}

.login-overlay.open {
  display: grid;
  place-items: center;
  padding: 18px;
}

.login-modal {
  width: min(460px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 7, 7, 0.98);
  box-shadow: var(--shadow);
}

.login-modal p,
.login-modal label {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.login-modal input {
  margin-top: 8px;
}

.login-modal button {
  margin-top: 14px;
}

.toast-container {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 260;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100% - 36px));
}

.toast {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 7, 7, 0.96);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 800;
  animation: toastIn 0.22s ease both;
}

.toast.info {
  border-color: rgba(88, 101, 242, 0.36);
}

.toast.error {
  border-color: rgba(220, 38, 38, 0.44);
}

.toast.leaving {
  animation: toastOut 0.22s ease both;
}

.support-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 180;
  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #f97316);
  color: #fff7ec;
  box-shadow: 0 18px 46px rgba(255, 107, 26, 0.36);
  font-size: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.support-launcher::before,
.support-launcher::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.support-launcher::before {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.support-launcher::after {
  width: 13px;
  height: 13px;
  right: 18px;
  bottom: 17px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.support-launcher:hover {
  transform: translateY(-3px) scale(1.03);
}

.support-launcher.hidden,
.support-launcher[hidden],
.support-widget[hidden] {
  display: none;
}

.support-widget {
  position: fixed;
  right: 22px;
  bottom: 98px;
  z-index: 230;
  width: min(398px, calc(100vw - 24px));
  height: min(650px, calc(100vh - 126px));
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 26, 0.48);
  border-radius: 16px;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.support-widget.open {
  display: flex;
}

.support-top {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px 0;
  background:
    linear-gradient(135deg, rgba(255, 107, 26, 0.95), rgba(249, 115, 22, 0.92)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 8px, transparent 8px 16px);
}

.support-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(92, 36, 8, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.support-tabs button,
.support-close {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: transparent;
  color: #fff7ec;
  font-weight: 900;
}

.support-tabs button.active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(124, 45, 18, 0.28);
}

.support-close {
  position: absolute;
  right: 10px;
  top: 12px;
  width: 42px;
  padding: 0;
  font-size: 0;
}

.support-close::before,
.support-close::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  top: 17px;
  height: 2px;
  background: currentColor;
}

.support-close::before {
  transform: rotate(45deg);
}

.support-close::after {
  transform: rotate(-45deg);
}

.support-hero {
  padding: 6px 22px 18px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 107, 26, 0.95), rgba(249, 115, 22, 0.92)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 8px, transparent 8px 16px);
  color: #fff;
}

.support-avatars {
  display: flex;
  justify-content: center;
  margin: 4px 0 12px;
}

.support-avatars span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-left: -6px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 950;
}

.support-avatars span:first-child {
  margin-left: 0;
  background: #7c3aed;
}

.support-avatars span:nth-child(2) {
  background: #334155;
}

.support-avatars span:nth-child(3) {
  background: #f8fafc;
  color: #64748b;
}

.support-hero h2 {
  font-size: 1rem;
  letter-spacing: 0;
}

.support-hero p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #fff7ed;
  font-size: 0.88rem;
}

.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.support-pane {
  display: none;
  min-height: 0;
  flex: 1;
}

.support-pane.active {
  display: flex;
  flex-direction: column;
}

.support-thread {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agent-message,
.user-message {
  max-width: 84%;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.agent-message {
  align-self: flex-start;
  background: #eef2f7;
  color: #0f172a;
  border-top-left-radius: 4px;
}

.user-message {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #170704;
  border-top-right-radius: 4px;
  font-weight: 700;
}

.support-form {
  margin: 0 8px 8px;
  padding: 10px;
  border: 2px solid var(--brand);
  border-radius: 16px;
  background: #fff;
}

.support-form textarea {
  width: 100%;
  min-height: 76px;
  max-height: 140px;
  resize: vertical;
  border: 0;
  outline: none;
  color: #0f172a;
}

.support-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-form span {
  color: #94a3b8;
  font-size: 0.72rem;
}

.support-form button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #d1d5db;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 900;
}

.article-search {
  padding: 14px 14px 8px;
}

.article-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: #0f172a;
}

.support-articles {
  flex: 1;
  overflow: auto;
  padding: 8px 14px 16px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.support-article {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  color: #0f172a;
  text-align: left;
}

.support-article span {
  display: block;
  color: #f97316;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-article strong {
  display: block;
  margin-top: 4px;
}

.support-empty {
  padding: 18px;
  border-radius: 12px;
  background: #eef2f7;
  color: #64748b;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(10px); }
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 90px auto 0;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-top: 6px;
  max-width: 620px;
  font-size: 0.84rem;
}

.site-footer a {
  display: inline-flex;
  margin-top: 12px;
  margin-right: 12px;
  color: var(--brand-2);
  font-weight: 850;
  font-size: 0.84rem;
}

.site-footer img {
  max-width: 240px;
  opacity: 0.88;
}

@media (max-width: 1120px) {
  .site-nav {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-section,
  .product-showcase,
  .activity-section,
  .store-shell,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .policy-nav {
    position: static;
  }

  .stats-band,
  .carousel-row,
  .product-grid,
  .product-grid.compact,
  .offer-grid,
  .story-grid,
  .team-grid,
  .support-grid,
  .faq-layout,
  .news-grid,
  .dashboard-grid,
  .bundle-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  .promo-strip {
    justify-content: space-between;
    font-size: 0.64rem;
  }

  .site-nav {
    top: 34px;
    height: 64px;
    padding: 0 12px;
    gap: 10px;
  }

  .brand {
    min-width: 92px;
  }

  .brand-logo {
    height: 48px;
  }

  .discord-link,
  .icon-btn {
    display: none;
  }

  .cart-button,
  .menu-button {
    min-height: 38px;
    padding: 0 10px;
  }

  .mobile-drawer {
    top: 98px;
  }

  .hero-section,
  .page-hero,
  .store-shell,
  .stats-band,
  .section-head,
  .carousel-row,
  .product-grid,
  .offer-grid,
  .activity-section,
  .testimonial-grid,
  .cta-grid,
  .product-showcase,
  .detail-grid,
  .bundle-row,
  .story-grid,
  .timeline,
  .team-grid,
  .support-grid,
  .faq-layout,
  .news-grid,
  .policy-layout,
  .dashboard-grid,
  .leaderboard,
  .faq-group.standalone,
  .cta-band {
    width: min(100% - 24px, var(--max));
  }

  .hero-section {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.6rem);
  }

  .hero-market-card {
    min-height: 340px;
  }

  .player-ring {
    width: 190px;
    height: 190px;
  }

  .stats-band,
  .carousel-row,
  .product-grid,
  .product-grid.compact,
  .offer-grid,
  .story-grid,
  .team-grid,
  .support-grid,
  .faq-layout,
  .news-grid,
  .dashboard-grid,
  .bundle-row,
  .testimonial-grid,
  .cta-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .toolbar,
  .section-head,
  .cta-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar-controls {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .filter-block.two {
    grid-template-columns: 1fr;
  }

  .product-image {
    min-height: 170px;
  }

  .media-main {
    min-height: 280px;
  }

  .mini-bundle,
  .cart-line {
    grid-template-columns: auto 1fr;
  }

  .mini-bundle button,
  .qty-controls {
    grid-column: 1 / -1;
  }

  .floating-cart {
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: translateY(120%);
    justify-content: space-between;
  }

  .floating-cart.visible {
    transform: translateY(0);
  }

  .toast-container {
    right: 12px;
    bottom: 82px;
    width: calc(100% - 24px);
  }

  .support-launcher {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }

  .support-widget {
    inset: auto 8px 8px 8px;
    width: auto;
    height: min(680px, calc(100vh - 42px));
    border-radius: 14px;
  }

  .support-top {
    min-height: 58px;
  }

  .support-hero {
    padding: 4px 16px 14px;
  }

  .support-avatars span {
    width: 38px;
    height: 38px;
  }

  .site-footer img {
    max-width: 200px;
  }
}

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