/* ── AATG Perfect Pet Matchmaker ─────────────────────────────────────────── */

.aatg-petmatch {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 620px;
    margin: 0 auto;
}

.aatg-pm__panel {
    background:
        radial-gradient(700px 300px at 50% -120px, rgba(240,132,52,.10), transparent 70%),
        #ffffff;
    border: 1px solid #e7e7e3;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}
.aatg-pm__center { text-align: center; }

.aatg-pm__panel a, .aatg-pm__panel button {
    text-decoration: none !important;
    font-family: inherit;
}

/* ── Start ───────────────────────────────────────────────────────────────── */
.aatg-pm__logo { font-size: 3rem; margin-bottom: 8px; animation: aatg-pm-pop .5s ease both; }
.aatg-pm__title {
    color: #111 !important;
    font-family: inherit !important;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 10px;
}
.aatg-pm__sub {
    color: #666;
    font-size: .95rem;
    line-height: 1.65;
    max-width: 420px;
    margin: 0 auto 24px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.aatg-pm__btn {
    display: inline-block;
    background: linear-gradient(135deg, #f08434, #e2731f);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 13px 28px;
    font-size: .98rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 4px 15px rgba(240,132,52,.4);
}
.aatg-pm__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(240,132,52,.5); }
.aatg-pm__btn--big { padding: 15px 34px; font-size: 1.05rem; border-radius: 14px; }

/* ── Progress ────────────────────────────────────────────────────────────── */
.aatg-pm__progress {
    height: 6px;
    background: #f0efe9;
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 14px;
}
.aatg-pm__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f08434, #e2731f);
    border-radius: 100px;
    transition: width .3s ease;
}
.aatg-pm__step {
    color: #999;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 6px;
}

/* ── Question ────────────────────────────────────────────────────────────── */
.aatg-pm__q {
    color: #111 !important;
    font-family: inherit !important;
    font-size: clamp(1.15rem, 2.6vw, 1.45rem);
    font-weight: 800;
    margin: 0 0 18px;
    animation: aatg-pm-pop .35s ease both;
}

.aatg-pm__opts { display: flex; flex-direction: column; gap: 10px; }

.aatg-pm__opt {
    width: 100%;
    text-align: left;
    background: #fafaf8;
    border: 1px solid #e7e7e3;
    border-radius: 14px;
    padding: 15px 18px;
    font-size: .98rem;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .1s;
    animation: aatg-pm-pop .35s ease both;
}
.aatg-pm__opt:hover {
    background: rgba(240,132,52,.08);
    border-color: rgba(240,132,52,.5);
    transform: translateX(3px);
}

/* ── Result ──────────────────────────────────────────────────────────────── */
.aatg-pm__result-label {
    color: #f08434;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 6px;
}
.aatg-pm__match-emoji { font-size: 3.6rem; line-height: 1.2; animation: aatg-pm-bounce .6s ease both; }
.aatg-pm__match-name {
    color: #111 !important;
    font-family: inherit !important;
    font-size: clamp(1.4rem, 3.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 6px 0 10px;
}
.aatg-pm__score-ring {
    display: inline-block;
    background: rgba(240,132,52,.12);
    border: 2px solid #f08434;
    color: #e2731f;
    font-size: .92rem;
    font-weight: 800;
    border-radius: 100px;
    padding: 6px 18px;
    margin-bottom: 14px;
}
.aatg-pm__blurb {
    color: #555;
    font-size: .95rem;
    line-height: 1.65;
    max-width: 430px;
    margin: 0 auto 20px;
}

.aatg-pm__also {
    color: #999;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 26px 0 10px;
}
.aatg-pm__runners { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.aatg-pm__runner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fafaf8;
    border: 1px solid #e7e7e3;
    border-radius: 100px;
    padding: 8px 16px;
    transition: border-color .15s, background .15s;
}
.aatg-pm__runner:hover { background: rgba(240,132,52,.08); border-color: rgba(240,132,52,.5); }
.aatg-pm__runner-name  { color: #222; font-size: .86rem; font-weight: 700; }
.aatg-pm__runner-score { color: #e2731f; font-size: .82rem; font-weight: 800; }

/* ── Share ───────────────────────────────────────────────────────────────── */
.aatg-pm__share {
    display: flex;
    gap: 9px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.aatg-pm__share-btn {
    background: #fff;
    border: 1px solid #e3e3df;
    color: #444 !important;
    font-size: .85rem;
    font-weight: 700;
    border-radius: 100px;
    padding: 9px 18px;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.aatg-pm__share-btn:hover {
    background: rgba(240,132,52,.08);
    border-color: rgba(240,132,52,.5);
    color: #e2731f !important;
}

.aatg-pm__again {
    display: block;
    margin: 18px auto 0;
    background: none;
    border: none;
    color: #999;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
}
.aatg-pm__again:hover { color: #e2731f; }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes aatg-pm-pop {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes aatg-pm-bounce {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
    .aatg-pm__panel { padding: 24px 16px; border-radius: 16px; }
}
