
body {
    margin: 0;
    padding: 0;
    font-family: 'HarmonyOS_Sans_SC_Medium' !important;
    background-color: #1a1f2e;
    color: #ffd700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: none;
    border: none;
    color: #ffd700;
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: rotate(90deg);
}

.menu {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(to bottom, #1a1f2e, #131722);
    transition: 0.3s;
    z-index: 999;
    padding-top: 60px;
    border-right: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.menu.active {
    left: 0;
}

.menu a {
    display: block;
    padding: 20px 30px;
    color: #ffd700;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s, padding-left 0.3s;
    position: relative;
}

.menu a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    padding-left: 40px;
}

.menu a::before {
    content: '>';
    position: absolute;
    left: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu a:hover::before {
    opacity: 1;
}

.welcome-section {
    text-align: center;
    margin: 40px 0;
    padding-left: 20px;
}

.search-section {
    margin: 20px 0;
    padding: 0 20px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-box input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ffd700;
    background-color: rgba(255, 215, 0, 0.1);
    color: #fff;
    font-size: 16px;
}

.search-box button {
    padding: 12px 24px;
    background-color: #ffd700;
    color: #1a1f2e;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* 优化后的分类容器样式 */
.category-select {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    color: #ffd700;
    border: 1px solid #ffd700;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffd700" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: all 0.3s ease;
}

.category-select:hover {
    border-color: #ffed4a;
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.1));
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.category-select:focus {
    outline: none;
    border-color: #ffed4a;
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.15));
    box-shadow: 0 2px 15px rgba(255, 215, 0, 0.3);
}

.category-select option {
    background-color: #333;
    color: #ffd700;
}

.category-select option:hover {
    background-color: #ffd700;
    color: #333;
}

.app-container {
    transition: all 0.3s ease;
}

.app-container.single-column {
    display: flex;
    flex-direction: column;
}

.app-container.multi-column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.app {
    background-color: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    transition: transform 0.3s;
}

.app:hover {
    transform: translateY(-5px);
}

.app .dot {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    background-color: #ffd700;
    border-radius: 50%;
}

.app img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 20px;
}

.app h2 {
    margin: 15px 0;
    font-size: 24px;
    color: #ffd700;
}

.app h3 {
    margin: 10px 0;
    font-size: 16px;
    color: rgba(255, 215, 0, 0.7);
}

.app p {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 215, 0, 0.9);
}

.app button {
    padding: 12px 30px;
    background-color: #ffd700;
    color: #1a1f2e;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.app button:hover {
    background-color: #ffed4a;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.pagination button {
    padding: 12px 30px;
    background-color: #ffd700;
    color: #1a1f2e;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 16px;
}

.footer {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

#toggleButton {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #ffd700;
    color: #1a1f2e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    z-index: 1000;
}

#toggleButton:hover {
    background-color: #ffed4a;
}

#pointsButton {
    position: fixed;
    top: 20px;
    right: 205px;
    padding: 10px 15px;
    background-color: grey;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    z-index: 1000;
}

#pointsButton:hover {
    background-color: grey;
}

/* 默认样式，适用于所有设备 */
.app-container {
    display: flex;
    flex-direction: column;
}

/* 电脑视图的多列布局 */
@media (min-width: 768px) {
    .app-container.multi-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 手机视图的单列布局 */
@media (max-width: 767px) {
    .app-container.single-column {
        flex-direction: column;
    }
}

.search-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.search-box input[type="text"] {
    padding: 10px;
    border: 2px solid #FFD700;
    border-radius: 25px;
    width: 300px;
    outline: none;
    background-color: #2E3436;
    color: #FFD700;
    transition: all 0.3s ease;
}

.search-box input[type="text"]:focus {
    border-color: #FFD700;
    box-shadow: 0 0 8px #FFD700;
}

.search-box button {
    padding: 10px 20px;
    border: 2px solid #FFD700;
    border-radius: 25px;
    background-color: #2E3436;
    color: #FFD700;
    cursor: pointer;
    margin-left: -5px;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #1A1A1A;
}

.app-container {
    transition: all 0.3s ease;
}

.app-container.single-column {
    display: flex;
    flex-direction: column;
}

.app-container.multi-column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

button#toggleButton {
    padding: 10px 15px;
    background-color: #ffd700;
    color: #1a1f2e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button#toggleButton:hover {
    background-color: #ffed4a;
}

.pagination button {
    padding: 10px 20px;
    font-size: 12px;
    background-color: #ffd700;
    color: #1a1f2e;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.pagination button {
    padding: 10px 20px;
    font-size: 12px;
    background-color: #ffd700;
    color: #1a1f2e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination button.active {
    background-color: #000000;
    color: #ffffff;
    font-weight: bold;
}

/* 手表端样式 */
@media (max-width: 400px) {
    #toggleButton {
        display: none;
    }
    #pointsButton {
        top: 20px;
        right: 20px;
    }
}