@charset "UTF-8";

.app-info-section {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 35px;
    margin-bottom: 35px;
    text-align: center; /* Center align for prominent header */
}

.app-header-detail {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    gap: 25px; /* Space between logo and details */
}

.app-logo-detail {
    width: 90px;
    height: 90px; /* Taller logo */
    border-radius: 12px;
}

.app-details-main {
    flex-grow: 1;
}

.app-details-main h1 {
    font-size: 36px; /* Larger heading */
    color: #333;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.app-details-main p {
    font-size: 18px; /* Larger text */
    color: #666;
    margin-bottom: 10px;
}

.app-details-main p.rating span {
    font-weight: bold;
    color: #FF9A68; /* Peach Orange for rating */
}

.download-button {
    display: inline-block;
    background-color: #FFB88D; /* Soft Peach Orange */
    color: #fff;
    padding: 15px 40px; /* Larger button */
    border-radius: 35px; /* Very rounded button */
    font-size: 22px; /* Larger font */
    font-weight: bold;
    margin-top: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 184, 141, 0.4); /* Stronger shadow with brand color */
}

.download-button:hover {
    background-color: #FF9A68; /* Darker Peach Orange */
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 154, 104, 0.5);
}

.app-screenshots {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 35px;
    margin-bottom: 35px;
}

.app-screenshots h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 800;
}



.mySwiper-screenshots .swiper-slide {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.mySwiper-screenshots .swiper-slide img {
    width: auto; /* 确保图片填充整个slide */
    max-width: 460px;
    height: auto;
    max-height: 400px;
    object-fit: fill;
    border-radius: 10px;
    display: block;
}

/* 确保swiper容器有明确的宽度限制 */
.mySwiper-screenshots {
    width: 100%;
    height: auto;
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.app-description {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 35px;
    margin-bottom: 35px;
}

.app-description h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 800;
}

.description-content p {
    margin-bottom: 15px;
    font-size: 17px;
    color: #555;
    line-height: 1.7;
}

.description-content .feature-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.description-content ul {
    margin-left: 30px;
    list-style: disc;
    margin-bottom: 15px;
}

.description-content li {
    margin-bottom: 8px;
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

.related-apps {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 35px;
    margin-bottom: 35px;
}

.related-apps h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 800;
}

.mySwiper-related {
    padding: 20px 0;
    background-color: #FAF8F6;
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.04);
}

.related-app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background-color: #fcfcfc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #F0EFEF;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 180px; /* Wider related app cards */
    flex-shrink: 0;
}
.related-app-card a{
    width: 100%;
}
.related-app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.related-app-card .app-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
    margin:0 auto 12px;
    border: 1px solid #FFDAB9;
}

.related-app-card h3 {
    font-size: 17px;
    margin-bottom: 5px;
    color: #333;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-weight: 600;
}

.related-app-card p {
    font-size: 13px;
    color: #666;
    text-align: center;
}


/* Mobile specific adjustments for download page */
@media (max-width: 768px) {
    .app-info-section, .app-screenshots, .app-description, .related-apps {
        padding: 25px;
        margin-bottom: 30px;
    }

    .app-header-detail {
        gap: 20px;
    }

    .app-logo-detail {
        width: 60px;
        height: 60px;
    }

    .app-details-main h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .app-details-main p {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .download-button {
        padding: 12px 30px;
        font-size: 18px;
        border-radius: 30px;
        margin-top: 20px;
    }

    .app-screenshots h2, .app-description h2, .related-apps h2 {
        font-size: 22px;
        margin-bottom: 12px;
        text-align: center;
    }

    .mySwiper-screenshots {
        height: auto;
        margin: auto;
    }


    .description-content p, .description-content li {
        font-size: 15px;
    }

    .description-content ul {
        margin-left: 20px;
    }

    .related-app-card {
        width: 150px;
        padding: 15px 10px;
    }

    .related-app-card .app-icon {
        width: 70px;
        height: 70px;
    }

    .related-app-card h3 {
        font-size: 15px;
    }
}