/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* 主内容容器（居中显示） */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative; /* 用于定位子元素 */
}

/* 左右侧公众号二维码 */
.qrcode-left, .qrcode-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    text-align: center;
}

.qrcode-left {
    left: 20px;
}

.qrcode-right {
    right: 20px;
}

.qrcode-left img, .qrcode-right img {
    width: 140px;
    height: 140px;
    margin-bottom: 8px;
}

.qrcode-left p, .qrcode-right p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* 标题样式 */
.title-box {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    color: #4e6ef2;
    font-size: 48px;
    margin-bottom: 10px;
}

.sub-title {
    color: #999;
    font-size: 20px;
    font-weight: 400;
}

/* 搜索框样式 */
.search-container {
    max-width: 760px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    height: 56px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 28px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.search-box:hover {
    border-color: #4e6ef2;
}

.search-box input {
    flex: 1;
    padding: 0 24px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
}

.search-box button {
    width: 120px;
    background: #4e6ef2;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #3b5bf2;
}

/* 热门搜索 */
.hot-search {
    max-width: 760px;
    margin: 40px auto 0;
}

.hot-tip {
    color: #999;
    font-size: 16px;
    margin-bottom: 16px;
}

.hot-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hot-item {
    padding: 8px 16px;
    background: #fff;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.hot-item:hover {
    background: #f0f3ff;
    color: #4e6ef2;
}

/* 搜索结果样式 */
.result-count {
    color: #999;
    font-size: 14px;
    margin: 20px 0;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.result-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.result-item h3 {
    color: #1a0dab;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.result-item p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.result-info {
    color: #006621;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-url {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    color: #4e6ef2;
    border: 1px solid #4e6ef2;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: #4e6ef2;
    color: #fff;
}

/* 翻页按钮 */
.pagination {
    margin: 30px 0;
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.pagination button {
    padding: 8px 24px;
    background: #4e6ef2;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.pagination button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
    background: #3b5bf2;
}

/* 验证码弹窗 */
.verify-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    min-width: 400px;
}

.mini-qrcode {
    width: 200px;
    height: 200px;
    margin: 20px 0;
}

#verifyCode {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    margin: 10px 0;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    font-size: 16px;
}

.modal-btns {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.modal-btns button {
    padding: 8px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#confirmVerify {
    background: #4e6ef2;
    color: #fff;
}

#cancelVerify {
    background: #f0f2f5;
    color: #333;
}