html,
body {
    font-family: "PingFang SC", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    width: 100%;
    min-height: 100%;
    /* Ensure full height */
    overflow-x: hidden;
    /* Prevent horizontal scroll on body */
    overflow-y: auto;
    /* Force vertical scroll availability */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

.container {
    text-align: center;
    padding: 20px;
}

.app-info {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.app-icon img {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    background-color: #ddd;
    /* Placeholder background */
}

.app-details {
    margin-left: 20px;
    text-align: left;
}

.app-title {
    font-size: 26px;
    color: #0078d7;
    margin: 10px 0;
}

.app-tags {
    list-style: none;
    padding: 0;
    margin: 5px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-tags li {
    background-color: #e6f7ff;
    color: #0078d7;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #0078d7;
}

.app-update {
    font-size: 14px;
    color: #666;
}

.app-screenshots {
    margin: 20px 0;
}

.screenshots-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.screenshots-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.screenshots-list li {
    flex: 0 0 auto;
}

.screenshots-list img {
    width: 160px;
    height: 220px;
    border-radius: 10px;
    border: 2px solid #0078d7;
    object-fit: cover;
    background-color: #eee;
    /* Placeholder background */
}

.app-description {
    margin: 20px 0;
    text-align: left;
}

.app-description h3 {
    font-size: 20px;
    color: #0078d7;
    margin-bottom: 10px;
}

.app-description p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.action-btn {
    background-color: #0078d7;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    width: 80%;
    max-width: 400px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 120, 215, 0.5);
    text-decoration: none;
    text-align: center;
}

.action-btn:hover {
    background-color: #005a9e;
}

.wx-tips {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    text-align: center;
    padding-top: 20%;
}

.wx-tips img {
    width: 80%;
    max-width: 300px;
}

/* Hide scrollbars */
body::-webkit-scrollbar,
html::-webkit-scrollbar {
    display: none;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 600px) {
    .container {
        padding: 15px;
    }

    .app-info {
        flex-direction: column;
        text-align: center;
        margin: 10px 0;
    }

    .app-details {
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
        width: 100%;
    }

    .app-icon img {
        width: 120px;
        height: 120px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .app-title {
        font-size: 24px;
    }

    .app-tags {
        justify-content: center;
    }

    .screenshots-container {
        padding: 5px 0;
    }

    .screenshots-list img {
        width: 140px;
        height: 192px;
        /* Maintain approx 8:11 ratio */
    }

    .action-btn {
        width: 90%;
        padding: 12px 0;
        font-size: 18px;
    }

    .app-description h3 {
        text-align: center;
    }
}