
:root {
    --primary-color: #FF8A00; /* 主橙色 */
    --secondary-color: #FFF8ED; /* 浅橙背景色 */
    --accent-color: #E67A00; /* 深橙色 */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --shadow-sm: 0 4px 12px rgba(255, 138, 0, 0.08);
    --shadow-md: 0 6px 16px rgba(255, 138, 0, 0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --transition: all 0.3s ease;
}

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

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #FAFAFA;
}

/* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
}

.navbar-dark {
    background-color: white !important;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem !important;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

/* 按钮样式 */
.btn {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 138, 0, 0.25);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 138, 0, 0.25);
}

.btn-light {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-light:hover {
    background-color: #FFEED8;
    transform: translateY(-2px);
}

/* 模块样式 */
.section {
    padding: 6rem 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    font-size: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* 首页模块 */
#home {
    background: linear-gradient(135deg, #FF8A00 0%, #FF6B00 100%);
    color: white;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#home h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    position: relative;
}

#home .lead {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 500px;
    position: relative;
}

#home .rounded {
    border-radius: var(--radius-md) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.5s ease;
}

#home .rounded:hover {
    transform: translateY(-5px) scale(1.02);
}

/* 卡片样式 */
.feature-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background-color: white;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-img-top {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    object-fit: cover;
    height: 190px;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* 玩家自评模块 */
#user-reviews .feature-card {
    text-align: center;
    background-color: white;
}

#user-reviews img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--secondary-color);
}

/* 常见问题 */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background-color: white;
    border: none;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

/* 底部样式 */
footer {
    background-color: var(--secondary-color);
    color: var(--text-muted);
    padding: 5rem 0 2rem;
}

footer h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

footer a {
    color: var(--text-muted);
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.copyright {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 138, 0, 0.1);
    font-size: 0.9rem;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
    font-size: 1.2rem;
}

.back-to-top:hover {
    color: white;
    transform: translateY(-3px);
    background-color: var(--accent-color);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* 标签样式优化 */
.badge {
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}

.badge.bg-success {
    background-color: #4CAF50;
    color: white;
}

.badge.bg-warning {
    background-color: #FFC107;
}

.badge.bg-info {
    background-color: #2196F3;
    color: white;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    #home {
        padding: 5rem 0;
    }

    #home h1 {
        font-size: 2.2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-link {
        margin: 0.25rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }
}
