/* SW Starters — original dark storefront styles */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --bg: #0b0d12;
  --bg-soft: #10131a;
  --surface: #151922;
  --surface-2: #1b2130;
  --surface-3: #222a3c;
  --line: rgba(224, 184, 74, 0.16);
  --line-strong: rgba(224, 184, 74, 0.38);
  --gold: #e0b84a;
  --gold-2: #f5d76e;
  --gold-dim: #9a7a2e;
  --teal: #3ee0c5;
  --teal-dim: #1a8f7e;
  --text: #eceef4;
  --text-soft: #c5cad6;
  --muted: #8b93a7;
  --light: #f3e6b8;
  --dark: #b9a8ff;
  --ok: #5ee0a8;
  --ok-bg: rgba(94, 224, 168, 0.1);
  --warn: #f0c36a;
  --danger: #ff8b8b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --header-h: 72px;
  --font: "Outfit", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 15% -10%, rgba(224, 184, 74, 0.1), transparent 55%),
    radial-gradient(700px 400px at 100% 0%, rgba(62, 224, 197, 0.05), transparent 50%),
    linear-gradient(180deg, #0e1118 0%, var(--bg) 28%);
}

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

a {
  color: var(--gold-2);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(11, 13, 18, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--gold-2);
}

.brand img,
.brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

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

.nav a {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1406;
}

.btn-gold:hover {
  color: #1a1406;
}

.btn-teal {
  background: var(--teal);
  color: #06241f;
}

.btn-teal:hover {
  color: #06241f;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--gold);
}

.btn-discord {
  background: #5865f2;
  color: #fff;
}

.btn-discord:hover {
  color: #fff;
}

.btn-telegram {
  background: #229ed9;
  color: #fff;
}

.btn-telegram:hover {
  color: #fff;
}

.btn-full {
  width: 100%;
}

/* Hero / about */
.hero {
  padding: 64px 0 28px;
}

.kicker {
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  max-width: 16ch;
  margin-bottom: 14px;
}

.hero-lead,
.about-copy {
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}

.trust-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sample banner */
.sample-banner {
  display: none;
  margin: 8px 0 22px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(240, 195, 106, 0.45);
  background: rgba(240, 195, 106, 0.08);
  color: var(--warn);
  font-size: 0.9rem;
}

.sample-banner.is-visible,
body.has-sample .sample-banner {
  display: block;
}

/* Catalog */
.catalog {
  padding: 20px 0 72px;
}

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

.section-head h2 {
  font-size: 1.6rem;
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  appearance: none;
  background: var(--surface);
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: #1a1406;
  background: var(--gold);
  border-color: var(--gold);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.empty-state {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 32px 0;
}

/* Product card */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 100%;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.product-flags {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.code {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(224, 184, 74, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}

.server {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
  border: 1px solid transparent;
}

.server-global {
  color: var(--teal);
  background: rgba(62, 224, 197, 0.08);
  border-color: rgba(62, 224, 197, 0.25);
}

.server-europe {
  color: #9ec4ff;
  background: rgba(110, 160, 255, 0.1);
  border-color: rgba(110, 160, 255, 0.28);
}

.card h3 {
  font-size: 1.22rem;
  margin: 0 0 4px;
}

.family {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.ld-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
}

.ld-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

.attr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}

.attr-light {
  background: var(--light);
  color: #3a2f12;
}

.attr-dark {
  background: #3a2a6b;
  color: var(--dark);
  box-shadow: inset 0 0 0 1px rgba(185, 168, 255, 0.5);
}

.attr-random {
  background: var(--surface-3);
  color: var(--gold-2);
}

.stats {
  list-style: none;
  margin: 0 0 16px;
  padding: 12px 12px 4px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.stats li {
  color: var(--text-soft);
  font-size: 0.82rem;
  padding-bottom: 8px;
}

.stats strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.badge-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok);
  background: var(--ok-bg);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-guarantee::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.stock {
  color: var(--muted);
  font-size: 0.82rem;
}

.stock.is-low {
  color: var(--warn);
}

.stock.is-out {
  color: var(--danger);
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* Product page */
.crumb {
  padding: 22px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.crumb a {
  color: var(--muted);
}

.crumb a:hover {
  color: var(--gold-2);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  padding: 22px 0 72px;
  align-items: start;
}

.product-main h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}

.product-sub {
  color: var(--muted);
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}

.feature-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.buy-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.buy-panel .price {
  font-size: 2rem;
  display: block;
  margin: 8px 0 14px;
}

.buy-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* How to buy */
.buy-page {
  padding: 28px 0 80px;
  max-width: 640px;
}

.buy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.buy-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 24px;
}

.summary-item {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 12px 14px;
}

.summary-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.summary-item strong {
  font-family: var(--font);
  font-size: 1.15rem;
}

.message-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px 12px;
  margin-bottom: 18px;
}

.message-box p {
  margin: 0 0 10px;
  font-size: 1rem;
}

.message-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.steps {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--text-soft);
}

.steps li {
  margin-bottom: 8px;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--surface-3);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 80;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* FAQ */
.faq {
  padding: 10px 0 80px;
}

.faq h2 {
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-family: var(--font);
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--text-soft);
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  display: grid;
  gap: 12px;
}

.disclaimer {
  max-width: 72ch;
  margin: 0;
}

.error-box {
  padding: 64px 0;
}

/* Modal (same How to buy flow, in-place) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.72);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.modal-close {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

/* Responsive */
@media (max-width: 960px) {
  .grid,
  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .buy-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: rgba(11, 13, 18, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .grid,
  .trust-row,
  .buy-summary,
  .channel-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .card-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .buy-card {
    padding: 20px 16px;
  }
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}

.lang-switch select {
  appearance: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 28px 7px 12px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.lang-switch select:focus {
  outline: 1px solid var(--gold);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.server-asia {
  color: #f0b07a;
  background: rgba(240, 176, 122, 0.1);
  border-color: rgba(240, 176, 122, 0.3);
}

.highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
}

.highlights li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-2);
  background: rgba(224, 184, 74, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
}

.card-midgame,
.card-endgame {
  background: linear-gradient(180deg, rgba(62, 224, 197, 0.04), var(--surface) 28%);
}

.card-endgame {
  background: linear-gradient(180deg, rgba(224, 184, 74, 0.06), var(--surface) 30%);
}

@media (max-width: 700px) {
  .lang-switch {
    margin: 8px 12px 4px;
  }
  .lang-switch select {
    width: calc(100% - 0px);
  }
}

.nav-discord {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--text-soft);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.nav-discord:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
