/* ====== /assets/css/common.css ====== */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 字体 */
body {
    font-family: Inter, "Microsoft YaHei", "思源黑体", "微软雅黑", "PingFang SC", "苹方", "黑体", Arial, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1;
    background-color: #111111;
    background-image: url('/bg.webp');
    background-repeat: repeat;
    background-size: 426px 492px;
    background-attachment: fixed;
    color: #eee;
    min-height: 100vh;
    user-select: none;
}

/* 动画 */
.fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 毛玻璃效果 */
.glass-effect {
    background: rgba(30, 30, 38, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.glass-effect:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

/* 链接 */
a {
    color: #7bc5ff;
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: #aad4ff;
    text-decoration: underline;
}

/* 水印 */
.watermark {
    position: fixed;
    bottom: 12px;
    right: 14px;
    z-index: 99;
    color: #555;
    font-size: 11px;
    pointer-events: none;
    font-family: monospace;
}

/* 返回按钮 */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 20, 28, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aad4ff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}
.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    text-decoration: none;
}

/* 按钮 */
.btn-primary {
    background: linear-gradient(135deg, #2a6f8c, #1a4f66);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    opacity: 0.85;
    transform: scale(0.97);
    text-decoration: none;
}

/* ====== 手机端适配 ====== */
@media (max-width: 768px) {
    .back-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}