/* ZEN-DEVELOPMENT — Design system based on zenrp.cz */

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --accent: #a3e635;
  --accent-hover: #bef264;
  --accent-muted: rgba(163, 230, 53, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(163, 230, 53, 0.4);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 9999px;
  --font: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-height: 72px;
  --container: 1200px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header / Navbar ─── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: rgba(163, 230, 53, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-height);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  justify-self: start;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.9;
}

.logo-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 0 10px rgba(163, 230, 53, 0.35));
  margin-right: -4px;
}

.logo-text {
  margin-left: -2px;
}

.logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-muted);
  border-color: var(--border-accent);
}

.nav-links a.store-link {
  color: var(--text-secondary);
}

.nav-links a.store-link:hover,
.nav-links a.store-link.active {
  color: var(--accent);
}

/* ─── Nav Media Dropdown ─── */

.nav-media {
  position: relative;
  list-style: none;
}

.nav-media-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text-secondary);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-media-btn:hover,
.nav-media.open .nav-media-btn {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-media-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-media.open .nav-media-chevron {
  transform: rotate(180deg);
}

.nav-media-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 1100;
}

.nav-media.open .nav-media-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-media-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-media-option svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.nav-media-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: end;
}

/* ─── Language Switcher ─── */

.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.lang-switcher-btn:hover,
.lang-switcher.open .lang-switcher-btn {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--accent-muted);
}

.lang-globe {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.lang-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 1100;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lang-dropdown::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.lang-option.active {
  background: var(--accent-muted);
  color: var(--accent);
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-label {
  flex: 1;
}

.lang-code-small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.lang-option.active .lang-code-small {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(163, 230, 53, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  background: var(--accent-muted);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.btn-icon:hover {
  color: var(--accent);
  border-color: var(--border-accent);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.menu-toggle:hover {
  border-color: var(--border-accent);
  background: var(--accent-muted);
  color: var(--accent);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

/* ─── Hero ─── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(163, 230, 53, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(163, 230, 53, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 0%, rgba(163, 230, 53, 0.08) 0%, transparent 60%),
    linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero.scrolled .hero-content {
  transform: translateY(calc(var(--scroll-p, 0) * -40px));
  opacity: calc(1 - var(--scroll-p, 0) * 0.35);
}

/* ─── Hero 3D floating panels ─── */

.hero-panels {
  --scroll-p: 0;
  position: absolute;
  inset: 0;
  z-index: 1;
  perspective: 1400px;
  pointer-events: none;
  overflow: hidden;
}

.hero-panel {
  --rx: 0;
  --ry: 0;
  --rz: 0;
  --fly-x: 0;
  --fly-y: 0;
  --fly-rz: 20;
  --float-dur: 7s;
  --float-delay: 0s;
  position: absolute;
  transform:
    translate3d(
      calc(var(--fly-x) * 1px * var(--scroll-p)),
      calc(var(--fly-y) * 1px * var(--scroll-p)),
      calc(var(--scroll-p) * -420px)
    )
    rotateX(calc(var(--rx) * 1deg + var(--scroll-p) * 25deg))
    rotateY(calc(var(--ry) * 1deg + var(--scroll-p) * var(--fly-rz) * 0.4deg))
    rotateZ(calc(var(--rz) * 1deg + var(--scroll-p) * var(--fly-rz) * 1deg))
    scale(calc(1 - var(--scroll-p) * 0.4));
  opacity: calc(1 - var(--scroll-p) * 1.1);
  filter: blur(calc(var(--scroll-p) * 8px));
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.hero-panel-inner {
  background: rgba(14, 14, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(163, 230, 53, 0.12);
  border-radius: 16px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(163, 230, 53, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: heroFloatInner var(--float-dur) ease-in-out infinite;
  animation-delay: var(--float-delay);
}

@keyframes heroFloatInner {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Positions & sizes */
.hero-panel--script { top: 14%; left: 3%; width: 230px; }
.hero-panel--script .hero-panel-inner { padding: 16px; display: flex; gap: 14px; align-items: flex-start; }

.hero-panel--job { top: 38%; left: 2%; width: 210px; }
.hero-panel--job .hero-panel-inner { padding: 14px; display: flex; gap: 12px; align-items: flex-start; }

.hero-panel--code { bottom: 10%; left: 2%; width: 260px; }
.hero-panel--code .hero-panel-inner { overflow: hidden; }

.hero-panel--code-sm { bottom: 22%; right: 14%; width: 220px; }
.hero-panel--code-sm .hero-panel-inner { overflow: hidden; }

.hero-panel--product { top: 26%; right: 3%; width: 195px; }
.hero-panel--product .hero-panel-inner { padding: 20px; text-align: center; }

.hero-panel--hud { top: 10%; right: 12%; width: 165px; }
.hero-panel--hud .hero-panel-inner { padding: 16px; text-align: center; }

.hero-panel--status { bottom: 12%; right: 4%; width: 185px; }
.hero-panel--status .hero-panel-inner { padding: 18px; text-align: center; }

.hero-panel--delivery { top: 8%; left: 16%; width: 150px; }
.hero-panel--delivery .hero-panel-inner { padding: 16px; }

.hero-panel--phone { bottom: 8%; left: 28%; width: 120px; }
.hero-panel--phone .hero-panel-inner { padding: 12px; text-align: center; }

.hero-panel--cart { top: 52%; right: 16%; width: 140px; }
.hero-panel--cart .hero-panel-inner { padding: 14px; text-align: center; }

.hp-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  color: var(--accent);
}

.hp-icon svg {
  width: 20px;
  height: 20px;
}

.hp-icon--lg {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
}

.hp-icon--lg svg {
  width: 24px;
  height: 24px;
}

.hp-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.hp-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hp-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hp-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
}

.hp-price--lg {
  font-size: 1.15rem;
  display: block;
  margin: 8px 0 12px;
}

/* Code editor */
.hp-code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border);
}

.hp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hp-dot:first-child { background: #ff5f57; }
.hp-dot:nth-child(2) { background: #febc2e; }
.hp-dot:nth-child(3) { background: #28c840; }

.hp-filename {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: "Consolas", "Courier New", monospace;
}

.hp-code {
  margin: 0;
  padding: 14px;
  font-size: 0.68rem;
  line-height: 1.65;
  font-family: "Consolas", "Courier New", monospace;
  text-align: left;
  overflow: hidden;
}

.hp-code .c-kw { color: #c792ea; }
.hp-code .c-str { color: var(--accent); }
.hp-code .c-fn { color: #82aaff; }
.hp-code .c-num { color: #f78c6c; }
.hp-code--sm { font-size: 0.62rem; padding: 12px; }

.hp-product-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-muted) 0%, transparent 100%);
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  color: var(--accent);
}

.hp-product-icon svg {
  width: 28px;
  height: 28px;
}

.hp-product-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.hp-product-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.hp-btn-fake {
  display: block;
  padding: 8px 16px;
  background: var(--accent);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.hp-status-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  color: var(--accent);
}

.hp-status-icon svg {
  width: 24px;
  height: 24px;
}

.hp-badge-owned {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

/* Instant delivery chip */
.hp-delivery {
  text-align: center;
}

.hp-delivery svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin: 0 auto 8px;
}

.hp-delivery-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.hp-delivery-desc {
  display: block;
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Phone mockup */
.hp-phone-notch {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin: 0 auto 8px;
}

.hp-phone-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  margin-bottom: 8px;
}

.hp-phone-app {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.hp-phone-app--accent {
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
}

.hp-phone-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Cart chip */
.hp-cart svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin: 0 auto 6px;
}

.hp-cart span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.hp-cart strong {
  display: block;
  font-size: 0.95rem;
  color: var(--accent);
  margin-top: 4px;
}

@media (max-width: 1200px) {
  .hero-panel--script { width: 200px; }
  .hero-panel--job { width: 185px; }
  .hero-panel--code { width: 230px; }
  .hero-panel--code-sm { width: 190px; right: 8%; }
  .hero-panel--product { width: 170px; }
  .hero-panel--hud { width: 145px; right: 8%; }
  .hero-panel--delivery { left: 10%; }
  .hero-panel--phone { left: 22%; }
  .hero-panel--cart { right: 10%; }
}

@media (max-width: 1024px) {
  .hero-panels {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel-inner {
    animation: none !important;
  }

  .hero-panel {
    transform: none !important;
    opacity: calc(1 - var(--scroll-p) * 1.1) !important;
    filter: none !important;
  }
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  color: var(--accent);
  text-shadow: 0 0 60px rgba(163, 230, 53, 0.35);
  margin-top: 4px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Sections ─── */

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header h2 .accent {
  color: var(--accent);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.section-header .divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ─── Home About ─── */

.home-about {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

.home-about-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 90vw);
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(163, 230, 53, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.home-about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px 64px;
  align-items: start;
}

.home-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.home-eyebrow--accent {
  color: var(--accent);
}

.home-about-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.2;
}

.divider-left {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 20px 0 24px;
  border-radius: 2px;
}

.home-about-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 520px;
}

.home-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 6px;
  transition: all var(--transition);
}

.home-pillar:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.home-pillar-icon {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  background: var(--accent-muted);
}

.home-pillar-icon svg {
  width: 22px;
  height: 22px;
}

.home-pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  align-self: end;
}

.home-pillar p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  grid-column: 2;
}

/* ─── Home Contact ─── */

.home-contact {
  padding: 40px 0 100px;
}

.home-contact-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.home-contact-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.home-contact-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
  flex-wrap: wrap;
}

.home-contact-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.home-contact-copy p {
  color: var(--text-secondary);
  max-width: 440px;
  font-size: 0.95rem;
}

.home-contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-discord {
  background: var(--accent);
  color: #000;
  gap: 10px;
}

.btn-discord:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(163, 230, 53, 0.35);
}

.btn-discord-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.home-contact-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 44px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.home-contact-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: contactPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes contactPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* legacy about (unused) */
.about-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ─── Feature / Service Cards ─── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 20px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Team Cards ─── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-grid--founders {
  max-width: 960px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.team-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  display: block;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.team-social a,
.team-social button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: none;
  transition: all var(--transition);
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
}

.team-social a:hover,
.team-social button:hover {
  color: var(--accent);
  border-color: var(--border-accent);
}

.team-social button.team-discord svg {
  width: 18px;
  height: 18px;
}

.team-social button.team-discord.copied {
  color: var(--accent);
  border-color: var(--border-accent);
  background: var(--accent-muted);
}

/* ─── Store Page ─── */

.store-shell {
  position: relative;
  isolation: isolate;
}

.store-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.store-bg-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 20%, rgba(163, 230, 53, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 85% 35%, rgba(163, 230, 53, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(163, 230, 53, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 45%, #050505 100%);
}

.store-bg-grid {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

.store-bg-lines {
  position: absolute;
  inset: -50% -20%;
  background: repeating-linear-gradient(
    115deg,
    transparent,
    transparent 80px,
    rgba(163, 230, 53, 0.015) 80px,
    rgba(163, 230, 53, 0.015) 81px
  );
  animation: store-lines-drift 40s linear infinite;
}

@keyframes store-lines-drift {
  from { transform: translateY(0); }
  to { transform: translateY(120px); }
}

.store-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: store-orb-float 18s ease-in-out infinite;
}

.store-bg-orb--1 {
  top: 8%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: rgba(163, 230, 53, 0.12);
}

.store-bg-orb--2 {
  top: 42%;
  right: -12%;
  width: 500px;
  height: 500px;
  background: rgba(163, 230, 53, 0.08);
  animation-delay: -6s;
}

.store-bg-orb--3 {
  bottom: 5%;
  left: 30%;
  width: 360px;
  height: 360px;
  background: rgba(163, 230, 53, 0.06);
  animation-delay: -12s;
}

@keyframes store-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.05); }
  66% { transform: translate(-16px, 12px) scale(0.96); }
}

.store-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.store-shell > .store-hero,
.store-shell > .store-page,
.store-shell > .store-cta {
  position: relative;
  z-index: 1;
}

.store-hero {
  position: relative;
  padding: calc(var(--nav-height) + 64px) 0 48px;
  overflow: hidden;
}

.store-hero-glow {
  display: none;
}

.store-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

.store-hero-desc {
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.store-page {
  position: relative;
  padding: 0 0 80px;
  overflow: hidden;
}

.store-page-glow {
  display: none;
}

.store-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.store-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.store-tab {
  padding: 8px 22px;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
}

.store-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.store-tab.active {
  color: #000;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(163, 230, 53, 0.25);
}

.store-card.hidden {
  display: none;
}

.store-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.store-card {
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.store-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.store-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
}

.store-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  background: var(--accent-muted);
}

.store-card-icon svg {
  width: 22px;
  height: 22px;
}

.store-card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  background: var(--accent-muted);
}

.store-card-tag--pvp {
  color: var(--text-primary);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.store-body {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.store-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.store-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

.store-card-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.store-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-card-actions .btn {
  flex: 1;
  min-width: 0;
  justify-content: center;
  padding: 10px 14px;
  font-size: 0.8125rem;
}

.store-detail-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.store-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.store-buy {
  flex-shrink: 0;
}

.store-notice {
  flex: 1;
  min-width: 220px;
  margin: 0;
  text-align: left;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.store-notice strong {
  color: var(--accent);
  font-weight: 600;
}

/* Store bottom CTA */

.store-cta {
  padding: 0 0 100px;
}

.store-cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.store-cta-glow {
  position: absolute;
  top: -50%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.store-cta-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
  flex-wrap: wrap;
}

.store-cta-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.store-cta-copy p {
  color: var(--text-secondary);
  max-width: 480px;
  font-size: 0.95rem;
}

.store-cta-btn {
  flex-shrink: 0;
}

.store-cta-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 44px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Store product modal */

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.store-modal.open {
  opacity: 1;
  visibility: visible;
}

.store-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.store-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(90vh, 780px);
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(163, 230, 53, 0.08);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.store-modal.open .store-modal-dialog {
  transform: translateY(0) scale(1);
}

.store-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.store-modal-close:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--accent-muted);
}

.store-modal-close svg {
  width: 18px;
  height: 18px;
}

.store-modal-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  max-height: min(90vh, 780px);
}

.store-modal-media {
  background: #0a0a0a;
  border-right: 1px solid var(--border);
  min-height: 280px;
}

.store-modal-media-inner {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-modal-media-inner img,
.store-modal-media-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-modal-media-inner iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.store-modal-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
  width: 100%;
  min-height: 280px;
  background:
    radial-gradient(ellipse at center, rgba(163, 230, 53, 0.08) 0%, transparent 65%),
    linear-gradient(145deg, #0d0d0d 0%, #080808 100%);
}

.store-modal-placeholder-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-muted);
}

.store-modal-placeholder-icon svg {
  width: 28px;
  height: 28px;
}

.store-modal-placeholder p {
  max-width: 240px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.store-modal-body {
  padding: 32px 28px;
  overflow-y: auto;
  max-height: min(90vh, 780px);
}

.store-modal-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  background: var(--accent-muted);
  margin-bottom: 12px;
}

.store-modal-tag--pvp {
  color: var(--text-primary);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.store-modal-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  padding-right: 36px;
}

.store-modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.store-modal-features h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.store-modal-features ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.store-modal-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.store-modal-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.store-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.store-modal-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

/* legacy store image (removed) */
.store-image {
  display: none;
}

/* legacy CTA (unused) */
.cta-banner {
  padding: 80px 0;
}

.cta-card {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
}

.cta-visual {
  flex: 0 0 40%;
  align-self: stretch;
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.15) 0%, var(--bg-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cta-visual-text {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.2;
  letter-spacing: -0.05em;
  user-select: none;
}

.cta-content {
  flex: 1;
  padding: 48px;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 420px;
}

/* ─── Updates ─── */

.updates-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* ─── Page Hero (subpages) ─── */

.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.page-hero .divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ─── Footer ─── */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 48px;
  padding: 60px 0 40px;
  align-items: start;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-links h4,
.footer-aside h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-discord-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  max-width: 320px;
}

.footer-discord-btn:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.footer-discord-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-discord-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer-discord-copy strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-discord-copy small {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-discord-arrow {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: auto;
  transition: transform var(--transition);
}

.footer-discord-btn:hover .footer-discord-arrow {
  transform: translateX(4px);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* ─── Responsive ─── */

@media (max-width: 1024px) {
  .nav-links a {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .cards-grid,
  .team-grid,
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-aside {
    grid-column: 1 / -1;
  }

  .footer-discord-btn {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav {
    display: flex;
    justify-content: space-between;
  }

  .nav-links,
  .nav-actions .btn-primary:not(.lang-mobile-show) {
    display: none;
  }

  .lang-switcher-btn {
    padding: 8px 10px;
  }

  .lang-switcher-btn .lang-code {
    display: none;
  }

  .lang-dropdown {
    right: 0;
    min-width: 180px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--nav-height) + 8px);
    left: 16px;
    right: 16px;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    gap: 4px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    z-index: 999;
    justify-self: auto;
  }

  .nav-links.open a {
    padding: 12px 18px;
    font-size: 0.9375rem;
    width: 100%;
    text-align: left;
  }

  .nav-media {
    width: 100%;
  }

  .nav-media-btn {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .nav-media-dropdown {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .nav-media.open .nav-media-dropdown {
    visibility: visible;
    max-height: 200px;
    padding: 4px 0 0;
  }

  .nav-media-option {
    padding: 12px 18px;
  }

  .store-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .store-tabs {
    width: 100%;
    justify-content: center;
  }

  .store-card-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .store-card-actions {
    flex-direction: column;
  }

  .store-card-actions .btn {
    width: 100%;
  }

  .store-modal-layout {
    grid-template-columns: 1fr;
    max-height: min(92vh, 900px);
  }

  .store-modal-media {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: 200px;
  }

  .store-modal-media-inner,
  .store-modal-placeholder {
    min-height: 200px;
  }

  .store-modal-body {
    padding: 24px 20px;
  }

  .store-modal-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .store-modal-foot .btn {
    width: 100%;
    justify-content: center;
  }

  .store-cta-body {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .store-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .store-cta-foot {
    padding: 14px 24px;
  }

  .cards-grid,
  .team-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }

  .home-about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-pillar:hover {
    transform: none;
  }

  .home-contact-body {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .home-contact-actions {
    width: 100%;
  }

  .home-contact-actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .home-contact-foot {
    padding: 14px 24px;
  }

  .cta-card {
    flex-direction: column;
  }

  .cta-visual {
    flex: none;
    width: 100%;
    height: 160px;
  }

  .cta-content {
    padding: 32px 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  section {
    padding: 72px 0;
  }
}
