/* ============================================================
   FoliaSMP ocean storefront redesign
   Loaded after app.css. Keeps the functional base layer and
   replaces the visual shell, catalogue and product rows.
   ============================================================ */

:root {
  --bg: #04101f;
  --bg-deep: #020a14;
  --panel: #0a1b2e;
  --panel-2: #0f2540;
  --panel-3: #153354;
  --line: rgba(125, 211, 252, 0.15);
  --line-strong: rgba(125, 211, 252, 0.3);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f5fbff;
  --muted: #acc8dc;
  --faint: #799bb1;
  --primary: #2f7dff;
  --primary-hi: #8bdcff;
  --primary-ink: #03111f;
  --leaf: #4ade80;
  --leaf-deep: #22c55e;
  --amber: #fbbf24;
  --orange: #fb923c;
  --coral: #fb7185;
  --purple: #a78bfa;
  --danger: #ff7185;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 5, 14, 0.42);
  --glow-blue: 0 0 34px rgba(47, 125, 255, 0.34);
  --sidebar: 344px;
  --font: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

html { background: var(--bg-deep); scroll-behavior: smooth; }

body {
  color: var(--text);
  background: #030d1c;
  font-size: 16px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1050px 680px at 50% -10%, rgba(205, 246, 255, 0.17), transparent 66%),
    radial-gradient(900px 600px at 2% 42%, rgba(28, 116, 255, 0.16), transparent 70%),
    radial-gradient(880px 620px at 100% 58%, rgba(72, 170, 255, 0.13), transparent 72%),
    linear-gradient(180deg, rgba(2, 13, 31, 0.07) 0%, rgba(2, 13, 31, 0.38) 40%, rgba(2, 13, 31, 0.86) 77%, #030d1c 100%),
    url('/assets/ocean-bg.svg?v=20261031q') center top / cover no-repeat;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    linear-gradient(60deg, rgba(214, 246, 255, 0.05) 1px, transparent 1px),
    linear-gradient(-60deg, rgba(214, 246, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.55) 34%, transparent 64%);
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.55) 34%, transparent 64%);
}

::selection { background: rgba(63, 158, 255, 0.38); color: #fff; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #174d86; border-color: var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: #216ab3; }
:focus-visible { outline: 2px solid var(--primary-hi); outline-offset: 3px; }

.skip-link { background: var(--amber); color: #251700; border-radius: 8px; }

/* ---------- shell and navigation ---------- */

.shell {
  width: 100%;
  max-width: 1332px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 26px 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 9px 11px 9px 14px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 16px;
  background: rgba(5, 20, 38, 0.93);
  box-shadow: 0 18px 48px rgba(0, 5, 14, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.side-toggle { display: none; width: 42px; height: 42px; color: var(--text); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin-right: 4px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 28px rgba(72, 166, 255, 0.34);
}

.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.035em; }
.brand-name em { font-style: normal; color: var(--primary-hi); }
.brand-copy small {
  margin-top: 5px;
  font-size: 0.54rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}

.top-nav { display: flex; align-items: center; gap: 3px; }
.top-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.top-link:hover { color: var(--text); background: rgba(125, 211, 252, 0.07); }
.top-link.is-active {
  color: #fff;
  background: rgba(47, 155, 255, 0.14);
  box-shadow: inset 0 -2px 0 var(--primary-hi);
}

.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-action {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 11px 6px 7px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  background: rgba(9, 30, 52, 0.72);
  color: var(--text);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.top-action:hover {
  transform: translateY(-1px);
  border-color: rgba(116, 210, 255, 0.46);
  background: rgba(15, 45, 76, 0.9);
}
.top-action-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: rgba(47, 155, 255, 0.12);
  color: var(--primary-hi);
  flex: none;
}
.top-action-ico .icon { width: 18px; height: 18px; }
.top-action-ico .avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 8px; object-fit: cover; }
.top-action-ico .avatar-initial { font-size: 0.76rem; font-weight: 800; color: var(--primary-hi); }
.top-action-copy { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.top-action-copy small {
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.top-action-copy strong {
  max-width: 116px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #071a2e;
  border-radius: 9px;
  background: var(--amber);
  color: #241700;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
}

/* ---------- mobile side drawer ---------- */

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 140;
  width: min(var(--sidebar), 89vw);
  height: 100dvh;
  padding: 18px 15px;
  overflow-y: auto;
  border-right: 1px solid rgba(125, 211, 252, 0.2);
  background:
    radial-gradient(420px 300px at 0% 0%, rgba(47, 155, 255, 0.16), transparent 72%),
    linear-gradient(180deg, #0a1e33 0%, #04101f 74%);
  box-shadow: 24px 0 60px rgba(0, 5, 14, 0.5);
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.26s;
}
body.side-open .sidebar { transform: none; visibility: visible; }
.side-scrim {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(1, 7, 14, 0.72);
  opacity: 0;
  transition: opacity 0.22s ease;
}
body.side-open .side-scrim { opacity: 1; }
.sidebar-close { display: grid; width: 36px; height: 36px; }
.sidebar-head { padding: 2px 2px 16px; border-bottom: 1px solid var(--line-soft); }
.sidebar-brand img { border-radius: 11px; box-shadow: 0 0 26px rgba(72, 166, 255, 0.3); }
.sidebar-brand-text strong { font-size: 1.14rem; }
.sidebar-brand-text strong em { color: var(--primary-hi); }
.sidebar-nav { gap: 5px; padding-top: 14px; }
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.side-link:hover { color: var(--text); background: rgba(125, 211, 252, 0.07); }
.side-link.is-active {
  color: #fff;
  border-color: rgba(47, 155, 255, 0.24);
  background: rgba(47, 155, 255, 0.14);
}
.side-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-hi);
}
.side-ico .icon { width: 15px; height: 15px; }
.side-group-label { color: var(--faint); letter-spacing: 0.22em; }
.side-cat-link { border-radius: 8px; }
.sidebar-foot { padding-top: 16px; border-top: 1px solid var(--line-soft); }
.ip-card, .user-card, .cart-card {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(9, 30, 52, 0.78);
}
.ip-card:hover, .user-card:hover, .cart-card:hover { border-color: var(--line-strong); background: rgba(15, 45, 76, 0.9); }
.help-link { color: var(--primary-hi); }

/* ---------- hero ---------- */

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  min-height: 224px;
  margin-top: 20px;
  padding: 28px clamp(22px, 3.4vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(620px 320px at 50% -22%, rgba(47, 155, 255, 0.34), transparent 72%),
    radial-gradient(440px 280px at 12% 110%, rgba(94, 234, 212, 0.12), transparent 70%),
    radial-gradient(420px 280px at 92% 100%, rgba(167, 139, 250, 0.16), transparent 70%),
    linear-gradient(135deg, #081d34 0%, #06182b 52%, #0a2139 100%);
  box-shadow: 0 26px 64px rgba(0, 5, 14, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.06) 44% 45%, transparent 45% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 15px);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-panel::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -170px;
  width: 620px;
  height: 260px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(47, 155, 255, 0.18);
  filter: blur(54px);
  pointer-events: none;
}

.hero-tile {
  --action: #47a9ff;
  --action-2: #2f9bff;
  --action-rgb: 71, 169, 255;
  --action-text: #bfe6ff;
  position: relative;
  isolation: isolate;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 96px;
  padding: 16px 16px 16px 15px;
  overflow: hidden;
  border: 1px solid rgba(var(--action-rgb), 0.28);
  border-radius: 16px;
  background:
    radial-gradient(190px 130px at 0% 0%, rgba(var(--action-rgb), 0.18), transparent 70%),
    linear-gradient(135deg, rgba(13, 40, 68, 0.96), rgba(5, 19, 35, 0.95));
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px rgba(0, 5, 14, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-tile::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -70px;
  z-index: 0;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(var(--action-rgb), 0.14);
  filter: blur(22px);
  pointer-events: none;
}
.hero-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--action-rgb), 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0, 5, 14, 0.35), 0 0 26px rgba(var(--action-rgb), 0.13);
}
.hero-tile:focus-visible {
  outline: 2px solid var(--action-text);
  outline-offset: 3px;
}
.hero-play {
  --action: #f3a712;
  --action-2: #f97316;
  --action-rgb: 243, 167, 18;
  --action-text: #ffd27d;
}
.hero-discord {
  --action: #6d7cff;
  --action-2: #5865f2;
  --action-rgb: 109, 124, 255;
  --action-text: #c5cbff;
}
.hero-tile-ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--action), var(--action-2));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 10px 22px rgba(var(--action-rgb), 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-tile-ico .icon { width: 25px; height: 25px; }
.hero-tile-ico.play { color: #241300; padding-left: 3px; }
.hero-tile:hover .hero-tile-ico {
  transform: translateY(-1px) scale(1.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 14px 26px rgba(var(--action-rgb), 0.38);
}
.hero-tile-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.hero-tile-copy small {
  color: var(--action-text);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-tile-copy strong {
  margin-top: 5px;
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.hero-tile-go {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(var(--action-rgb), 0.34);
  border-radius: 10px;
  background: rgba(var(--action-rgb), 0.1);
  color: var(--action-text);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hero-tile-go .icon { width: 15px; height: 15px; }
.hero-tile:hover .hero-tile-go {
  transform: translateX(2px);
  border-color: transparent;
  background: var(--action);
  color: #08131f;
}
.hero-tile-mark {
  position: absolute;
  right: 38px;
  bottom: -42px;
  z-index: 0;
  width: 132px;
  height: 132px;
  color: var(--action);
  opacity: 0.075;
  pointer-events: none;
  transform: rotate(-9deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hero-tile-mark .icon { width: 100%; height: 100%; }
.hero-tile:hover .hero-tile-mark {
  opacity: 0.13;
  transform: rotate(-4deg) scale(1.04);
}

.hero-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 250px;
}
.hero-logo-wrap { position: relative; display: grid; place-items: center; }
.hero-logo-ring {
  position: absolute;
  inset: -18px;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(121, 209, 255, 0.4), transparent 68%);
  filter: blur(10px);
}
.hero-logo {
  position: relative;
  width: clamp(78px, 8vw, 96px);
  height: clamp(78px, 8vw, 96px);
  border-radius: 24px;
  box-shadow: 0 0 46px rgba(91, 188, 255, 0.36), 0 18px 34px rgba(0, 5, 14, 0.3);
}
.hero-title-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.hero-title-row h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 0 6px 26px rgba(0, 5, 14, 0.42);
}
.demo-chip {
  padding: 4px 8px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.14);
  color: var(--amber);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- sale bar ---------- */

.sale-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 14px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 12px;
  background: linear-gradient(100deg, #f8b526 0%, #f59e0b 54%, #f97316 100%);
  color: #2a1700;
  box-shadow: 0 16px 34px rgba(180, 83, 9, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.sale-bar::after { display: none; }
.sale-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sale-badge {
  padding: 5px 8px;
  border-radius: 6px;
  background: #241500;
  color: #ffd77a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sale-name { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.03em; }
.sale-end { display: flex; align-items: center; gap: 8px; }
.sale-end-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }
.sale-timer { display: flex; gap: 4px; }
.sale-unit { display: flex; align-items: baseline; gap: 2px; padding: 4px 6px; border-radius: 5px; background: rgba(36, 21, 0, 0.16); }
.sale-unit b { font-size: 0.8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.sale-unit i { font-size: 0.48rem; font-style: normal; font-weight: 700; text-transform: uppercase; opacity: 0.66; }

/* ---------- main and headings ---------- */

.main { flex: 1; padding: 30px 0 76px; outline: none; }
.eyebrow {
  display: inline-block;
  color: var(--primary-hi);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 14px;
}
.section-head h2 { margin-top: 4px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.025em; }
.section-head p { color: var(--faint); font-size: 0.7rem; }

/* ---------- category tiles ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.category-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 188px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--tile-accent) 0%, #0a2037 120%);
  background: linear-gradient(135deg, var(--tile-accent) 0%, color-mix(in srgb, var(--tile-accent) 46%, #061528) 100%);
  color: var(--tile-ink, #fff);
  box-shadow: 0 20px 40px rgba(0, 5, 14, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: riseIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.category-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(320px 220px at 88% 10%, rgba(255, 255, 255, 0.24), transparent 68%),
    linear-gradient(112deg, transparent 0 58%, rgba(255, 255, 255, 0.12) 58% 59%, transparent 59% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 13px);
  opacity: 0.88;
}
.category-tile::after {
  content: '';
  position: absolute;
  right: -58px;
  bottom: -86px;
  z-index: 0;
  width: 245px;
  height: 245px;
  border: 1px solid currentColor;
  border-radius: 34px;
  opacity: 0.1;
  transform: rotate(15deg);
  pointer-events: none;
}
.category-tile:hover {
  transform: translateY(-5px);
  filter: saturate(1.08) brightness(1.05);
  box-shadow: 0 28px 55px rgba(0, 5, 14, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.tile-motif {
  position: absolute;
  right: -18px;
  bottom: -28px;
  z-index: 0;
  width: 188px;
  height: 188px;
  color: currentColor;
  opacity: 0.16;
  stroke-width: 0.9;
  pointer-events: none;
}
.tile-count {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.86;
}
.category-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.category-content h2 {
  max-width: 82%;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.16);
}
.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.category-cta .icon { width: 12px; height: 12px; transition: transform 0.18s ease; }
.category-tile:hover .category-cta .icon { transform: translateX(3px); }

/* ---------- category page ---------- */

.category-hero {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--cat-border, rgba(125, 211, 252, 0.26));
  border-radius: 20px;
  background:
    radial-gradient(480px 280px at 0% -18%, var(--cat-glow, rgba(47, 155, 255, 0.22)), transparent 72%),
    linear-gradient(120deg, #0a2038 0%, #07182c 72%);
  box-shadow: 0 22px 48px rgba(0, 5, 14, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.category-hero::after {
  content: '';
  position: absolute;
  right: -36px;
  bottom: -54px;
  width: 210px;
  height: 210px;
  border: 1px solid var(--cat-border, rgba(125, 211, 252, 0.3));
  border-radius: 36px;
  opacity: 0.24;
  transform: rotate(16deg);
  pointer-events: none;
}
.category-hero-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid var(--cat-border, rgba(125, 211, 252, 0.3));
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cat-accent, var(--primary-hi));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.category-hero-icon .icon { width: 38px; height: 38px; }
.category-hero-copy { position: relative; z-index: 1; min-width: 0; }
.breadcrumbs { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 0.62rem; font-weight: 600; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary-hi); }
.breadcrumbs .icon { width: 11px; height: 11px; }
.category-hero h1 {
  margin-top: 6px;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.category-hero .page-desc {
  max-width: 720px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
.category-hero .page-desc p { margin: 0; }
.category-hero-count {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--cat-border, rgba(125, 211, 252, 0.26));
  border-radius: 9px;
  background: rgba(5, 18, 34, 0.45);
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.category-hero-count strong { color: var(--text); font-size: 1.05rem; letter-spacing: -0.02em; }

body.is-category .hero-panel { display: none; }
body.is-category .main { padding-top: 22px; }

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 30, 52, 0.66);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.chip .icon { width: 13px; height: 13px; color: var(--primary-hi); }
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip.is-active { border-color: rgba(47, 155, 255, 0.46); background: rgba(47, 155, 255, 0.15); color: #fff; }

/* ---------- horizontal product rows ---------- */

.package-list { display: flex; flex-direction: column; gap: 13px; }
.package-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 150px 190px;
  grid-template-areas: 'icon main price action';
  align-items: center;
  gap: 18px;
  min-height: 122px;
  padding: 17px 18px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(540px 220px at 0% -24%, rgba(47, 155, 255, 0.16), transparent 70%),
    linear-gradient(100deg, #0e2238 0%, #081727 100%);
  color: var(--text);
  box-shadow: 0 18px 38px rgba(0, 5, 14, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: transform 0.19s ease, border-color 0.19s ease, box-shadow 0.19s ease;
  animation: riseIn 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.package-row:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 155, 255, 0.42);
  box-shadow: 0 26px 48px rgba(0, 5, 14, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.package-row:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.package-row-icon {
  position: relative;
  z-index: 1;
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 13px;
  background: rgba(47, 155, 255, 0.12);
  color: var(--primary-hi);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.package-row-icon .row-glyph { width: 34px; height: 34px; opacity: 0.95; }
.package-row-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.package-row-main { position: relative; z-index: 1; grid-area: main; min-width: 0; }
.package-cat {
  display: block;
  color: var(--primary-hi);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  opacity: 0.9;
}
.package-title {
  margin-top: 2px;
  font-size: clamp(1.1rem, 1.75vw, 1.42rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.14);
}
.package-desc {
  max-width: 680px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.package-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  color: inherit;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.package-row-meta span { display: inline-flex; align-items: center; gap: 4px; }
.package-row-meta .icon { width: 11px; height: 11px; }
.package-row-price {
  position: relative;
  z-index: 1;
  grid-area: price;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  text-align: right;
}
.package-row-price .price-now {
  color: inherit;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.package-row-price .price-was {
  color: inherit;
  font-size: 0.68rem;
  opacity: 0.62;
  text-decoration: line-through;
}
.package-badge {
  align-self: flex-end;
  margin-bottom: 4px;
  padding: 3px 6px;
  border-radius: 5px;
  background: #fff;
  color: #07182b;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.package-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  padding: 3px 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  color: inherit;
  font-size: 0.51rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.package-type .icon { width: 10px; height: 10px; }
.package-row-action { position: relative; z-index: 1; grid-area: action; width: 100%; }
.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(139, 220, 255, 0.62);
  border-radius: 10px;
  background: linear-gradient(135deg, #5ec6ff, #2f9bff);
  color: #03111f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(47, 155, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.48);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-buy:hover {
  background: linear-gradient(135deg, #7ed5ff, #48a9ff);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(47, 155, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}
.btn-buy .icon { width: 16px; height: 16px; }
.btn-buy .spinner { width: 15px; height: 15px; border-color: rgba(3, 17, 31, 0.25); border-top-color: #03111f; }

/* ---------- panels, community and information ---------- */

.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.community-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.45fr); gap: 14px; }
.community-layout .people-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.panel {
  position: relative;
  overflow: hidden;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(360px 240px at 100% 0%, rgba(47, 155, 255, 0.08), transparent 72%),
    linear-gradient(145deg, rgba(13, 37, 63, 0.94), rgba(7, 24, 43, 0.94));
  box-shadow: 0 18px 38px rgba(0, 5, 14, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.panel-motif {
  position: absolute;
  right: -26px;
  bottom: -32px;
  width: 146px;
  height: 146px;
  color: var(--panel-accent, var(--primary));
  opacity: 0.07;
  pointer-events: none;
}
.panel-head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.panel-head .icon { width: 17px; height: 17px; color: var(--panel-accent, var(--primary-hi)); }
.panel h2 { font-size: 1rem; font-weight: 800; letter-spacing: -0.015em; }
.panel p { color: var(--muted); font-size: 0.78rem; line-height: 1.68; }
.panel p + p { margin-top: 9px; }
.panel .fineprint { color: var(--faint); font-size: 0.66rem; line-height: 1.5; margin-top: 9px; }
.panel-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 13px; color: var(--primary-hi); font-size: 0.68rem; font-weight: 700; }
.panel-link .icon { width: 12px; height: 12px; }
.panel-link:hover { color: #fff; }
.goal-track { height: 10px; margin: 16px 0 8px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.07); }
.goal-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--leaf), #5eead4, var(--primary-hi)); box-shadow: 0 0 14px rgba(94, 234, 212, 0.3); }
.goal-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 0.65rem; }
.goal-meta .pct { color: var(--leaf); font-weight: 700; }
.gift-form, .coupon-form { display: flex; gap: 7px; margin-top: 12px; }
.field-input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(3, 15, 28, 0.62);
  color: var(--text);
  font-size: 0.78rem;
}
.field-input::placeholder { color: var(--faint); }
.field-input:focus { border-color: rgba(116, 210, 255, 0.64); box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.12); }
.btn { border-radius: 9px; }
.btn-primary { background: linear-gradient(135deg, #5ec6ff, #2f9bff); color: #03111f; box-shadow: 0 10px 24px rgba(47, 155, 255, 0.24); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(47, 155, 255, 0.34); }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.045); }
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(47, 155, 255, 0.08); }
.people-grid { display: grid; gap: 14px; }
.avatar-grid { gap: 8px; }
.avatar-wrap { border: 1px solid rgba(125, 211, 252, 0.14); background: rgba(4, 16, 31, 0.7); border-radius: 9px; }
.avatar-name { font-size: 0.6rem; color: var(--muted); }
.top-card { border-color: rgba(251, 191, 36, 0.26); background: linear-gradient(150deg, rgba(70, 48, 14, 0.42), rgba(9, 27, 47, 0.96)); }
.top-card .panel-motif { color: var(--amber); opacity: 0.1; }
.top-card .eyebrow { color: var(--amber); }
.top-avatar { border-color: rgba(251, 191, 36, 0.32); }
.top-name { font-weight: 800; }
.top-note { color: var(--faint); font-size: 0.65rem; }
.top-total { color: var(--amber); font-size: 1.5rem; font-weight: 800; }
.community-empty { display: flex; flex-direction: column; justify-content: center; min-height: 170px; }
.community-empty .panel-head { margin-bottom: 6px; }
.community-empty p { max-width: 34ch; }

/* ---------- empty / loading / errors ---------- */

.empty-panel, .error-panel {
  padding: 34px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9, 30, 52, 0.7);
}
.empty-panel h2, .error-panel h2 { font-weight: 800; }
.skeleton { background: linear-gradient(100deg, rgba(255, 255, 255, 0.045) 20%, rgba(255, 255, 255, 0.09) 40%, rgba(255, 255, 255, 0.045) 60%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton-tile { min-height: 188px; border-radius: 18px; border: 1px solid var(--line-soft); }
.spinner { border-color: rgba(255, 255, 255, 0.16); border-top-color: var(--primary-hi); }

/* ---------- cart drawer, modals and forms ---------- */

.drawer-scrim { background: rgba(1, 7, 14, 0.72); backdrop-filter: blur(4px); }
.cart-drawer {
  border-left: 1px solid rgba(125, 211, 252, 0.2);
  background: linear-gradient(180deg, #0a1e33 0%, #04101f 72%);
  box-shadow: -24px 0 60px rgba(0, 5, 14, 0.5);
}
.drawer-head { border-bottom: 1px solid var(--line-soft); }
.drawer-head h2 { font-weight: 800; letter-spacing: -0.02em; }
.drawer-body { background: transparent; }
.cart-item { border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(9, 30, 52, 0.72); }
.cart-thumb { border-radius: 9px; background: rgba(255, 255, 255, 0.06); }
.cart-item-name { font-weight: 700; }
.cart-line-total, .totals-row.total { font-weight: 800; }
.cart-totals { border-top: 1px solid var(--line-soft); }
.cart-block-label { color: var(--muted); }
.cart-notice { border: 1px solid rgba(47, 155, 255, 0.22); border-radius: 9px; background: rgba(47, 155, 255, 0.08); color: var(--muted); }
.cart-notice button { color: var(--primary-hi); font-weight: 700; }
.cart-demo { border: 1px solid rgba(251, 191, 36, 0.28); border-radius: 9px; background: rgba(251, 191, 36, 0.08); color: var(--amber); font-size: 0.68rem; }
.applied-tag { border: 1px solid var(--line); border-radius: 6px; background: rgba(47, 155, 255, 0.1); color: var(--primary-hi); }
.qty { border: 1px solid var(--line); border-radius: 8px; background: rgba(3, 15, 28, 0.5); }
.qty button { color: var(--muted); }
.qty button:hover { color: var(--text); background: rgba(47, 155, 255, 0.12); }
.remove-btn { color: var(--faint); }
.remove-btn:hover { color: var(--danger); }
.cart-empty { color: var(--muted); }
.cart-empty h3 { color: var(--text); font-weight: 800; }
.empty-ico { background: rgba(47, 155, 255, 0.12); color: var(--primary-hi); }
.modal-backdrop { background: rgba(1, 7, 14, 0.78); backdrop-filter: blur(5px); }
.modal {
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, #0c2340 0%, #06182b 74%);
  box-shadow: 0 32px 90px rgba(0, 5, 14, 0.62);
}
.modal h2 { font-weight: 800; letter-spacing: -0.03em; }
.modal .rich { color: var(--muted); }
.package-modal-media { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(47, 155, 255, 0.14), rgba(6, 24, 43, 0.9)); }
.modal-qty { border: 1px solid var(--line); border-radius: 8px; background: rgba(3, 15, 28, 0.62); color: var(--text); }
.modal-fine { color: var(--faint); }
.field-label { color: var(--muted); font-weight: 600; }
.toast { border: 1px solid var(--line-strong); border-radius: 10px; background: #0b2743; box-shadow: var(--shadow); }
.toast.success { border-color: rgba(74, 222, 128, 0.34); }
.toast.error { border-color: rgba(255, 113, 133, 0.38); }

/* ---------- legal, CMS and result pages ---------- */

.page-head { margin: 4px 0 20px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.05em; text-transform: uppercase; }
.page-head .page-desc { color: var(--muted); }
.legal-layout, .cms-panel, .result-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 37, 63, 0.94), rgba(7, 24, 43, 0.95));
  box-shadow: 0 18px 38px rgba(0, 5, 14, 0.24);
}
.legal-toc, .legal-summary { border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(3, 15, 28, 0.48); }
.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: var(--primary-hi); }
.legal h2, .legal h3, .cms-panel h2, .cms-panel h3 { color: var(--text); }
.legal p, .legal li, .cms-panel p, .cms-panel li { color: var(--muted); }
.result-card .result-icon { background: rgba(47, 155, 255, 0.12); color: var(--primary-hi); }
.result-card.success .result-icon { background: rgba(74, 222, 128, 0.12); color: var(--leaf); }

/* ---------- footer ---------- */

.site-footer {
  margin-top: auto;
  padding: 34px 0 28px;
  border-top: 1px solid rgba(125, 211, 252, 0.14);
  color: var(--muted);
}
.footer-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand img { border-radius: 10px; box-shadow: 0 0 24px rgba(72, 166, 255, 0.28); }
.footer-brand span { display: flex; flex-direction: column; line-height: 1; }
.footer-brand strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.03em; }
.footer-brand strong em { font-style: normal; color: var(--primary-hi); }
.footer-brand small { margin-top: 5px; color: var(--faint); font-size: 0.5rem; letter-spacing: 0.24em; text-transform: uppercase; }
body:not(.app-ready) .site-footer { visibility: hidden; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px 16px; }
.footer-links a { color: var(--muted); font-size: 0.66rem; font-weight: 600; }
.footer-links a:hover { color: var(--primary-hi); }
.footer-rule { height: 1px; margin: 24px 0 16px; background: var(--line-soft); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-bottom p { display: block; color: var(--faint); font-size: 0.62rem; line-height: 1.6; }
.footer-bottom p strong { color: var(--muted); }
.footer-bottom p span { display: block; margin-top: 2px; }
.footer-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.footer-ip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(9, 30, 52, 0.66);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
}
.footer-ip:hover { border-color: var(--line-strong); color: var(--text); }
.footer-ip .icon { width: 13px; height: 13px; color: var(--primary-hi); }
.footer-social {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(9, 30, 52, 0.66);
  color: var(--primary-hi);
}
.footer-social:hover { border-color: var(--line-strong); background: rgba(47, 155, 255, 0.12); }

/* ---------- motion ---------- */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  from { background-position: 180% 0; }
  to { background-position: -40% 0; }
}

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .shell { padding-left: 20px; padding-right: 20px; }
  .top-link { padding: 0 10px; }
  .top-action-copy strong { max-width: 92px; }
  .hero-panel { grid-template-columns: minmax(0, 0.95fr) auto minmax(0, 0.95fr); padding: 24px; }
  .hero-tile { min-height: 88px; padding: 13px; gap: 11px; }
  .hero-tile-ico { width: 48px; height: 48px; border-radius: 14px; }
  .hero-tile-mark { width: 112px; height: 112px; }
  .package-row { grid-template-columns: 70px minmax(0, 1fr) 136px 172px; gap: 14px; }
  .package-row-icon { width: 66px; height: 66px; }
}

@media (max-width: 960px) {
  .topbar { gap: 10px; }
  .side-toggle { display: grid; flex: none; }
  .top-nav { display: none; }
  .brand { margin-right: auto; }
  .top-actions { margin-left: 0; }
  .hero-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 24px; }
  .hero-brand { grid-column: 1 / -1; grid-row: 1; min-width: 0; padding: 4px 0 8px; }
  .hero-play { grid-column: 1; grid-row: 2; }
  .hero-discord { grid-column: 2; grid-row: 2; }
  .hero-tile { min-height: 82px; }
  .category-grid { gap: 13px; }
  .category-tile { min-height: 172px; padding: 21px; }
  .category-content h2 { font-size: 1.7rem; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-layout { grid-template-columns: 1fr; }
  .package-row { grid-template-columns: 64px minmax(0, 1fr) 130px; grid-template-areas: 'icon main price' 'icon main action'; gap: 6px 14px; padding: 15px; }
  .package-row-icon { width: 62px; height: 62px; grid-row: 1 / 3; }
  .package-row-price { grid-column: 3; grid-row: 1; }
  .package-row-action { grid-column: 3; grid-row: 2; }
  .btn-buy { min-height: 42px; }
  .footer-top { grid-template-columns: auto 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .shell { padding: 10px 14px 0; }
  .topbar { top: 8px; border-radius: 13px; padding: 7px 8px 7px 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.17rem; }
  .brand-copy small { font-size: 0.48rem; letter-spacing: 0.22em; }
  .top-action { min-height: 41px; padding: 5px 8px 5px 5px; }
  .top-action-copy { display: none; }
  .top-action-ico { width: 31px; height: 31px; }
  .hero-panel { grid-template-columns: 1fr; gap: 11px; margin-top: 14px; border-radius: 17px; padding: 20px 16px; }
  .hero-brand { grid-column: 1; grid-row: 1; }
  .hero-play { grid-column: 1; grid-row: 2; }
  .hero-discord { grid-column: 1; grid-row: 3; }
  .hero-title-row h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-tile { min-height: 78px; padding: 12px 13px; gap: 11px; }
  .hero-tile-ico { width: 44px; height: 44px; border-radius: 13px; }
  .hero-tile-ico .icon { width: 21px; height: 21px; }
  .hero-tile-copy small { font-size: 0.52rem; }
  .hero-tile-copy strong { font-size: 0.96rem; }
  .hero-tile-go { width: 30px; height: 30px; border-radius: 9px; }
  .hero-tile-mark { right: 34px; bottom: -34px; width: 100px; height: 100px; }
  .sale-bar { align-items: flex-start; flex-direction: column; gap: 7px; }
  .sale-end { width: 100%; justify-content: space-between; }
  .category-grid { grid-template-columns: 1fr; }
  .category-tile { min-height: 154px; padding: 19px 21px; }
  .category-content h2 { font-size: 1.65rem; max-width: 70%; }
  .category-cta { margin-top: 9px; }
  .tile-motif { width: 154px; height: 154px; right: -12px; bottom: -24px; }
  .category-hero { grid-template-columns: 64px minmax(0, 1fr); padding: 17px; gap: 12px; border-radius: 16px; }
  .category-hero-icon { width: 64px; height: 64px; border-radius: 14px; }
  .category-hero-icon .icon { width: 29px; height: 29px; }
  .category-hero-count { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-self: start; padding: 6px 8px; }
  .category-hero-count strong { font-size: 0.8rem; }
  .category-hero h1 { font-size: 1.65rem; }
  .package-row { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: 'icon main' 'price action'; gap: 10px 12px; padding: 13px; border-radius: 13px; }
  .package-row-icon { width: 54px; height: 54px; border-radius: 10px; }
  .package-row-icon .row-glyph { width: 26px; height: 26px; }
  .package-title { font-size: 1.08rem; }
  .package-desc { font-size: 0.68rem; -webkit-line-clamp: 2; }
  .package-row-meta { margin-top: 5px; gap: 7px; font-size: 0.49rem; }
  .package-row-price { grid-column: 1; grid-row: 2; align-items: flex-start; text-align: left; }
  .package-row-price .price-now { font-size: 1.28rem; }
  .package-badge { align-self: flex-start; margin-bottom: 2px; }
  .package-row-action { grid-column: 2; grid-row: 2; align-self: end; }
  .btn-buy { min-height: 40px; font-size: 0.62rem; padding: 0 8px; }
  .info-grid { grid-template-columns: 1fr; }
  .community-layout .people-grid { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 15px; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-actions { width: 100%; justify-content: space-between; }
}

@media (max-width: 480px) {
  .shell { padding-left: 11px; padding-right: 11px; }
  .hero-panel { padding: 18px 12px; }
  .hero-tile { padding: 11px 12px; }
  .hero-tile-copy small { font-size: 0.5rem; }
  .hero-tile-copy strong { font-size: 0.9rem; }
  .category-tile { min-height: 144px; }
  .category-content h2 { font-size: 1.5rem; }
  .top-action-ico { width: 29px; height: 29px; }
  .brand-copy small { display: none; }
  .sale-name { font-size: 0.7rem; }
  .sale-unit { padding: 3px 5px; }
  .sale-unit b { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .category-tile, .package-row { animation: none; }
  .hero-tile, .top-action, .package-row, .category-tile { transition: none; }
}
