/* =========================================================
   BORO STORE — red & black theme
   Change the colours below to re-theme the whole site.
   ========================================================= */

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

:root {
  --bg: #060404;
  --bg-2: #120909;
  --card: rgba(20, 10, 10, 0.86);
  --card-strong: rgba(12, 6, 6, 0.97);
  --text: #f8f2f2;
  --muted: #a89a9a;
  --primary: #e10600;
  --primary2: #ff2b2b;
  --primary3: #ff9a94;
  --primary-light: #ff3b30;
  --primary-dark: #a80400;
  --primary-deep: #5e0200;
  --primary-rgb: 225, 6, 0;
  --border: rgba(var(--primary-rgb), 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  --radius: 20px;
  --font-display: "Rajdhani", "Chakra Petch", Arial, sans-serif;

  --mouse-x: 50%;
  --mouse-y: 50%;
  --scroll-depth: 0px;
  --scroll-tilt: 0deg;
}

html { scroll-behavior: smooth; }

body {
  position: relative;
  font-family: "Chakra Petch", Arial, Helvetica, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(6,4,4,0.2), rgba(6,4,4,0.85)),
    linear-gradient(135deg, rgba(20,4,4,0.5), rgba(2,2,2,0.6));
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(var(--primary-rgb), 0.06), transparent 48%),
    linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.08) 30%, rgba(0,0,0,0.45));
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(135deg,
    rgba(var(--primary-rgb), 0.03) 0px, rgba(var(--primary-rgb), 0.03) 1px,
    transparent 1px, transparent 48px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.75;
  animation: drift 18s ease-in-out infinite alternate;
}
.bg-glow.one {
  width: 46vw; height: 46vw;
  left: calc(var(--mouse-x) - 26vw);
  top: calc(var(--mouse-y) - 22vw);
  background: rgba(var(--primary-rgb), 0.16);
}
.bg-glow.two {
  width: 40vw; height: 40vw;
  right: 10vw; top: 18vh;
  background: rgba(var(--primary-rgb), 0.12);
  animation-duration: 22s;
}
.bg-glow.three {
  width: 32vw; height: 32vw;
  left: 10vw; bottom: 4vh;
  background: rgba(var(--primary-rgb), 0.07);
  animation-duration: 26s;
}
@keyframes drift {
  from { transform: translate3d(0, calc(var(--scroll-depth) * -0.18), 0) scale(1); }
  to   { transform: translate3d(30px, calc(var(--scroll-depth) * -0.18 - 30px), 0) scale(1.08); }
}

.navbar, main, footer, .announcement { position: relative; z-index: 1; }

button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); }
[hidden] { display: none !important; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- ANNOUNCEMENT ---------- */
.announcement {
  z-index: 101;
  padding: 9px 6%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ---------- NAVBAR ---------- */
.navbar {
  min-height: 80px;
  padding: 10px 6%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 4, 4, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-style: italic;
  text-decoration: none;
  transform: perspective(500px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.logo.is-tilting { transition: transform 0.12s ease-out; }
.logo .logo-main {
  color: var(--text);
  text-shadow: 0 1px 0 #d8caca, 0 2px 0 #b9a6a6, 0 3px 0 #998484, 0 4px 0 #7a6464, 0 7px 12px rgba(0,0,0,0.65);
}
.logo .logo-accent {
  color: var(--primary2);
  text-shadow: 0 1px 0 var(--primary-dark), 0 2px 0 var(--primary-dark), 0 3px 0 var(--primary-deep), 0 4px 0 var(--primary-deep),
    0 7px 12px rgba(0,0,0,0.65), 0 0 22px rgba(var(--primary-rgb), 0.45);
}

.nav-links { display: flex; gap: 8px; perspective: 600px; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--font-display);
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), color 0.25s, background 0.25s, box-shadow 0.35s, border-color 0.25s;
}
.nav-links a:hover {
  color: var(--text);
  border-color: rgba(var(--primary-rgb), 0.35);
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.16), rgba(var(--primary-rgb), 0.03));
  box-shadow: 0 4px 0 var(--primary-deep), 0 14px 22px rgba(0,0,0,0.45);
  transform: translateY(-3px) rotateX(16deg);
}
.nav-links a.active {
  color: #fff;
  border-color: color-mix(in srgb, var(--primary3) 45%, transparent);
  background: linear-gradient(180deg, var(--primary-light), var(--primary) 55%, var(--primary-dark));
  box-shadow: 0 4px 0 var(--primary-deep), 0 12px 24px rgba(var(--primary-rgb), 0.3), inset 0 1px 0 rgba(255,255,255,0.35);
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}
.nav-links a:active { transform: translateY(2px); transition-duration: 0.08s; }

.nav-contacts { display: flex; align-items: center; gap: 10px; }
.nav-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--primary2);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 11px;
  background: linear-gradient(180deg, #241414, #110a0a);
  box-shadow: 0 4px 0 #040202, 0 4px 0 1px rgba(var(--primary-rgb), 0.18), 0 12px 20px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, border-color 0.25s;
}
.nav-btn svg { width: 21px; height: 21px; fill: currentColor; filter: drop-shadow(0 2px 0 rgba(0,0,0,0.7)); transition: transform 0.35s; }
.nav-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-rgb), 0.6);
  box-shadow: 0 7px 0 #040202, 0 7px 0 1px rgba(var(--primary-rgb), 0.4), 0 18px 28px rgba(0,0,0,0.5), 0 0 22px rgba(var(--primary-rgb), 0.2);
}
.nav-btn:hover svg { transform: scale(1.14) rotate(-8deg); }
.nav-btn:active { transform: translateY(3px); transition-duration: 0.08s; }

/* ---------- HERO (home) ---------- */
.hero {
  padding: 18px 6% 10px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 560px;
  max-width: 1180px;
  margin: 0 auto;
  perspective: 1400px;
}

.poster-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-top: 50px;
  padding-left: 8px;
  transform-style: preserve-3d;
}
.poster-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), transparent 55%),
    linear-gradient(180deg, rgba(24,12,12,0.94), rgba(10,6,6,0.96));
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.4);
  transform-style: preserve-3d;
  transform-origin: right center;
  transform: translateZ(var(--lift, 0px)) rotateX(var(--tilt-x, 0deg)) rotateY(calc(var(--rail-angle, 18deg) + var(--tilt-y, 0deg)));
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.4s;
  animation: railEnter 0.8s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}
.poster-feature.is-tilting { transition: transform 0.12s ease-out, border-color 0.3s, box-shadow 0.4s; }
.poster-feature:hover {
  --lift: 30px;
  --rail-angle: 0deg;
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 26px 44px rgba(0,0,0,0.55), 0 0 28px rgba(var(--primary-rgb), 0.2);
}
.poster-feature .icon {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--primary2), var(--primary) 55%, var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 18px rgba(var(--primary-rgb), 0.3), inset 0 1px 0 rgba(255,255,255,0.4);
  transform: translateZ(32px);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.poster-feature:hover .icon { transform: translateZ(48px) rotate(-8deg); }
.poster-feature strong, .poster-feature span { display: block; text-transform: uppercase; line-height: 1.15; }
.poster-feature strong { font-size: 12px; letter-spacing: 0.1em; color: var(--primary3); }
.poster-feature span { font-size: 11px; color: rgba(255,255,255,0.8); letter-spacing: 0.07em; }
@keyframes railEnter {
  from { opacity: 0; translate: -46px 0; }
  to { opacity: 1; translate: 0 0; }
}

.icon svg, .ico {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

.poster-scene {
  position: relative;
  min-height: 510px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 28px 20px;
  background: #0a0606;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--primary-rgb), 0.08), 0 0 70px rgba(var(--primary-rgb), 0.1);
  transform:
    translate3d(0, calc(var(--scroll-depth) * -0.08), 0)
    rotateX(calc(var(--scroll-tilt) + var(--tilt-x, 0deg)))
    rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.poster-scene.is-tilting { transition: transform 0.12s ease-out; }

.poster-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.poster-bg-image {
  position: absolute;
  inset: -6%;
  /* Generated backdrop. Set --hero-image in data.js (hero.backgroundImage) to use a real photo. */
  background:
    var(--hero-image, none) center / cover no-repeat,
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(var(--primary-rgb), 0.55), transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(var(--primary-rgb), 0.25), transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 30%, rgba(var(--primary-rgb), 0.2), transparent 70%),
    linear-gradient(transparent 0 calc(100% - 1px), rgba(var(--primary-rgb), 0.18) 0) 0 0 / 100% 42px,
    linear-gradient(90deg, transparent 0 calc(100% - 1px), rgba(var(--primary-rgb), 0.18) 0) 0 0 / 42px 100%,
    linear-gradient(180deg, #120606, #050303);
  transform: translate3d(calc(var(--pointer-x, 0) * -36px), calc(var(--pointer-y, 0) * -24px), 0);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.poster-scene.is-tilting .poster-bg-image { transition: transform 0.12s ease-out; }
.poster-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 55% at 50% 42%, rgba(0,0,0,0.5), transparent 72%),
    linear-gradient(180deg, rgba(5,2,2,0.1) 0%, rgba(5,2,2,0.2) 45%, rgba(5,2,2,0.8) 100%);
}
.poster-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 0%), color-mix(in srgb, var(--primary3) 16%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.poster-scene.is-tilting::after { opacity: 1; }

.poster-embers {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transform: translateZ(28px);
  background-image:
    radial-gradient(circle, var(--primary2) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(var(--primary-rgb), 0.75) 0 1px, transparent 2px),
    radial-gradient(circle, var(--primary3) 0 1px, transparent 2px);
  background-size: 190px 230px, 130px 170px, 250px 210px;
  background-position: 0 0, 40px 60px, 90px 20px;
  opacity: 0.65;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 85%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 85%, transparent);
  animation: embersRise 16s linear infinite;
}
@keyframes embersRise { to { background-position: 0 -230px, 40px -110px, 90px -190px; } }

.poster-brand, .poster-slogan, .poster-title, .poster-bottom { position: relative; z-index: 1; }
.poster-brand {
  position: absolute;
  top: 28px; left: 26px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(20, 8, 8, 0.75);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--primary2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0,0,0,0.3);
  transform: translateZ(60px);
}
.poster-slogan {
  position: absolute;
  top: 32px; right: 28px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--primary2);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  font-style: italic;
  white-space: pre-line;
  text-align: right;
  transform: translateZ(80px) rotate(8deg);
}
.poster-title {
  font-family: var(--font-display);
  margin-top: 40px;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.75;
  font-style: italic;
  transform: translateZ(70px) rotate(-2deg);
}
.poster-title .top {
  display: block;
  font-size: clamp(72px, 9vw, 200px);
  color: #f6eeee;
  text-shadow: 8px 8px 0 rgba(0,0,0,0.3), 0 0 24px rgba(var(--primary-rgb), 0.35);
  -webkit-text-stroke: 4px rgba(var(--primary-rgb), 0.85);
}
.poster-title .bottom {
  display: block;
  font-size: clamp(38px, 6vw, 110px);
  color: var(--primary2);
  text-shadow: 6px 6px 0 rgba(0,0,0,0.45);
}
.poster-bottom {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  transform: translateZ(55px);
}
.poster-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 16px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--primary-light), var(--primary) 60%, var(--primary-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--primary-deep), 0 18px 32px rgba(var(--primary-rgb), 0.4);
  transform: skewX(-8deg);
  transition: transform 0.25s, box-shadow 0.25s;
}
.poster-cta span { display: inline-block; transform: skewX(8deg); }
.poster-cta:hover { transform: skewX(-8deg) translateY(-3px); box-shadow: 0 9px 0 var(--primary-deep), 0 24px 40px rgba(var(--primary-rgb), 0.5); }
.poster-cta:active { transform: skewX(-8deg) translateY(3px); box-shadow: 0 2px 0 var(--primary-deep), 0 8px 16px rgba(var(--primary-rgb), 0.4); }

/* ---------- FEATURES ---------- */
.features {
  padding: 30px 6% 70px;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  perspective: 1100px;
}
.feature-card {
  position: relative;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), transparent 50%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(var(--lift, 0px));
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), border-color 0.3s;
}
.feature-card.is-tilting { transition: transform 0.12s ease-out, border-color 0.3s; }
.feature-card:hover { --lift: 16px; border-color: rgba(var(--primary-rgb), 0.5); }
.feature-card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(145deg, var(--primary2), var(--primary) 55%, var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.3), inset 0 1px 0 rgba(255,255,255,0.35);
  transform: translateZ(30px);
}
.feature-card .icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 8px; transform: translateZ(20px); }
.feature-card p { color: var(--muted); line-height: 1.6; transform: translateZ(12px); }

/* ---------- SECTION HEADERS & BUTTON LINKS ---------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; letter-spacing: 0.02em; }
.section-header h2::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  margin-top: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), transparent);
}
.link-button {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text);
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  background: rgba(var(--primary-rgb), 0.08);
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.link-button:hover { background: rgba(var(--primary-rgb), 0.2); border-color: var(--primary); transform: translateY(-2px); }

/* ---------- HOME CATEGORY TILES ---------- */
.tiles, .featured { padding: 0 6% 70px; max-width: 1300px; margin: 0 auto; }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  perspective: 1100px;
}
.tile {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 85% 15%, rgba(var(--primary-rgb), 0.35), transparent 50%),
    linear-gradient(160deg, #1d0c0c, #090505);
  box-shadow: var(--shadow);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(var(--lift, 0px));
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), border-color 0.3s;
}
.tile.is-tilting { transition: transform 0.12s ease-out, border-color 0.3s; }
.tile:hover { --lift: 14px; border-color: rgba(var(--primary-rgb), 0.6); }
.tile-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85)); }
.tile > * { position: relative; z-index: 1; }
.tile .tile-icon {
  position: absolute;
  top: 22px; right: 22px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary2), var(--primary) 55%, var(--primary-dark));
  box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.35);
}
.tile .tile-icon svg { width: 26px; height: 26px; }
.tile h3 { font-size: 28px; text-transform: uppercase; }
.tile p { color: var(--muted); margin-top: 6px; line-height: 1.5; font-size: 14px; }
.tile .tile-go { margin-top: 12px; color: var(--primary2); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- PAGE HEADER (store / accounts / support) ---------- */
.page-hero {
  text-align: center;
  padding: 56px 6% 36px;
  max-width: 860px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--primary2);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  background: rgba(var(--primary-rgb), 0.08);
}
.page-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  text-transform: uppercase;
  font-style: italic;
  line-height: 1;
  margin: 16px 0 12px;
  text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.35);
}
.page-hero p { color: var(--muted); font-size: 17px; line-height: 1.6; }

/* 3D emblem coin */
.emblem { display: flex; flex-direction: column; align-items: center; gap: 14px; width: fit-content; margin: 0 auto 22px; perspective: 700px; }
.emblem-orb { position: relative; width: 130px; height: 130px; display: grid; place-items: center; }
.emblem-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.45);
  animation: ringPulse 2.8s ease-out infinite;
}
.emblem-ring.two { animation-delay: 1.4s; }
@keyframes ringPulse { from { transform: scale(0.75); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.emblem-coin {
  position: relative;
  width: 104px; height: 104px;
  transform-style: preserve-3d;
  animation: coinSpin 7s ease-in-out infinite;
}
.emblem.is-tilting .emblem-coin { animation-play-state: paused; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
@keyframes coinSpin {
  0%, 100% { transform: rotateY(-22deg) rotateX(8deg); }
  50% { transform: rotateY(22deg) rotateX(-6deg); }
}
.emblem-layer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary-deep);
  transform: translateZ(calc(var(--z) * -1px));
}
.emblem-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--primary-light), var(--primary) 50%, var(--primary-dark));
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -6px 14px rgba(0,0,0,0.35), 0 0 40px rgba(var(--primary-rgb), 0.45);
  transform: translateZ(2px);
}
.emblem.is-hex .emblem-face, .emblem.is-hex .emblem-layer { border-radius: 0; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.emblem-face svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.emblem-face strong { font-family: var(--font-display); font-size: 20px; font-weight: 900; letter-spacing: 0.04em; }
.emblem-shadow {
  position: absolute;
  bottom: -14px;
  width: 80px; height: 12px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.35);
  filter: blur(8px);
}
.emblem-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.emblem-dot { width: 8px; height: 8px; border-radius: 50%; background: #2bd96b; box-shadow: 0 0 10px #2bd96b; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

/* ---------- STORE ---------- */
.store { padding: 0 6% 80px; max-width: 1300px; margin: 0 auto; }

.category-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
  perspective: 900px;
}
.category-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(var(--lift, 0px));
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), border-color 0.25s, background 0.25s;
}
.category-icon.is-tilting { transition: transform 0.12s ease-out, border-color 0.25s, background 0.25s; }
.category-icon:hover { --lift: 10px; border-color: rgba(var(--primary-rgb), 0.5); }
.category-icon.active { border-color: var(--primary); background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.22), rgba(var(--primary-rgb), 0.05)); }
.category-icon .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary2), var(--primary) 55%, var(--primary-dark));
  box-shadow: 0 5px 0 var(--primary-deep), 0 14px 22px rgba(var(--primary-rgb), 0.3);
}
.category-icon .icon svg { width: 24px; height: 24px; }

.store-toolbar { margin-bottom: 16px; }
.categories { display: flex; flex-wrap: wrap; gap: 10px; }
.category-btn {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.25s;
}
.category-btn:hover { color: var(--text); border-color: rgba(var(--primary-rgb), 0.5); }
.category-btn.active { color: #fff; border-color: var(--primary); background: linear-gradient(180deg, var(--primary-light), var(--primary) 60%, var(--primary-dark)); box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.28); }

.search, .catalog-filter {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 5, 5, 0.85);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.search { min-width: 260px; }
.search:focus, .catalog-filter:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.18); }
.catalog-filter option { background: #120808; }
.catalog-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

/* ---------- PRODUCT CARDS ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  perspective: 1200px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  color: inherit;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(var(--lift, 0px));
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s;
  animation: cardIn 0.6s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes cardIn { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
.product-card.is-tilting { transition: transform 0.12s ease-out, border-color 0.3s, box-shadow 0.3s; }
.product-card:hover { --lift: 18px; border-color: rgba(var(--primary-rgb), 0.55); box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 34px rgba(var(--primary-rgb), 0.18); }
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 0%), color-mix(in srgb, var(--primary3) 14%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.product-card.is-tilting::after { opacity: 1; }

.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 25%, rgba(var(--primary-rgb), 0.45), transparent 55%),
    linear-gradient(transparent 0 calc(100% - 1px), rgba(var(--primary-rgb), 0.12) 0) 0 0 / 100% 28px,
    linear-gradient(160deg, #220c0c, #0a0505);
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .media-icon {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary2), var(--primary) 55%, var(--primary-dark));
  box-shadow: 0 8px 0 var(--primary-deep), 0 20px 36px rgba(var(--primary-rgb), 0.4);
  transform: translateZ(40px) rotate(-6deg);
}
.product-media .media-icon svg { width: 34px; height: 34px; }
.badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 10px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(var(--primary-rgb), 0.4);
}
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-category {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary2);
}
.product-card h3 { font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.product-card p { color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--text); }
.price small { font-size: 14px; color: var(--muted); font-weight: 600; text-decoration: line-through; margin-left: 6px; }
.price small.from { text-decoration: none; margin: 0 6px 0 0; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.price-options { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 4px 0 14px; }
.price-option {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.12), rgba(0,0,0,0.35));
  font-family: var(--font-display);
  text-align: center;
}
.price-option span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.price-option strong { font-size: 17px; font-weight: 900; color: var(--primary2); }
.view-btn {
  padding: 9px 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(180deg, var(--primary-light), var(--primary) 60%, var(--primary-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 0 var(--primary-deep);
}
.purchase-btn { display: block; width: 100%; margin-top: auto; padding: 13px 16px; font-size: 17px; text-align: center; }
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ---------- PRODUCT MODAL ---------- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.product-modal.open { opacity: 1; visibility: visible; }
.product-modal-content {
  position: relative;
  width: min(900px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(160deg, #1a0a0a, #080404);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 60px rgba(var(--primary-rgb), 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.product-modal.open .product-modal-content { transform: none; }
.product-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}
.product-modal-close:hover { background: var(--primary); border-color: var(--primary); }
.product-modal-content h2 { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; margin: 6px 0 18px; padding-right: 40px; }
.product-modal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-modal-price { font-family: var(--font-display); font-size: 38px; font-weight: 900; color: var(--primary2); margin-bottom: 14px; }
.product-modal-description { color: var(--muted); line-height: 1.7; white-space: pre-line; }
.feature-list { list-style: none; margin: 16px 0; display: grid; gap: 8px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.feature-list li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 7px; border-radius: 2px; background: var(--primary); transform: rotate(45deg); }
.product-modal-gallery { display: grid; gap: 12px; align-content: start; }
.product-modal-gallery .product-media { border-radius: 16px; border: 1px solid var(--border); }
.buy-label { margin-top: 20px; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: var(--muted); }
.product-contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(180deg, var(--primary-light), var(--primary) 60%, var(--primary-dark));
  box-shadow: 0 4px 0 var(--primary-deep), 0 12px 22px rgba(var(--primary-rgb), 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-pill.alt { background: linear-gradient(180deg, #241414, #110a0a); border: 1px solid rgba(var(--primary-rgb), 0.35); box-shadow: 0 4px 0 #040202; }
.contact-pill svg { width: 18px; height: 18px; fill: currentColor; }
.contact-pill:hover { transform: translateY(-2px); }

/* ---------- ACCOUNTS ---------- */
.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 6%;
}
.showcase-stat {
  text-align: center;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
}
.showcase-stat strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--primary2); }
.showcase-stat span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.accounts-count { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.accounts-count b { color: var(--primary2); }
.account-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--text);
}
.pagination-wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.page-btn {
  min-width: 42px; height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
}
.page-btn:hover:not(:disabled) { border-color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); }
.page-btn:disabled { opacity: 0.35; cursor: default; }

/* ---------- SUPPORT ---------- */
.support-section { padding: 0 6% 80px; max-width: 1100px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
  perspective: 1000px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(var(--lift, 0px));
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), border-color 0.3s;
}
.contact-card.is-tilting { transition: transform 0.12s ease-out, border-color 0.3s; }
.contact-card:hover { --lift: 12px; border-color: rgba(var(--primary-rgb), 0.55); }
.contact-card .icon {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary2), var(--primary) 55%, var(--primary-dark));
  box-shadow: 0 5px 0 var(--primary-deep), 0 14px 22px rgba(var(--primary-rgb), 0.3);
}
.contact-card .icon svg { width: 26px; height: 26px; fill: currentColor; }
.contact-card strong { display: block; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.contact-card span { color: var(--muted); font-size: 14px; word-break: break-all; }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary2); font-size: 24px; line-height: 1; transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: rgba(var(--primary-rgb), 0.45); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); line-height: 1.7; }

/* ---------- FOOTER ---------- */
footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: start;
  gap: 30px;
  padding: 40px 6%;
  border-top: 1px solid var(--border);
  background: rgba(6, 3, 3, 0.85);
  color: var(--muted);
}
footer strong { font-family: var(--font-display); font-size: 20px; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; }
.footer-brand p { margin-top: 8px; }
.footer-support { display: flex; flex-direction: column; gap: 8px; }
.footer-support a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); transition: color 0.2s; }
.footer-support a:hover { color: var(--primary2); }
.footer-support svg { width: 16px; height: 16px; fill: currentColor; }
.footer-copy { align-self: end; font-size: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .poster-rail {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }
  .poster-feature { --rail-angle: 0deg; flex: 1 1 160px; }
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-modal-layout { grid-template-columns: 1fr; }
  .product-modal-gallery { order: -1; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-copy { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .navbar { padding: 10px 16px; justify-content: center; }
  .logo { font-size: 24px; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 4px; }
  .nav-links a { padding: 8px 10px; font-size: 14px; }
  .nav-btn { width: 36px; height: 36px; }
  .hero, .features, .tiles, .featured, .store, .support-section { padding-left: 16px; padding-right: 16px; }
  .poster-scene { min-height: 440px; padding: 18px 16px 18px; border-radius: 24px; }
  .poster-brand { top: 18px; left: 16px; font-size: 16px; }
  .poster-slogan { top: 20px; right: 18px; font-size: 18px; }
  .poster-cta { min-width: 0; width: 100%; font-size: 18px; }
  .search { min-width: 0; width: 100%; }
  .catalog-filters { grid-template-columns: 1fr; }
  .showcase-stats { grid-template-columns: 1fr; padding: 0 16px; }
  .product-modal-content { padding: 24px 18px; }
  footer { grid-template-columns: 1fr; padding: 32px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
