:root {
  --bg: #0b0b0c;
  --surface: #131316;
  --surface-2: #1a1a1f;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #9b9ba6;
  --dim: #6e6e78;
  --ok: #4ade80;
  --warn: #facc15;
  --font: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --w: min(100% - 2rem, 640px);
  --w-wide: min(100% - 2rem, 720px);
  --w-store: min(100% - 2rem, 900px);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 70% 45% at 50% -5%, rgba(255, 255, 255, 0.07), transparent 60%);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 0;
  pointer-events: none;
}

.bar {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: auto;
  max-width: calc(100vw - 2rem);
  padding: 0.45rem 0.65rem 0.45rem 0.85rem;
  background: rgba(19, 19, 22, 0.82);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.header.scrolled .bar {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.logo {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.bar-div {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

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

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.12s, background 0.2s, border-color 0.2s, opacity 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-fill {
  color: var(--bg);
  background: var(--text);
}

.btn-fill:hover {
  opacity: 0.92;
}

.btn-line {
  color: var(--text);
  border: 1px solid var(--line);
  background: transparent;
}

.btn-line:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.btn-discord {
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  color: #fff;
  background: #5865f2;
}

.btn-discord:hover {
  background: #4752c4;
}

.page {
  position: relative;
  z-index: 1;
  padding: 6rem 1rem 3rem;
}

.block {
  width: var(--w-wide);
  margin: 0 auto;
  padding: 3.5rem 0;
  text-align: center;
}

.block-head {
  margin-bottom: 2rem;
}

.block-head h2 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.block-head p {
  margin: 0.45rem auto 0;
  max-width: 22rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.block-store {
  width: var(--w-store);
  padding-top: 1.5rem;
}

.store {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  perspective: 1200px;
}

@media (max-width: 640px) {
  .store {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }
}

.glass-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.35rem 1.15rem 1.15rem;
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s;
  will-change: transform;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(var(--accent), 0.08);
  opacity: 0.9;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(var(--accent), 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.glass-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.product-game {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.glass-card h3 {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.product-from {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--dim);
}

.product-from strong {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.product-prices {
  margin: 0.65rem 0 0.85rem;
  font-size: 0.75rem;
  color: var(--dim);
  line-height: 1.4;
}

.status {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
}

.status.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--ok);
  vertical-align: middle;
}

.status.wait::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--warn);
  vertical-align: middle;
}

.status.off::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--dim);
  vertical-align: middle;
}

.btn-glass {
  width: 100%;
  margin-top: auto;
  padding: 0.55rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
}

.glass-card .btn-glass.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.glass-card h3,
.glass-card .product-game,
.glass-card .product-from,
.glass-card .product-prices,
.glass-card .status,
.glass-card .btn {
  position: relative;
  z-index: 1;
  transform: translateZ(24px);
}

.faq {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

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

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
}

.faq-q svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--dim);
  transition: transform 0.35s var(--ease);
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a-inner {
  padding: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  position: relative;
  z-index: 1;
  width: var(--w);
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--dim);
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .bar {
    border-radius: 18px;
    padding: 0.5rem 0.7rem 0.5rem 0.9rem;
  }
}
