body {
    margin: 0;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
}

.category {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 540px;
    margin: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f1f0f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-btn, .home-btn {
    width: 2rem;
}

.content {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 120px;
    background-color: #f1f0f6;
    border-right: 1px solid #ddd;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    padding: 1.3rem .5rem;
    cursor: pointer;
    text-align: center;
}

.menu-item.active {
    background-color: #fff;
    font-weight: bold;
}

.menu-item img {
    width: 1rem;
    margin-right: .2rem;
}

.data {
    flex: 1;
    padding: .7rem;
    overflow-y: auto;
}

.data-list {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: .7rem;
}

.item {
    text-align: center;
    width: 4rem;
}

.item img {
    width: 3.2rem;
    height: 3.2rem;
    object-fit: cover;
    border-radius: .5rem;
}

.item span {
    display: block;
    margin-top: .3rem;
    font-size: 0.5em;
    font-weight: 700;
    width: 4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
}


.search-header{
    box-shadow: none;
}

















body {
    margin: 0;
    font-family: Arial,sans-serif;
    background-color: #f1f0f6;
}

a {
    text-decoration: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
}

.search-text {
    width: 2rem;
    font-weight: 700;
    font-family: Arial;
    color: #000;
    margin: 0;
    font-size: 1.6rem;
}

.home-btn {
    width: 2rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 20px;
    padding: .5rem 1rem;
    margin: 0 1rem;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.search-btn img {
    width: 1.5rem;
}

.hot-search h2 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.hot-search-item img {
    width: 1.4rem;
    margin-right: 0.5rem;
}

.hot-search-item span {
    color: #007aff;
}

.games-to-suit-your-mood h2 {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}

.game-item img {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    margin-right: 1rem;
}

.game-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #000;
}

.game-info p {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    width: 10rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result {
    margin: 1rem;
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    display: none;
}

.search-result h2 {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}

.result-items {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
}

.result-item img {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    margin-right: 1rem;
}

.result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #000;
}

.result-info p {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    width: 10rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noresult-info p {
    margin: 0 0 0.5rem 0;
    color: #969292;
    font-size: 0.9rem;
}

.play-btn {
    background-color: #007aff;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
}