* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    min-height: 600px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.header-with-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.logo {
    width: 150px;
    height: 150px;
    margin-right: 0;
    margin-bottom: 10px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.header-with-logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.content {
    position: relative;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.language-selector {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 1000;
}

.download-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.app-info {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span:first-child {
    color: #6c757d;
    font-weight: 500;
}

.info-row span:last-child {
    font-weight: 600;
    color: #343a40;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 24px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.download-btn svg {
    margin-right: 15px;
    width: 28px;
    height: 28px;
}

.btn-text {
    text-align: left;
}

.btn-store {
    font-size: 20px;
    font-weight: 600;
}

.download-btn.appstore {
    background-color: #007aff;
}

.download-btn.googleplay {
    background-color: #34a853;
}

.download-btn.apk {
    background-color: #343a40;
}

.download-note {
    margin-top: 20px;
    font-size: 14px;
    color: #6c757d;
    text-align: center;
    line-height: 1.5;
}

.lang-btn {
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lang-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn.active {
    background-color: #007aff;
    color: white;
    border-color: #007aff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.image-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0.1;
    overflow: hidden;
}

.gallery-image {
    width: 30%;
    height: 80%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.gallery-image:nth-child(1) {
    transform: rotate(-5deg) scale(0.95);
}

.gallery-image:nth-child(2) {
    transform: scale(1);
}

.gallery-image:nth-child(3) {
    transform: rotate(5deg) scale(0.95);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .image-gallery {
        position: relative;
        flex-direction: row;
        margin-top: 40px;
        margin-bottom: 20px;
        opacity: 1;
        height: 200px;
        z-index: 1;
        overflow: visible;
        padding: 0;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .gallery-image {
        position: absolute;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        width: 32%;
        transition: transform 0.3s ease;
    }
    
    .gallery-image:nth-child(1) {
        z-index: 3;
        transform: translateX(-45px) rotate(-5deg);
    }
    
    .gallery-image:nth-child(2) {
        z-index: 2;
        transform: translateX(0) rotate(0);
    }
    
    .gallery-image:nth-child(3) {
        z-index: 1;
        transform: translateX(45px) rotate(5deg);
    }
    .container {
        padding: 20px 15px;
    }

    .content {
        padding: 24px;
    }

    .header-with-logo {
        margin-top: 30px;
    }

    .header-with-logo h1 {
        font-size: 28px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .download-btn {
        padding: 16px 20px;
    }

    .btn-store {
        font-size: 18px;
    }

    .download-section h2 {
        font-size: 20px;
    }

    .language-selector {
        top: 10px;
        right: 10px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .download-btn {
        padding: 14px 18px;
        font-size: 16px;
    }

    .btn-store {
        font-size: 16px;
    }

    .content {
        padding: 20px;
    }

    .header-with-logo {
        margin-top: 25px;
    }

    .header-with-logo h1 {
        font-size: 24px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .language-selector {
        top: 8px;
        right: 8px;
        gap: 6px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}
