﻿/* 夏新手表 - 应用下载页样式（外部文件，避免 DCMS 编辑器转义正文内样式） */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background: #f8f9fa;
}

.dcms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dcms-header {
    background: #2c3e50;
    color: white;
    padding: 15px 0;
    text-align: center;
    border-radius: 5px 5px 0 0;
    margin-bottom: 20px;
}

.dcms-content {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 20px;
}

.app-section {
    text-align: center;
    padding: 20px 0;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: bold;
}

.app-description {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 16px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 50px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
}

.ios-btn {
    background: #007AFF;
}

.android-btn {
    background: #3DDC84;
}

.dcms-footer {
    text-align: center;
    padding: 20px 0;
    color: #7f8c8d;
    font-size: 14px;
    border-top: 1px solid #eaeaea;
    margin-top: 30px;
}

/* ===== 微信提示：云朵对话气泡 ===== */
/* 云朵图形以内嵌 SVG 背景图绘制，编辑器无法破坏 */

.wechat-mask {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: flex-end;  /* 气泡右对齐：贴近右上角"···"隐藏菜单 */
    padding: 0vh 0px 0 0;
}

.wechat-tip {
    position: relative;
    width: 306px;
    height: 162px;
    /* 云朵改为一条连续 cubic-bezier 路径：3 个顶部鼓包用连续曲线串成一体
       （不再用独立的椭圆+三个分立圆，杜绝"王冠"观感）；
       底部也改为微凹弧线（不再平直），整体像云朵剪影。
       云朵真实视觉中心约在容器 (50%, 60%) */
/* 云朵改为不对称自然形态：打破对称，底部增加不规则微凹凸起伏 */
/* 云朵缩小、紧凑化，打破对称 */
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 140'%3E%3Cpath d='M 45 95 C 25 80 35 40 80 45 C 100 25 150 35 160 60 C 185 45 215 55 205 85 C 220 95 210 120 185 120 C 155 130 105 125 75 120 C 55 125 40 110 45 95 Z' fill='%23ffffff' stroke='%23222222' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cg fill='%23ffffff' stroke='%23222222' stroke-width='2'%3E%3Ccircle cx='190' cy='30' r='7'/%3E%3Ccircle cx='210' cy='18' r='5'/%3E%3Ccircle cx='222' cy='8' r='3'/%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;

.tip-text {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    width: 200px;
    font-size: 13px;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .dcms-container {
        padding: 10px;
    }

    .dcms-content {
        padding: 20px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .download-btn {
        width: 100%;
        max-width: 240px;
        height: 44px;
        font-size: 15px;
    }
}
