/* style.css - 完整样式文件 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #fff;
    line-height: 1.5;
    color: #333;
    overflow-x: hidden;
}

.page {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 20px;
}

/* 顶部区域样式 */
.top-view {
    width: 100%;
    position: relative;
    color: #fff;
}

.top-view-img {
    width: 100%;
    display: block;
}

.top-view-body {
    position: absolute;
    left: 5%;
    top: 10%;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.icon-safari {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin: 0 5px;
}

/* 主要内容区域 */
.mian-view {
    width: 95%;
    margin: 15px auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.mian-view-title {
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 20px;
    color: #183DD9;
}

.mian-view-tip {
    width: 48%;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.mian-view-download {
    width: 48%;
}

.mian-view-download img {
    width: 100%;
    border-radius: 8px;
}

/* 底部卡片区域 */
.floor {
    width: 95%;
    margin: 20px auto 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.floor-item {
    width: 32%;
    margin-bottom: 15px;
    border-radius: 8px;
    background: rgba(239, 244, 255, 1);
    border: 1px solid rgba(151, 151, 151, 0.3);
    position: relative;
    padding-top: 15px;
}

.floor-item-title {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
}

.floor-item-title-bg {
    background: linear-gradient(263deg, rgba(187, 207, 246, 0.5) 0%, rgba(103, 142, 254, 0.5) 100%);
    color: #183DD9;
    font-size: 12px;
    padding: 3px 0;
    border-radius: 8px;
}

.floor-item-body {
    padding: 10px;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

/* 弹窗样式 - 蓝色主题 */
.dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.dialog-body {
    width: 80%;
    max-width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: dialogShow 0.3s ease;
}

.dialog-header {
    padding: 15px;
    background: #0e8bf9; /* 主蓝色 */
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.dialog-content {
    padding: 20px 15px;
    text-align: center;
    font-size: 15px;
    color: #333;
}

.countdown {
    color: #0e8bf9; /* 主蓝色 */
    font-weight: bold;
    margin: 0 3px;
}

.dialog-footer {
    display: flex;
    border-top: 1px solid #eee;
}

.dialog-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-size: 16px;
    color: #8c8c8c; /* 次要按钮颜色 */
    cursor: pointer;
}

.dialog-btn-primary {
    color: #0e8bf9; /* 主蓝色 */
    font-weight: 500;
}

.dialog-btn + .dialog-btn {
    border-left: 1px solid #eee;
}

/* 动画效果 */
@keyframes dialogShow {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}