/* PhonePe HDFC Ultimo vs Uno review: card colour chips, the "before you apply" note and the exclusions list.
   Result cards and the comparison table reuse swiggy-review.css; the calculator reuses eternal-calc.css;
   the fee tabs reuse jalsa-review.css. */
.pp-chip--ultimo { background: #111113; box-shadow: inset 0 0 0 1.5px #c9a64b; }
.pp-chip--uno { background: #3d2a86; }
html[data-theme="dark"] .pp-chip--ultimo { background: #000; }
html[data-theme="dark"] .pp-chip--uno { background: #6a52c9; }

.pp-start {
  display: grid;
  gap: 14px;
  margin-block-end: 24px;
  padding: 22px 24px;
  border-radius: var(--rv-radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.pp-start h2 {
  font-size: var(--rv-fs-h2);
  font-weight: 650;
  line-height: 1.3;
  text-wrap: balance;
}
.pp-start .pv-unknowns { margin: 0; }
.pp-start .rv-fineprint { margin: 0; }

.pp-excl { padding: 0; list-style: none; }
.pp-excl li {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-muted);
  font-size: var(--rv-fs-small);
  line-height: 1.4;
}

@media (max-width: 560px) {
  .pp-start { padding: 18px 16px; }
}

/* The seven online brands: PhonePe's animated logo tile */
.pp-brands {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: var(--rv-radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.pp-brands picture { flex: none; }
.pp-brands img {
  display: block;
  inline-size: 96px;
  block-size: 96px;
  border-radius: 16px;
  background: #f5f5f5;
}
.pp-brands figcaption { font-size: var(--rv-fs-small); line-height: 1.5; color: var(--muted); }
.pp-brands figcaption strong { display: block; margin-block-end: 2px; font-size: 1rem; font-weight: 600; color: var(--text); }

/* Lifetime-free offer banner above the calculator (hidden by phonepe-calc.js once the offer ends).
   A dark panel in both themes; the card art breaks out of the top edge on phones. */
.pp-offer {
  --pp-green: #4ade80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  margin-block: 0 24px;
  border-radius: var(--rv-radius-lg);
  background: #0e1311;
  color: #f4f6f5;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 18px 40px -24px rgb(0 0 0 / .5);
}
html[data-theme="dark"] .pp-offer { background: #111915; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.pp-offer-copy { display: grid; justify-items: start; gap: 14px; min-inline-size: 0; padding: 30px 32px; }
.pp-offer-label {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0;
  color: var(--pp-green);
  font-size: var(--rv-fs-small);
  font-weight: 600;
}
/* Gift box shakes every few seconds; the label shimmers continuously. Both stop for reduced motion. */
.pp-offer-gift { flex: none; transform-origin: 50% 85%; }
.pp-offer-shine { color: var(--pp-green); }
@media (prefers-reduced-motion: no-preference) {
  .pp-offer-gift { animation: pp-gift-shake 2.6s cubic-bezier(.36, .07, .19, .97) infinite; }
  .pp-offer-shine {
    background: linear-gradient(100deg, var(--pp-green) 0%, var(--pp-green) 38%, #eafff1 50%, var(--pp-green) 62%, var(--pp-green) 100%) 0 0 / 250% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: pp-shine 2.2s linear infinite;
  }
}
@keyframes pp-gift-shake {
  0%, 52%, 100% { transform: scale(1) rotate(0); }
  56% { transform: scale(1.25) rotate(-14deg); }
  62% { transform: scale(1.25) rotate(12deg); }
  68% { transform: scale(1.2) rotate(-10deg); }
  74% { transform: scale(1.15) rotate(6deg); }
  80% { transform: scale(1.05) rotate(-2deg); }
  86% { transform: scale(1) rotate(0); }
}
@keyframes pp-shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.pp-offer h2 { margin: 0; color: #fff; font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.2rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.pp-offer-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pp-offer-facts li { display: flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.pp-offer-facts strong { color: var(--pp-green); font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pp-offer-facts span,
.pp-offer-text { color: rgb(244 246 245 / .66); font-size: var(--rv-fs-small); }
.pp-offer-text { margin: 0; line-height: 1.5; text-wrap: pretty; max-inline-size: 56ch; }
.pp-offer-text s { color: rgb(244 246 245 / .5); }
/* Not .rv-btn-primary: glass-buttons.js would turn it into dark glass on this dark panel. */
.pp-offer-btn { border: 0; background: #fff; color: #0e1311; box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), 0 8px 20px -10px rgb(0 0 0 / .6); }
@media (hover: hover) { .pp-offer-btn:hover { background: #e9efec; } }
.pp-offer-art { align-self: end; padding-inline-end: 28px; }
.pp-offer-art img { display: block; inline-size: 100%; block-size: auto; filter: drop-shadow(0 22px 30px rgb(0 0 0 / .55)); }

/* Phones: one centred column. Cards sit inside the panel, the three facts are equal tiles, Apply is full width. */
@media (max-width: 640px) {
  .pp-offer { grid-template-columns: 1fr; text-align: center; }
  .pp-offer-art { order: -1; justify-self: center; inline-size: min(200px, 58%); padding: 24px 0 0; }
  .pp-offer-copy { justify-items: center; gap: 12px; padding: 16px 18px 22px; }
  .pp-offer h2 { font-size: 1.6rem; }
  .pp-offer-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; inline-size: 100%; }
  .pp-offer-facts li { flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 4px; border-radius: 14px; }
  .pp-offer-facts strong { font-size: 1.15rem; }
  .pp-offer-facts span { font-size: .75rem; line-height: 1.25; }
  .pp-offer-text { text-align: center; text-wrap: balance; }
  .pp-offer-btn { justify-self: stretch; }
}
