header {
    background-color: #fff;
    padding: 5px 0 5px 15px;
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: unset;
}

.logo {
    height: 11.73333vw;
    margin-right: .53333vw;
    width: 11.2vw;
}

.header-kf {
    position: absolute;
    right: 0;
    bottom: 2vw;
}

.header-kf img {
    height: auto;
    max-width: 100%;
    width: 26.66667vw;
}

header h1 {
    align-items: center;
    color: #333;
    display: flex;
    font-size: 3.73333vw;
    font-weight: 500;
    line-height: 4.8vw;
    text-align: left;
}

.contact-btn {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #ff5252;
}

.search-section {
    padding: 4px 12px 8px 12px;
    background-color: #fff;
}

.search-container {
    gap: 10px;
    align-items: center;
    background: #fff;
    border: .4vw solid #f24641;
    border-radius: 2.66667vw;
    display: flex;
    height: 10.66667vw;
    padding-left: 3.2vw;
    padding-right: 1.06667vw;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    color: #999;
    font-size: 3.73333vw;
    font-weight: 400;
    line-height: 8vw;
    background: transparent;
}

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

.search-btn {
    border: none;
    padding: 5px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    background: #f24641;
    border-radius: 2.13333vw;
    color: #fff;
    font-family: PingFang SC;
    font-size: 3.73333vw;
    font-weight: 500;
    line-height: 4.8vw;
    padding: 1.86667vw 4.8vw;
}

.icon-so {
    height: 5.33333vw;
    width: 5.33333vw;
}

.search-btn:hover {
    background-color: #ff5252;
}

.features-section {
    padding: 0 10px 10px;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    background-color: #fff
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-icon {
    width: 9.06667vw;
    height: 9.06667vw;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.feature-icon img {
    border-radius: inherit;
    height: inherit;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: left;
    object-position: left;
    opacity: 1;
    transition: opacity .25s ease-in-out;
    width: inherit;
}

.feature-item p {
    color: #333;
    font-size: 3.2vw;
    font-weight: 400;
    line-height: 4.26667vw;
    margin-top: .53333vw;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.games-section {
    padding: 0 15px 15px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.game-grid {
    display: contents;
}

.game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.game-item:hover {
    transform: translateY(-2px);
}

.game-img {
    width: 10.66667vw;
    height: 10.66667vw;
    border-radius: 2.13333vw;
    object-fit: cover;
    display: block;
}

.game-item p {
    font-size: 2.66667vw;
    color: #333;
    text-align: center;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.products-section {
    background-color: #fff;
    padding: 3.2vw;
    margin-top: 2vw;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3vw;
}

.section-title {
    margin: 0;
    color: #333;
    font-size: 4.26667vw;
    font-weight: 600;
    line-height: 5.33333vw;
}

.section-more {
    margin: 0;
    color: #666;
    font-size: 3.73333vw;
    font-weight: 400;
    line-height: 4.8vw;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    cursor: pointer;
}

.product-card {
    margin: 0;
    box-shadow: 0 4px 12px rgb(0 0 0 / 5%);
    border-radius: 3.2vw;
    flex-shrink: 0;
    height: 50.26667vw;
    margin-bottom: 3.2vw;
    overflow: hidden;
    width: 45.33333vw;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-img {
    flex-shrink: 0;
    height: 29.33333vw;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.6vw 1.6vw 2.13333vw;
    font-size: 3.73333vw;
}

.product-desc {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    font-weight: 500;
    line-height: 4.8vw;
    margin-bottom: 1.06667vw;
    -webkit-line-clamp: 2;
}

.product-bottom {
    display: flex;
    align-items: center;
    height: 5.33333vw;
    justify-content: space-between;
    width: 100%;
}

.product-price {
    color: #e60f0f;
    font-size: 3.2vw;
    font-weight: 600;
    padding-left: 1.06667vw;
    margin: 0;
}

.product-time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #999;
    font-size: 3.2vw;
    margin: 0;
}

@media (max-width: 600px) {
    .game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .features-section {
        flex-wrap: wrap;
    }
    
    .feature-item {
        flex: 0 0 calc(20% - 8px);
    }
}

@media (max-width: 480px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-item {
        flex: 0 0 calc(33.333% - 7px);
    }
    .contact-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}