@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Teko:wght@500;600;700&display=swap');

/* ============================================================
   AETHER — HYBRID
   Cinematic hero + floating pill nav + war/gold accents
   Inspired by popular MC portals (original markup/CSS)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base: var(--color-bg);
  --bg-card: var(--color-surface);
  --line: var(--color-border);
  --ink: var(--color-text-primary);
  --muted: var(--color-text-secondary);
  --brand: var(--color-primary);
  --brand-2: var(--color-accent, var(--color-primary));
  --ink-on-brand: #1a1005;
  --glass: color-mix(in srgb, #0a0c12 72%, transparent);
  --glow: color-mix(in srgb, var(--color-primary) 42%, transparent);
  --radius: 4px;
  --radius-sm: 2px;
  --mc-border: #111111;
  --mc-hi: rgba(255, 255, 255, 0.35);
  --mc-lo: rgba(0, 0, 0, 0.35);
  --mc-gold: #f0c43a;
  --mc-gold-hi: #ffe27a;
  --mc-gold-lo: #c99212;
  --max: 1680px;
  --nav-h: 58px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 45% at 50% -8%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 70%, color-mix(in srgb, var(--brand-2) 10%, transparent), transparent 50%),
    linear-gradient(180deg, #080a10 0%, var(--bg-base) 40%);
}

body > * { position: relative; z-index: 1; }

.font-display { font-family: 'Teko', 'Manrope', sans-serif; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #080a10; }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--brand) 50%, #2a3140);
  border-radius: 99px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 var(--glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes logoFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}
@keyframes logoShake {
  0%, 100% { transform: rotate(0deg) translate3d(0, 0, 0); }
  20% { transform: rotate(-3deg) translate3d(0, -3px, 0); }
  40% { transform: rotate(3deg) translate3d(0, 2px, 0); }
  60% { transform: rotate(-2deg) translate3d(0, -2px, 0); }
  80% { transform: rotate(2deg) translate3d(0, 0, 0); }
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--mc-gold) 15%, transparent));
    transform: translate3d(0, 0, 0);
  }
  50% {
    filter: drop-shadow(0 0 34px color-mix(in srgb, var(--mc-gold) 70%, transparent));
    transform: translate3d(0, -8px, 0);
  }
}
@keyframes logoSpin {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
@keyframes logoBounce {
  0%, 100% { transform: translate3d(0, 0, 0); }
  40% { transform: translate3d(0, -22px, 0); }
  60% { transform: translate3d(0, -8px, 0); }
}
.ax-rise { animation: rise 0.55s var(--ease) both; }
.ax-rise-2 { animation: rise 0.65s 0.07s var(--ease) both; }
.ax-rise-3 { animation: rise 0.7s 0.14s var(--ease) both; }
.ax-drift { animation: drift 4.8s ease-in-out infinite; }

.ax-hero__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform-origin: center center;
}
.ax-hero__logo-wrap.is-animating.ax-logo-anim--float {
  animation: logoFloat 3.6s ease-in-out infinite !important;
}
.ax-hero__logo-wrap.is-animating.ax-logo-anim--triangle {
  animation: logoTriangle 4.2s ease-in-out infinite !important;
}
.ax-hero__logo-wrap.is-animating.ax-logo-anim--shake {
  animation: logoShake 2.2s ease-in-out infinite !important;
}
.ax-hero__logo-wrap.is-animating.ax-logo-anim--pulse {
  animation: logoPulse 2s ease-in-out infinite !important;
}
.ax-hero__logo-wrap.is-animating.ax-logo-anim--glow {
  animation: logoGlow 2.6s ease-in-out infinite !important;
}
.ax-hero__logo-wrap.is-animating.ax-logo-anim--spin {
  animation: logoSpin 2.8s ease-in-out infinite !important;
}
.ax-hero__logo-wrap.is-animating.ax-logo-anim--bounce {
  animation: logoBounce 1.8s ease-in-out infinite !important;
}
@keyframes logoTriangle {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  33% { transform: translate3d(14px, -18px, 0) rotate(2deg); }
  66% { transform: translate3d(-14px, -18px, 0) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ax-hero__logo-wrap.is-animating {
    animation: none !important;
  }
}

.ax-shell {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}
@media (min-width: 1280px) {
  .ax-shell { width: min(100% - 2.5rem, var(--max)); }
}

/* Inner pages: no hero — clear fixed nav */
body.ax-inner #MainContent {
  padding-top: 5.75rem;
  min-height: 50vh;
}
body.ax-inner .ax-nav {
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 6%, transparent), transparent 40%),
    color-mix(in srgb, #0a0c12 94%, transparent);
  border-color: var(--mc-border);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 8px 0 rgba(0, 0, 0, 0.4),
    0 16px 36px rgba(0, 0, 0, 0.4);
}

/* ---------- Floating MC inventory nav ---------- */
.ax-nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 0 0.75rem;
  pointer-events: none;
  overflow: visible;
}

.ax-nav {
  pointer-events: auto;
  width: min(100%, var(--max));
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0 0.45rem 0 0.55rem;
  border-radius: 0;
  border: 3px solid var(--mc-border);
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 7%, transparent), transparent 42%),
    color-mix(in srgb, #0a0c12 78%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 6px 0 rgba(0, 0, 0, 0.38),
    0 14px 32px rgba(0, 0, 0, 0.35);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.15s ease;
  overflow: visible;
}

.ax-nav.is-solid {
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 6%, transparent), transparent 40%),
    color-mix(in srgb, #0a0c12 94%, transparent);
  border-color: var(--mc-border);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 8px 0 rgba(0, 0, 0, 0.4),
    0 16px 36px rgba(0, 0, 0, 0.4);
}

.ax-nav__brand { display: none; flex-shrink: 0; }
@media (min-width: 720px) {
  .ax-nav__brand { display: block; }
}
.ax-nav__brand img {
  display: block;
  max-height: 40px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35));
}

.ax-nav__links {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.18rem;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.ax-nav__links::-webkit-scrollbar { display: none; }
@media (min-width: 860px) {
  .ax-nav__links { display: flex; }
}

.ax-nav__link {
  padding: 0.3rem 0.42rem;
  border-radius: 0;
  border: 2px solid transparent;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  text-decoration: none;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease, filter 0.12s ease, transform 0.08s ease;
}

.ax-nav__link:hover {
  color: var(--ink);
  background: color-mix(in srgb, #000 22%, transparent);
  border-color: color-mix(in srgb, #fff 12%, transparent);
  filter: brightness(1.08);
}

.ax-nav__link.is-active {
  color: #141414;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.25);
  border-color: #111;
  background: linear-gradient(180deg, var(--mc-gold-hi), var(--mc-gold) 42%, var(--mc-gold-lo));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 3px 0 #0d0d0d;
}

.ax-nav__link.is-active:hover {
  color: #141414;
  filter: brightness(1.08);
  border-color: #111;
  background: linear-gradient(180deg, var(--mc-gold-hi), var(--mc-gold) 42%, var(--mc-gold-lo));
}

.ax-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}

/* Profile dropdown */
.ax-user {
  position: relative;
  display: none;
}
@media (min-width: 640px) {
  .ax-user { display: block; }
}
.ax-user__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.25rem 0.55rem 0.25rem 0.3rem;
  border: 3px solid var(--mc-border);
  border-radius: 0;
  background: linear-gradient(180deg, #5a6578, #2a3140);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow:
    inset 1px 1px 0 var(--mc-hi),
    inset -1px -1px 0 var(--mc-lo),
    0 3px 0 #0a0a0a;
  transition: filter 0.12s ease, transform 0.08s ease;
}
.ax-user__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.ax-user__btn img {
  width: 28px;
  height: 28px;
  border: 2px solid var(--mc-border);
  background: #0a0c12;
  image-rendering: pixelated;
}
.ax-user__menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 210px;
  padding: 0.4rem;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 100;
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 5%, transparent), transparent 36%),
    color-mix(in srgb, var(--bg-card) 96%, #000);
  border: 3px solid var(--mc-border);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 10px 0 rgba(0, 0, 0, 0.35);
}
/* Invisible bridge so the hover gap doesn't close the menu */
.ax-user__menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.ax-user:hover .ax-user__menu,
.ax-user:focus-within .ax-user__menu,
.ax-user.is-open .ax-user__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(8px);
}
.ax-user__menu a,
.ax-user__menu button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.ax-user__menu a:hover,
.ax-user__menu button:hover {
  background: color-mix(in srgb, var(--mc-gold) 18%, transparent);
  color: var(--mc-gold);
}
.ax-user__menu a i,
.ax-user__menu button i {
  width: 1.1rem;
  text-align: center;
  opacity: 0.85;
}
.ax-user__sep {
  height: 2px;
  margin: 0.25rem 0;
  background: color-mix(in srgb, #fff 10%, transparent);
}

.ax-ip-chip {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 0;
  border: 3px solid #111;
  cursor: pointer;
  background: linear-gradient(180deg, var(--mc-gold-hi), var(--mc-gold) 42%, var(--mc-gold-lo));
  color: #141414;
  font-family: 'Teko', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 3px 0 #0d0d0d;
  transition: filter 0.12s ease, transform 0.08s ease;
}
@media (min-width: 640px) {
  .ax-ip-chip { display: inline-flex; }
}
.ax-ip-chip:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.ax-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: grid;
  place-items: center;
  border: 3px solid var(--mc-border);
  background: linear-gradient(180deg, #5a6578, #2a3140);
  color: var(--ink);
  box-shadow:
    inset 1px 1px 0 var(--mc-hi),
    inset -1px -1px 0 var(--mc-lo),
    0 3px 0 #0a0a0a;
  text-decoration: none;
  position: relative;
  transition: transform 0.08s ease, filter 0.12s ease;
}
.ax-icon-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  color: var(--mc-gold);
}

.ax-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 0;
  border: 2px solid #111;
  background: linear-gradient(180deg, #f87171, #dc2626 45%, #991b1b);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 0 #0a0a0a;
}

.ax-credit {
  display: none;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mc-gold) 35%, #fff), var(--mc-gold));
  border: 2px solid #111;
  color: #141414;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
@media (min-width: 1024px) {
  .ax-credit { display: inline-flex; }
}

/* ---------- Buttons (MC gold block) ---------- */
.ax-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 0;
  overflow: hidden;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  text-shadow: none;
  border: 2px solid var(--mc-border);
  cursor: pointer;
  user-select: none;
  color: #141414;
  background-color: var(--mc-gold);
  background-image:
    linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%),
    linear-gradient(180deg, var(--mc-gold-hi) 0%, var(--mc-gold) 38%, var(--mc-gold-lo) 100%);
  background-size: 220% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    0 5px 0 #0d0d0d;
  transition:
    transform 0.1s ease,
    filter 0.15s ease,
    box-shadow 0.1s ease,
    background-position 0.55s ease;
}
.ax-btn:hover {
  filter: brightness(1.14) saturate(1.08);
  transform: translateY(-2px);
  background-position: -40% 0, 0 0;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(0, 0, 0, 0.16),
    0 7px 0 #0d0d0d,
    0 0 22px color-mix(in srgb, var(--mc-gold) 55%, transparent);
}
.ax-btn:active {
  transform: translateY(3px);
  filter: brightness(0.98);
  box-shadow:
    inset 0 2px 0 rgba(0, 0, 0, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 1px 0 #0d0d0d;
}

.ax-btn--primary {
  color: #141414;
}
.ax-btn--primary:hover { filter: brightness(1.16) saturate(1.1); }

.ax-btn--ghost {
  color: #f3f5f8;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  background-color: #4b5568;
  background-image:
    linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%),
    linear-gradient(180deg, #7a8498 0%, #4b5568 45%, #323847 100%);
  background-size: 220% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
}
.ax-btn--ghost:hover {
  filter: brightness(1.18);
  background-position: -40% 0, 0 0;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25),
    0 7px 0 #0d0d0d,
    0 0 18px color-mix(in srgb, var(--brand) 40%, transparent);
}

.ax-btn--discord {
  color: #fff !important;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  min-width: 44px;
  padding-inline: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-color: #111 !important;
  background-color: #5865F2;
  background-image:
    linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%),
    linear-gradient(180deg, #7289da 0%, #5865F2 45%, #4054d0 100%);
  background-size: 220% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    inset 0 -3px 0 rgba(0, 0, 0, 0.28),
    0 5px 0 #0d0d0d;
}
.ax-btn--discord:hover {
  background-position: -40% 0, 0 0;
  filter: brightness(1.06);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.25),
    0 6px 0 #0d0d0d,
    0 0 18px rgba(88, 101, 242, 0.45);
}

.ax-btn--sm {
  min-height: 34px;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 3px 0 #0d0d0d;
}
.ax-btn--sm:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    0 5px 0 #0d0d0d,
    0 0 16px color-mix(in srgb, var(--mc-gold) 45%, transparent);
}

/* ---------- Hero ---------- */
.ax-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.ax-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
}
.ax-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,10,16,0.55) 0%, rgba(8,10,16,0.35) 38%, rgba(8,10,16,0.72) 78%, var(--color-bg) 100%),
    radial-gradient(ellipse at 50% 42%, rgba(240,196,58,0.12) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 55%, transparent 0%, rgba(8,10,16,0.72) 78%);
}
.ax-hero__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 1;
  width: min(70vw, 720px);
  height: min(46vw, 420px);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--mc-gold) 22%, transparent), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  animation: axHeroGlow 4.8s ease-in-out infinite;
}
@keyframes axHeroGlow {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -52%) scale(1.06); }
}

.ax-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 920px);
  text-align: center;
  padding: calc(var(--nav-h) + 3.5rem) 0 14.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  transform: translateY(-1.75rem);
}

.ax-hero__logo {
  display: block;
  max-width: min(88vw, 360px);
  width: auto;
  height: auto;
  margin-bottom: 0;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.6)) drop-shadow(0 0 28px color-mix(in srgb, var(--mc-gold) 28%, transparent));
}
.ax-hero__logo-wrap { margin-bottom: 0.15rem; }

.ax-hero__brand {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.55),
    0 10px 36px rgba(0,0,0,0.45),
    0 0 40px color-mix(in srgb, var(--mc-gold) 25%, transparent);
}
.ax-hero__lead {
  margin: 0;
  max-width: 34rem;
  color: color-mix(in srgb, #fff 78%, var(--muted));
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  font-weight: 600;
  line-height: 1.5;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

.ax-hero__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.ax-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.55rem;
}
.ax-btn--lg {
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  font-size: 0.95rem;
}

.ax-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.55rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 3px solid var(--mc-border);
  background: linear-gradient(180deg, #4a5366, #2a3140);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  cursor: pointer;
  box-shadow:
    inset 1px 1px 0 var(--mc-hi),
    inset -1px -1px 0 var(--mc-lo),
    0 4px 0 #0a0a0a,
    0 0 22px color-mix(in srgb, var(--mc-gold) 18%, transparent);
  transition: transform 0.08s ease, filter 0.12s ease;
}
.ax-hero__status-sep { opacity: 0.45; }
.ax-hero__status:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Hero scroll cue styles also live in theme critical CSS for sync reliability */

@media (max-width: 640px) {
  .ax-hero__inner {
    gap: 0.55rem;
    padding-bottom: 11rem;
    transform: translateY(-0.5rem);
  }
  .ax-hero__logo { max-width: min(62vw, 200px); }
  .ax-hero__brand { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .ax-hero__lead { font-size: 0.9rem; }
  .ax-hero__cta {
    width: 100%;
    flex-direction: column;
  }
  .ax-hero__cta .ax-btn {
    width: 100%;
    justify-content: center;
  }
  .ax-hero__status {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.72rem;
  }
}

.ax-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  animation: pulseRing 1.8s ease-in-out infinite;
}

/* ---------- Promo (transparent — also in theme.liquid critical CSS) ---------- */
.ax-marquee,
.ax-promo {
  position: relative;
  overflow: hidden;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ax-marquee::before,
.ax-promo::before {
  display: none !important;
  content: none !important;
}
.ax-marquee__track,
.ax-promo__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--ax-promo-speed, 200s) linear infinite;
  padding: 0.85rem 0;
  background: transparent !important;
}
.ax-marquee__track:hover,
.ax-promo__track:hover { animation-play-state: paused; }
.ax-marquee__item,
.ax-promo__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: 0;
  overflow: hidden;
  border: 2px solid #111;
  color: #141414 !important;
  background-color: var(--mc-gold) !important;
  background-image:
    linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%),
    linear-gradient(180deg, var(--mc-gold-hi) 0%, var(--mc-gold) 40%, var(--mc-gold-lo) 100%) !important;
  background-size: 220% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.16),
    0 4px 0 #0d0d0d;
  transition:
    transform 0.1s ease,
    filter 0.15s ease,
    box-shadow 0.1s ease,
    background-position 0.55s ease;
}
.ax-marquee__item:hover,
.ax-promo__item:hover {
  filter: brightness(1.16) saturate(1.1);
  transform: translateY(-2px);
  background-position: -40% 0, 0 0;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(0, 0, 0, 0.14),
    0 6px 0 #0d0d0d,
    0 0 20px color-mix(in srgb, var(--mc-gold) 55%, transparent);
}
.ax-marquee__item .ax-live-dot,
.ax-promo__item .ax-live-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 1px;
  background: #6b4a22;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.25), 0 0 0 1px #111;
  animation: none;
  flex-shrink: 0;
}

/* ---------- Featured news (Minecraft panel) ---------- */
.ax-feature {
  display: block;
  padding: 1rem;
  border-radius: var(--radius);
  border: 3px solid var(--mc-border);
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 6%, transparent), transparent 40%),
    color-mix(in srgb, var(--bg-card) 92%, #000);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 10px 0 rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.ax-feature__slide {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
@media (max-width: 900px) {
  .ax-feature__slide { grid-template-columns: minmax(0, 1fr); }
}

.ax-feature__media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  border: 3px solid var(--mc-border);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.12),
    inset -2px -2px 0 rgba(0, 0, 0, 0.45);
}
.ax-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}
.ax-feature__corners span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid color-mix(in srgb, var(--brand) 70%, #fff);
  z-index: 2;
  pointer-events: none;
}
.ax-feature__corners .c-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.ax-feature__corners .c-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.ax-feature__corners .c-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.ax-feature__corners .c-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.ax-feature__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0.15rem 0.1rem;
  overflow: hidden;
  gap: 0.75rem;
}
.ax-feature__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
}
.ax-feature__badge {
  flex-shrink: 0;
  padding: 0.28rem 0.55rem;
  border: 2px solid var(--mc-border);
  background: linear-gradient(180deg, var(--mc-gold-hi), var(--mc-gold) 45%, var(--mc-gold-lo));
  color: #141414;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 0 #0d0d0d;
}
.ax-feature__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 0.85rem 0.55rem 0.95rem;
  border: 2px solid var(--mc-border);
  border-left: 5px solid var(--mc-gold);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--mc-gold) 16%, transparent), transparent 55%),
    color-mix(in srgb, #000 28%, transparent);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.08),
    inset -1px -1px 0 rgba(0, 0, 0, 0.35);
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ax-feature__excerpt {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  margin: 0;
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow: hidden;
}
.ax-feature__foot {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-top: auto;
}
.ax-feature__foot .ax-btn {
  margin: 0;
}

.ax-feature__dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.ax-feature__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 25%, transparent);
  cursor: pointer;
}
.ax-feature__dot.is-active { width: 22px; background: var(--brand); }

.ax-feature__next {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 3px solid var(--mc-border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 55%, #fff), var(--brand));
  color: var(--ink-on-brand);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    inset 1px 1px 0 var(--mc-hi),
    inset -1px -1px 0 var(--mc-lo),
    0 3px 0 #0a0a0a;
}
@media (max-width: 900px) {
  .ax-feature__next { display: none; }
}

/* ---------- Section / cards ---------- */
.ax-section { padding: 3rem 0; }

.ax-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ax-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.3rem;
}

.ax-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.ax-link {
  color: var(--brand);
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ax-bento {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.1rem;
}
@media (max-width: 960px) {
  .ax-bento { grid-template-columns: 1fr; }
}

.ax-panel {
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 5%, transparent), transparent 36%),
    color-mix(in srgb, var(--bg-card) 94%, #000);
  border: 3px solid var(--mc-border);
  border-radius: var(--radius);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 8px 0 rgba(0, 0, 0, 0.32);
}

/* News cards — inventory slot style */
.ax-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
@media (max-width: 980px) { .ax-news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ax-news-grid { grid-template-columns: 1fr; } }

.ax-post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.12s ease, filter 0.12s ease;
  border: 3px solid var(--mc-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 5%, transparent), transparent 34%),
    color-mix(in srgb, var(--bg-card) 92%, #000);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 6px 0 rgba(0, 0, 0, 0.3);
}
.ax-post-card:hover {
  transform: translateY(-3px);
  filter: brightness(1.1) saturate(1.05);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 9px 0 rgba(0, 0, 0, 0.34),
    0 0 24px color-mix(in srgb, var(--mc-gold) 35%, transparent);
}

.ax-post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #12151c;
}
.ax-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.ax-post-card:hover .ax-post-card__media img { transform: scale(1.05); }

.ax-post-card__badges {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  z-index: 2;
}
.ax-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--mc-border);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.25),
    inset -1px -1px 0 rgba(0, 0, 0, 0.35);
}
.ax-chip--date { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-2) 70%, #fff), color-mix(in srgb, var(--brand-2) 80%, #000)); color: #fff; }
.ax-chip--views { background: linear-gradient(180deg, #4ade80, #166534); color: #fff; }
.ax-chip--type { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 60%, #fff), var(--brand)); color: var(--ink-on-brand); }

.ax-post-card__body {
  padding: 0.95rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.ax-post-card__body h3 {
  font-family: 'Teko', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.ax-post-card__body p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.ax-post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.ax-post-card__meta i { color: var(--mc-gold); margin-right: 0.25rem; }

.ax-page-head {
  margin: 0.25rem 0 1.15rem;
}
.ax-page-head h1 {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--ink);
}
.ax-page-head p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  max-width: 40rem;
}

.ax-posts-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
@media (max-width: 980px) {
  .ax-posts-layout { grid-template-columns: 1fr; }
}

.is-hidden { display: none !important; }

.ax-post-card__cta {
  position: relative;
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  overflow: hidden;
  border-radius: 0;
  border: 2px solid #111;
  background: linear-gradient(180deg, var(--mc-gold-hi), var(--mc-gold) 42%, var(--mc-gold-lo));
  color: #141414;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 3px 0 #0d0d0d;
}
.ax-post-card:hover .ax-post-card__cta {
  filter: brightness(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    0 4px 0 #0d0d0d,
    0 0 14px color-mix(in srgb, var(--mc-gold) 50%, transparent);
}

/* Sidebar widgets */
.ax-side-stack { display: grid; gap: 0.85rem; }
.ax-widget { padding: 1rem; }
.ax-widget__title {
  font-family: 'Teko', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.ax-widget__title i { color: var(--brand); }

.ax-stat-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, #000 22%, transparent);
  border: 2px solid var(--mc-border);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.08),
    inset -1px -1px 0 rgba(0, 0, 0, 0.35);
  margin-bottom: 0.45rem;
}
.ax-stat-row:last-child { margin-bottom: 0; }
.ax-stat-row img {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  border: 2px solid var(--mc-border);
  background: #0a0c12;
  image-rendering: pixelated;
}
.ax-stat-row__name {
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ax-stat-row__sub {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ax-stat-row__val {
  margin-left: auto;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

/* Support tiles */
.ax-support {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
@media (max-width: 900px) { .ax-support { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ax-support { grid-template-columns: 1fr; } }

.ax-support-card {
  position: relative;
  min-height: 110px;
  padding: 1.05rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: end;
  justify-content: space-between;
  overflow: hidden;
  border: 3px solid var(--mc-border);
  transition: transform 0.12s ease, filter 0.12s ease;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 6px 0 rgba(0, 0, 0, 0.3);
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 14%, transparent), transparent 42%),
    var(--tile, #2a3344);
}
.ax-support-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.14) saturate(1.08);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 8px 0 rgba(0, 0, 0, 0.32),
    0 0 22px color-mix(in srgb, var(--mc-gold) 30%, transparent);
}
.ax-support-card span {
  font-family: 'Teko', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.ax-support-card i {
  width: 34px;
  height: 34px;
  border-radius: 2px;
  border: 2px solid var(--mc-border);
  display: grid;
  place-items: center;
  background: color-mix(in srgb, #000 30%, transparent);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.15);
}

.ax-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 1100px) { .ax-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ax-products { grid-template-columns: 1fr; } }

.ax-product {
  position: relative;
  padding: 0.75rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.ax-product__badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ax-product .ax-btn {
  width: 100%;
  margin-top: 0.15rem;
}
.ax-product:hover {
  transform: translateY(-2px);
  filter: brightness(1.1) saturate(1.05);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 8px 0 rgba(0, 0, 0, 0.3),
    0 0 20px color-mix(in srgb, var(--mc-gold) 28%, transparent);
}
.ax-product__art {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 18%, transparent), transparent 55%),
    repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(0,0,0,0.06) 7px, rgba(0,0,0,0.06) 8px),
    #10141c;
  border: 3px solid var(--mc-border);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.1),
    inset -2px -2px 0 rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ax-product__art i {
  font-size: 2rem;
  color: var(--muted);
}
.ax-product__art img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.ax-product:hover .ax-product__art img { transform: scale(1.07); }
.ax-product__name {
  font-family: 'Teko', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: inherit;
}
.ax-product__price {
  color: var(--brand);
  font-weight: 800;
  font-size: 1.05rem;
}

/* Drawer */
.ax-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.ax-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

.ax-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(86vw, 320px);
  z-index: 95;
  background: #10141c;
  border-right: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  transform: translateX(-105%);
  transition: transform 0.28s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
}
.ax-drawer.is-open { transform: translateX(0); }
.ax-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.8rem;
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}
.ax-drawer__link:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

/* Footer */
.ax-footer {
  margin-top: auto;
  border-top: 1px solid color-mix(in srgb, #fff 8%, transparent);
  background: color-mix(in srgb, #05070c 80%, var(--bg-card));
  padding: 3rem 0 1.4rem;
}
.ax-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 860px) { .ax-footer__grid { grid-template-columns: 1fr; } }
.ax-footer__about {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 28rem;
  margin: 0.9rem 0 1.1rem;
}
.ax-footer h3 {
  font-family: 'Teko', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--brand);
}
.ax-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.ax-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.ax-footer a:hover { color: var(--brand); }
.ax-social { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ax-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, #fff 10%, transparent);
  background: color-mix(in srgb, #fff 4%, transparent);
  color: var(--muted);
  transition: transform 0.15s var(--ease), color 0.15s ease, border-color 0.15s ease;
}
.ax-social a:hover {
  transform: translateY(-2px);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
}
.ax-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, #fff 8%, transparent);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

/* Store */
.ax-store-hero {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin-bottom: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  display: flex;
  align-items: flex-end;
}
.ax-store-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
}
.ax-store-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8,10,16,0.95) 0%, rgba(8,10,16,0.72) 55%, rgba(8,10,16,0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(8,10,16,0.55));
  pointer-events: none;
}
.ax-store-hero__copy { position: relative; z-index: 1; max-width: 42rem; }
.ax-store-hero__title {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin: 0.2rem 0 0.55rem;
  text-shadow: 0 2px 0 rgba(0,0,0,0.45);
}
.ax-store-hero__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 600;
  max-width: 38rem;
}

.ax-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.95rem;
}
.ax-store-card {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 210px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 0;
  border: 3px solid var(--mc-border);
  background: color-mix(in srgb, var(--bg-card) 92%, #000);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 6px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}
.ax-store-card:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 9px 0 rgba(0, 0, 0, 0.34),
    0 0 22px color-mix(in srgb, var(--mc-gold) 30%, transparent);
}
.ax-store-card__img,
.ax-store-card__fallback,
.ax-store-card__shade { position: absolute; inset: 0; }
.ax-store-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.ax-store-card:hover .ax-store-card__img { transform: scale(1.05); }
.ax-store-card__fallback {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 35%, #1a2030), #0a0c12),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px);
}
.ax-store-card__shade {
  background:
    linear-gradient(180deg, rgba(8,10,16,0.78) 0%, rgba(8,10,16,0.2) 38%, rgba(8,10,16,0.15) 62%, rgba(8,10,16,0.88) 100%);
}
.ax-store-card__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0.95rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  pointer-events: none;
}
.ax-store-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: 92%;
}
.ax-store-card__title {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,0.55), 0 8px 20px rgba(0,0,0,0.4);
}
.ax-store-card__desc {
  margin: 0;
  color: color-mix(in srgb, #fff 82%, transparent);
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 600;
  max-width: 28rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.ax-store-card__cta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border: 2px solid #111;
  background: linear-gradient(180deg, var(--mc-gold-hi), var(--mc-gold) 42%, var(--mc-gold-lo));
  color: #141414;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 3px 0 #0d0d0d;
}
.ax-store-card:hover .ax-store-card__cta {
  filter: brightness(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 3px 0 #0d0d0d,
    0 0 14px color-mix(in srgb, var(--mc-gold) 45%, transparent);
}
.ax-store-empty { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .ax-store-grid { grid-template-columns: 1fr; }
  .ax-store-card { aspect-ratio: 16 / 11; min-height: 190px; }
}

.ax-banner--store { margin-bottom: 1.5rem; }
.ax-banner__thumb {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  padding: 0.55rem;
  background: color-mix(in srgb, #000 28%, transparent);
  border: 3px solid var(--mc-border);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ax-banner__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ax-banner__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.15rem 0 0.45rem;
}
.ax-banner__text {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.6;
  font-weight: 600;
}

.ax-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.35rem;
}
.ax-product-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ax-product-detail__main {
  position: relative;
  min-height: 280px;
}
.ax-product-detail__main > i {
  font-size: 3rem;
  color: var(--muted);
}
.ax-product-detail__discount {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}
.ax-product-detail__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}
.ax-product-detail__thumb {
  width: 72px;
  height: 72px;
  padding: 0.35rem;
  flex-shrink: 0;
  cursor: pointer;
  background: #10141c;
}
.ax-product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ax-product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ax-product-detail__info > .ax-kicker {
  text-decoration: none;
  width: fit-content;
}
.ax-product-detail__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}
.ax-product-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ax-product-detail__buy {
  padding: 1.15rem;
  margin-top: auto;
}
.ax-product-detail__buy .ax-btn { width: 100%; }
.ax-product-detail__price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.ax-product-detail__old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 700;
}
.ax-product-detail__perks {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.ax-product-detail__perks .fa-bolt { color: #4ade80; }
.ax-product-detail__perks .fa-shield { color: var(--mc-gold); }
.ax-product-detail__desc {
  padding: 1.35rem;
  margin-top: 1rem;
}
.ax-product-detail__desc .ax-section__head { margin-bottom: 1rem; }
@media (max-width: 900px) {
  .ax-product-detail { grid-template-columns: 1fr; }
}

.ax-compare-wrap {
  overflow-x: auto;
  width: 100%;
  padding-bottom: 0.5rem;
}
.ax-compare {
  --compare-cols: 1;
  --compare-label: 220px;
  --compare-gap: 0.75rem;
  min-width: 760px;
}
.ax-compare__head,
.ax-compare__row {
  display: grid;
  gap: var(--compare-gap);
  grid-template-columns: var(--compare-label) repeat(var(--compare-cols), minmax(0, 1fr));
  align-items: stretch;
}
.ax-compare__head { margin-bottom: 1rem; }
.ax-compare__product {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 1rem 0.9rem 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  min-width: 0;
}
.ax-compare__thumb {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  max-width: 100%;
  flex: 0 0 88px;
  padding: 0.45rem;
  overflow: hidden;
  text-decoration: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 14%, transparent), transparent 55%),
    #10141c;
  border: 3px solid var(--mc-border);
  box-shadow:
    inset 2px 2px 0 rgba(255,255,255,0.08),
    inset -2px -2px 0 rgba(0,0,0,0.45);
}
.ax-compare__thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.ax-compare__thumb i { color: var(--muted); font-size: 1.5rem; }
.ax-compare__name {
  position: relative;
  z-index: 1;
  color: var(--ink);
  text-decoration: none;
  font-family: 'Teko', sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
}
.ax-compare__desc {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ax-compare__product .ax-price,
.ax-compare__product .ax-btn {
  position: relative;
  z-index: 1;
}
.ax-compare__product .ax-btn { width: 100%; margin-top: auto; }
.ax-compare__table { overflow: hidden; }
.ax-compare__group-title {
  padding: 0.7rem 1rem;
  background: color-mix(in srgb, #000 22%, transparent);
  border-bottom: 2px solid color-mix(in srgb, #fff 8%, transparent);
  font-family: 'Teko', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mc-gold);
}
.ax-compare__row {
  border-bottom: 1px solid color-mix(in srgb, #fff 6%, transparent);
}
.ax-compare__feature {
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  min-width: 0;
}
.ax-compare__cell {
  padding: 0.85rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.ax-compare__yes { color: #4ade80; }
.ax-compare__no { color: color-mix(in srgb, var(--muted) 70%, transparent); }

/* ---------- Shared inner-page utilities ---------- */
.ax-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-bottom: 1.25rem;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}
.ax-crumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.12s ease;
}
.ax-crumb a:hover { color: var(--mc-gold); }
.ax-crumb__current { color: var(--ink); }

.ax-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.ax-banner__img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  padding: 0.65rem;
  background: color-mix(in srgb, #000 28%, transparent);
  border: 3px solid var(--mc-border);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.ax-banner__body { flex: 1; min-width: 200px; position: relative; z-index: 1; }

.ax-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ax-input,
.ax-select,
.ax-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--mc-border);
  border-radius: 0;
  background: color-mix(in srgb, #000 28%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: inset 1px 1px 0 rgba(0,0,0,0.35);
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.ax-textarea { min-height: 120px; resize: vertical; }
.ax-input::placeholder,
.ax-textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.ax-input:focus,
.ax-select:focus,
.ax-textarea:focus {
  border-color: var(--mc-gold);
  box-shadow:
    inset 1px 1px 0 rgba(0,0,0,0.35),
    0 0 0 2px color-mix(in srgb, var(--mc-gold) 35%, transparent);
}
.ax-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mc-gold) 50%), linear-gradient(135deg, var(--mc-gold) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.ax-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.7rem;
  border: 2px solid var(--mc-border);
  border-radius: 0;
  background: color-mix(in srgb, #000 18%, transparent);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.ax-filter-btn:hover {
  filter: brightness(1.1);
  color: var(--ink);
}
.ax-filter-btn.is-active,
.ax-filter-btn.bg-primary {
  background: linear-gradient(180deg, var(--mc-gold-hi), var(--mc-gold) 42%, var(--mc-gold-lo));
  color: #141414;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 3px 0 #0d0d0d;
}

.ax-alert {
  padding: 0.9rem 1rem;
  border: 2px solid var(--mc-border);
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.08);
}
.ax-alert--ok {
  background: color-mix(in srgb, #22c55e 18%, #0a0c12);
  color: #86efac;
}
.ax-alert--err {
  background: color-mix(in srgb, #ef4444 18%, #0a0c12);
  color: #fca5a5;
}
.ax-alert--warn {
  background: color-mix(in srgb, #f59e0b 18%, #0a0c12);
  color: #fcd34d;
}

.ax-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
}
.ax-empty > i {
  font-size: 1.8rem;
  color: var(--mc-gold);
  opacity: 0.85;
}
.ax-empty h3 {
  color: var(--ink);
  font-family: 'Teko', sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 0.5rem 0;
}
.ax-empty p { margin: 0; font-size: 0.9rem; font-weight: 600; }

.ax-page-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.1rem;
}
.ax-page-grid--rev { grid-template-columns: 1fr 320px; }
@media (max-width: 960px) {
  .ax-page-grid,
  .ax-page-grid--rev { grid-template-columns: 1fr; }
}

.ax-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ax-list-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.1s ease, filter 0.12s ease;
}
.ax-list-row:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.ax-price {
  color: var(--mc-gold);
  font-weight: 800;
  font-size: 1.35rem;
}
.ax-price--lg {
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
}

.ax-thumb {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 14%, transparent), transparent 55%),
    #10141c;
  border: 3px solid var(--mc-border);
  box-shadow:
    inset 2px 2px 0 rgba(255,255,255,0.08),
    inset -2px -2px 0 rgba(0,0,0,0.45);
}
.ax-thumb img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.ax-prose {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}
.ax-prose h1, .ax-prose h2, .ax-prose h3, .ax-prose h4 {
  color: var(--ink);
  font-family: 'Teko', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 1.25rem 0 0.5rem;
}
.ax-prose a { color: var(--mc-gold); }
.ax-prose p { margin-bottom: 0.85rem; }
.ax-prose ul, .ax-prose ol { padding-left: 1.2rem; margin-bottom: 0.85rem; }
.ax-prose--article {
  font-size: 1.05rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ax-prose--article img {
  max-width: 100%;
  height: auto;
  border: 2px solid var(--mc-border);
  margin: 1rem 0;
}

/* ---------- Post detail ---------- */
.ax-article { overflow: hidden; padding: 0; }
.ax-article__hero {
  position: relative;
  min-height: 280px;
  height: clamp(280px, 42vw, 420px);
  overflow: hidden;
  border-bottom: 3px solid var(--mc-border);
}
.ax-article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ax-article__hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,10,16,0.15) 0%, rgba(8,10,16,0.35) 40%, rgba(8,10,16,0.92) 100%);
  pointer-events: none;
}
.ax-article__hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.25rem 1.35rem 1.4rem;
}
.ax-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}
.ax-article__meta-text {
  color: color-mix(in srgb, #fff 72%, transparent);
  font-size: 0.84rem;
  font-weight: 700;
}
.ax-article__title {
  margin: 0;
  max-width: 48rem;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,0.55), 0 8px 28px rgba(0,0,0,0.45);
}
.ax-article__body { padding: clamp(1.15rem, 3vw, 2rem); }
.ax-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 2px solid color-mix(in srgb, #fff 8%, transparent);
}
.ax-article__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 2px solid color-mix(in srgb, #fff 8%, transparent);
}
.ax-article__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}
.ax-article__stats i { color: var(--mc-gold); margin-right: 0.3rem; }
.ax-btn--liked {
  background: linear-gradient(180deg, #f87171, #dc2626 45%, #991b1b) !important;
  color: #fff !important;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}
.ax-btn--liked .is-filled,
#likeIcon.is-filled { color: #fff; }

.ax-stack { display: grid; gap: 0.85rem; }
.ax-stack-sm { display: grid; gap: 0.55rem; }
.ax-divider {
  border: 0;
  border-top: 2px solid color-mix(in srgb, #fff 8%, transparent);
  margin: 1rem 0;
}

.ax-auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-base);
}
.ax-auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  position: relative;
}
.ax-auth-form__inner { width: min(100%, 420px); margin: 0 auto; }
.ax-auth-art {
  position: relative;
  overflow: hidden;
  background: #0a0c12;
}
.ax-auth-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 960px) {
  .ax-auth-shell { grid-template-columns: 1fr; }
  .ax-auth-art { display: none; }
}

.ax-error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 55%),
    #080a10;
}
.ax-error-card {
  width: min(100%, 480px);
  padding: 2rem;
  text-align: center;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Teko', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
}
.section-title-bar {
  width: 5px;
  height: 1.25rem;
  border-radius: 0;
  background: linear-gradient(180deg, var(--mc-gold-hi), var(--mc-gold-lo));
}
.card, .aether-panel {
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 5%, transparent), transparent 36%),
    color-mix(in srgb, var(--bg-card) 94%, #000);
  border: 3px solid var(--mc-border);
  border-radius: 0;
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 8px 0 rgba(0, 0, 0, 0.32);
}
.bg-primary.text-white { color: var(--ink-on-brand); }
#mobile-menu { display: none; }

/* ---------- Legacy Tailwind → MC bridge (inner pages) ---------- */
body.ax-inner .container {
  width: min(100% - 1.5rem, var(--max)) !important;
  max-width: var(--max) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
@media (min-width: 1280px) {
  body.ax-inner .container { width: min(100% - 2.5rem, var(--max)) !important; }
}
body.ax-inner .bg-white,
body.ax-auth .bg-white,
body.ax-home .bg-white {
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 5%, transparent), transparent 36%),
    color-mix(in srgb, var(--bg-card) 94%, #000) !important;
  color: var(--ink);
  border-color: var(--mc-border) !important;
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 8px 0 rgba(0, 0, 0, 0.28) !important;
}
body.ax-inner .rounded-3xl,
body.ax-inner .rounded-\[2rem\],
body.ax-inner .rounded-2xl,
body.ax-inner .rounded-xl,
body.ax-auth .rounded-3xl,
body.ax-auth .rounded-2xl,
body.ax-auth .rounded-xl {
  border-radius: 0 !important;
}
body.ax-inner .border-gray-100,
body.ax-inner .border-gray-200,
body.ax-inner .border-blue-50,
body.ax-inner .border-blue-100,
body.ax-auth .border-gray-100,
body.ax-auth .border-gray-200 {
  border-color: var(--mc-border) !important;
  border-width: 2px !important;
}
body.ax-inner .text-gray-900,
body.ax-inner .text-gray-800,
body.ax-auth .text-gray-900 {
  color: var(--ink) !important;
}
body.ax-inner .text-gray-600,
body.ax-inner .text-gray-500,
body.ax-inner .text-gray-400,
body.ax-auth .text-gray-600,
body.ax-auth .text-gray-500,
body.ax-auth .text-gray-400,
body.ax-auth .text-gray-700 {
  color: var(--muted) !important;
}
body.ax-inner .bg-gray-50,
body.ax-inner .bg-gray-50\/50,
body.ax-inner .bg-gray-50\/80,
body.ax-inner .bg-blue-50,
body.ax-inner .bg-gray-100,
body.ax-auth .bg-gray-50,
body.ax-auth .bg-gray-100 {
  background: color-mix(in srgb, #000 28%, transparent) !important;
  color: var(--ink);
}
body.ax-inner input:not([type="checkbox"]):not([type="radio"]),
body.ax-inner select,
body.ax-inner textarea,
body.ax-auth input:not([type="checkbox"]):not([type="radio"]),
body.ax-auth select,
body.ax-auth textarea {
  background: color-mix(in srgb, #000 32%, transparent) !important;
  border: 2px solid var(--mc-border) !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  box-shadow: inset 1px 1px 0 rgba(0,0,0,0.35);
}
body.ax-inner input:focus,
body.ax-inner select:focus,
body.ax-inner textarea:focus,
body.ax-auth input:focus,
body.ax-auth select:focus,
body.ax-auth textarea:focus {
  border-color: var(--mc-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--mc-gold) 35%, transparent) !important;
}
body.ax-inner .bg-primary,
body.ax-auth .bg-primary,
body.ax-inner button.bg-primary,
body.ax-auth button.bg-primary,
body.ax-inner a.bg-primary {
  background: linear-gradient(180deg, var(--mc-gold-hi), var(--mc-gold) 42%, var(--mc-gold-lo)) !important;
  color: #141414 !important;
  border: 2px solid #111 !important;
  border-radius: 0 !important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.4),
    inset 0 -2px 0 rgba(0,0,0,0.18),
    0 4px 0 #0d0d0d !important;
  text-shadow: none !important;
}
body.ax-inner .bg-primary:hover,
body.ax-auth .bg-primary:hover,
body.ax-inner a.bg-primary:hover {
  filter: brightness(1.12);
}
body.ax-inner .shadow-sm,
body.ax-inner .shadow-md,
body.ax-inner .shadow-lg,
body.ax-inner .shadow-xl,
body.ax-inner .shadow-2xl,
body.ax-auth .shadow-sm,
body.ax-auth .shadow-lg {
  box-shadow:
    inset 2px 2px 0 var(--mc-hi),
    inset -2px -2px 0 var(--mc-lo),
    0 6px 0 rgba(0,0,0,0.28) !important;
}
body.ax-inner .prose,
body.ax-inner .prose-gray,
body.ax-inner .prose-blue {
  color: var(--muted) !important;
}
body.ax-inner .prose :where(h1, h2, h3, h4) {
  color: var(--ink) !important;
}
body.ax-inner .prose a { color: var(--mc-gold) !important; }
body.ax-inner .bg-green-50,
body.ax-inner .bg-emerald-50 { background: color-mix(in srgb, #22c55e 16%, #0a0c12) !important; color: #86efac !important; }
body.ax-inner .bg-red-50,
body.ax-inner .bg-orange-50 { background: color-mix(in srgb, #ef4444 16%, #0a0c12) !important; }
body.ax-inner .bg-yellow-50 { background: color-mix(in srgb, #f59e0b 16%, #0a0c12) !important; color: #fcd34d !important; }
body.ax-inner .text-green-700,
body.ax-inner .text-green-600,
body.ax-inner .text-emerald-600 { color: #86efac !important; }
body.ax-inner .text-yellow-700,
body.ax-inner .text-yellow-600 { color: #fcd34d !important; }
body.ax-inner .text-red-500,
body.ax-inner .text-red-600 { color: #fca5a5 !important; }
body.ax-inner .divide-gray-100 > :not([hidden]) ~ :not([hidden]) {
  border-color: color-mix(in srgb, #fff 8%, transparent) !important;
}
body.ax-inner .border-b.border-gray-100,
body.ax-inner .border-t.border-gray-100 {
  border-color: color-mix(in srgb, #fff 8%, transparent) !important;
}

/* ---------- Gift page ---------- */
.ax-gift-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ax-gift-head__desc {
  color: var(--muted);
  margin-top: 0.35rem;
  max-width: 36rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}
.ax-gift-balance {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}
.ax-gift-balance__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ax-gift-balance__value {
  font-family: 'Teko', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--mc-gold);
  line-height: 1;
  white-space: nowrap;
}

.ax-gift-form {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ax-gift-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
.ax-gift-panel__title {
  font-family: 'Teko', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.ax-gift-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-top: 1.25rem;
  border-top: 2px solid color-mix(in srgb, #fff 8%, transparent);
}
@media (max-width: 860px) {
  .ax-gift-split { grid-template-columns: 1fr; }
}

.ax-gift-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 560px) {
  .ax-gift-types { grid-template-columns: 1fr; }
}
.ax-gift-type {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2.25rem 1rem 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  border: 2px solid var(--mc-border);
  border-radius: 0;
  background: color-mix(in srgb, #000 22%, transparent);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.08),
    inset -1px -1px 0 rgba(0,0,0,0.25);
  transition: border-color 0.12s ease, background 0.12s ease, filter 0.12s ease;
}
.ax-gift-type:hover {
  filter: brightness(1.08);
  border-color: color-mix(in srgb, var(--mc-gold) 55%, #111);
}
.ax-gift-type.is-active {
  border-color: var(--mc-gold);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mc-gold) 16%, transparent), transparent 70%),
    color-mix(in srgb, #000 18%, transparent);
}
.ax-gift-type__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--mc-border);
  background: color-mix(in srgb, #000 35%, transparent);
  color: var(--mc-gold);
  font-size: 1.1rem;
}
.ax-gift-type__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}
.ax-gift-type__label {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
}
.ax-gift-type__desc {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}
.ax-gift-type .type-check {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  color: var(--mc-gold);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}

.ax-gift-amount {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}
.ax-gift-amount__prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 3.6rem;
  padding: 0 0.8rem;
  border: 2px solid var(--mc-border);
  background: color-mix(in srgb, #000 35%, transparent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--mc-gold);
  white-space: nowrap;
}
.ax-gift-amount__input,
.ax-gift-amount .ax-input {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  font-size: 1.15rem;
  font-weight: 800;
  min-height: 52px;
}

.ax-gift-warn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ax-gift-search {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.65rem;
}
@media (max-width: 560px) {
  .ax-gift-search { flex-direction: column; }
}
.ax-gift-search__field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.ax-gift-search__field > i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
  font-size: 0.9rem;
}
.ax-gift-search__field .ax-input {
  width: 100%;
  padding-left: 2.5rem;
  min-height: 48px;
}
.ax-gift-search .ax-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.ax-gift-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  border: 2px solid color-mix(in srgb, var(--mc-gold) 45%, var(--mc-border));
  background: color-mix(in srgb, var(--mc-gold) 10%, transparent);
}
.ax-gift-user img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 2px solid var(--mc-border);
  background: #10141c;
  flex-shrink: 0;
}
.ax-gift-user__meta { flex: 1; min-width: 0; }
.ax-gift-user__name {
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0;
}
.ax-gift-user__email {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.ax-gift-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  max-height: 280px;
  overflow-y: auto;
}
@media (max-width: 640px) {
  .ax-gift-items { grid-template-columns: repeat(2, 1fr); }
}
.ax-gift-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.65rem;
  text-align: center;
  cursor: pointer;
  color: var(--ink);
  border: 2px solid var(--mc-border);
  background: color-mix(in srgb, #000 22%, transparent);
  transition: border-color 0.12s ease, background 0.12s ease, filter 0.12s ease;
}
.ax-gift-item:hover {
  filter: brightness(1.08);
  border-color: color-mix(in srgb, var(--mc-gold) 50%, #111);
}
.ax-gift-item.is-active {
  border-color: var(--mc-gold);
  background: color-mix(in srgb, var(--mc-gold) 12%, transparent);
}
.ax-gift-item__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--mc-border);
  background: #10141c;
  color: var(--mc-gold);
}
.ax-gift-item__name {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ax-gift-item .item-check {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: var(--mc-gold);
  color: #141414;
  font-size: 0.65rem;
}

.ax-gift-submit {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
  margin-top: 0.15rem;
}
.ax-gift-notif {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.ax-gift-notif svg { flex-shrink: 0; }

/* ---------- Shared polish: loading / empty / mobile ---------- */
.ax-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.75rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}
.ax-loading > i {
  font-size: 1.75rem;
  color: var(--mc-gold);
  animation: axSpin 0.85s linear infinite;
}
@keyframes axSpin { to { transform: rotate(360deg); } }
.ax-empty {
  padding: 2.75rem 1.5rem;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.ax-empty > i {
  font-size: 2rem;
  color: var(--mc-gold);
  opacity: 0.9;
  margin-bottom: 0.15rem;
}
.ax-empty h3 {
  color: var(--ink);
  font-family: 'Teko', sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 1;
}
.ax-empty p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.ax-empty .ax-btn { margin-top: 0.55rem; }

@media (max-width: 640px) {
  .ax-hero__inner {
    gap: 0.55rem;
    padding-bottom: 11rem;
    transform: translateY(-0.5rem);
  }
  .ax-hero__logo { max-width: min(62vw, 200px); }
  .ax-hero__brand { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .ax-hero__lead { font-size: 0.9rem; }
  .ax-hero__cta {
    width: 100%;
    flex-direction: column;
  }
  .ax-hero__cta .ax-btn {
    width: 100%;
    justify-content: center;
  }
  .ax-hero__status {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.72rem;
  }
  .ax-section { padding-block: 1.25rem; }
  .ax-section__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .ax-section__head .ax-btn {
    width: 100%;
    justify-content: center;
  }
  .frm-head,
  .crt-panel__head {
    flex-direction: column;
    align-items: stretch;
  }
  .frm-head .ax-btn { width: 100%; justify-content: center; }
  .frm-topic__title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-loading > i { animation: none; }
}
