/*
 * Frontend layout global styles (extracted from layout.html)
 */
/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

/* 顶部导航栏 */
.header-top {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.header-links {
    display: flex;
    align-items: center;
}

.header-links a {
    color: #333;
    text-decoration: none;
    margin-right: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.header-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-links a:hover {
    color: #007bff;
}

.header-links a:hover::after {
    width: 100%;
}

.header-links a.active {
    color: #007bff;
}

.header-links a.active::after {
    width: 100%;
}

/* 用户链接 */
.user-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-top .user-links {
    gap: 15px;
}

/* 登录注册按钮容器 */
.auth-links {
    display: flex;
    align-items: center;
}

/* 登录注册按钮 - 取消特殊样式，与其他导航链接保持一致 */
.header-top .user-links .auth-links .login-btn,
.header-top .user-links .auth-links .register-btn {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.header-top .user-links .auth-links .login-btn::after,
.header-top .user-links .auth-links .register-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-top .user-links .auth-links .login-btn:hover,
.header-top .user-links .auth-links .register-btn:hover {
    color: #007bff;
}

.header-top .user-links .auth-links .login-btn:hover::after,
.header-top .user-links .auth-links .register-btn:hover::after {
    width: 100%;
}

/* 登录注册分隔符 */
.header-top .user-links .auth-separator {
    color: #999;
    margin: 0 10px;
    font-size: 16px;
}

/* 禁止登录注册按钮的选中样式 */
.header-top .user-links .auth-links .login-btn.active,
.header-top .user-links .auth-links .register-btn.active {
    color: #007bff;
    background: none;
    border: none;
}

.header-top .user-links .auth-links .login-btn.active:hover,
.header-top .user-links .auth-links .register-btn.active:hover {
    color: #0056b3;
}

/* 用户信息显示 - 使用后代选择器避免冲突，取消特殊样式 */
.header-top .user-links .user-info {
    display: flex;
    align-items: center;
}

/* 用户下拉菜单容器 */
.header-top .user-links .user-info .user-dropdown {
    position: relative;
}

/* 用户下拉菜单触发器 */
.header-top .user-links .user-info .user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.header-top .user-links .user-info .user-dropdown-trigger:hover {
    background-color: #f0f2f5;
}

.header-top .user-links .user-info .user-dropdown .user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    overflow: hidden;
}

.header-top .user-links .user-info .user-dropdown .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-top .user-links .user-info .user-dropdown .username {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.header-top .user-links .user-info .user-dropdown .dropdown-arrow {
    width: 20px;
    height: 20px;
    color: #666;
    transition: transform 0.3s ease;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
}

.header-top .user-links .user-info .user-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* 用户下拉菜单 */
.header-top .user-links .user-info .user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.header-top .user-links .user-info .user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 下拉菜单项 */
.header-top .user-links .user-info .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-top .user-links .user-info .dropdown-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    color: #007bff;
    padding-left: 22px;
}

.header-top .user-links .user-info .dropdown-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.header-top .user-links .user-info .dropdown-item:hover svg {
    transform: scale(1.1);
}

.header-top .user-links .user-info .dropdown-item-danger:hover {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    color: #dc3545;
}

/* 我的消息未读徽标 */
.header-top .user-links .user-info .msg-unread-badge {
    margin-left: auto;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-top .user-links .user-info .username-link {
    text-decoration: none;
}

.header-top .user-links .user-info .username {
    color: #333;
    font-weight: 500;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.header-top .user-links .user-info .username-link:hover .username {
    color: #007bff;
}

.header-top .user-links .user-info .logout-btn {
    color: #333;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
}

.header-top .user-links .user-info .logout-btn:hover {
    color: #dc3545;
}

/* 主导航栏 */
.header-main {
    display: flex;
    align-items: center;
    height: 70px;
    position: relative;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(100, 100, 100, 0.1);
    z-index: 100;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 搜索框样式 */
.nav-search {
    flex: 2;
    max-width: 700px;
    min-width: 300px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    min-width: 0;
}

.search-input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    font-size: 14px;
    outline: none;
    background: transparent;
}

.search-button {
    background: #f5f5f5;
    color: #333;
    border: none;
    border-left: 1px solid #eaeaea;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

.search-button::before {
    content: '🔍';
    font-size: 16px;
}

/* 热搜标签样式 */
.hot-search {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.hot-search-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.hot-search-item {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    padding: 4px 8px;
    background-color: #f5f7fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hot-search-item:hover {
    background-color: #e8f0fe;
    color: #007bff;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    font-size: 22px;
    font-weight: 600;
    height: 100%;
}

.logo-icon {
    margin-right: 10px;
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 桌面端用户链接 */
.desktop-user-links {
    display: flex;
    align-items: center;
}

/* 主导航栏用户下拉菜单 */
.desktop-user-links .user-info {
    position: relative;
}

.desktop-user-links .user-dropdown {
    position: relative;
}

.desktop-user-links .user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-user-links .user-dropdown-trigger:hover {
    background-color: #f0f7ff;
    transform: translateY(-1px);
}

.desktop-user-links .user-dropdown .user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.desktop-user-links .user-dropdown .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.desktop-user-links .user-dropdown:hover .user-avatar {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

.desktop-user-links .user-dropdown .username {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.desktop-user-links .user-dropdown .dropdown-arrow {
    width: 22px;
    height: 22px;
    color: #666;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.desktop-user-links .user-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* 主导航栏用户下拉菜单 */
.desktop-user-links .user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.desktop-user-links .user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 主导航栏下拉菜单项 */
.desktop-user-links .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-user-links .dropdown-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    color: #007bff;
    padding-left: 24px;
}

.desktop-user-links .dropdown-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.desktop-user-links .dropdown-item:hover svg {
    transform: scale(1.1);
}

.desktop-user-links .dropdown-item-danger:hover {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    color: #dc3545;
}

/* 桌面端隐藏移动端用户区域 */
.mobile-user-section {
    display: none;
}

/* 移动端隐藏桌面端用户区域 */
@media (max-width: 768px) {
    .desktop-user-links {
        display: none;
    }
}

/* 主要内容 */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 240px);
}

@media (max-width: 768px) {
    /* 调整主导航栏 */
    .header-main {
        height: 65px;
        box-shadow: 0 1px 3px rgba(100, 100, 100, 0.1);
    }
    
    .header-main .container {
        padding: 0 15px;
    }
    
    /* Logo调整 */
    .logo span {
        font-size: 18px;
    }
    
    .logo-icon svg {
        width: 28px;
        height: 28px;
    }
    
    /* 搜索框调整 */
    .nav-search {
        max-width: 200px;
        margin: 0 10px;
        flex: 1;
    }
    
    .search-input-container {
        width: 100%;
        min-width: 0;
    }
    
    /* 移动端隐藏热搜标签 */
    .hot-search {
        display: none;
    }
    
    .search-input {
        padding: 8px 12px;
        font-size: 13px;
        flex: 1;
        min-width: 0;
    }
    
    .search-button {
        padding: 8px;
        font-size: 13px;
        width: 40px;
        flex-shrink: 0;
    }
    
    /* 显示汉堡菜单按钮 */
    .hamburger-menu {
        display: flex;
    }
    
    /* 调整菜单和覆盖层位置 */
    .mobile-menu {
        top: 65px;
        height: calc(100% - 65px);
    }
    
    .mobile-menu-overlay {
        top: 65px;
        height: calc(100% - 65px);
    }
}

@media (max-width: 480px) {
    .header-main {
        height: 65px;
    }
    
    .logo span {
        font-size: 16px;
    }
    
    .logo-icon svg {
        width: 24px;
        height: 24px;
    }
    
    /* 搜索框调整 */
    .nav-search {
        flex: 1;
        max-width: none;
        margin: 0 8px;
    }
    
    .search-input-container {
        width: 100%;
        min-width: 0;
    }
    
    .search-input {
        padding: 6px 10px;
        font-size: 12px;
        flex: 1;
        min-width: 0;
    }
    
    .search-button {
        padding: 6px;
        font-size: 12px;
        width: 40px;
        flex-shrink: 0;
    }
}

/* 汉堡菜单按钮样式 */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端右滑菜单样式 */
.mobile-menu-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100% - 70px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: -80%;
    width: 80%;
    max-width: 300px;
    height: calc(100% - 70px);
    background-color: #fff;
    z-index: 99;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
}

.mobile-nav-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    color: #007bff;
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.mobile-nav-item.active {
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* 软件中心专用样式增强 */
.software-main-content {
    padding: 30px 0;
    background-color: #f8f9fa;
}

/* 面包屑导航样式 */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin: 0 10px;
    color: #999;
}

.breadcrumb-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-animation {
    animation: fadeInUp 0.6s ease-out;
}

/* 页面加载动画 */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

.page-loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-loading p {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

/* 游戏卡片动画 */
@keyframes cardHover {
    0% {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(100, 100, 100, 0.1);
    }
    100% {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(100, 100, 100, 0.15);
    }
}

/* 分类标签动画 */
@keyframes tabHover {
    0% {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    100% {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
    }
}

/* 按钮动画 */
@keyframes buttonHover {
    0% {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    }
    100% {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
    }
}

/* 页脚样式 */
.footer {
    background-color: #f8f9fa;
    color: #333;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

/* 社交媒体链接 */
.social-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
}

/* 联系信息 */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

/* 订阅功能 */
.subscribe {
    margin-top: 15px;
}

.subscribe h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

.subscribe-form input::placeholder {
    color: #999;
}

.subscribe-form button {
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #0056b3;
}

/* 版权信息 */
.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    font-size: 14px;
    color: #666;
}

.footer-links-container {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #007bff;
}

.footer-link-placeholder {
    color: #9aa1b2;
    cursor: default;
    opacity: 0.85;
}

.footer-link-placeholder:hover {
    color: #9aa1b2;
}

.footer-link-separator {
    color: #ced4da;
}

/* 响应时间显示样式 */
.response-time {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #e1e4e8;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: default;
}

.response-time:hover {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.response-time svg {
    flex-shrink: 0;
}

#responseTimeValue {
    font-weight: 600;
    min-width: 35px;
    text-align: right;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(100, 100, 100, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(100, 100, 100, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.btn-close:hover {
    color: #333;
}

.modal-body {
    text-align: center;
    padding: 20px 0;
}

.signin-success-icon {
    margin-bottom: 20px;
}

.signin-success-icon i {
    font-size: 48px;
    color: #28a745;
}

.modal-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-checkin {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-checkin:disabled {
    background-color: #6c757d;
    color: #fff;
    cursor: not-allowed;
}

.btn-checkin:not(:disabled) {
    background-color: #007bff;
    color: #fff;
}

.btn-checkin:not(:disabled):hover {
    background-color: #0069d9;
}

/* 签到日历样式 */
.checkin-calendar {
    margin-top: 20px;
}

.calendar-week {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.calendar-day {
    width: 30px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-item {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #666;
}

.calendar-item.checked {
    background-color: #28a745;
    color: #fff;
}

.calendar-item.today {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

.calendar-item.today.checked {
    background-color: #17a2b8;
    color: #fff;
}

/* 搜索区域样式 */
.search-section {
    margin-bottom: 40px;
}

.search-left {
    max-width: 600px;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 100px;
    border: 2px solid #e1e4e8;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-box button {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 23px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #0056b3;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(100, 100, 100, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-icon {
    font-size: 16px;
}

.suggestion-text {
    flex: 1;
}

/* 软件区域样式 */
.software-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.software-item {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.software-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(100, 100, 100, 0.15);
}

.software-icon {
    margin-bottom: 15px;
    text-align: center;
}

.software-icon svg {
    width: 80px;
    height: 80px;
}

.software-info {
    flex: 1;
}

.software-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.software-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.software-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.software-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.software-rating .star {
    color: #f5a623;
    font-size: 16px;
}

.software-rating span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.software-downloads span {
    font-size: 14px;
    color: #999;
}

.software-btn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.software-btn:hover {
    background-color: #0056b3;
}

/* H5游戏区域样式 */
.h5-game-section {
    margin-bottom: 40px;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 56px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border: none;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6b46a2 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 隐藏顶部导航栏 */
    .header-top {
        display: none;
    }
    
    /* 调整主导航栏高度 */
    .header-main {
        height: 60px;
    }
    
    .header-top .container {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    
    .header-links {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .header-links {
        justify-content: center;
    }
    
    .header-links a {
        margin: 0 10px;
        font-size: 16px;
    }
    
    /* 移动端登录注册容器 - 使用后代选择器避免冲突 */
    .header-top .user-links .auth-links {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    /* 移动端登录注册按钮 - 与菜单样式保持一致，使用后代选择器避免冲突 */
    .header-top .user-links .login-btn,
    .header-top .user-links .register-btn {
        margin: 0 8px;
        font-size: 16px;
        padding: 0;
    }
    
    /* 移动端登录注册分隔符 - 使用后代选择器避免冲突 */
    .header-top .user-links .auth-separator {
        margin: 0 5px;
        font-size: 16px;
    }
    
    /* 移动端用户信息样式 - 使用后代选择器避免冲突，取消特殊样式 */
    .header-top .user-links .user-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-top .user-links .user-info .user-avatar {
        margin-right: 5px;
    }
    
    .header-top .user-links .user-info .username {
        margin-right: 10px;
        margin-bottom: 5px;
    }
    
    .header-top .user-links .user-info .logout-btn {
        margin: 5px 10px;
        font-size: 16px;
        padding: 0;
    }
    
    .header-main .container {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 0;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .logo span {
        font-size: 20px;
    }
    
    .logo-icon svg {
        width: 32px;
        height: 32px;
    }
    
    /* 显示汉堡菜单按钮 */
    .hamburger-menu {
        display: flex;
    }
    
    /* 移动端导航菜单默认隐藏 */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        margin-left: 0;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* 移动端显示用户区域 */
    .mobile-user-section {
        display: block;
    }
    
    /* 导航菜单激活时显示 */
    .nav.active {
        display: flex;
    }
    
    .nav-item {
        margin: 0;
        padding: 10px 0;
    }
    
    /* 移动端用户区域样式 */
    .mobile-user-section {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 2px solid #e9ecef;
    }
    
    .mobile-user-info {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-user-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 15px;
        background-color: #f8f9fa;
        border-radius: 10px;
    }
    
    .mobile-user-avatar {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        font-weight: bold;
        font-size: 18px;
        flex-shrink: 0;
        overflow: hidden;
    }
    
    .mobile-user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .mobile-user-details {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-username {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }
    
    .mobile-user-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .mobile-user-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 15px;
        color: #333;
        text-decoration: none;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.3s ease;
        background-color: #f8f9fa;
    }
    
    .mobile-user-link:hover {
        background-color: #e9ecef;
        color: #007bff;
        padding-left: 18px;
    }
    
    .mobile-user-link-danger {
        color: #dc3545;
    }
    
    .mobile-user-link-danger:hover {
        background-color: #fff5f5;
        color: #dc3545;
    }
    
    .mobile-auth-links {
        display: flex;
        gap: 10px;
    }
    
    .mobile-nav-link {
        flex: 1;
        text-align: center;
        padding: 12px;
        background-color: #007bff;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;
        transition: background-color 0.3s ease;
    }
    
    .mobile-nav-link:hover {
        background-color: #0056b3;
    }
    
    /* 移动端搜索区域 */
    .search-left {
        max-width: 100%;
    }
    
    .search-box input {
        padding-right: 80px;
    }
    
    .search-box button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* 移动端软件网格 */
    .software-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .software-item {
        padding: 15px;
    }
    
    .software-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .software-name {
        font-size: 16px;
    }
    
    .software-desc {
        font-size: 12px;
    }
    
    .software-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* 移动端页脚 */
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .footer-section {
        max-width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* 移动端回到顶部按钮 */
    .back-to-top {
        bottom: 52px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* 游戏页面样式 */
.game-container {
    padding: 30px 0;
}

/* 游戏标题 */
.game-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    margin-bottom: 40px;
}

.game-title-main {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.game-subtitle {
    font-size: 18px;
    color: #666;
}

/* 游戏分类 */
.game-category-section {
    margin-bottom: 30px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-tab {
    padding: 10px 20px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-tab:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 游戏列表 */
.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* 游戏卡片 */
.game-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(100, 100, 100, 0.1);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(100, 100, 100, 0.15);
}

.game-card:hover::before {
    transform: scaleX(1);
}

.game-card-header {
    position: relative;
    margin-bottom: 20px;
}

.game-image {
    font-size: 56px;
    text-align: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image {
    transform: scale(1.1);
}

.game-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.game-info {
    flex: 1;
}

.game-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.game-card:hover .game-name {
    color: #667eea;
}

.game-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.4;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 2px;
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.game-downloads {
    font-size: 14px;
    color: #999;
}

.game-card-actions {
    display: flex;
    gap: 10px;
}

.game-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.game-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.game-btn.secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.game-btn.secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* 相关游戏 */
.related-games {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 游戏标题 */
    .game-header {
        padding: 15px 0;
        margin-bottom: 30px;
    }
    
    .game-title-main {
        font-size: 28px;
    }
    
    .game-subtitle {
        font-size: 16px;
    }
    
    /* 游戏分类 */
    .category-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .category-tab {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* 游戏列表 */
    .game-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
    
    /* 游戏卡片 */
    .game-card {
        padding: 16px;
    }
    
    .game-image {
        font-size: 40px;
        margin-bottom: 10px;
    }
    
    .game-name {
        font-size: 16px;
    }
    
    .game-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .game-meta {
        margin-bottom: 16px;
    }
    
    .rating-stars {
        font-size: 12px;
    }
    
    .rating-value,
    .game-downloads {
        font-size: 12px;
    }
    
    .game-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* 相关游戏 */
    .related-games {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    /* 游戏列表 */
    .game-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
    
    /* 游戏卡片 */
    .game-card {
        padding: 12px;
    }
    
    .game-image {
        font-size: 32px;
    }
    
    .game-name {
        font-size: 14px;
    }
    
    .game-desc {
        font-size: 11px;
    }
    
    .game-card-actions {
        flex-direction: column;
    }
}

/* 游戏详情 */
.game-detail {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(100, 100, 100, 0.1);
    padding: 30px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.game-detail:hover {
    box-shadow: 0 8px 24px rgba(100, 100, 100, 0.15);
}

.game-detail-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.game-detail-image {
    font-size: 80px;
    text-align: center;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.game-detail-info {
    flex: 1;
}

.game-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.game-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.game-detail-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.game-detail-buttons {
    display: flex;
    gap: 15px;
}

.game-detail-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-detail-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.game-detail-btn.secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.game-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 游戏详情响应式设计 */
@media (max-width: 768px) {
    .game-detail {
        padding: 20px;
    }
    
    .game-detail-header {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .game-detail-image {
        font-size: 60px;
        width: 100px;
        height: 100px;
    }
    
    .game-detail-title {
        font-size: 24px;
    }
    
    .game-detail-meta {
        justify-content: center;
    }
    
    .game-detail-buttons {
        justify-content: center;
    }
    
    .game-detail-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .game-detail {
        padding: 16px;
    }
    
    .game-detail-image {
        font-size: 50px;
        width: 80px;
        height: 80px;
    }
    
    .game-detail-title {
        font-size: 20px;
    }
    
    .game-detail-meta {
        gap: 10px;
        font-size: 12px;
    }
    
    .game-detail-desc {
        font-size: 14px;
    }
    
    .game-detail-buttons {
        flex-direction: column;
    }
}
