@charset "utf-8";
:root {
    --pz-rose: #e8476a;
    --pz-rose-dark: #d63a5d;
    --pz-coral: #ff8a5b;
    --pz-blush: #fff3f0;
    --pz-ink: #2b1d3a;
    --pz-muted: #8a7a86;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-width: 1200px;
    font-size: 14px;
    color: var(--pz-ink);
    background: var(--pz-blush);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

.pz-shell {
    width: 1180px;
    margin: 0 auto;
}

/* ---------- 顶部区域 ---------- */
.pz-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #e8476a 0%, #f2647a 45%, #ff8a5b 100%);
}

.pz-hero::before,
.pz-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.pz-hero::before {
    width: 560px;
    height: 560px;
    right: -140px;
    top: -180px;
    background: rgba(255, 255, 255, .12);
}

.pz-hero::after {
    width: 380px;
    height: 380px;
    left: -120px;
    bottom: -160px;
    background: rgba(255, 255, 255, .10);
}

.pz-topbar {
    position: relative;
    z-index: 5;
    padding: 22px 0;
}

.pz-topbar .pz-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pz-brand img {
    display: block;
    width: 170px;
    height: auto;
}

.pz-menu {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pz-lang {
    position: relative;
    margin-right: 10px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.pz-lang-current {
    display: inline-flex;
    align-items: center;
    padding: 8px 4px;
}

.pz-lang-current::after {
    content: "";
    margin-left: 8px;
    border: 5px solid transparent;
    border-top-color: #fff;
    transform: translateY(3px);
}

.pz-lang-list {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    padding: 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(43, 29, 58, .16);
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    z-index: 20;
}

.pz-lang:hover .pz-lang-list,
.pz-lang.is-open .pz-lang-list {
    display: grid;
}

.pz-lang-list a {
    padding: 6px 0;
    border-radius: 8px;
    color: var(--pz-ink);
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}

.pz-lang-list a:hover {
    color: #fff;
    background: var(--pz-rose);
}

.pz-pill {
    display: inline-block;
    padding: 9px 26px;
    border: 1.5px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}

.pz-pill:hover {
    background: rgba(255, 255, 255, .18);
}

.pz-pill.is-solid {
    color: var(--pz-rose);
    background: #fff;
    border-color: #fff;
}

.pz-pill.is-solid:hover {
    background: var(--pz-blush);
}

.pz-stage {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

/* ---------- 登录/注册卡片 ---------- */
.pz-card {
    display: none;
    width: 440px;
    margin: 30px 0 70px;
    padding: 34px 36px 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(120, 20, 50, .25);
}

.pz-card-title {
    margin: 0 0 24px;
    color: var(--pz-rose);
    font-size: 26px;
    font-weight: 800;
    text-align: center;
}

.pz-field {
    display: flex;
    align-items: center;
    height: 50px;
    margin-bottom: 14px;
    padding: 0 18px;
    border: 1.5px solid #f1dfe3;
    border-radius: 14px;
    background: #fff9f8;
    transition: border-color .2s;
}

.pz-field:focus-within {
    border-color: var(--pz-rose);
}

.pz-field label {
    flex: 0 0 88px;
    margin: 0;
    color: var(--pz-muted);
    font-size: 15px;
    font-weight: normal;
}

.pz-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--pz-ink);
    font-size: 15px;
}

.pz-field-plain input {
    padding: 0;
}

.pz-gender {
    color: var(--pz-ink);
    font-size: 15px;
}

.pz-gender label {
    flex: none;
    display: inline-flex;
    align-items: center;
    margin-right: 22px;
    color: var(--pz-ink);
    cursor: pointer;
}

.pz-gender input {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 0 6px 0 0;
    accent-color: var(--pz-rose);
}

.pz-gender-title {
    flex: 0 0 88px;
    color: var(--pz-muted);
}

.pz-forgot {
    margin: -4px 0 6px;
    text-align: right;
}

.pz-forgot a {
    color: var(--pz-rose);
    font-size: 13px;
    text-decoration: none;
}

.pz-forgot a:hover {
    text-decoration: underline;
}

.pz-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.pz-btn {
    flex: 1;
    height: 50px;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all .2s;
}

.pz-btn-main {
    color: #fff;
    background: linear-gradient(90deg, var(--pz-rose), var(--pz-coral));
    box-shadow: 0 8px 18px rgba(232, 71, 106, .3);
}

.pz-btn-main:hover {
    filter: brightness(1.05);
}

.pz-btn-ghost {
    color: var(--pz-rose);
    background: #fff;
    border: 1.5px solid #f3c6d0;
}

.pz-btn-ghost:hover {
    background: var(--pz-blush);
}

.pz-actions.is-stack {
    flex-direction: column;
}

.pz-actions.is-stack .pz-btn {
    flex: none;
}

/* flatpickr 输入框 */
.pz-field .flatpickr-input {
    cursor: pointer;
}

/* ---------- 内容展示区 ---------- */
.pz-showcase {
    padding: 70px 0;
}

.pz-showcase:nth-of-type(even) {
    background: #fff;
}

.pz-frame {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(232, 71, 106, .12);
    background: #fff;
}

.pz-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- 页脚 ---------- */
.pz-footer {
    padding: 34px 0;
    color: #c9b6c0;
    font-size: 13px;
    background: #2b1d3a;
}

.pz-footer .pz-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pz-footer ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pz-footer li + li {
    margin-left: 24px;
}

.pz-footer a {
    color: #e6d6de;
    text-decoration: none;
}

.pz-footer a:hover {
    color: var(--pz-coral);
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 900px) {
    body {
        min-width: 0;
    }

    .pz-shell {
        width: auto;
        padding: 0 14px;
    }

    .pz-topbar {
        padding: 14px 0;
    }

    .pz-brand img {
        width: 130px;
    }

    .pz-menu {
        gap: 8px;
    }

    .pz-lang {
        margin-right: 4px;
        font-size: 14px;
    }

    .pz-lang-list {
        width: 240px;
        grid-template-columns: repeat(3, 1fr);
    }

    .pz-pill {
        padding: 7px 16px;
        font-size: 14px;
    }

    .pz-card {
        width: 100%;
        max-width: 440px;
        margin: 16px 0 44px;
        padding: 26px 18px 24px;
        border-radius: 20px;
    }

    .pz-card-title {
        font-size: 22px;
    }

    .pz-field {
        height: 46px;
        padding: 0 14px;
    }

    .pz-field label {
        flex-basis: 70px;
        font-size: 14px;
    }

    .pz-gender-title {
        flex-basis: 70px;
    }

    .pz-showcase {
        padding: 30px 0;
    }

    .pz-frame {
        border-radius: 16px;
    }

    .pz-footer {
        padding: 24px 0;
    }

    .pz-footer .pz-shell {
        flex-direction: column;
    }

    .pz-footer ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 12px;
    }

    .pz-footer li + li {
        margin-left: 14px;
    }
}
