/* Pariurix Match — Bonus Finder */

.pmx-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 600px;
    margin: 32px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.pmx-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,.12);
    padding: 44px 48px;
    overflow: hidden;
}

@media (max-width: 520px) {
    .pmx-card { padding: 28px 22px; }
}

/* ── Spinner ────────────────────────────────────────────────── */
.pmx-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}
.pmx-spinner {
    width: 38px; height: 38px;
    border: 4px solid #f3f4f6;
    border-top-color: #c0392b;
    border-radius: 50%;
    animation: pmx-spin .7s linear infinite;
}
@keyframes pmx-spin { to { transform: rotate(360deg); } }

/* ── Intro ──────────────────────────────────────────────────── */
.pmx-intro { text-align: center; }

.pmx-shrug {
    font-size: 3.2rem;
    margin-bottom: 14px;
    line-height: 1;
}

.pmx-intro-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px;
    line-height: 1.3;
}

.pmx-intro-sub {
    font-size: .97rem;
    color: #6b7280;
    margin: 0 0 28px;
}

.pmx-start-btn {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s, transform .12s;
    margin-bottom: 22px;
}
.pmx-start-btn:hover {
    background: #a93226;
    transform: translateY(-2px);
}

.pmx-trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: .82rem;
    color: #9ca3af;
    flex-wrap: wrap;
}

/* ── Step dots ──────────────────────────────────────────────── */
.pmx-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}
.pmx-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: background .3s;
}
.pmx-dot-active { background: #c0392b; }

/* ── Question ───────────────────────────────────────────────── */
.pmx-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* ── Choices ────────────────────────────────────────────────── */
.pmx-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 440px) {
    .pmx-choices { grid-template-columns: 1fr; }
}

.pmx-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 14px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
    text-align: center;
}
.pmx-choice:hover {
    border-color: #c0392b;
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(192,57,43,.1);
}
.pmx-choice.pmx-selected {
    border-color: #c0392b;
    background: #fff0ef;
    box-shadow: 0 4px 16px rgba(192,57,43,.15);
    transform: translateY(-2px);
}

.pmx-choice-icon {
    font-size: 1.9rem;
    line-height: 1;
}
.pmx-choice-text {
    font-size: .88rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
}
.pmx-choice.pmx-selected .pmx-choice-text {
    color: #c0392b;
}

/* ── Next button ────────────────────────────────────────────── */
.pmx-next-row { display: flex; justify-content: center; margin-top: 4px; }

.pmx-next-btn {
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 13px 36px;
    font-size: .97rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s, opacity .18s;
}
.pmx-next-btn:hover:not(:disabled) { background: #a93226; }
.pmx-next-btn:disabled { opacity: .35; cursor: default; }

/* ── Email Gate ─────────────────────────────────────────────── */
.pmx-gate { text-align: center; }

.pmx-gate-teaser {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    border-radius: 14px;
    padding: 22px 20px;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.pmx-gate-teaser::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pmx-teaser-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.6);
    margin-bottom: 6px;
}
.pmx-teaser-casino {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.pmx-teaser-bonus {
    font-size: 1rem;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 10px;
}
.pmx-blurred {
    filter: blur(4px);
    user-select: none;
}
.pmx-lock-icon { font-size: 1.6rem; opacity: .9; }

.pmx-gate-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 8px;
}
.pmx-gate-sub {
    font-size: .92rem;
    color: #6b7280;
    margin: 0 0 20px;
}

#pmx-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pmx-email-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color .18s;
}
.pmx-email-input:focus { border-color: #c0392b; }

.pmx-err {
    color: #dc2626;
    font-size: .83rem;
    min-height: 16px;
}

.pmx-submit-btn {
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s;
}
.pmx-submit-btn:hover:not(:disabled) { background: #a93226; }
.pmx-submit-btn:disabled { opacity: .45; cursor: default; }

.pmx-consent {
    font-size: .74rem;
    color: #9ca3af;
    margin: 6px 0 0;
}

/* ── Result ─────────────────────────────────────────────────── */
.pmx-result { }

.pmx-result-label {
    font-size: .88rem;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pmx-result-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    border-radius: 18px;
    padding: 28px 28px 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}
.pmx-result-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pmx-result-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
}

.pmx-casino-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(192,57,43,.4);
}

.pmx-result-info { flex: 1; }
.pmx-result-name {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}
.pmx-result-badge {
    font-size: .82rem;
    color: rgba(255,255,255,.7);
}

.pmx-result-bonus {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 8px;
    position: relative;
    line-height: 1.2;
}

.pmx-result-detail {
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 22px;
    position: relative;
}

.pmx-cta-btn {
    display: block;
    background: #c0392b;
    color: #fff !important;
    text-align: center;
    padding: 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background .18s, transform .12s;
    position: relative;
    box-shadow: 0 4px 16px rgba(192,57,43,.4);
}
.pmx-cta-btn:hover {
    background: #a93226;
    transform: translateY(-1px);
    color: #fff !important;
}

.pmx-see-all {
    display: block;
    text-align: center;
    font-size: .88rem;
    color: #6b7280;
    text-decoration: none;
    padding: 10px;
    transition: color .15s;
}
.pmx-see-all:hover { color: #c0392b; text-decoration: underline; }
