/* Схвалено Онлайн — вітрина у стилі onecredit (світла, без юридичних блоків під картками) */

:root {
  --page-bg:      #d6ebff;
  --page-bg2:     #e8f4fc;
  --card:         #ffffff;
  --card-border:  #cfe8f7;
  --text:         #1a1a2e;
  --text-soft:    #5a6570;
  --accent-blue:  #3b7ddd;
  --accent-blue2: #2563c7;
  --pill-dark:    #2c5282;
  --shadow:       0 8px 28px rgba(44, 82, 130, 0.12);
  --radius:       16px;
  --radius-sm:    10px;
}

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

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.45;
  min-height: 100vh;
  overscroll-behavior: none;
  background: linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg2) 45%, #f0f7fc 100%);
}

/* ---- Hero (як на референсі) -------------------------------- */
.hero {
  padding: 18px 16px 14px;
  text-align: center;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.pill--dark {
  background: var(--pill-dark);
  color: #fff;
}

.pill--light {
  background: #fff;
  color: var(--pill-dark);
  border: 1px solid rgba(44, 82, 130, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--pill-dark);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 340px;
  margin: 0 auto;
}

.hero-sub strong {
  color: var(--accent-blue2);
}

/* ---- Список офферів ---------------------------------------- */
.main {
  padding: 4px 12px 20px;
  max-width: 480px;
  margin: 0 auto;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Картка: білий блок, тінь — без таблиць реквізитів знизу */
.offer-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.35s ease both;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.offer-card:active {
  transform: scale(0.992);
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.card-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #eef6ff, #fff);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.card-brand {
  flex: 1;
  min-width: 0;
}

.card-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  text-transform: capitalize;
  letter-spacing: -0.2px;
}

.card-line {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #42a5f5, var(--accent-blue));
  padding: 4px 10px;
  border-radius: 999px;
}

.card-bullets {
  list-style: none;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: #f4f9fd;
  border-radius: var(--radius-sm);
  border: 1px solid #e2eef8;
}

.card-bullets li {
  font-size: 14px;
  color: var(--text);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.card-bullets li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.cta-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #4a90e2 0%, var(--accent-blue2) 100%);
  box-shadow: 0 4px 16px rgba(59, 125, 221, 0.45);
  transition: transform 0.1s ease, opacity 0.1s ease;
  user-select: none;
  -webkit-user-select: none;
}

.cta-btn:active,
.cta-btn--pressed {
  transform: scale(0.98);
  opacity: 0.94;
}

.closing-line {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 18px;
  padding: 0 8px;
  line-height: 1.5;
}

.closing-line strong {
  color: var(--pill-dark);
}

.footer {
  text-align: center;
  font-size: 11px;
  color: #7a8794;
  padding: 16px 16px 28px;
  line-height: 1.5;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-thumb {
  background: #bcd4e8;
  border-radius: 4px;
}
