/**
 * 开通分站页 — zyyo 暗紫主题
 */
html {
    height: 100%;
    background: #131418;
}

html,
body.regsite-page {
    min-height: 100%;
    background: linear-gradient(135deg, #131418 0%, #1a0430 45%, #2d1b69 100%) !important;
    background-attachment: fixed !important;
}

.regsite-page {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 24px 16px 48px;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    overflow-x: hidden;
}

.regsite-page::before,
.regsite-page::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.regsite-page::before {
    top: -12%;
    left: -8%;
    width: 460px;
    height: 460px;
    background: rgba(116, 123, 255, 0.38);
}

.regsite-page::after {
    right: -10%;
    bottom: -10%;
    width: 420px;
    height: 420px;
    background: rgba(247, 108, 198, 0.28);
}

.regsite-wrap {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

.regsite-wrap::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(116, 123, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(116, 123, 255, 0.07) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
    z-index: 0;
}

.regsite-card {
    position: relative;
    z-index: 1;
    background: rgba(19, 20, 24, 0.92);
    border: 1px solid rgba(116, 123, 255, 0.28);
    border-radius: 16px;
    padding: 28px 22px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.regsite-header {
    margin-bottom: 22px;
}

.regsite-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    font-size: 14px;
    margin-bottom: 16px;
}

.regsite-back:hover {
    color: #747bff !important;
}

.regsite-header h1 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(120deg, #853eff, #f76cc6 35%, #fff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.regsite-sub {
    margin: 0;
    font-size: 13px;
    color: rgba(142, 142, 142, 0.95);
}

.regsite-page .my-cell {
    background: rgba(26, 28, 36, 0.85);
    border: 1px solid rgba(116, 123, 255, 0.18);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.regsite-page .my-cell-title {
    padding: 8px 4px 12px;
}

.regsite-page .my-cell-title-l,
.regsite-page .left-title {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 15px !important;
    font-weight: 600;
}

.regsite-page .left-title::before {
    background: linear-gradient(180deg, #747bff, #853eff);
    height: 12px;
}

.regsite-page .my-cell-title-r,
.regsite-page .my-cell-title-r a {
    color: #747bff !important;
}

.regsite-page .my-cell-title-r a:hover {
    color: #f76cc6 !important;
}

.regsite-page .form-group {
    border: 1px solid rgba(116, 123, 255, 0.22);
    background: rgba(19, 20, 24, 0.75);
    margin-bottom: 10px;
}

.regsite-page .form-group-border {
    border-color: #747bff !important;
    box-shadow: 0 0 0 2px rgba(116, 123, 255, 0.15);
}

.regsite-page .form-bottm-border {
    border-bottom-color: rgba(116, 123, 255, 0.15);
}

.regsite-page .form-control,
.regsite-page select.form-control {
    background: transparent !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.regsite-page .form-control::placeholder {
    color: rgba(142, 142, 142, 0.85);
}

.regsite-page .form-control:focus {
    background: transparent !important;
    color: #fff !important;
}

.regsite-page .input-group-addon {
    background: rgba(116, 123, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: transparent !important;
}

.regsite-page select.form-control option {
    background: #131418;
    color: #fff;
}

.regsite-page .input-group-icon {
    color: #747bff !important;
}

.regsite-page .input-group-icon[style*="background: #f1f1f1"],
.regsite-page .fa-refresh.input-group-icon {
    background: rgba(116, 123, 255, 0.18) !important;
    color: #fff !important;
    border-radius: 999px !important;
}

.regsite-page .input-clear-a {
    color: rgba(255, 255, 255, 0.35) !important;
}

.regsite-page .input-content:hover + .input-clear-a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.regsite-page .form-group .form-control font,
.regsite-page .form-group .form-control a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.regsite-page .form-group font[color="red"] {
    color: #f76cc6 !important;
}

.regsite-page .c-switch__label,
.regsite-page .c-switch__label a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.regsite-page .c-switch__label a {
    color: #747bff !important;
}

.regsite-page .submit_btn {
    width: 100% !important;
    max-width: 100%;
    height: 48px;
    border: none !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #747bff, #853eff, #f76cc6) !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 8px 24px rgba(116, 123, 255, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.regsite-page .submit_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(116, 123, 255, 0.45) !important;
}

.regsite-page .list-group-item.reed {
    background: transparent !important;
    border: none !important;
    color: rgba(142, 142, 142, 0.8) !important;
}

.regsite-page .text-center {
    margin-top: 8px;
}

.layui-layer .btn-default {
    background: rgba(116, 123, 255, 0.15) !important;
    border: 1px solid rgba(116, 123, 255, 0.35) !important;
    color: #fff !important;
}

/* 开通成功页 */
.regsite-success-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(116, 123, 255, 0.25), rgba(133, 62, 255, 0.35));
    border: 2px solid rgba(116, 123, 255, 0.45);
    box-shadow: 0 8px 24px rgba(116, 123, 255, 0.25);
}

.regsite-success-badge .fa {
    font-size: 36px;
    color: #51cf66;
}

.regsite-success-tip {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(81, 207, 102, 0.12);
    border: 1px solid rgba(81, 207, 102, 0.35);
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    text-align: center;
}

.regsite-info-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.regsite-info-list li {
    padding: 14px 16px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: rgba(26, 28, 36, 0.85);
    border: 1px solid rgba(116, 123, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.6;
    word-break: break-all;
}

.regsite-info-list li b {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.regsite-info-list a {
    color: #747bff !important;
    text-decoration: none;
}

.regsite-info-list a:hover {
    color: #f76cc6 !important;
}

.regsite-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.regsite-header-top .regsite-back {
    margin-bottom: 0;
}

.regsite-header-top .regsite-home-link {
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    font-size: 14px;
}

.regsite-header-top .regsite-home-link:hover {
    color: #747bff !important;
}

.regsite-page .submit_btn,
.regsite-page a.submit_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    text-decoration: none !important;
}

@media (max-width: 480px) {
    .regsite-page {
        padding: 16px 12px 32px;
    }

    .regsite-card {
        padding: 22px 16px 28px;
    }

    .regsite-header h1 {
        font-size: 22px;
    }
}
