/* ============ 51网盘 - 全局与首页样式 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; outline: none; }

/* ---------- 首页（落地页） ---------- */
.landing {
    min-height: 100vh;
    background: linear-gradient(150deg, #0cc66c 0%, #07b260 42%, #059652 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.landing::before, .landing::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}
.landing::before { width: 560px; height: 560px; top: -180px; right: -120px; }
.landing::after { width: 420px; height: 420px; bottom: -160px; left: -100px; }
.landing .deco {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.landing .deco.d1 { width: 760px; height: 760px; top: -280px; right: -220px; }
.landing .deco.d2 { width: 300px; height: 300px; bottom: 8%; left: 38%; background: rgba(255,255,255,.04); border: none; }

.landing-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 26px 48px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.brand-slogan {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    padding-left: 12px;
    margin-left: 4px;
}

.landing-main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px;
    gap: 60px;
}
.intro { color: #fff; max-width: 560px; }
.intro h1 { font-size: 56px; font-weight: 800; letter-spacing: 2px; margin-bottom: 18px; }
.intro .sub { font-size: 20px; opacity: 0.95; margin-bottom: 10px; letter-spacing: 1px; }
.intro .desc { font-size: 14px; opacity: 0.8; margin-bottom: 34px; }
.intro ul { list-style: none; }
.intro li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 16px;
    opacity: 0.95;
}
.intro li .ic {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

/* 登录卡片 */
.auth-card {
    width: 400px;
    flex: none;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 60, 30, 0.28);
    padding: 30px 34px 26px;
}
.auth-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 24px;
}
.auth-tabs button {
    font-size: 16px;
    color: #888;
    padding: 4px 2px 12px;
    position: relative;
    font-weight: 500;
}
.auth-tabs button.active { color: #07b260; font-weight: 700; }
.auth-tabs button.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: #07b260;
}
.auth-pane { display: none; }
.auth-pane.active { display: block; }

.field {
    display: flex;
    align-items: center;
    border: 1px solid #e3e6e8;
    border-radius: 8px;
    padding: 0 14px;
    margin-bottom: 16px;
    transition: border-color .2s;
    background: #fafbfc;
}
.field:focus-within { border-color: #07b260; background: #fff; }
.field .ic { color: #b5bcc2; display: flex; margin-right: 10px; }
.field input {
    flex: 1;
    border: none;
    background: transparent;
    height: 46px;
    font-size: 15px;
    color: #333;
}
.btn-primary {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    background: linear-gradient(90deg, #0cc66c, #07a95c);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 6px;
    transition: opacity .2s, transform .1s;
}
.btn-primary:hover { opacity: 0.92; }
.btn-primary:active { transform: scale(0.99); }
.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 13px;
    color: #98a0a6;
}
.auth-links a:hover { color: #07b260; }
.auth-msg {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}
.auth-msg.err { background: #fff1f0; color: #d4380d; border: 1px solid #ffccc7; }
.auth-msg.ok { background: #f0fff6; color: #07a35c; border: 1px solid #b7eb8f; }

.qr-wrap { text-align: center; padding: 6px 0 2px; }
.qr-box {
    width: 168px;
    height: 168px;
    margin: 0 auto 14px;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.qr-tip { font-size: 13px; color: #98a0a6; line-height: 1.8; }
.qr-tip b { color: #07b260; font-weight: 600; }

.landing-foot {
    position: relative;
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    padding: 22px 0 26px;
    letter-spacing: 1px;
}

@media (max-width: 980px) {
    .landing-main { flex-direction: column; justify-content: center; gap: 36px; padding: 20px; }
    .intro { text-align: center; max-width: 100%; }
    .intro h1 { font-size: 40px; }
    .intro ul { display: none; }
    .auth-card { width: 100%; max-width: 400px; }
    .landing-top { padding: 20px 24px; }
}

/* ---------- 分享下载页（仿115浅色风格） ---------- */
.share-page {
    min-height: 100vh;
    background: #f4f6f9;
    display: flex;
    flex-direction: column;
    color: #333;
}
.share-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    padding: 0 38px;
    background: #20222e;
}
.share-top .brand { display: flex; align-items: center; gap: 10px; }
.share-top .brand-name { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.share-top .nav { display: flex; gap: 26px; font-size: 13px; color: #b9bcc9; align-items: center; }
.share-top .nav a { display: inline-flex; align-items: center; gap: 5px; }
.share-top .nav a:hover { color: #fff; }
.share-top .nav .btn-mini {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    padding: 5px 16px;
    color: #fff;
}
.share-top .nav .btn-mini:hover { border-color: #fff; }

.share-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.share-card {
    width: 520px;
    max-width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(30, 40, 60, 0.07);
    padding: 46px 40px 38px;
    text-align: center;
}
.share-file-icon {
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.share-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    word-break: break-all;
    margin-bottom: 10px;
    line-height: 1.6;
}
.share-meta {
    font-size: 12px;
    color: #a3a8b0;
    margin-bottom: 4px;
}
.share-desc {
    font-size: 12px;
    color: #8a9099;
    background: #f7f8fa;
    border-radius: 6px;
    padding: 9px 14px;
    margin: 14px auto 0;
    line-height: 1.8;
    word-break: break-all;
    max-width: 400px;
    text-align: left;
}
.share-divider { display: none; }

.code-input-row { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.code-input {
    width: 220px;
    height: 42px;
    border-radius: 6px;
    border: 1px solid #e0e4e9;
    background: #fff;
    color: #333;
    text-align: center;
    font-size: 17px;
    letter-spacing: 6px;
    transition: border-color .2s;
}
.code-input:focus { border-color: #07c160; }
.code-input::placeholder { color: #c3c9d0; letter-spacing: 2px; font-size: 13px; }
.btn-verify, .btn-download {
    height: 42px;
    border-radius: 6px;
    background: #07c160;
    color: #fff;
    font-size: 15px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background .2s;
}
.btn-verify:hover, .btn-download:hover { background: #06ad56; }
.btn-download { margin-top: 22px; padding: 0 44px; }
.share-err {
    color: #f5222d;
    font-size: 12px;
    margin-top: 12px;
    min-height: 16px;
}
.share-tip {
    font-size: 12px;
    color: #c3c9d0;
    margin-top: 6px;
}
.share-code-show {
    margin-top: 18px;
    font-size: 12px;
    color: #a3a8b0;
}
.share-code-show b { color: #666e78; letter-spacing: 2px; font-weight: 600; }
.share-code-show .sep { color: #e0e4e9; margin: 0 12px; }
.share-copy {
    font-size: 12px;
    color: #a3a8b0;
    padding: 0;
    display: inline;
}
.share-copy:hover { color: #07c160; }
.share-foot {
    text-align: center;
    padding: 22px;
    font-size: 12px;
    color: #b6bac1;
}
.share-error-card .share-name { color: #333; }
.share-error-text { color: #a3a8b0; font-size: 13px; line-height: 2; margin-top: 4px; }
