:root {
  --bg: #0b1424;
  --bg-card: #152238;
  --ink: #f4f7fb;
  --muted: #b4c2d6;
  --line: #2a3c58;
  --accent: #ff9f43;
  --accent-hover: #ffb15f;
  --accent-2: #5b8def;
  --radius: 20px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  --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:
    radial-gradient(520px 280px at 12% -40px, rgba(91, 141, 239, 0.18) 0%, transparent 62%),
    radial-gradient(640px 320px at 88% -80px, rgba(255, 159, 67, 0.16) 0%, transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.view-main {
  position: relative;
  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-photo {
  position: relative;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: 42% 28%;
}

.route-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 7px 12px 7px 34px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0b1424;
  background: rgba(244, 247, 251, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.route-badge::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-color: #5b8def;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9L2 14v2l8-2.5V17l-2 1.5V20l3.5-1 3.5 1v-1.5L13 17v-3.5L21 16z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9L2 14v2l8-2.5V17l-2 1.5V20l3.5-1 3.5 1v-1.5L13 17v-3.5L21 16z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

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

.hero-title {
  margin: 0;
  font-size: clamp(28px, 7.4vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-subtitle {
  margin: 10px 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(255, 159, 67, 0.12);
  border: 1px solid rgba(255, 159, 67, 0.32);
}

.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: 16px;
  box-shadow: var(--shadow);
}

.perks li::before {
  content: none;
}

.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: 13px;
  font-weight: 500;
  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: 16px;
  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: #1a1208;
  box-shadow: 0 10px 22px rgba(255, 159, 67, 0.32);
}

.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;
  }
}
