:root {
  --bg: #050608;
  --bg-soft: #0d1118;
  --panel: rgba(7, 10, 17, 0.9);
  --panel-strong: rgba(12, 16, 26, 0.96);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f7f8;
  --muted: #a7b0c2;
  --blue: #2146ff;
  --blue-soft: rgba(33, 70, 255, 0.28);
  --red: #eb1616;
  --red-soft: rgba(235, 22, 22, 0.24);
  --success: #7af7b4;
  --danger: #ff8e8e;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 24%),
    radial-gradient(circle at top right, rgba(33, 70, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #07090d 0%, #020305 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(33, 70, 255, 0.12), transparent 26%),
    radial-gradient(circle at 100% 8%, rgba(235, 22, 22, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 34%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.04) 18%, transparent 36%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 14px,
      rgba(255, 255, 255, 0.015) 14px,
      rgba(255, 255, 255, 0.015) 16px
    );
}

.page {
  position: relative;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 18px 14px 40px;
}

.hero,
.form-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  padding: 22px 18px 20px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.2), transparent 12%),
    radial-gradient(circle at 78% 24%, rgba(33, 70, 255, 0.4), transparent 14%),
    radial-gradient(circle at 96% 26%, rgba(255, 255, 255, 0.18), transparent 10%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.52)),
    linear-gradient(135deg, #06090f 0%, #020304 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(23, 35, 69, 0.92), transparent 24%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
  opacity: 0.92;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -18%;
  height: 44%;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  filter: blur(6px);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 48%, transparent 56%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 5px,
      transparent 5px,
      transparent 11px
    );
  mix-blend-mode: screen;
  opacity: 0.35;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  max-width: 20ch;
  margin: 0 0 14px;
  font-family: "Prata", "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.hero-title {
  display: block;
  margin: 0;
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: clamp(4rem, 22vw, 7.2rem);
  line-height: 0.84;
  letter-spacing: 0.04em;
}

.hero-title span {
  display: block;
}

.hero-title-light {
  color: #f5f4f2;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.9);
}

.hero-title-accent {
  margin-top: -0.06em;
  color: var(--red);
  text-align: right;
  text-shadow: 0 10px 26px rgba(235, 22, 22, 0.4);
}

.hero-subtitle {
  max-width: 18ch;
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.hero-panel {
  display: grid;
  gap: 6px;
  width: min(100%, 240px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
}

.hero-panel-label {
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel-text {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.form-shell {
  margin-top: 14px;
  padding: 18px 14px 16px;
  border-radius: calc(var(--radius-xl) - 2px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 36%),
    linear-gradient(180deg, var(--panel-strong) 0%, rgba(7, 10, 15, 0.98) 100%);
}

.form-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, var(--red-soft), transparent 24%),
    radial-gradient(circle at top left, var(--blue-soft), transparent 20%);
  pointer-events: none;
}

.section-copy,
form {
  position: relative;
  z-index: 1;
}

.section-copy {
  margin-bottom: 16px;
}

.section-label {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-copy h2 {
  margin: 0;
  font-family: "Prata", "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.section-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

form {
  display: grid;
  gap: 13px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: #f5f7fb;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
.file-input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 15px 16px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.42);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(200, 208, 225, 0.52);
}

input:focus,
textarea:focus,
.file-input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(235, 22, 22, 0.12);
  transform: translateY(-1px);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  min-height: 58px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  color: #fff7f7;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, #8b0f14 0%, #eb1616 52%, #84080e 100%);
  box-shadow:
    0 18px 34px rgba(235, 22, 22, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

button:hover,
button:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 22px 42px rgba(235, 22, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

#status.ok {
  color: var(--success);
}

#status.error {
  color: var(--danger);
}

.hero-payment {
  min-height: 0;
}

.hero-panel-warning {
  border-color: rgba(235, 22, 22, 0.22);
  background:
    linear-gradient(180deg, rgba(235, 22, 22, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.payment-shell {
  gap: 14px;
}

.payment-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.42);
}

.payment-card-primary {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.payment-card-warning {
  border-color: rgba(235, 22, 22, 0.2);
  background:
    linear-gradient(180deg, rgba(235, 22, 22, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.42);
}

.payment-card-danger {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(139, 15, 20, 0.22), rgba(235, 22, 22, 0.12)),
    rgba(0, 0, 0, 0.42);
}

.payment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.payment-card-label {
  margin: 0;
  color: #f5f7fb;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-phone {
  margin: 0;
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: clamp(2.8rem, 12vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: #fff;
}

.payment-recipient,
.payment-note,
.payment-ban,
.copy-status {
  margin: 0;
}

.payment-recipient,
.payment-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.payment-ban {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.35;
}

.copy-button {
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.bank-grid span {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #eef1f7;
  font-size: 0.92rem;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.03);
}

.copy-status {
  position: relative;
  z-index: 1;
  min-height: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.positions-shell {
  display: grid;
  gap: 12px;
}

.positions-head,
.item-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.field-caption,
.positions-copy,
.item-index {
  margin: 0;
}

.field-caption,
.item-index {
  color: #f5f7fb;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.positions-copy {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.items-list {
  display: grid;
  gap: 12px;
}

.item-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.36);
}

.ghost-button {
  min-height: 42px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.ghost-button-danger {
  border-color: rgba(235, 22, 22, 0.3);
  background: rgba(235, 22, 22, 0.08);
}

.file-input {
  padding: 12px 14px;
}

.file-input::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff7f7;
  font: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, #8b0f14 0%, #eb1616 52%, #84080e 100%);
  cursor: pointer;
}

@media (min-width: 760px) {
  .page {
    width: min(100% - 40px, 1120px);
    padding: 28px 0 48px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    align-items: stretch;
  }

  .hero,
  .form-shell {
    margin: 0;
  }

  .hero {
    min-height: 760px;
    padding: 34px 28px 26px;
    justify-content: end;
  }

  .hero-kicker {
    max-width: 24ch;
    font-size: 1.3rem;
  }

  .hero-title {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    font-size: clamp(4rem, 11vw, 7.2rem);
  }

  .hero-title span {
    display: inline;
  }

  .hero-title-accent {
    margin-top: 0;
    text-align: left;
  }

  .hero-subtitle {
    max-width: 22ch;
    font-size: 1.08rem;
  }

  .hero-panel {
    width: min(100%, 280px);
  }

  .form-shell {
    padding: 28px 24px 24px;
  }

  .payment-card {
    padding: 22px;
  }

  .payment-phone {
    font-size: clamp(3rem, 5vw, 4.8rem);
  }

  .section-copy h2 {
    font-size: 2rem;
  }

  .positions-head {
    align-items: center;
  }
}
