* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 23px;
}

.header-left {
    color: #6E544C;
    font-size: 14px;
}

.header-right {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    width: 25px;
    height: 25px;
    border: 1px solid #6E544C;
    border-radius: 50%;
    margin-right: 5px;
}

.logo-images {
    width: 21px;
    height: 21px;
    position: absolute;
}


/* 主要内容区域 */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
    margin-top: 50px;
}

/* Logo和标题区域 */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.site-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #6E544C;
    margin: 0;
}

.site-slogan {
    font-size: 1rem;
    color: #999;
    margin-top: 5px;
}

/* 搜索框区域 */
.search-section {
    width: 100%;
    max-width: 600px;
    margin-bottom: 50px;
}

.search-container {
    position: relative;
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 25px;
    overflow: hidden;
}

.search-container:focus-within {
    border-color: #6E544C;
    box-shadow: 0 4px 20px rgba(110, 84, 76, 0.2), 0 0 0 3px rgba(110, 84, 76, 0.1);
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    border-radius: 0;
}

.search-input:focus {
    background: rgba(110, 84, 76, 0.02);
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: #6E544C;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #5a453d;
}

.search-btn:active {
    background: #4a3a33;
}

.search-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.logo-icon{
    width: 166px;
    height: 63px;
}

/* 热门标签区域 */
.hot-tags-section {
    width: 100%;
    max-width: 800px;
}

.hot-tags-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #6E544C;
    font-weight: 600;
}

.flame-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flame-icon::before {
    content: "🔥";
    font-size: 12px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tag-item {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tag-item:hover {
    background: #6E544C;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 84, 76, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-left span {
        display: none;
    }

    .site-title {
        font-size: 2rem;
    }

    .search-container {
        flex-direction: row;
        border-radius: 25px;
    }

    .search-input {
        border-radius: 25px 0 0 25px;
        font-size: 16px;
        padding: 12px 16px;
    }

    .search-btn {
        border-radius: 0 25px 25px 0;
        padding: 12px 20px;
    }

    .search-icon {
        width: 18px;
        height: 18px;
    }

    .tags-container {
        gap: 8px;
    }

    .tag-item {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* 确保在极小屏幕上也能保持一排 */
@media (max-width: 480px) {
    .search-container {
        flex-direction: row;
        max-width: 100%;
    }

    .search-input {
        font-size: 16px;
        padding: 12px 16px;
    }

    .search-btn {
        padding: 12px 20px;
    }

    .search-icon {
        width: 16px;
        height: 16px;
    }
}