* {
    word-wrap: break-word;
    box-sizing: border-box;
}

body, button, dd, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, hr, html, iframe, input, li, ol, p, pre, td, textarea, th, ul {
    margin: 0;
    padding: 0;
}

body, button, input, select, td, textarea, th {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes bg-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(40px, -60px) scale(1.15); }
    66%       { transform: translate(-30px, 30px) scale(0.9); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%       { transform: translate(-50px, 40px) scale(1.2); }
    70%       { transform: translate(30px, -30px) scale(0.85); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(20px, 50px) scale(1.1); }
}

@keyframes avatar-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
    50%       { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

body {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460, #533483);
    background-size: 400% 400%;
    animation: bg-shift 12s ease infinite;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}

/* 浮动光斑层（仅移动端可见，PC端被媒体查询覆盖） */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

body::before {
    width: 280px;
    height: 280px;
    background: rgba(102, 126, 234, 0.35);
    top: -60px;
    right: -60px;
    animation: orb-float-1 10s ease-in-out infinite;
}

body::after {
    width: 220px;
    height: 220px;
    background: rgba(118, 75, 162, 0.3);
    bottom: 80px;
    left: -50px;
    animation: orb-float-2 13s ease-in-out infinite;
}

.adminbuy_cn {
    max-width: 100%;
    margin: 0;
    background: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* 第三个光斑通过伪元素挂在容器上 */
.adminbuy_cn::before {
    content: '';
    position: fixed;
    width: 180px;
    height: 180px;
    background: rgba(67, 233, 123, 0.15);
    border-radius: 50%;
    filter: blur(60px);
    bottom: 30%;
    right: -40px;
    pointer-events: none;
    z-index: 0;
    animation: orb-float-3 9s ease-in-out infinite;
}

.adminbuy-body {
    background: transparent;
    padding: 60px 30px 30px;
    flex: 1;
    text-align: center;
}

/* 头像在移动端加脉冲光圈 */
.adminbuy-body .image img {
    animation: avatar-pulse 3s ease-in-out infinite;
}

.adminbuy-body .image {
    text-align: center;
    margin-bottom: 20px;
}

.adminbuy-body .image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
}

.adminbuy-body .title {
    text-align: center;
    margin-bottom: 30px;
}

.adminbuy-body .title h2 {
    font-size: 24px;
    font-weight: 600;
    color: #faf7f7;
    margin-bottom: 15px;
}

.adminbuy-body .title p {
    font-size: 16px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 0;
}

.adminbuy-main .links {
    margin-bottom: 30px;
    padding: 0 15px;
}

.link-item {
    display: flex;
    align-items: center;
    background: rgba(227, 227, 227, 0.9);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #000;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    border: 2px solid #fff;
}

.link-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(0.98);
}

.link-item:last-child {
    margin-bottom: 0;
}

.link-avatar {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-text {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    color: #000;
}

.link-arrow {
    color: #666;
    flex-shrink: 0;
}

.adminbuy-main .tips {
    display: none;
}

footer {
    display: none;
}

/* 移动端优化 - 保持不变 */
@media screen and (max-width: 768px) {
    .adminbuy-body {
        padding: 80px 20px 40px;
    }
    
    .adminbuy-main .links {
        padding: 0 10px;
    }
    
    .link-item {
        padding: 10px 15px;
        margin-bottom: 18px;
    }
    
    .link-avatar {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }
    
    .link-text {
        font-size: 17px;
    }
}

/* 桌面端优化 */
@media screen and (min-width: 769px) {
    body {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: flex-start;
        justify-content: center;
        min-height: 100vh;
        padding: 40px;
    }
    
    .adminbuy_cn {
        max-width: 480px;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .adminbuy-body {
        background: transparent;
        padding: 50px 40px 40px;
    }
    
    .adminbuy-body .image {
        margin-bottom: 25px;
    }
    
    .adminbuy-body .image img {
        width: 100px;
        height: 100px;
        border: 3px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .adminbuy-body .title h2 {
        font-size: 28px;
        color: #2c3e50;
        margin-bottom: 12px;
    }
    
    .adminbuy-body .title p {
        font-size: 16px;
        color: #7f8c8d;
    }
    
    .adminbuy-main .links {
        padding: 0;
        margin-bottom: 25px;
    }
    
    .link-item {
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 16px;
        padding: 16px 20px;
        margin-bottom: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .link-item:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .link-avatar {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .link-text {
        font-size: 16px;
        font-weight: 500;
        color: #2c3e50;
    }
    
    .link-arrow {
        color: #95a5a6;
        transition: all 0.3s ease;
    }
    
    .link-item:hover .link-arrow {
        color: #667eea;
        transform: translateX(3px);
    }
    
    /* 显示提示信息和页脚 */
    .adminbuy-main .tips {
        display: block;
        text-align: center;
        padding: 20px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .adminbuy-main .tips p {
        font-size: 13px;
        color: #7f8c8d;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .adminbuy-main .tips p:last-child {
        margin-bottom: 0;
    }
    
    .adminbuy-main .tips p b {
        color: #667eea;
        background: rgba(102, 126, 234, 0.1);
        padding: 4px 8px;
        border-radius: 8px;
        font-weight: 500;
    }
    
    .adminbuy-main .tips a {
        color: #667eea;
        text-decoration: none;
    }
    
    footer {
        display: block;
        text-align: center;
        padding: 20px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    footer a {
        color: #667eea;
        text-decoration: none;
    }
    
    footer p {
        font-size: 12px;
        color: #95a5a6;
        line-height: 1.4;
    }
}

/* 大屏幕优化 */
@media screen and (min-width: 1200px) {
    .adminbuy_cn {
        max-width: 520px;
    }
    
    .adminbuy-body {
        padding: 60px 50px 50px;
    }
    
    .adminbuy-body .image img {
        width: 120px;
        height: 120px;
    }
    
    .adminbuy-body .title h2 {
        font-size: 32px;
    }
    
    .adminbuy-body .title p {
        font-size: 18px;
    }
}