﻿*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html, body {
    font-family: 'Microsoft YaHei',Arial,sans-serif
}

body {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    padding: 30px 16px 40px;
    background: linear-gradient(145deg,#08080e 0%,#0d0d18 50%,#09090f 100%);
}
/* 背景模糊光晕 */
.glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    z-index: 0
}

.glow1 {
    width: 580px;
    height: 580px;
    top: -180px;
    left: -180px;
    background: radial-gradient(circle,rgba(60,80,220,.22),transparent 70%)
}

.glow2 {
    width: 480px;
    height: 480px;
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle,rgba(190,145,8,.18),transparent 70%)
}

.glow3 {
    width: 440px;
    height: 440px;
    top: 40%;
    left: 40%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle,rgba(80,50,180,.14),transparent 70%)
}
/* 浮动彩球容器 */
.bg-stage {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden
}

.bball {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.7);
    animation: bfloat var(--d,10s) ease-in-out infinite var(--dl,0s);
    opacity: .18;
    font-size: var(--fs,14px);
}

    .bball::after {
        content: '';
        position: absolute;
        top: 14%;
        left: 20%;
        width: 36%;
        height: 28%;
        background: rgba(255,255,255,.45);
        border-radius: 50%;
        filter: blur(3px);
        transform: rotate(-30deg)
    }

@keyframes bfloat {
    0%,100%

{
    transform: translateY(0) rotate(0deg)
}

33% {
    transform: translateY(-28px) rotate(4deg)
}

66% {
    transform: translateY(16px) rotate(-3deg)
}

}
/* 彩球渐变配色 */
.br {
    background: radial-gradient(circle at 35% 32%,#ff7979,#c0392b)
}

.bb2 {
    background: radial-gradient(circle at 35% 32%,#81ecec,#0984e3)
}

.bg2 {
    background: radial-gradient(circle at 35% 32%,#55efc4,#00b894)
}

.bo {
    background: radial-gradient(circle at 35% 32%,#ffeaa7,#e17055)
}

.bp {
    background: radial-gradient(circle at 35% 32%,#a29bfe,#6c5ce7)
}

.by {
    background: radial-gradient(circle at 35% 32%,#fdcb6e,#d4a017)
}

/* 外层容器 入场动画 */
.wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    animation: cardIn .65s cubic-bezier(.22,.61,.36,1) both
}

@keyframes cardIn {
    from

{
    opacity: 0;
    transform: translateY(32px) scale(.95)
}

to {
    opacity: 1;
    transform: none
}

}
/* 玻璃拟态卡片 */
.card {
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    padding: 36px 32px 32px;
    box-shadow: 0 40px 100px rgba(0,0,0,.7),0 0 0 1px rgba(200,150,12,.18),inset 0 1px 0 rgba(255,255,255,.10);
    position: relative;
    overflow: hidden;
}
    /* 顶部流动金边 */
    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 2px;
        width: 65%;
        background: linear-gradient(90deg,transparent,#8060d0 20%,#c8960c 40%,#f5e04a 50%,#c8960c 60%,#8060d0 80%,transparent);
        animation: topline 3s ease-in-out infinite;
        border-radius: 0 0 4px 4px;
    }

@keyframes topline {
    0%,100% {
        width: 50%;
        opacity: .7
    }

    50% {
        width: 80%;
        opacity: 1
    }
}

.card::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle,rgba(70,60,200,.10),transparent 70%);
    pointer-events: none
}

/* 顶部Logo彩球标题 */
.logo {
    text-align: center;
    margin-bottom: 28px
}

.logo-balls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    position: relative
}

.lb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
    position: relative;
    box-shadow: 0 4px 14px rgba(0,0,0,.45),inset 0 -3px 6px rgba(0,0,0,.25);
    animation: lbob var(--ld,4s) ease-in-out infinite var(--ldl,0s);
}

    .lb::after {
        content: '';
        position: absolute;
        top: 13%;
        left: 18%;
        width: 38%;
        height: 30%;
        background: rgba(255,255,255,.55);
        border-radius: 50%;
        filter: blur(2px);
        transform: rotate(-30deg)
    }

@keyframes lbob {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

.lb1 {
    background: radial-gradient(circle at 35% 32%,#ff7979,#c0392b);
    --ldl: 0s
}

.lb2 {
    background: radial-gradient(circle at 35% 32%,#ffeaa7,#e17055);
    --ldl: .25s;
    width: 30px;
    height: 30px;
    font-size: 12px
}

.lb3 {
    background: radial-gradient(circle at 35% 32%,#fdcb6e,#d4a017);
    --ldl: .5s;
    width: 44px;
    height: 44px;
    font-size: 18px;
    box-shadow: 0 6px 20px rgba(212,160,20,.55),inset 0 -3px 6px rgba(0,0,0,.25)
}

.lb4 {
    background: radial-gradient(circle at 35% 32%,#ffeaa7,#e17055);
    --ldl: .75s;
    width: 30px;
    height: 30px;
    font-size: 12px
}

.lb5 {
    background: radial-gradient(circle at 35% 32%,#74b9ff,#0984e3);
    --ldl: 1s
}

.crown {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    animation: crownf 2.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 5px rgba(220,170,10,.9))
}

@keyframes crownf {
    0%,100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(-4px)
    }
}

.logo-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
    margin-bottom: 6px
}

    .logo-title em {
        color: #f5e04a;
        font-style: normal
    }

.logo-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255,210,40,.9);
    letter-spacing: 2px
}

    .logo-sub i {
        width: 24px;
        height: 1px;
        background: rgba(200,150,12,.4);
        display: inline-block
    }

/* 区块标题 */
.sec-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,200,40,.8);
    margin: 20px 0 12px;
    padding-left: 10px;
    border-left: 3px solid #c8960c;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sec-title:first-of-type {
        margin-top: 4px
    }

/* 双列行（登录/提款密码并排） */
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

/* 表单组 */
.fg {
    margin-bottom: 13px
}

.flabel {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.7);
    margin-bottom: 6px;
    letter-spacing: .5px
}
/* 输入框容器+图标 */
.iw {
    position: relative
}

.iico {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: rgba(255,255,255,.5);
    pointer-events: none;
    z-index: 1
}

.finput {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 40px;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 11px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: all .25s;
    font-family: inherit;
}

    .finput::placeholder {
        color: rgba(255,255,255,.32)
    }

    .finput:focus {
        border-color: #c8a820;
        background: rgba(200,150,12,.08);
        box-shadow: 0 0 0 3px rgba(180,130,10,.16);
    }

    .finput.noico {
        padding-left: 14px
    }
/* 下拉选择框 */
.sel-wrap {
    position: relative
}

    .sel-wrap::after {
        content: '\25BC';
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255,255,255,.5);
        font-size: 11px;
        pointer-events: none;
    }

.fsel {
    width: 100%;
    height: 46px;
    padding: 0 32px 0 14px;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 11px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: all .25s;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

    .fsel:focus {
        border-color: #c8a820;
        background: rgba(200,150,12,.08);
        box-shadow: 0 0 0 3px rgba(180,130,10,.16)
    }

    .fsel option {
        background: #221c38;
        color: #fff
    }
/* 分割线 */
.divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 14px 0
}
/* 错误提示文字 */
.error-tip {
    min-height: 20px;
    font-size: 12px;
    color: #ff7675;
    margin-top: 4px;
    letter-spacing: .5px;
    display: block
}
/* 验证码行布局 */
.cap-row {
    display: flex;
    align-items: center;
    gap: 8px
}

.cap-box {
    min-width: 110px;
    height: 46px;
    border-radius: 11px;
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(200,150,12,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #f5e04a;
    text-shadow: 0 1px 8px rgba(220,160,10,.6);
    user-select: none;
    flex-shrink: 0;
}

.cap-refresh {
    width: 40px;
    height: 46px;
    flex-shrink: 0;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 11px;
    color: rgba(255,255,255,.6);
    font-size: 18px;
    cursor: pointer;
    transition: all .2s;
    line-height: 1;
}

    .cap-refresh:hover {
        background: rgba(255,255,255,.14);
        color: #fff;
        transform: rotate(90deg)
    }
/* 按钮区域 */
.btns {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 12px
}

.btnl {
    height: 52px;
    background: linear-gradient(135deg,#e00012 0%,#900008 100%);
    border: 1px solid rgba(200,150,12,.25);
    border-radius: 13px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 6px;
    cursor: pointer;
    transition: all .3s;
    box-shadow: 0 8px 24px rgba(180,0,12,.45);
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

    .btnl::before {
        content: '';
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
        transform: skewX(-20deg);
        transition: left .55s;
    }

    .btnl:hover {
        background: linear-gradient(135deg,#ff1428 0%,#aa000a 100%);
        box-shadow: 0 10px 32px rgba(220,0,20,.6);
        transform: translateY(-2px)
    }

        .btnl:hover::before {
            left: 160%
        }

    .btnl:active {
        transform: translateY(0)
    }

.btnreset {
    height: 52px;
    padding: 0 20px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 13px;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
    white-space: nowrap;
}

    .btnreset:hover {
        background: rgba(255,255,255,.18);
        color: #fff
    }
/* 协议勾选 */
.agree-row {
    margin: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

    .agree-row label {
        color: rgba(255,255,255,.7);
        font-size: 12px;
        line-height: 1.5;
    }

    .agree-row a {
        color: #f5e04a;
        text-decoration: none;
    }
/* 密码显隐眼睛 */
.eye-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.5);
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
}
/* 底部登录链接 */
.cfoot {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: center
}

    .cfoot p {
        font-size: 12px;
        color: rgba(255,255,255,.3);
        letter-spacing: .5px
    }

    .cfoot a {
        color: #f5e04a;
        text-decoration: none
    }

        .cfoot a:hover {
            text-decoration: underline
        }

