* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
}

.container {
    width: 100%;
    max-width: 700px;
    position: relative;
}

.app-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
}

.gradient-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #ff8c42);
}

.app-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.app-icon-img {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.app-info {
    text-align: center;
    margin-bottom: 40px;
}

.app-name {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 18px;
}

.version-info {
    font-size: 15px;
    color: #888888;
    margin-bottom: 12px;
}

.size-info {
    font-size: 14px;
    color: #888888;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.separator {
    color: #888888;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 35px;
}

.btn {
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: keep-all;
}

.btn-blue {
    background: #f0f8ff;
    color: #4a90e2;
    border: 1px solid #e0eef8;
}

.btn-blue:hover {
    background: #e8f4f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.btn-blue:active {
    transform: translateY(0);
}

.btn-green {
    background: linear-gradient(90deg, #4ade80, #22c55e);
    color: #ffffff;
    font-weight: 600;
}

.btn-green:hover {
    background: linear-gradient(90deg, #3dd16f, #16a34a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.btn-green:active {
    transform: translateY(0);
}

.disclaimer {
    font-size: 12px;
    color: #666666;
    text-align: center;
    line-height: 1.6;
}

.disclaimer-link {
    color: #4a90e2;
    text-decoration: none;
}

.disclaimer-link:hover {
    text-decoration: underline;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close:hover,
.close:focus {
    color: #000000;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #333333;
    font-size: 20px;
}

.modal-body h3 {
    margin: 15px 0 10px 0;
    color: #333333;
    font-size: 16px;
}

.modal-body ol {
    margin-left: 20px;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555555;
}

.modal-body li {
    margin-bottom: 8px;
}

.note {
    background: #fff3cd;
    padding: 12px;
    border-radius: 8px;
    color: #856404;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 15px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .app-card {
        padding: 30px 15px;
        border-radius: 16px;
    }
    
    .app-name {
        font-size: 20px;
    }
    
    .app-icon-img {
        width: 110px;
        height: 110px;
    }
    
    .btn {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .modal-content {
        margin: 15% auto;
        padding: 25px 20px;
    }
}

@media (max-width: 360px) {
    .app-name {
        font-size: 18px;
    }
    
    .version-info,
    .size-info {
        font-size: 12px;
    }
    
    .btn {
        font-size: 13px;
        padding: 11px 16px;
    }
}
