@font-face {
  font-family: 'Purista';
  src: url('../fonts/Purista-Medium.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Binaria';
  src: url('../fonts/Binaria-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Binaria';
  src: url('../fonts/Binaria-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --vexo-purple: #543AC8;
  --vexo-purple-dark: #352384;
  --vexo-purple-deep: #3C2992;
  --bg: #0c0c10;
  --panel-bg: radial-gradient(50% 50% at 50% 50%, rgba(26, 26, 26, 0.93) 0%, rgba(16, 16, 16, 0.93) 100%);
  --item-bg:
    linear-gradient(90deg, rgba(84, 58, 200, 0.34) 0%, rgba(84, 58, 200, 0.00) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.00) 100%);
  --item-bg-alt: linear-gradient(90deg, rgba(179, 170, 218, 0.10) 0%, rgba(179, 170, 218, 0.03) 100%);
  --btn-bg: linear-gradient(89deg, #543AC8 0.97%, #352384 99.03%);
  --btn-shadow: 0 2px 35px 0 rgba(84, 58, 200, 0.37), 0 0 15.1px 0 rgba(84, 58, 200, 0.55) inset;
  --text-muted: rgba(255, 255, 255, 0.5);
  --panel-radius: 14px;
  --item-radius: 2px;
  --topbar-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: #fff;
  font-family: 'Purista', 'Segoe UI', Tahoma, sans-serif;
  overflow-x: hidden;
}

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

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

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
}

.bg-glow-a {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -80px;
  background: var(--vexo-purple);
}

.bg-glow-b {
  width: 380px;
  height: 380px;
  bottom: -100px;
  right: -40px;
  background: var(--vexo-purple-deep);
  opacity: 0.3;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--topbar-h);
  padding: 12px 28px;
  background: rgba(12, 12, 16, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  height: 40px;
}

.logo-vexo {
  color: #fff;
  text-shadow: 0 1px 24.8px rgba(255, 255, 255, 0.24);
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1.1px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.logo-city {
  position: relative;
  top: 6px;
  margin-left: -4px;
  display: inline-block;
  text-shadow: 0 1px 31.2px rgba(84, 58, 200, 0.37);
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: 30px;
  font-style: italic;
  font-weight: 900;
  line-height: 30px;
  letter-spacing: -1.5px;
  background: linear-gradient(180deg, #543AC8 7.94%, #3C2992 74.02%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-brand .logo-vexo { font-size: clamp(42px, 8vw, 72px); }
.hero-brand .logo-city {
  font-size: clamp(56px, 10vw, 96px);
  line-height: 1;
  top: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-btn {
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--item-radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  letter-spacing: -0.1px;
  text-transform: uppercase;
  transition: color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.nav-btn.is-active {
  background: var(--btn-bg);
  box-shadow: var(--btn-shadow);
  color: #fff;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: var(--item-radius);
  font-size: 13.5px;
  letter-spacing: -0.1px;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--btn-bg);
  box-shadow: var(--btn-shadow);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); }

.btn-lg {
  min-height: 46px;
  padding: 12px 22px;
  font-size: 14.5px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

#app {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.view { animation: viewIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.view[hidden] { display: none !important; }

@keyframes viewIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hero {
  min-height: calc(100vh - var(--topbar-h) - 200px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-lead {
  margin-top: 18px;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.inv-panel {
  position: relative;
  border-radius: var(--panel-radius);
  background: var(--panel-bg);
  overflow: hidden;
}

.inv-panel__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px;
  border-radius: var(--panel-radius);
  overflow: hidden;
}

.glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.glow-top {
  width: 188px;
  height: 44px;
  left: 56px;
  top: 0;
  border-radius: 50%;
  background: var(--vexo-purple);
  filter: blur(45.3px);
}

.glow-bottom-left,
.glow-bottom-right {
  width: 83px;
  height: 83px;
  bottom: 0;
  border-radius: 50%;
  background: rgba(84, 58, 200, 0.9);
  filter: blur(75.25px);
}

.glow-bottom-left { left: 0; }
.glow-bottom-right { right: 0; }

.pattern {
  position: absolute;
  width: 176px;
  height: 102px;
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: 101px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -11.11px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  text-shadow: 0 1px 31.2px rgba(84, 58, 200, 0.37);
  background: linear-gradient(269deg, #543AC8 10.23%, rgba(84, 58, 200, 0) 100.67%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pattern-top { right: -28px; top: -68px; }
.pattern-bottom { left: -28px; bottom: -68px; transform: rotate(-180deg); }

.hero-panel {
  width: min(360px, 100%);
  min-height: 260px;
  background: transparent;
}

.hero-panel .stat {
  background: transparent;
  border: none;
  padding: 0;
}

.hero-panel-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.badge {
  display: inline-flex;
  width: fit-content;
  min-height: 33px;
  padding: 9px 12px;
  justify-content: center;
  align-items: center;
  border-radius: var(--item-radius);
  background: var(--btn-bg);
  box-shadow: var(--btn-shadow);
}

.badge-text {
  text-shadow: 0 0 13.6px rgba(255, 255, 255, 0.24);
  font-size: 14px;
  letter-spacing: -0.15px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff 18.83%, rgba(255, 255, 255, 0.7) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-panel-title {
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: 22px;
  letter-spacing: -0.8px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  padding: 14px 12px;
  border-radius: var(--item-radius);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.stat-value {
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: 28px;
  letter-spacing: -1px;
}

.home-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.strip-item {
  text-align: left;
  padding: 18px 16px;
  border-radius: var(--item-radius);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.strip-item:hover {
  border-color: rgba(84, 58, 200, 0.55);
  transform: translateY(-2px);
}

.strip-item--shop {
  border-color: rgba(84, 58, 200, 0.45);
  box-shadow: inset 2px 0 0 var(--vexo-purple);
}

.strip-title {
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: 16px;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.strip-sub {
  color: var(--text-muted);
  font-size: 13px;
}

.strip-go {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  text-transform: uppercase;
}

.rules-wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 0 40px;
}

.rules-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.rules-header-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.rules-page-title {
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -1.2px;
  line-height: 1;
}

.rules-info {
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

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

.acc-item {
  border-radius: var(--item-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.acc-item:hover,
.acc-item.is-open {
  border-color: rgba(84, 58, 200, 0.6);
}

.acc-head {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  text-align: left;
}

.acc-head-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.acc-index {
  min-width: 38px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--item-radius);
  background: var(--btn-bg);
  box-shadow: var(--btn-shadow);
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: 12px;
}

.acc-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.acc-title {
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: 16px;
  letter-spacing: -0.4px;
}

.acc-meta {
  color: var(--text-muted);
  font-size: 12.5px;
}

.acc-toggle {
  position: relative;
  width: 72px;
  height: 30px;
  flex-shrink: 0;
  border-radius: var(--item-radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.acc-item.is-open .acc-toggle {
  border-color: transparent;
  background: var(--btn-bg);
  box-shadow: var(--btn-shadow);
}

.acc-toggle span,
.acc-toggle span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.acc-toggle span {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.acc-toggle span::before {
  content: '';
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.acc-item.is-open .acc-toggle span::before {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.acc-body {
  height: 0;
  overflow: hidden;
  transition: height 0.34s ease;
}

.acc-body-inner {
  padding: 2px 16px 16px 66px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-block + .rule-block {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rule-block h3 {
  font-family: 'Binaria', 'Arial Black', sans-serif;
  font-size: 13px;
  letter-spacing: -0.25px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rule-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-block li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  line-height: 1.5;
}

.rule-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--vexo-purple);
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-sep { opacity: 0.4; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }
  .hero-visual { justify-content: flex-start; }
  .home-strip { grid-template-columns: repeat(2, 1fr); }
  .strip-item--shop { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .topbar {
    flex-wrap: wrap;
    padding: 12px 16px;
  }
  .nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
  }
  .nav.is-open { display: flex; }
  .nav-btn { width: 100%; }
  .topbar-actions { margin-left: auto; }
  .nav-toggle { display: flex; }
  #app { width: calc(100% - 28px); }
  .home-strip { grid-template-columns: 1fr; }
  .acc-body-inner { padding-left: 16px; }
}
