/*
File: pandora-path-vault.css
For template: مسیر پاندورا - گاوصندوق ذهنی V2
Path suggestion: /wp-content/themes/YOUR-CHILD-THEME/landings/path/css/pandora-path-vault.css
*/

:root {
    --pp-bg: #040406;
    --pp-bg-soft: #0b0b10;
    --pp-panel: rgba(12, 12, 18, 0.78);
    --pp-panel-2: rgba(22, 21, 28, 0.72);
    --pp-text: #f5efe4;
    --pp-muted: rgba(245, 239, 228, 0.66);
    --pp-faint: rgba(245, 239, 228, 0.38);
    --pp-line: rgba(255, 213, 135, 0.16);
    --pp-line-strong: rgba(255, 213, 135, 0.34);
    --pp-gold: #d6a85d;
    --pp-gold-2: #f4d58d;
    --pp-gold-3: #8b6431;
    --pp-green: #87f3bb;
    --pp-red: #ff715f;
    --pp-blue: #8db7ff;
    --pp-radius-xl: 34px;
    --pp-radius-lg: 24px;
    --pp-radius-md: 16px;
    --pp-shadow: 0 34px 110px rgba(0, 0, 0, 0.68);
    --pp-font: Yekan, IRANSans, Vazirmatn, Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--pp-bg);
    color: var(--pp-text);
    font-family: var(--pp-font);
    overflow-x: hidden;
}

body.pandora-path-body,
body.pp-vault-body {
    background:
        radial-gradient(circle at 50% 8%, rgba(214, 168, 93, 0.13), transparent 35%),
        radial-gradient(circle at 14% 78%, rgba(82, 65, 180, 0.13), transparent 34%),
        radial-gradient(circle at 90% 80%, rgba(214, 168, 93, 0.08), transparent 30%),
        linear-gradient(180deg, #09090d 0%, #030304 100%);
}

button,
a { font-family: inherit; }
button { cursor: pointer; }

.pp-app {
    position: relative;
    width: 100%;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.pp-screen {
    position: absolute;
    inset: 0;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 52px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.985);
    transition: opacity 520ms ease, transform 520ms ease;
    z-index: 1;
}

.pp-screen.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    z-index: 5;
}

.pp-bg-grid,
.pp-bg-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

.pp-bg-grid {
    background:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
        radial-gradient(circle at 50% 44%, rgba(214, 168, 93, 0.13), transparent 33%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.035), transparent 42%);
    background-size: 72px 72px, 72px 72px, auto, auto;
    mask-image: radial-gradient(circle at center, #000 0 52%, transparent 88%);
    animation: ppGridDrift 12s linear infinite;
}

.pp-bg-noise {
    z-index: -1;
    opacity: 0.21;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 5px),
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.09), transparent 1px),
        radial-gradient(circle at 80% 60%, rgba(255,255,255,0.07), transparent 1px);
    background-size: auto, 80px 80px, 120px 120px;
    mix-blend-mode: screen;
}

@keyframes ppGridDrift {
    from { background-position: 0 0, 0 0, center, center; }
    to { background-position: 72px 72px, 72px 72px, center, center; }
}

/* INTRO */
.pp-intro-shell,
.pp-result-shell,
.pp-opening-shell {
    position: relative;
    width: min(760px, 100%);
    text-align: center;
}

.pp-intro-shell,
.pp-result-shell {
    padding: clamp(28px, 5vw, 60px);
    border: 1px solid var(--pp-line);
    border-radius: var(--pp-radius-xl);
    background:
        radial-gradient(circle at 50% 0%, rgba(214,168,93,0.13), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
        rgba(8, 8, 12, 0.78);
    box-shadow: var(--pp-shadow), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
}

.pp-system-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(214,168,93,0.23);
    background: rgba(214,168,93,0.07);
    color: var(--pp-gold-2);
    font-size: 13px;
}

.pp-system-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pp-green);
  box-shadow: 0 0 16px rgba(135,243,187,0.85);

  animation: ppBlink 1.4s ease-in-out infinite;

}

.pp-intro-title,
.pp-result-title,
.pp-opening-shell h2 {
    margin: 22px 0 14px;
    font-size: clamp(30px, 5.2vw, 50px);
    line-height: 1.22;
    letter-spacing: -1.2px;

    color: #ffffff;
    font-weight: 900;

    text-shadow:
        0 0 12px rgba(255,255,255,.08),
        0 0 32px rgba(255,255,255,.04);
}
.pp-intro-text,
.pp-result-analysis,
.pp-opening-shell p {
    margin: 0 auto;
    max-width: 640px;
    color: var(--pp-muted);
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 2.05;
}

.pp-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 30px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    color: #171006;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    background:
        linear-gradient(135deg, #f9d990, #c99442 58%, #f1cf83);
    box-shadow:
        0 16px 42px rgba(214,168,93,0.25),
        inset 0 1px 0 rgba(255,255,255,0.45);
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.pp-main-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 20px 52px rgba(214,168,93,0.32);
}

/* QUIZ */
.pp-quiz-shell {
    position: relative;
    width: min(980px, 100%);
    min-height: min(720px, calc(100svh - 44px));
    display: grid;
    grid-template-rows: auto 1fr;
    gap: clamp(22px, 4vw, 42px);
    align-items: center;
}

.pp-progress-header {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 18px clamp(16px, 3vw, 26px) 22px;
    border: 1px solid rgba(255,255,255,0.075);
    border-radius: 22px;
    background: rgba(8, 8, 12, 0.48);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.26);
}

.pp-progress-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.pp-progress-copy span {
    color: var(--pp-muted);
    font-size: 13px;
}

.pp-progress-copy strong {
    font-size: 14px;
    color: var(--pp-gold-2);
}

.pp-progress-track {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
}

.pp-progress-fill {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pp-gold), var(--pp-gold-2));
    box-shadow: 0 0 18px rgba(244,213,141,0.36);
    transition: width 420ms ease;
}

.pp-progress-dot {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(50%, -50%);
    background: #111116;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 0 0 5px rgba(0,0,0,0.28);
    transition: background 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.pp-progress-dot[data-dot="0"] { right: 0%; }
.pp-progress-dot[data-dot="1"] { right: 25%; }
.pp-progress-dot[data-dot="2"] { right: 50%; }
.pp-progress-dot[data-dot="3"] { right: 75%; }
.pp-progress-dot[data-dot="4"] { right: 100%; }

.pp-progress-dot.is-active {
    background: var(--pp-gold-2);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 0 6px rgba(214,168,93,0.12), 0 0 22px rgba(244,213,141,0.45);
}

.pp-progress-dot.is-done {
    background: var(--pp-green);
    border-color: rgba(135,243,187,0.85);
    box-shadow: 0 0 0 5px rgba(135,243,187,0.08), 0 0 16px rgba(135,243,187,0.22);
}

.pp-question-stage,
.pp-vault-stage {
    grid-row: 2;
    grid-column: 1;
    display: grid;
    place-items: center;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(0.985);
    transition: opacity 360ms ease, transform 360ms ease, filter 360ms ease;
}

.pp-question-stage.is-active,
.pp-vault-stage.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.pp-question-stage:not(.is-active) {
    filter: blur(7px);
}

.pp-question-card {
    position: relative;
    width: min(760px, 100%);
    padding: clamp(24px, 4.8vw, 48px);
    border: 1px solid var(--pp-line);
    border-radius: var(--pp-radius-xl);
    background:
        radial-gradient(circle at 50% 0%, rgba(214,168,93,0.12), transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        rgba(10, 10, 15, 0.78);
    box-shadow: var(--pp-shadow), inset 0 1px 0 rgba(255,255,255,0.07);
    backdrop-filter: blur(18px);
    text-align: center;
    overflow: hidden;
}

.pp-question-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(244,213,141,0.35), transparent 55%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.48;
    pointer-events: none;
}

.pp-question-card.is-entering {
    animation: ppCardEnter 520ms cubic-bezier(.2,.8,.2,1) both;
}

@keyframes ppCardEnter {
    from { opacity: 0; transform: translateY(20px) scale(0.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.pp-question-label {
    margin: 0 0 12px;
    color: var(--pp-gold-2);
    font-size: 13px;
    letter-spacing: -0.15px;
}

.pp-question-title {
  margin: 0 auto 26px;
  max-width: 650px;
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.55;
  letter-spacing: -0.7px;

  color: #ffffff;
  font-weight: 800;
}

.pp-options {
    display: grid;
    gap: 12px;
    width: min(620px, 100%);
    margin: 0 auto;
}

.pp-option {
    width: 100%;
    min-height: 58px;
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
        rgba(255,255,255,0.028);
    color: var(--pp-text);
    font-size: 15px;
    line-height: 1.8;
    text-align: right;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.pp-option:hover {
    transform: translateY(-2px);
    border-color: rgba(244,213,141,0.35);
    background: rgba(244,213,141,0.065);
    box-shadow: 0 12px 34px rgba(0,0,0,0.25);
}

.pp-option.is-selected {
    border-color: rgba(135,243,187,0.55);
    background: rgba(135,243,187,0.08);
    color: #eafff3;
}

/* VAULT STAGE */
.pp-vault-stage {
    min-height: 430px;
    align-content: center;
    gap: 22px;
}

.pp-vault-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(244,213,141,0.17);
    background: rgba(8,8,12,0.62);
    color: var(--pp-gold-2);
    font-size: 13px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}

.pp-vault-object {
    position: relative;
    width: min(420px, 84vw);
    height: min(420px, 84vw);
    display: grid;
    place-items: center;
    perspective: 1200px;
}

.pp-vault-glow {
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 74%;
    height: 16%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(214,168,93,0.38), rgba(214,168,93,0.12) 38%, transparent 72%);
    filter: blur(14px);
    opacity: 0.75;
}

.pp-vault-safe {
    position: relative;
    width: 330px;
    height: 330px;
    max-width: 78vw;
    max-height: 78vw;
    transform-style: preserve-3d;
    filter: drop-shadow(0 36px 70px rgba(0,0,0,0.58));
}

.pp-vault-object.is-working .pp-vault-safe {
    animation: ppVaultPulse 3200ms ease both;
}

@keyframes ppVaultPulse {
    0% { transform: translateY(18px) scale(0.94); opacity: 0; }
    12% { transform: translateY(0) scale(1); opacity: 1; }
    45% { transform: translateY(-2px) scale(1.02); }
    58% { transform: translateX(2px) rotate(0.45deg) scale(1.02); }
    62% { transform: translateX(-2px) rotate(-0.45deg) scale(1.02); }
    70% { transform: translateX(0) rotate(0) scale(1.015); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.pp-safe-body {
    position: absolute;
    inset: 18px;
    border-radius: 46px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.1), transparent 22%),
        linear-gradient(315deg, rgba(0,0,0,0.35), transparent 48%),
        linear-gradient(135deg, #2d3038, #111217 48%, #07080b 100%);
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow:
        inset 0 0 0 9px rgba(255,255,255,0.025),
        inset 0 0 0 13px rgba(0,0,0,0.18),
        inset 0 36px 70px rgba(255,255,255,0.035),
        inset 0 -42px 78px rgba(0,0,0,0.42),
        0 0 0 1px rgba(244,213,141,0.12);
    overflow: visible;
}

.pp-safe-body::before,
.pp-safe-body::after {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 34px;
    pointer-events: none;
}

.pp-safe-body::before {
    border: 1px solid rgba(244,213,141,0.18);
    box-shadow: inset 0 0 22px rgba(244,213,141,0.035);
}

.pp-safe-body::after {
    inset: 35px;
    border: 1px dashed rgba(255,255,255,0.07);
    opacity: 0.55;
}

.pp-safe-inside {
    position: absolute;
    inset: 30px;
    border-radius: 36px;
    background: radial-gradient(circle at 50% 50%, rgba(244,213,141,0.52), rgba(214,168,93,0.18) 35%, rgba(0,0,0,0.7) 72%);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.65);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 400ms ease, transform 500ms ease;
}

.pp-vault-safe.is-opening .pp-safe-inside,
.pp-vault-safe.is-opened .pp-safe-inside,
.pp-safe-door.is-final-open ~ .pp-safe-inside {
    opacity: 1;
    transform: scale(1);
}

.pp-safe-door {
    position: absolute;
    inset: 34px;
    z-index: 3;
    border-radius: 35px;
    transform-origin: left center;
    transform-style: preserve-3d;
    background:
        radial-gradient(circle at 52% 42%, rgba(255,255,255,0.12), transparent 28%),
        linear-gradient(145deg, #333640, #15161c 52%, #08090d 100%);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow:
        inset 0 0 0 8px rgba(255,255,255,0.027),
        inset 0 0 0 12px rgba(0,0,0,0.2),
        inset 0 24px 50px rgba(255,255,255,0.035),
        inset 0 -36px 70px rgba(0,0,0,0.46),
        0 24px 44px rgba(0,0,0,0.36),
        0 0 0 1px rgba(244,213,141,0.14);
    transition: transform 850ms cubic-bezier(.18,.75,.12,1), box-shadow 500ms ease;
}

.pp-safe-door::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 27px;
    border: 1px solid rgba(244,213,141,0.22);
    box-shadow: inset 0 0 24px rgba(244,213,141,0.04);
}

.pp-safe-door::after {
    content: "";
    position: absolute;
    inset: 34px;
    border-radius: 22px;
    border: 1px dashed rgba(255,255,255,0.075);
}

.pp-safe-door.is-final-open,
.pp-vault-safe.is-opening .pp-safe-door,
.pp-vault-safe.is-opened .pp-safe-door {
    transform: rotateY(-72deg) translateX(-18px);
    box-shadow: 44px 28px 70px rgba(0,0,0,0.38);
}

.pp-door-inner-light {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%, rgba(244,213,141,0.32), transparent 42%);
    opacity: 0;
    transition: opacity 340ms ease;
    pointer-events: none;
}

.pp-safe-door.is-final-open .pp-door-inner-light,
.pp-vault-safe.is-opening .pp-door-inner-light,
.pp-vault-safe.is-opened .pp-door-inner-light {
    opacity: 1;
}

.pp-safe-hinge {
    position: absolute;
    left: -8px;
    width: 20px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(90deg, #5e4728, #f0ce85 45%, #6f5026);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.35), 0 0 16px rgba(244,213,141,0.12);
    z-index: 4;
}

.pp-safe-hinge-top { top: 52px; }
.pp-safe-hinge-bottom { bottom: 52px; }

.pp-safe-dial-wrap {
    position: absolute;
    left: 50%;
    top: 49%;
    width: 112px;
    height: 112px;
    transform: translate(-50%, -50%);
    z-index: 8;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 25%, rgba(255,255,255,0.22), transparent 22%),
        linear-gradient(145deg, #3a3d46, #0a0b0e 72%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
        0 18px 36px rgba(0,0,0,0.36),
        inset 0 0 0 8px rgba(0,0,0,0.16),
        inset 0 0 0 11px rgba(244,213,141,0.08),
        0 0 0 1px rgba(244,213,141,0.16);
}

.pp-safe-dial {
    position: relative;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--pp-gold-2);
    background:
        radial-gradient(circle at 34% 28%, rgba(255,255,255,0.20), transparent 20%),
        radial-gradient(circle at 50% 50%, #1c1e26 0 38%, #07080b 72%);
    border: 1px solid rgba(244,213,141,0.24);
    box-shadow:
        inset 0 12px 24px rgba(255,255,255,0.045),
        inset 0 -18px 30px rgba(0,0,0,0.46),
        0 0 24px rgba(214,168,93,0.08);
    transition: transform 1900ms cubic-bezier(.12,.78,.16,1);
}

.pp-safe-dial::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 13px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: var(--pp-gold-2);
    box-shadow: 0 0 12px rgba(244,213,141,0.5);
}

.pp-safe-dial strong {
    position: relative;
    z-index: 2;
    min-width: 36px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #f8e8bd;
    background: rgba(0,0,0,0.36);
    font-size: 14px;
    letter-spacing: 1px;
    direction: ltr;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.5);
}

.pp-dial-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 8px;
    margin: -4px 0 0 -1px;
    border-radius: 999px;
    background: rgba(244,213,141,0.5);
    transform-origin: 1px 4px;
}
.pp-dial-mark-1 { transform: rotate(0deg) translateY(-34px); }
.pp-dial-mark-2 { transform: rotate(45deg) translateY(-34px); }
.pp-dial-mark-3 { transform: rotate(90deg) translateY(-34px); }
.pp-dial-mark-4 { transform: rotate(135deg) translateY(-34px); }
.pp-dial-mark-5 { transform: rotate(180deg) translateY(-34px); }
.pp-dial-mark-6 { transform: rotate(225deg) translateY(-34px); }
.pp-dial-mark-7 { transform: rotate(270deg) translateY(-34px); }
.pp-dial-mark-8 { transform: rotate(315deg) translateY(-34px); }

.pp-vault-object.is-working .pp-safe-dial-wrap {
    animation: ppDialGlow 3200ms ease both;
}

@keyframes ppDialGlow {
    0%, 100% { box-shadow: 0 18px 36px rgba(0,0,0,0.36), inset 0 0 0 8px rgba(0,0,0,0.16), inset 0 0 0 11px rgba(244,213,141,0.08), 0 0 0 1px rgba(244,213,141,0.16); }
    45%, 68% { box-shadow: 0 18px 42px rgba(0,0,0,0.42), inset 0 0 0 8px rgba(0,0,0,0.16), inset 0 0 0 11px rgba(244,213,141,0.16), 0 0 36px rgba(244,213,141,0.35); }
}

.pp-safe-handle {
    position: absolute;
    right: 34px;
    top: 50%;
    width: 22px;
    height: 76px;
    transform: translateY(-50%);
    border-radius: 999px;
    z-index: 8;
    background: linear-gradient(90deg, #604627, #f0cf87 45%, #6b4d25);
    box-shadow: inset 0 0 12px rgba(0,0,0,0.36), 0 8px 20px rgba(0,0,0,0.25);
    transform-origin: center;
}

.pp-safe-handle::before,
.pp-safe-handle::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 38px;
    height: 15px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, #d6a85d, #725025);
    box-shadow: inset 0 0 8px rgba(0,0,0,0.28);
}
.pp-safe-handle::before { top: -6px; }
.pp-safe-handle::after { bottom: -6px; }

.pp-safe-handle.is-turning {
    animation: ppHandleTurn 680ms cubic-bezier(.18,.8,.18,1) both;
}

@keyframes ppHandleTurn {
    0% { transform: translateY(-50%) rotate(0deg); }
    55% { transform: translateY(-50%) rotate(24deg); }
    100% { transform: translateY(-50%) rotate(0deg); }
}

.pp-safe-light-beam {
    position: absolute;
    left: 50%;
    bottom: 22%;
    width: 170%;
    height: 170%;
    transform: translateX(-50%);
    background:
        conic-gradient(from 205deg at 50% 100%, transparent 0 16%, rgba(255,236,178,0.75) 22%, transparent 30%, rgba(244,213,141,0.5) 38%, transparent 52%, rgba(255,246,210,0.72) 62%, transparent 73%);
    filter: blur(10px);
    opacity: 0;
    mix-blend-mode: screen;
    animation: ppBeamMove 2800ms ease-in-out infinite alternate;
}

.pp-safe-light-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 82px;
    height: 82px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, #fff8d9 0 16%, #f4d58d 28%, rgba(214,168,93,0.3) 55%, transparent 75%);
    filter: blur(6px);
    opacity: 0;
    mix-blend-mode: screen;
}

.pp-vault-safe.is-opening .pp-safe-light-beam,
.pp-vault-safe.is-opened .pp-safe-light-beam,
.pp-vault-safe.is-opening .pp-safe-light-core,
.pp-vault-safe.is-opened .pp-safe-light-core {
    opacity: 1;
}

@keyframes ppBeamMove {
    from { transform: translateX(-50%) rotate(-4deg) scale(0.96); }
    to { transform: translateX(-50%) rotate(4deg) scale(1.05); }
}

.pp-safe-particles {
    position: absolute;
    inset: 0;
    opacity: 0;
    overflow: hidden;
}

.pp-vault-safe.is-opening .pp-safe-particles,
.pp-vault-safe.is-opened .pp-safe-particles {
    opacity: 1;
}

.pp-safe-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff2bd;
    box-shadow: 0 0 12px rgba(255,242,189,0.9);
    opacity: 0;
    animation: ppParticleRise 2300ms ease-in-out infinite;
}

.pp-safe-particles span:nth-child(1) { left: 18%; bottom: 18%; animation-delay: 0ms; }
.pp-safe-particles span:nth-child(2) { left: 31%; bottom: 10%; animation-delay: 190ms; }
.pp-safe-particles span:nth-child(3) { left: 45%; bottom: 20%; animation-delay: 360ms; }
.pp-safe-particles span:nth-child(4) { left: 58%; bottom: 12%; animation-delay: 520ms; }
.pp-safe-particles span:nth-child(5) { left: 72%; bottom: 18%; animation-delay: 680ms; }
.pp-safe-particles span:nth-child(6) { left: 24%; bottom: 28%; animation-delay: 840ms; }
.pp-safe-particles span:nth-child(7) { left: 38%; bottom: 24%; animation-delay: 1040ms; }
.pp-safe-particles span:nth-child(8) { left: 54%; bottom: 26%; animation-delay: 1240ms; }
.pp-safe-particles span:nth-child(9) { left: 66%; bottom: 25%; animation-delay: 1420ms; }
.pp-safe-particles span:nth-child(10) { left: 80%; bottom: 31%; animation-delay: 1600ms; }

@keyframes ppParticleRise {
    0% { opacity: 0; transform: translateY(20px) scale(0.6); }
    18% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-105px) translateX(-18px) scale(1.3); }
}

.pp-code-strip {
    display: flex;
    direction: ltr;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(0,0,0,0.25);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.28);
}

.pp-code-strip span {
    min-width: 40px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--pp-faint);
    background: rgba(255,255,255,0.045);
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.pp-code-strip span.is-filled {
    color: #101006;
    background: linear-gradient(135deg, #f4d58d, #c99542);
    box-shadow: 0 0 18px rgba(244,213,141,0.22);
}

/* OPENING */
.pp-opening-shell {
    display: grid;
    justify-items: center;
    gap: 14px;
}

.pp-opening-vault {
    width: min(360px, 82vw);
    height: min(360px, 82vw);
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    filter: drop-shadow(0 38px 85px rgba(0,0,0,0.62));
}

.pp-opening-vault .pp-vault-safe {
    width: 320px;
    height: 320px;
    max-width: 78vw;
    max-height: 78vw;
    animation: ppOpeningPop 1100ms cubic-bezier(.18,.84,.18,1) both;
}

@keyframes ppOpeningPop {
    from { opacity: 0; transform: translateY(26px) scale(0.9); filter: brightness(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: brightness(1.12); }
}

.pp-opening-kicker,
.pp-result-kicker {
    margin: 0;
    color: var(--pp-gold-2) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.pp-opening-shell h2 {
    margin: 0;
    text-shadow: 0 0 30px rgba(244,213,141,0.18);
}

#pp-opening-text {
    color: var(--pp-muted);
    min-height: 34px;
}

.pp-opening-shell::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 35%;
    width: 72vmin;
    height: 72vmin;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,213,141,0.13), transparent 66%);
    filter: blur(16px);
    z-index: -1;
    animation: ppResultAura 2.6s ease-in-out infinite alternate;
}

@keyframes ppResultAura {
    from { opacity: 0.45; transform: translate(-50%, -50%) scale(0.94); }
    to { opacity: 0.82; transform: translate(-50%, -50%) scale(1.08); }
}

/* RESULT */
.pp-result-shell {
    width: min(820px, 100%);
}

.pp-course-card {
    position: relative;
    width: min(640px, 100%);
    margin: 28px auto 0;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 28px;
    border: 1px solid rgba(244,213,141,0.2);
    background:
        radial-gradient(circle at 50% 0%, rgba(244,213,141,0.13), transparent 46%),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        rgba(7,7,10,0.74);
    box-shadow: 0 26px 80px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.08);
}

.pp-course-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(135,243,187,0.09);
    border: 1px solid rgba(135,243,187,0.22);
    color: var(--pp-green);
    font-size: 12px;
}

.pp-course-card h3 {
    margin: 16px 0 10px;
    font-size: clamp(25px, 4vw, 42px);
    line-height: 1.35;
}

.pp-course-card p,
.pp-bundle-box {
    margin: 0 auto;
    color: var(--pp-muted);
    line-height: 2;
    font-size: 15px;
    max-width: 540px;
}

.pp-bundle-box {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(244,213,141,0.15);
    background: rgba(244,213,141,0.055);
    color: #f3d99c;
}

.pp-buy-btn {
    margin-top: 24px;
}

.pp-restart-btn {
    display: block;
    margin: 18px auto 0;
    padding: 0;
    border: 0;
    color: var(--pp-faint);
    background: transparent;
    font-size: 13px;
    transition: color 180ms ease;
}

.pp-restart-btn:hover {
    color: var(--pp-text);
}

/* FINAL DIAL SPIN */
.pp-safe-dial.is-final-spin {
    animation: ppFinalSpin 1700ms cubic-bezier(.12,.8,.16,1) both;
}

@keyframes ppFinalSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(1080deg); }
}

/* MOBILE */
@media (max-width: 720px) {
    .pp-screen {
        padding: 16px;
        align-items: center;
    }

    .pp-quiz-shell {
        min-height: calc(100svh - 32px);
        gap: 18px;
    }

    .pp-progress-header {
        padding: 14px 14px 18px;
        border-radius: 18px;
    }

    .pp-progress-copy {
        margin-bottom: 16px;
    }

    .pp-question-card {
        padding: 22px 16px;
        border-radius: 26px;
    }

    .pp-question-title {
        font-size: 22px;
        line-height: 1.75;
    }

    .pp-option {
        min-height: 54px;
        padding: 13px 14px;
        font-size: 14px;
        border-radius: 16px;
    }

    .pp-vault-stage {
        min-height: 390px;
        gap: 16px;
    }

    .pp-vault-object {
        width: min(340px, 88vw);
        height: min(340px, 88vw);
    }

    .pp-vault-safe,
    .pp-opening-vault .pp-vault-safe {
        width: 290px;
        height: 290px;
    }

    .pp-safe-dial-wrap {
        width: 98px;
        height: 98px;
    }

    .pp-safe-dial {
        width: 72px;
        height: 72px;
    }

    .pp-safe-handle {
        right: 28px;
        height: 66px;
    }

    .pp-code-strip span {
        min-width: 35px;
        height: 31px;
        font-size: 11px;
    }

    .pp-intro-shell,
    .pp-result-shell {
        padding: 26px 18px;
        border-radius: 26px;
    }
}

@media (max-width: 420px) {
    .pp-vault-safe,
    .pp-opening-vault .pp-vault-safe {
        width: 260px;
        height: 260px;
    }

    .pp-safe-body {
        inset: 14px;
        border-radius: 40px;
    }

    .pp-safe-door {
        inset: 29px;
        border-radius: 31px;
    }

    .pp-safe-dial-wrap {
        width: 88px;
        height: 88px;
    }

    .pp-safe-dial {
        width: 66px;
        height: 66px;
    }

    .pp-safe-dial strong {
        font-size: 12px;
        min-width: 32px;
    }

    .pp-safe-handle {
        right: 24px;
        width: 18px;
        height: 60px;
    }
}



@keyframes ppBlink {

  0%{
    opacity:1;
    transform:scale(1);
    box-shadow:0 0 16px rgba(135,243,187,.85);
  }

  50%{
    opacity:.25;
    transform:scale(.82);
    box-shadow:0 0 4px rgba(135,243,187,.2);
  }

  100%{
    opacity:1;
    transform:scale(1);
    box-shadow:0 0 16px rgba(135,243,187,.85);
  }

}



.pp-vault-dial-number {
  transform: rotate(calc(var(--dial-rotation, 0deg) * -1));
  transition: transform 1.2s cubic-bezier(.18,.9,.2,1);
}





.pp-course-card-v2 {
    display: grid;
    grid-template-columns: minmax(220px, 34%) 1fr;
    gap: 26px;
    align-items: stretch;
    text-align: right;
    overflow: hidden;
}

.pp-course-visual {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.pp-course-visual img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.pp-course-image-glow {
    position: absolute;
    inset: auto 12% -18% 12%;
    height: 42%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,213,141,.34), transparent 68%);
    filter: blur(22px);
    z-index: 1;
}

.pp-course-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pp-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.pp-course-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--pp-muted);
    font-size: 12px;
}

.pp-course-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 6px 0 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(244,213,141,0.07);
    border: 1px solid rgba(244,213,141,0.16);
}

.pp-course-price-label {
    color: var(--pp-muted);
    font-size: 13px;
}

.pp-course-price-row strong {
    color: var(--pp-gold-2);
    font-size: 16px;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .pp-course-card-v2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pp-course-visual {
        min-height: 240px;
    }

    .pp-course-visual img {
        min-height: 240px;
    }

    .pp-course-price-row {
        align-items: flex-start;
        flex-direction: column;
    }
}






.pp-course-card-minimal {

    width: min(430px, 100%);
    margin: 34px auto 0;

    border-radius: 30px;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.015)
        ),
        rgba(10,10,14,.82);

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 30px 90px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.05);

    backdrop-filter: blur(18px);
}

.pp-course-cover-wrap {

    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.pp-course-cover-wrap img {

    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.pp-course-cover-overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 35%,
            rgba(0,0,0,.08) 55%,
            rgba(0,0,0,.42) 100%
        );
}

.pp-course-content {

    padding: 24px 22px 26px;
    text-align: center;
}

.pp-course-content h3 {

    margin: 10px 0 12px;

    font-size: clamp(28px,4vw,38px);
    line-height: 1.35;

    color: #fff;
    font-weight: 900;
}

.pp-course-content p {

    margin: 0 auto;

    max-width: 320px;

    color: rgba(255,255,255,.7);

    line-height: 2;
    font-size: 14px;
}

.pp-course-content .pp-buy-btn {

    width: 100%;
    margin-top: 24px;
}

.pp-course-content .pp-restart-btn {

    margin-top: 16px;
}





.pp-result-shell {
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding-top: 28px;
  padding-bottom: 28px;
}

.pp-course-card-minimal {
  margin-top: 22px;
  width: min(390px, 100%);
}

.pp-course-cover-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
}

.pp-course-cover-wrap img {
  border-radius: 22px;
}

.pp-course-content {
  padding: 18px 20px 22px;
}

.pp-course-content h3 {
  margin: 8px 0 8px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.35;
}

.pp-course-content p {
  line-height: 1.85;
  font-size: 13.5px;
}

.pp-course-content .pp-buy-btn {
  margin-top: 18px;
  min-height: 48px;
}






@media (max-width: 720px) {
  .pp-result-shell {
    max-height: calc(100svh - 24px);
    overflow-y: auto;
    padding: 20px 16px;
  }

  .pp-course-card-minimal {
    margin-top: 18px;
    width: min(390px, 100%);
  }

  .pp-course-cover-wrap {
    border-radius: 20px;
  }

  .pp-course-cover-wrap img {
    border-radius: 20px;
  }

  .pp-course-content {
    padding: 16px 18px 20px;
  }

  .pp-course-content h3 {
    font-size: 26px;
    line-height: 1.35;
  }

  .pp-course-content .pp-buy-btn {
    margin-top: 16px;
  }
}

/* =========================================================
   REVISED QUESTION FLOW OVERRIDES
   For: behavioral 5-step Pandora Path quiz
   Purpose: fixes result card, responsive layout, CTA visibility,
   and matches the revised PHP/JS structure.
========================================================= */

body.pandora-path-body,
body.pp-vault-body {
    direction: rtl;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

.pp-screen {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(244,213,141,.38) rgba(255,255,255,.04);
}

.pp-screen::-webkit-scrollbar,
.pp-result-shell::-webkit-scrollbar {
    width: 6px;
}

.pp-screen::-webkit-scrollbar-track,
.pp-result-shell::-webkit-scrollbar-track {
    background: rgba(255,255,255,.04);
}

.pp-screen::-webkit-scrollbar-thumb,
.pp-result-shell::-webkit-scrollbar-thumb {
    background: rgba(244,213,141,.32);
    border-radius: 999px;
}

.pp-intro-shell,
.pp-question-card,
.pp-result-shell {
    transform: translateZ(0);
}

.pp-intro-title,
.pp-result-title,
.pp-question-title,
.pp-course-content h3 {
    word-spacing: -1px;
}

.pp-intro-text,
.pp-result-analysis,
.pp-course-content p,
.pp-option {
    font-weight: 400;
}

.pp-result-analysis {
    max-width: 680px;
    margin-top: 10px;
    color: rgba(245,239,228,.72);
}

.pp-options {
    gap: 13px;
}

.pp-option {
    position: relative;
    overflow: hidden;
    padding-right: 20px;
    padding-left: 18px;
}

.pp-option::before {
    content: "";
    position: absolute;
    right: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(244,213,141,.75), rgba(214,168,93,.08));
    opacity: 0;
    transition: opacity 180ms ease;
}

.pp-option:hover::before,
.pp-option.is-selected::before {
    opacity: 1;
}

.pp-option.is-selected {
    transform: translateY(-1px);
    border-color: rgba(244,213,141,.48);
    background:
        linear-gradient(180deg, rgba(244,213,141,.105), rgba(244,213,141,.035)),
        rgba(255,255,255,.025);
    color: #fff7dd;
    box-shadow:
        0 16px 42px rgba(0,0,0,.34),
        0 0 0 1px rgba(244,213,141,.08) inset;
}

.pp-main-btn,
.pp-buy-btn,
a.pp-main-btn,
a.pp-buy-btn {
    color: #171006 !important;
    background:
        linear-gradient(135deg, #fff1bd 0%, #f3cf7f 32%, #b97d2f 72%, #f6d98d 100%) !important;
    border: 0 !important;
    text-shadow: none !important;
    white-space: nowrap;
}

.pp-main-btn:visited,
.pp-buy-btn:visited {
    color: #171006 !important;
}

.pp-result-shell {
    width: min(860px, 100%);
    max-height: calc(100svh - 36px);
    overflow-y: auto;
    padding: clamp(24px, 4vw, 48px);
}

.pp-course-card.pp-course-card-minimal {
    position: relative;
    width: min(430px, 100%);
    margin: 26px auto 0;
    padding: 10px;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(244,213,141,.18);
    background:
        radial-gradient(circle at 50% 0%, rgba(244,213,141,.12), transparent 44%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
        rgba(8,8,12,.84);
    box-shadow:
        0 34px 100px rgba(0,0,0,.50),
        inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter: blur(18px);
}

.pp-course-card.pp-course-card-minimal::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, transparent 8%, rgba(244,213,141,.42), transparent 58%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .52;
    pointer-events: none;
}

.pp-course-cover-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(244,213,141,.16), transparent 55%),
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.08),
        0 18px 52px rgba(0,0,0,.34);
}

.pp-course-cover-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 20%, transparent 0 34%, rgba(0,0,0,.18) 72%),
        linear-gradient(180deg, rgba(0,0,0,0) 44%, rgba(0,0,0,.45) 100%);
}

.pp-course-cover-wrap img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
    border-radius: 26px;
    transform: scale(1.01);
}

.pp-course-cover-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(180deg, transparent 38%, rgba(0,0,0,.16) 66%, rgba(0,0,0,.62) 100%);
    pointer-events: none;
}

.pp-course-content {
    position: relative;
    z-index: 6;
    display: block;
    padding: 22px 18px 18px;
    text-align: center;
}

.pp-course-content .pp-result-kicker,
#pp-course-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 32px;
    margin: 0 auto 10px;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--pp-green) !important;
    background: rgba(135,243,187,.075);
    border: 1px solid rgba(135,243,187,.19);
    font-size: 12px !important;
    line-height: 1.6 !important;
}

.pp-course-content h3,
#pp-course-name {
    margin: 8px 0 10px;
    font-size: clamp(25px, 3.6vw, 36px);
    line-height: 1.35;
    color: #fff;
    font-weight: 900;
}

.pp-course-content p#pp-course-description {
    max-width: 350px;
    margin: 0 auto;
    color: rgba(245,239,228,.72);
    line-height: 1.95;
    font-size: 14px;
}

.pp-course-content .pp-buy-btn {
    width: 100%;
    min-height: 50px;
    margin-top: 20px;
    padding: 0 22px;
    font-size: 14.5px;
    box-shadow:
        0 18px 46px rgba(214,168,93,.25),
        inset 0 1px 0 rgba(255,255,255,.48);
}

.pp-course-content .pp-restart-btn {
    margin: 15px auto 0;
    color: rgba(245,239,228,.46);
}

.pp-course-content .pp-restart-btn:hover {
    color: rgba(245,239,228,.88);
}

.pp-opening-shell h2 {
    max-width: 720px;
}

#pp-opening-text {
    line-height: 2;
}

@media (min-width: 860px) {
    .pp-result-shell {
        display: grid;
        grid-template-columns: 1fr minmax(340px, 430px);
        gap: 28px;
        align-items: center;
        text-align: right;
    }

    .pp-result-shell > .pp-result-kicker,
    .pp-result-shell > .pp-result-title,
    .pp-result-shell > .pp-result-analysis {
        grid-column: 1;
    }

    .pp-result-shell > .pp-result-kicker {
        align-self: end;
        margin: 0 0 4px;
    }

    .pp-result-title {
        margin-top: 0;
        margin-bottom: 8px;
    }

    .pp-result-analysis {
        margin-right: 0;
        margin-left: 0;
    }

    .pp-course-card.pp-course-card-minimal {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin: 0;
    }
}

@media (max-width: 720px) {
    .pp-screen {
        padding: 14px;
    }

    .pp-intro-shell,
    .pp-result-shell,
    .pp-question-card {
        border-radius: 26px;
    }

    .pp-intro-title,
    .pp-result-title {
        font-size: clamp(28px, 8.5vw, 38px);
    }

    .pp-intro-text,
    .pp-result-analysis,
    .pp-opening-shell p {
        font-size: 14px;
        line-height: 2;
    }

    .pp-progress-copy span,
    .pp-progress-copy strong {
        font-size: 12px;
    }

    .pp-question-title {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 1.75;
    }

    .pp-question-label {
        font-size: 12px;
    }

    .pp-option {
        min-height: 56px;
        padding: 13px 17px 13px 13px;
        font-size: 13.5px;
        line-height: 1.8;
    }

    .pp-result-shell {
        width: 100%;
        max-height: calc(100svh - 20px);
        padding: 22px 15px;
        text-align: center;
    }

    .pp-course-card.pp-course-card-minimal {
        width: min(360px, 100%);
        margin-top: 20px;
        padding: 8px;
        border-radius: 28px;
    }

    .pp-course-cover-wrap,
    .pp-course-cover-wrap img {
        border-radius: 22px;
    }

    .pp-course-content {
        padding: 18px 14px 16px;
    }

    .pp-course-content h3,
    #pp-course-name {
        font-size: 25px;
        line-height: 1.38;
    }

    .pp-course-content p#pp-course-description {
        font-size: 13.2px;
        line-height: 1.9;
    }

    .pp-course-content .pp-buy-btn {
        min-height: 48px;
        margin-top: 17px;
    }
}

@media (max-width: 420px) {
    .pp-screen {
        padding: 12px;
    }

    .pp-main-btn,
    .pp-buy-btn {
        min-height: 48px;
        padding: 0 20px;
        font-size: 13.5px;
    }

    .pp-intro-shell,
    .pp-result-shell {
        padding: 22px 14px;
    }

    .pp-question-card {
        padding: 20px 14px;
    }

    .pp-option {
        font-size: 13px;
    }

    .pp-course-card.pp-course-card-minimal {
        width: 100%;
    }
}
