:root {
  --bg: #0c1016;
  --bg-card: rgba(12, 14, 20, 0.72);
  --ink: #ece6d8;
  --muted: #c4bba8;
  --line: rgba(236, 230, 216, 0.16);
  --accent: #d7b56a;
  --accent-hover: #e4c57c;
  --pin: #9a4a4a;
  --radius: 16px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  background: var(--bg);
}

body {
  min-height: 100dvh;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #121418 url("assets/map-noir.png?v=3") center / cover no-repeat;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, rgba(10, 12, 16, 0.08) 0%, rgba(10, 12, 16, 0.22) 100%);
  pointer-events: none;
}

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

.view {
  width: 100%;
  min-height: 100dvh;
  max-width: 100%;
}

.view-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: calc(20px + var(--safe-top)) 20px calc(24px + var(--safe-bottom));
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 390px;
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-kicker::before,
.hero-kicker::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 10px;
  vertical-align: middle;
  background: rgba(236, 230, 216, 0.45);
}

.hero-title {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.pay {
  display: inline-block;
  margin: 16px 0 0;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(8, 10, 14, 0.78);
  border: 1px solid rgba(236, 230, 216, 0.18);
}

.hero-subtitle {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}

.chips span {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(215, 181, 106, 0.12);
  border: 1px solid rgba(215, 181, 106, 0.28);
  backdrop-filter: blur(8px);
}

.perks {
  width: 100%;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-align: left;
}

.perks li {
  position: relative;
  padding: 12px 12px 12px 14px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.perks strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.note {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("assets/telegram.svg") center / 22px 22px no-repeat;
  mask: url("assets/telegram.svg") center / 22px 22px no-repeat;
}

.btn-primary {
  background: var(--accent);
  color: #12110c;
  box-shadow: 0 10px 22px rgba(215, 181, 106, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
}

@media (max-width: 320px) {
  .view-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .perks {
    grid-template-columns: 1fr;
  }
}
