/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f5f0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    text-align: center;
    padding: 30px 0;
}

.logo {
    margin-bottom: 15px;
}

.logo img {
    max-width: 120px;
    height: auto;
}

h1 {
    font-size: 2.2rem;
    color: #8b5a2b;
    margin-bottom: 10px;
}

/* 主要内容区域 */
main {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.app-info {
    text-align: center;
    margin-bottom: 40px;
}

.app-info h2 {
    font-size: 1.8rem;
    color: #8b5a2b;
    margin-bottom: 15px;
}

.app-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

/* 功能特点 */
.features {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
}

.feature {
    text-align: center;
    padding: 15px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 1rem;
    color: #555;
}

/* 下载区域 */
.download-section {
    text-align: center;
    padding: 20px 0;
}

.download-section h2 {
    font-size: 1.8rem;
    color: #8b5a2b;
    margin-bottom: 15px;
}

#download-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

/* Download buttons - fixed at bottom on mobile */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
}

/* Desktop styles for download buttons */
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
}

/* Fixed bottom download buttons for all devices */
@media (max-width: 1024px) {

    .download-buttons,
    .download-buttons.mobile-fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        margin: 0;
        flex-wrap: nowrap;
    }

    .download-btn {
        flex: 1;
        margin: 0 5px;
        min-width: unset;
    }

    /* Add padding to the bottom of the page to prevent content from being hidden behind fixed buttons */
    body {
        padding-bottom: 80px;
    }
}

.download-btn img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    max-width: 18px;
    /* 确保图标不会超过这个尺寸 */
}

.android {
    background-color: #3ddc84;
}

.android:hover {
    background-color: #32b66c;
}

.ios {
    background-color: #007aff;
}

.ios:hover {
    background-color: #0062cc;
}

/* Highlighted button style */
.download-btn.highlighted {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* 移除了推荐提示 */
.download-btn.highlighted::after {
    content: '';
    display: none;
}

@media (max-width: 768px) {
    .download-btn.highlighted::after {
        top: -15px;
        font-size: 0.6rem;
        padding: 2px 6px;
    }
}

/* 页脚 */
footer {
    text-align: center;
    padding: 20px 0;
    color: #777;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    main {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .app-info h2,
    .download-section h2 {
        font-size: 1.5rem;
    }

    .features {
        flex-direction: column;
    }

    .feature {
        margin-bottom: 15px;
    }

    /* Mobile-specific styles for fixed bottom buttons */
    .download-buttons {
        flex-direction: row;
        align-items: center;
        padding: 12px 10px;
    }

    .download-btn {
        margin-bottom: 0;
        width: auto;
        padding: 12px 10px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .download-btn img {
        width: 18px;
        height: 18px;
        margin-right: 5px;
    }

    /* Make the buttons more prominent on mobile */
    .download-btn.android {
        background-color: #3ddc84;
        box-shadow: 0 2px 5px rgba(61, 220, 132, 0.3);
    }

    .download-btn.ios {
        background-color: #007aff;
        box-shadow: 0 2px 5px rgba(0, 122, 255, 0.3);
    }

    /* Add a subtle bounce animation to draw attention */
    @keyframes subtle-bounce {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-3px);
        }
    }

    .download-buttons {
        animation: subtle-bounce 3s infinite;
    }
}

/* A
dditional styles for mobile fixed buttons */
.mobile-fixed {
    padding: 15px 10px !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
}

/* Add a subtle pulse effect to the buttons */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.mobile-fixed .download-btn {
    transition: all 0.3s ease;
}

.mobile-fixed .download-btn.highlighted {
    animation: pulse 2s infinite;
}

/* 移除了设备推荐提示 */
.mobile-fixed .download-btn.highlighted::before {
    content: '';
    display: none;
}