/* =========================================================================
   Coquet ambassador programme page (/partners, /pl/partnerzy)
   Loads after main.css and community.css (hero, bubbles, mailcard),
   and adds the square hero photo, steps, ways-to-earn cards and the
   grow-your-profile band.
   ========================================================================= */

.bubble .av svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* the community page's background pattern, with earning and fame shapes instead of chat */
.dpattern--earn {
  -webkit-mask-image: url("/assets/img/partners-pattern.svg");
  mask-image: url("/assets/img/partners-pattern.svg");
}

/* the collaborations photo is square; show it whole */
.chero__photo--square { aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; }
.chero__photo--square::after { display: none; }
@media (max-width: 599px) { .chero__photo--square ~ .bubble--b { display: none; } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 12px; margin-top: 28px; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { display: grid; align-content: start; gap: 6px; padding: 20px 18px; border-radius: var(--r-md); background: var(--c-solid); border: 1px solid var(--c-card-edge); box-shadow: var(--shadow-card); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: var(--c-accent-tint); color: var(--c-accent); font: 400 24px/1 var(--font-display); }
.steps b { font-size: 16px; line-height: 22px; color: var(--c-text); }
.steps p { font-size: 14px; line-height: 20px; color: var(--c-text-secondary); }

/* ---------- Ways to earn ---------- */
.ways { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 800px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.way { position: relative; display: flex; flex-direction: column; gap: 12px; overflow: hidden; padding: 24px; border-radius: var(--r-lg); background: var(--c-solid); border: 1px solid var(--c-card-edge); box-shadow: var(--shadow-card); }
.way__img { position: relative; margin: -24px -24px 8px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-solid-muted); }
.way__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.way__n { font: 600 12px/16px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
.way h3 { font: 400 clamp(28px, 2.4vw, 34px)/1.08 var(--font-display); color: var(--c-text); }
.way > p { font-size: 16px; line-height: 24px; color: var(--c-text-secondary); }
.way__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; padding-top: 8px; }
.way__foot .btn { min-height: 44px; padding-inline: 20px; font-size: 15px; }
.way__badge { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-full); background: var(--c-accent); color: #fff; font: 600 11px/14px var(--font-body); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(30, 26, 28, .18); }
.way__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: cpulse 2.2s ease-out infinite; }
.way__badge--soon { background: rgba(30, 26, 28, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.way__badge--soon::before { background: var(--c-accent); animation: none; }
@media (prefers-reduced-motion: reduce) { .way__badge::before { animation: none; } }
.way--star { background: var(--c-highlight); color: var(--c-on-highlight); border-color: transparent; --c-text: var(--c-on-highlight); --c-text-secondary: rgba(255, 255, 255, .72); }

/* ---------- Grow your profile ---------- */
.safe { display: grid; gap: clamp(32px, 4vw, 56px); margin-top: clamp(32px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .safe { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.safe__img { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 1160 / 829; background: var(--c-solid-muted); box-shadow: var(--shadow-card); }
.safe__img img { width: 100%; height: 100%; object-fit: cover; }
