/* 导入 Rubik 字体 */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 全局容器类 */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用间距类 */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

/* 通用文本类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* 通用显示类 */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Rubik', sans-serif;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* 通用卡片样式 */
.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 响应式工具类 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 页脚样式 */
.site-footer {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 0;
}
.site-footer-nav {
    background: #222;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}
.site-footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 500;
    margin: 0 12px;
    transition: color 0.2s;
}
.site-footer-nav a:hover {
    color: #ffd600;
}
.site-footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 10px 0;
}
.site-footer-copyright {
    color: #888;
    font-size: 0.97rem;
    text-align: center;
    flex: 1;
}
.site-footer-payments {
    min-width: 180px;
    text-align: right;
}
@media (max-width: 900px) {
    .site-footer-main {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .site-footer-payments {
        text-align: left;
        min-width: 0;
    }
    .site-footer-copyright {
        text-align: left;
    }
} 