/* 游戏账号租号系统 - 样式文件 */

/* CSS变量定义 - 支持动态主题 */
:root {
    --theme-primary: #ff6b9d;
    --theme-primary-light: #ff8fab;
    --theme-primary-dark: #e91e63;
    --theme-primary-gradient: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    --theme-filter-btn-start: #17a2b8;
    --theme-filter-btn-end: #20c997;
    --theme-filter-btn-gradient: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--theme-primary-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: white;
    color: var(--theme-primary);
    border: 2px solid var(--theme-primary);
}

.btn-secondary:hover {
    background: var(--theme-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-block {
    width: 100%;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--theme-primary);
    font-size: 24px;
    font-weight: 700;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

/* 网站LOGO图片样式 */
.site-logo-img {
    max-height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo a {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theme-primary-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--theme-primary);
}

.admin-btn {
    background: #333;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
}

.admin-btn:hover {
    background: #555;
}

.user-actions {
    display: flex;
    align-items: center;
}

/* 登录/注册合并按钮 */
.btn-login {
    background: var(--theme-primary-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-login:active {
    transform: translateY(0) scale(0.98);
}

.btn-login i,
.btn-login .bi {
    font-size: 18px;
}

/* 用户菜单样式 */
.user-menu {
    position: relative;
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 16px 6px 6px;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-avatar:hover {
    background: var(--theme-primary-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: transparent;
    transform: translateY(-1px);
}

.user-avatar.active {
    background: var(--theme-primary-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

/* 头像图片 */
.user-avatar .avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
}

/* 默认头像 */
.user-avatar .avatar-default {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: var(--theme-primary-gradient) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 900 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    min-width: 36px !important;
    min-height: 36px !important;
}

.user-avatar:hover .avatar-default,
.user-avatar.active .avatar-default {
    background: white;
    color: var(--theme-primary);
}

.user-avatar .user-name {
    font-weight: 600;
    font-size: 14px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-avatar i.fa-chevron-down,
.user-avatar .bi-chevron-down {
    font-size: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-avatar.active i.fa-chevron-down,
.user-avatar.active .bi-chevron-down {
    transform: rotate(180deg);
}

/* 用户下拉菜单 - 丝滑动画 */
.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 280px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transform-origin: top right;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 下拉菜单头部 */
.dropdown-header {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-avatar-default {
    width: 100%;
    height: 100%;
    background: var(--theme-primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.header-info {
    flex: 1;
    min-width: 0;
}

.header-name {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-email {
    font-size: 13px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 网格菜单 */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.grid-item:hover {
    background: var(--theme-primary-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.grid-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.grid-icon i,
.grid-icon .bi {
    font-size: 26px;
    color: var(--theme-primary);
}

.grid-item:hover .grid-icon {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grid-item:hover .grid-icon i,
.grid-item:hover .grid-icon .bi {
    color: var(--theme-primary);
}

.grid-item span {
    font-size: 13px;
    font-weight: 500;
}

/* 分隔线 */
.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 0;
}

/* 退出按钮 */
.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: var(--theme-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #fff;
}

.logout-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--theme-primary-dark);
}

.logout-btn i,
.logout-btn .bi {
    font-size: 18px;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0; /* 进一步减少垂直 padding */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 32px; /* 进一步缩小标题 */
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 16px; /* 进一步缩小副标题 */
    margin-bottom: 0; /* 移除底部 margin */
    opacity: 0.9;
}

/* 新英雄区域 - 三栏布局 */
.hero-new {
    background: #ffffff;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

/* 移除背景装饰效果 */
.hero-new::before {
    content: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-layout {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

/* 当左侧栏隐藏时（两栏布局），调整中间和右侧的宽度 */
.hero-layout.two-column .hero-center {
    flex: 1;
    min-width: 600px;
}

.hero-layout.two-column .hero-right {
    width: 320px;
    height: 340px;
    /* 保持与轮播图相同的高度 */
}

/* 左中右三栏基础样式 */
.hero-left, .hero-center, .hero-right {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
}

/* 左边：服务选择 */
.hero-left {
    width: 240px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 340px;
    /* 设置与轮播图相同的固定高度 */
}

.service-section {
    padding: 15px;
    height: 100%;
    overflow: hidden;
    /* 确保内容不会溢出 */
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-title i {
    font-size: 18px;
}

.service-list {
    list-style: none;
}

.service-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(5px);
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    color: var(--theme-primary);
    font-size: 14px;
    margin-right: 0;
    background: rgba(0, 0, 0, 0.08);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* 服务图标图片样式 */
.service-icon-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.service-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.service-item a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    display: block;
}

.service-item a:hover {
    color: var(--theme-primary);
}

.service-desc {
    color: #666;
    font-size: 11px;
    padding-left: 0;
    line-height: 1.2;
}

/* 中间：轮播图 */
.hero-center {
    flex: 1;
    min-width: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    align-self: center;
}

.carousel-slide {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9);
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 30px;
    box-sizing: border-box;
}

.carousel-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out;
}

.carousel-content p {
    font-size: 17px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.carousel-content button {
    margin-top: 25px;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.indicator.active {
    background: var(--theme-primary-gradient);
    width: 20px;
    border-radius: 10px;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 右边：账号信息和登录 */
.hero-right {
    width: 280px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 340px;
    /* 设置与轮播图相同的固定高度 */
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.account-section {
    padding: 12px;
    height: 100%;
    overflow: hidden;
    /* 确保内容不会溢出 */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 用户信息 */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--theme-primary);
    flex-shrink: 0;
    position: relative;
    background: var(--theme-primary-gradient);
}

/* 右侧区域头像图片 */
.hero-right .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.user-details {
    flex-grow: 1;
    min-width: 0;
}

.username {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-center {
    font-size: 11px;
    color: var(--theme-primary);
    text-decoration: none;
    display: inline-block;
}

.user-center:hover {
    text-decoration: underline;
}

.logout-btn {
    font-size: 11px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
}

.logout-btn:hover {
    color: var(--theme-primary);
}

/* 主要操作按钮 */
.main-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 8px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.buy-btn {
    background: linear-gradient(135deg, #fff7e6 0%, #ffe6cc 100%);
    border-bottom: 2px solid #ffd9a6;
}

.sell-btn {
    background: linear-gradient(135deg, #e6f7ff 0%, #ccf0ff 100%);
    border-bottom: 2px solid #a6e0ff;
}

.action-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.action-text {
    font-size: 13px;
    margin-bottom: 3px;
}

.action-go {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
    color: white;
}

.buy-btn .action-go {
    background: var(--theme-primary);
}

.sell-btn .action-go {
    background: #4ba3ff;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 消息通知 */
.message-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tabs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tabs::-webkit-scrollbar {
    height: 4px;
}

.tabs::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.tabs::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.tab-item {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    padding-bottom: 3px;
}

.tab-item.active {
    color: var(--theme-primary);
    font-weight: 600;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--theme-primary);
    border-radius: 1px;
}

.tab-item.more::after {
    content: '›';
    margin-left: 4px;
    font-size: 16px;
}

.notice-content {
    font-size: 12px;
    color: #333;
    padding: 5px 0;
    background: none;
    border-radius: 0;
    border-left: none;
}

.notice-content p {
    margin: 8px 0;
    padding: 0;
    line-height: 1.4;
}

.new-tag {
    color: var(--theme-primary);
    font-size: 16px;
    line-height: 0;
}

/* 底部功能链接 */
.bottom-links {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.bottom-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #666;
    text-decoration: none;
    font-size: 11px;
    padding: 8px 5px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.bottom-link-item:hover {
    color: var(--theme-primary);
    background: rgba(0, 0, 0, 0.03);
}

.bottom-link-item i {
    font-size: 16px;
    color: #999;
    transition: all 0.3s ease;
}

.bottom-link-item:hover i {
    color: var(--theme-primary);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-layout {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-left, .hero-center, .hero-right {
        width: 100%;
        max-width: 800px;
        margin-bottom: 20px;
    }
    
    .hero-center {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .hero-layout {
        gap: 15px;
    }
    
    .hero-new {
        padding: 15px 0;
    }
    
    .carousel {
        height: 250px;
    }
    
    .carousel-content h3 {
        font-size: 20px;
    }
    
    .carousel-content p {
        font-size: 14px;
    }
}

/* 分类样式 */
.category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px 0;
}

.category-item {
    width: 140px;
    text-align: center;
    padding: 5px;
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 8px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item h4 {
    font-size: 14px;
    color: #444;
    padding: 0 5px;
    margin: 0;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
    min-height: 40px;
}

/* 搜索与分类合并区域 */
.search-categories-container {
    background: white;
    padding: 15px 0 20px;
    margin-top: -20px; /* 减少重叠，降低整体高度 */
    position: relative;
    z-index: 10;
}

/* 搜索、分类与精选账号合并区域 */
.search-categories-accounts {
    background: white;
    padding: 15px 0 40px;
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

/* 游戏分类标签 */
.game-categories-tabs {
    margin: 20px 0;
    padding: 0 15px;
}

.category-tabs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--theme-primary) transparent;
}

.category-tabs::-webkit-scrollbar {
    height: 6px;
}

.category-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.category-tabs::-webkit-scrollbar-thumb {
    background-color: var(--theme-primary);
    border-radius: 3px;
}

.category-tab-item {
    display: inline-block;
    padding: 8px 15px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.category-tab-item.active {
    background: var(--theme-primary);
    color: white;
    border-color: var(--theme-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.category-tab-item:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--theme-primary);
}

.category-tab-item.active:hover {
    background: var(--theme-primary);
    color: white;
}

.category-tab-item.more::after {
    content: '›';
    margin-left: 5px;
    font-size: 16px;
}

.modern-search-box {
    display: flex;
    max-width: 800px; /* 增加宽度但保持比例 */
    margin: 0 auto 30px;
    background: white;
    border-radius: 12px; /* 更现代的圆角 */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* 更柔和的阴影 */
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 44px;
}

.modern-search-box input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    font-size: 15px;
    outline: none;
}

.search-btn {
    background: var(--theme-primary-gradient);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 游戏分类 - 横向滚动 */
.game-categories-scroll {
    padding: 0 15px;
}

.game-categories-scroll h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 15px;
    color: #333;
}

.categories-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 15px;
    scrollbar-width: thin;
    scrollbar-color: #667eea transparent;
}

.categories-slider::-webkit-scrollbar {
    height: 6px;
}

/* 单选和多选框样式 */
.radio-group, .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 5个按钮间距 */
    margin: 15px 0;
}

.radio-group label, .checkbox-group label {
    flex: 1 1 calc(20% - 8px); /* 5个按钮等宽布局 */
    min-width: 80px; /* 最小宽度确保4个中文字符 */
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    word-wrap: break-word; /* 超4字自动换行 */
    box-sizing: border-box; /* 内边距不影响总宽度 */
}

/* 隐藏原生单选/多选框 */
.radio-group input, .checkbox-group input {
    position: absolute;
    opacity: 0;
}

/* 自定义单选/多选框样式 */
.radio-group label, .checkbox-group label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 10px 8px 25px; /* 减少右侧内边距 */
    background-color: #ffccd5;
    border: 2px solid #ff99aa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: auto; /* 移除最小宽度限制 */
    width: auto; /* 自适应内容宽度 */
    margin-bottom: 8px;
}

/* 选中状态样式 */
.radio-group input:checked + label, .checkbox-group input:checked + label {
    background-color: #ff6680; /* 深粉色背景 */
    border-color: #e60033; /* 深色边框 */
    color: white;
}

/* 选中状态打勾标志 */
.radio-group input:checked + label::after, .checkbox-group input:checked + label::after {
    content: '✓';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 16px;
}}

.categories-slider::-webkit-scrollbar-track {
    background: transparent;
}

.categories-slider::-webkit-scrollbar-thumb {
    background-color: #667eea;
    border-radius: 3px;
}

.category-item.modern {
    flex: 0 0 120px; /* 固定宽度 */
    background: white;
    padding: 12px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.categories-slider a {
    display: block;
    text-decoration: none;
}

.category-item.modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.category-icon {
    font-size: 28px; /* 缩小图标 */
    color: #667eea; /* 更改主色调 */
    margin-bottom: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.category-item.modern h4 {
    font-size: 15px;
    color: #333;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 精选账号 */
.featured-accounts {
    padding: 30px 0 60px;
    margin-top: -25px;
    background: #f8f9ff;
}

.featured-accounts h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px; /* 进一步减少标题下方间距 */
    color: #333;
    font-weight: 700;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.accounts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 15px;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    min-height: 200px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    width: 200px;
    min-width: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-description {
    margin-bottom: 15px;
}

.article-description p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.questionnaire-info {
    margin-top: 10px;
}

.questionnaire-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.questionnaire-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.questionnaire-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.field-label {
    color: #666;
    font-weight: 500;
}

.field-value {
    color: #333;
    font-weight: 600;
}

.field-unit {
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}



.account-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

.no-accounts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
    background: #f8f9ff;
    border-radius: 20px;
}

.account-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 12px;
}

.account-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.account-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.account-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.account-card:hover .account-image img {
    transform: scale(1.1);
}

.account-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
}

.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    backdrop-filter: blur(5px);
}

.badge.featured {
    background: var(--theme-primary-gradient);
}

.badge.available {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.badge.rented {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.account-info {
    padding: 20px;
}

.account-info h3 {
    font-size: 17px;
    margin: 12px 0 8px;
    color: #333;
    font-weight: 600;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.account-game {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.account-price {
    margin-bottom: 15px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--theme-primary);
}

.unit {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

.account-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-more {
    text-align: center;
}

/* 页脚 */
footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--theme-primary);
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--theme-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 14px;
}

/* 文章卡片样式 */
.article-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    height: 250px;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 200px;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.badge.featured {
    background: var(--theme-primary-gradient);
}

.badge.available {
    background: #28a745;
}

.badge.rented {
    background: #dc3545;
}

.article-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    min-height: 180px;
}

.top-left-section {
    margin-bottom: 20px;
}

.account-number {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.account-number span {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.btn-copy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
}

.btn-copy:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-copy:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.btn-copy i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.btn-copy:hover i {
    transform: scale(1.1);
}

/* 编号和小标签在同一行显示 */
.account-number-with-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.account-number-with-tags .account-number {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.account-number-with-tags .small-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.account-number-with-tags .small-tag {
    background: var(--theme-primary-gradient);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.account-number-with-tags .small-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 复制成功动画效果 */
.btn-copy.copied {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    animation: copySuccess 0.6s ease;
}

@keyframes copySuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 脉冲动画效果 */
.btn-copy.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .btn-copy {
        padding: 6px 10px;
        min-width: 32px;
        min-height: 32px;
        font-size: 12px;
    }
    
    .btn-copy i {
        font-size: 12px;
    }
    
    /* 移动端编号和小标签布局调整 */
    .account-number-with-tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .account-number-with-tags .account-number {
        gap: 6px;
    }
    
    .account-number-with-tags .small-tags {
        gap: 6px;
    }
    
    .account-number-with-tags .small-tag {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    /* 移动端主内容区域垂直居中调整 */
    .main-content-section {
        flex-direction: column;
        gap: 15px;
        min-height: auto;
    }
    
    .main-left {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        min-height: 80px;
        position: relative;
    }
    
    .main-field {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: auto;
    }
    
    .main-right {
        min-height: 80px;
        position: relative;
    }
    
    .main-field .field-value {
        font-size: 24px;
    }
    
    .main-field .field-label {
        font-size: 14px;
    }
}

.small-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.small-tag {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
}

.main-content-section {
    display: flex;
    gap: 20px;
    flex: 1;
    position: relative;
    min-height: 140px;
}

.main-left {
    flex: 1;
    padding-right: 20px;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-field {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.main-field .field-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.main-field .field-label {
    font-size: 16px;
    color: #999;
    font-weight: 500;
    line-height: 1.3;
}

.main-right {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 15px;
    flex-wrap: wrap;
    position: relative;
}

.right-field {
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px 0;
}

.right-field .field-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-field .field-label {
    font-size: 12px;
    color: #999;
    line-height: 1.3;
}

.field-separator {
    font-size: 20px;
    color: #ccc;
    font-weight: 300;
}

.top-right-tags {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    max-width: calc(100% - 40px);
    white-space: normal;
}

.right-tag {
    background: var(--theme-primary-gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.bottom-right-section {
    position: absolute;
    bottom: 20px;
    right: 20px; /* 靠右对齐，给右侧价格区域留出空间 */
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 确保内容靠右对齐 */
    gap: 8px;
    flex-wrap: nowrap;
    max-width: calc(100% - 200px); /* 限制最大宽度，避免与右侧价格区域重叠 */
}

.bottom-field {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-primary);
    background: rgba(0, 0, 0, 0.05);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.field-separator {
    color: #ccc;
    font-weight: 600;
    font-size: 16px;
}

.article-sidebar {
    width: 150px;
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.price-section {
    text-align: center;
}

.price-display {
    margin-bottom: 10px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--theme-primary);
}

.unit {
    font-size: 14px;
    color: #999;
}

.price-info {
    font-size: 12px;
    color: #999;
}

.btn-rent {
    width: 100%;
    margin-top: 20px;
}

/* 支付按钮样式 */
.pay-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.pay-btn:hover {
    background: linear-gradient(135deg, #4096ff 0%, #1677ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 119, 255, 0.4);
}

.pay-btn:active {
    transform: translateY(0);
}

.pay-btn .pay-price {
    font-size: 22px;
    font-weight: 700;
}

.pay-btn .pay-text {
    font-size: 12px;
    opacity: 0.9;
}

/* 表格视图支付按钮 */
.table-pay-btn {
    padding: 6px 16px;
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.table-pay-btn:hover {
    background: linear-gradient(135deg, #4096ff 0%, #1677ff 100%);
}

/* 表单样式 */
.form-container {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


}

.filter-bar {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #333;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .search-btn {
        border-radius: 0 0 20px 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .accounts-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
        min-width: auto;
    }
    
    .article-sidebar {
        width: 100%;
        min-width: auto;
        flex-direction: row;
        padding: 15px;
        gap: 15px;
        align-items: center;
    }
    
    .price-section {
        margin-bottom: 0;
        text-align: left;
        flex: 1;
    }
    
    .btn-rent {
        margin-bottom: 0;
        width: auto;
        min-width: 120px;
    }
    
    .account-stats {
        display: none;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .questionnaire-items {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .logo a {
        font-size: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
}