/* Peptide Compliance Registration — Age Verification Gate */

.pcr-age-gate {
        --pcr-primary: #171733;
        --pcr-accent: #4a90d9;
        position: fixed;
        inset: 0;
        z-index: 999999;
        display: flex;
        padding: 20px;
        background: rgba(10, 12, 28, 0.82);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        font-family: inherit;
        line-height: 1.5;
        animation: pcr-fade-in 0.25s ease-out;
}

@keyframes pcr-fade-in {
        from { opacity: 0; }
        to   { opacity: 1; }
}

.pcr-age-gate__card {
        width: 100%;
        max-width: 460px;
        margin: auto;
        background: #fff;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
        animation: pcr-rise 0.3s ease-out;
}

@keyframes pcr-rise {
        from { transform: translateY(16px); opacity: 0; }
        to   { transform: translateY(0); opacity: 1; }
}

.pcr-age-gate__header {
        background: var(--pcr-primary);
        color: #fff;
        text-align: center;
        padding: 26px 20px 22px;
}

.pcr-age-gate__brand {
        font-size: 22px;
        font-weight: 700;
        letter-spacing: 4px;
}

.pcr-age-gate__badge-tag {
        display: inline-block;
        margin-top: 14px;
        padding: 7px 16px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.5px;
        color: #bcd7f2;
        background: rgba(74, 144, 217, 0.18);
        border: 1px solid rgba(74, 144, 217, 0.35);
        border-radius: 999px;
}

.pcr-age-gate__body {
        padding: 30px 30px 24px;
        text-align: center;
}

.pcr-age-gate__seal {
        width: 84px;
        height: 84px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--pcr-primary);
        color: #fff;
        font-size: 30px;
        font-weight: 700;
        border-radius: 20px;
}

.pcr-age-gate__title {
        margin: 0 0 12px;
        font-size: 26px;
        font-weight: 700;
        color: var(--pcr-primary);
}

.pcr-age-gate__intro {
        margin: 0 0 20px;
        color: #4b5563;
        font-size: 15px;
}

.pcr-age-gate__warning {
        display: flex;
        gap: 10px;
        text-align: left;
        background: #fdf6e3;
        border: 1px solid #f2dfa0;
        border-radius: 10px;
        padding: 14px 16px;
        margin-bottom: 22px;
}

.pcr-age-gate__warning-icon {
        color: #b7791f;
        font-size: 18px;
        line-height: 1.3;
}

.pcr-age-gate__warning p {
        margin: 0;
        font-size: 13.5px;
        color: #8a6d1f;
}

.pcr-age-gate__warning strong { color: #7a5c14; }

.pcr-age-gate__checks {
        list-style: none;
        margin: 0 0 24px;
        padding: 0;
        text-align: left;
}

.pcr-age-gate__checks li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 7px 0;
        color: #374151;
        font-size: 15px;
}

.pcr-check {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        border-radius: 999px;
        border: 1.5px solid #16a34a;
        color: #16a34a;
        font-size: 12px;
        font-weight: 700;
}

.pcr-age-gate__actions {
        display: flex;
        gap: 12px;
}

.pcr-btn {
        appearance: none;
        border: none;
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
        border-radius: 12px;
        padding: 14px 18px;
        transition: transform 0.12s ease, opacity 0.15s ease, background 0.15s ease;
        font-family: inherit;
}

.pcr-btn:active { transform: translateY(1px); }

.pcr-btn--primary {
        flex: 1;
        background: var(--pcr-primary);
        color: #fff;
}

.pcr-btn--primary:hover { opacity: 0.92; }

.pcr-btn--ghost {
        flex: 1;
        background: #fff;
        color: var(--pcr-primary);
        border: 1.5px solid #d1d5db;
}

.pcr-btn--ghost:hover { background: #f9fafb; }

.pcr-age-gate__footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px;
        background: #f7f8fa;
        color: #6b7280;
        font-size: 13px;
        border-top: 1px solid #eef0f3;
}

.pcr-age-gate__footer .pcr-dot { color: #c3c8d1; }

.pcr-age-gate--hidden { display: none !important; }

body.pcr-age-locked { overflow: hidden; }

@media (max-width: 600px) {
        .pcr-age-gate { padding: 12px; }
}

@media (max-width: 480px) {
        .pcr-age-gate__header { padding: 22px 18px 18px; }
        .pcr-age-gate__brand { font-size: 19px; letter-spacing: 3px; }
        .pcr-age-gate__body { padding: 24px 20px 18px; }
        .pcr-age-gate__seal { width: 72px; height: 72px; font-size: 26px; margin-bottom: 16px; }
        .pcr-age-gate__title { font-size: 22px; }
        .pcr-age-gate__intro { font-size: 14px; }
        .pcr-age-gate__actions { flex-direction: column; }
}

/* Short viewports (e.g. landscape phones): tighten vertical rhythm so the
   card stays usable and the overlay scrolls instead of clipping. */
@media (max-height: 720px) {
        .pcr-age-gate__header { padding: 18px 20px 16px; }
        .pcr-age-gate__body { padding: 22px 26px 18px; }
        .pcr-age-gate__seal { width: 64px; height: 64px; font-size: 24px; margin-bottom: 14px; }
        .pcr-age-gate__title { font-size: 22px; margin-bottom: 8px; }
        .pcr-age-gate__intro { margin-bottom: 14px; }
        .pcr-age-gate__warning { margin-bottom: 16px; }
        .pcr-age-gate__checks { margin-bottom: 16px; }
        .pcr-age-gate__checks li { padding: 5px 0; }
}
