﻿:root {
  --bg: #f2f4f7;
  --card: #f8fafc;
  --surface: #ffffff;
  --text: #111827;
  --muted: #475467;
  --line: #d0d5dd;
  --blue: #2f54c6;
  --light-blue: #e6eeff;
  --red: #111317;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #ffffff, var(--bg) 45%);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.topbar {
  height: 122px;
  background: var(--red);
  display: grid;
  align-items: center;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.18);
}

.topbar-inner {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: block;
  width: clamp(140px, 24vw, 220px);
  height: auto;
  object-fit: contain;
}

.page {
  width: min(860px, calc(100% - 24px));
  margin: 42px auto 36px;
}

.card {
  background: #f5f7fa;
  border: 1px solid #d9dde4;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  padding: 24px;
}

.reward-banner {
  background: var(--light-blue);
  color: #2047b0;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 26px;
}

.reward-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.15rem;
}

.reward-copy {
  margin: 10px 0 0;
  line-height: 1.5;
  font-size: 1.05rem;
}

h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}

.prompt {
  margin: 18px 0 22px;
  color: #344054;
  font-size: clamp(1.24rem, 3.2vw, 1.9rem);
  line-height: 1.38;
}

.field-wrap {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.06rem;
  font-weight: 600;
  color: #344054;
}

input {
  width: 100%;
  border: 2px solid #d0d5dd;
  border-radius: 14px;
  height: 66px;
  padding: 0 16px;
  font-size: 1.7rem;
  color: #101828;
  background: var(--surface);
}

input::placeholder {
  color: #98a2b3;
  font-size: clamp(1.05rem, 2.8vw, 1.9rem);
}

input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 84, 198, 0.18);
}

.error {
  display: block;
  min-height: 1.1em;
  margin-top: 6px;
  color: #b42318;
  font-size: 0.88rem;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.btn {
  border: 2px solid #d0d5dd;
  border-radius: 14px;
  min-height: 66px;
  background: #fff;
  font-size: clamp(1rem, 2.8vw, 1.95rem);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn-link {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.btn:hover,
.social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.1);
}

.btn-muted {
  color: #667085;
}

.btn-outline {
  color: #101828;
}

hr {
  border: 0;
  border-top: 1px solid #dde2e7;
  margin: 26px 0;
}

.share-title {
  margin: 18px 0 20px;
  text-align: center;
  font-size: clamp(1.08rem, 3vw, 2.3rem);
  line-height: 1.35;
  color: #344054;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social-btn {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #ffffff;
  color: #101828;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}

.social-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.social-facebook {
  color: #1877f2;
}

.social-instagram {
  color: #e1306c;
}

.social-youtube {
  color: #ff0000;
}

.btn-copy {
  width: 100%;
}

.how {
  background: #f0f4fa;
  border-radius: 14px;
  padding: 20px;
}

.how h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.step:last-child {
  margin-bottom: 0;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #2f80ed;
  color: #2f80ed;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.step h3 {
  margin: 0;
  font-size: clamp(1.2rem, 3.2vw, 2.05rem);
}

.step p {
  margin: 6px 0 0;
  color: #475467;
  font-size: clamp(1rem, 2.8vw, 1.65rem);
  line-height: 1.42;
}

.footer {
  text-align: center;
  color: #667085;
  padding: 24px 12px 12px;
  font-size: clamp(0.95rem, 2.8vw, 1.5rem);
}

.footer strong {
  color: #2f6ef3;
}

@media (max-width: 520px) {
  .card {
    padding: 16px;
  }

  input,
  .btn,
  .social-btn {
    min-height: 58px;
  }

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