/* ============================================
   Storefront — chrome/glass theme, full structure
   ============================================ */

:root {
  --bg: #08080a;
  --panel: #131315;
  --panel-alt: #1a1a1d;
  --line: #2a2a2e;
  --silver-hi: #eef0f2;
  --silver-lo: #8b8d93;
  --text: #e7e7ea;
  --text-dim: #9a9ca3;
  --accent: #6fb7ff;
  --accent-dim: rgba(111, 183, 255, 0.14);
  --success: #6fffb0;
  --star: #ffc439;
  --radius: 2px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; }
.brand span { font-family: var(--font-display); font-size: 19px; color: var(--silver-hi); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--text-dim);
}

.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-discord:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 24px 56px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 15%, rgba(111, 183, 255, 0.09), transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: 170px;
  margin: 0 auto 30px;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.08));
  position: relative;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 50px);
  margin: 0 0 16px;
  background: linear-gradient(180deg, var(--silver-hi), var(--silver-lo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero p {
  max-width: 480px;
  margin: 0 auto 30px;
  color: var(--text-dim);
  font-size: 16px;
  position: relative;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-primary {
  padding: 13px 28px;
  background: var(--silver-hi);
  color: #0a0a0b;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: box-shadow 0.12s ease;
}

.btn-primary:hover { box-shadow: 0 0 24px rgba(255, 255, 255, 0.15); }

.btn-secondary {
  padding: 13px 28px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: border-color 0.15s ease;
}

.btn-secondary:hover { border-color: var(--accent); }

/* ---------- trust row ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 780px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}

.trust-item {
  background: var(--bg);
  padding: 22px 20px;
  text-align: center;
}

.trust-item .num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--silver-hi);
  display: block;
  margin-bottom: 4px;
}

.trust-item .label {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- section shell ---------- */
.section { padding: 72px 0; }

.section-head {
  margin-bottom: 36px;
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--silver-hi);
}

.section-head p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

/* ---------- category tabs ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 8px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ---------- product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }

.product-card .tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 8px;
  border-radius: var(--radius);
}

.product-card .status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--success);
}

.product-card .status-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.product-card h3 { font-family: var(--font-display); font-size: 20px; margin: 0; }
.product-card p { font-size: 14px; color: var(--text-dim); margin: 0; flex-grow: 1; }

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.price { font-family: var(--font-display); font-size: 22px; color: var(--silver-hi); }

.buy-btn {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.buy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
}

.stars { color: var(--star); font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }

.review-card p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.review-author .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--panel-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-dim);
}

.review-author .name { color: var(--text); font-weight: 600; }
.review-author .verified { color: var(--text-dim); font-size: 12px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 18px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question .icon {
  color: var(--text-dim);
  font-size: 18px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-dim);
  padding: 0 4px 18px;
  margin: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 64px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(111, 183, 255, 0.04));
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--silver-hi);
}

.cta-banner p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 24px;
}

/* ---------- footer ---------- */
.site-footer { padding: 48px 24px 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-dim); max-width: 280px; }

.footer-col h4 {
  font-size: 13px;
  color: var(--text);
  margin: 0 0 14px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1140px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ============================================
   Checkout page
   ============================================ */

.checkout-wrap { max-width: 560px; margin: 0 auto; padding: 64px 24px 96px; }

.checkout-header { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; }
.checkout-header img { height: 28px; }
.checkout-header span { font-family: var(--font-display); font-size: 17px; color: var(--silver-hi); }

.order-summary, .checkout-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
}

.order-summary { margin-bottom: 24px; }
.order-summary h2 { font-family: var(--font-display); font-size: 18px; margin: 0 0 16px; }

.order-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
}

.order-row:last-child { border-bottom: none; }

.order-row.total {
  color: var(--silver-hi);
  font-family: var(--font-display);
  font-size: 18px;
  padding-top: 16px;
}

.checkout-form { display: flex; flex-direction: column; gap: 16px; }

.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }

.field input {
  width: 100%;
  padding: 11px 12px;
  background: var(--panel-alt);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
}

.field input:focus { border-color: var(--accent); outline: none; }

.pay-btn {
  margin-top: 8px;
  padding: 15px;
  background: #ffc439;
  color: #14225a;
  font-weight: 800;
  font-size: 15px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.pay-btn:hover { filter: brightness(0.95); }

.secure-note { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 14px; }

.back-link { display: inline-block; margin-bottom: 24px; font-size: 13px; color: var(--text-dim); }
.back-link:hover { color: var(--accent); }
