/* ========== 基础重置 ========== */
:root {
    --h5-page-width: 430px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: #000;
}

body.poster-mode {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.page {
    position: relative;
    width: min(100%, var(--h5-page-width));
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
}

.poster-page {
    position: relative;
    width: min(100%, var(--h5-page-width));
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
}

.poster-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.poster-download-hotspot {
    position: absolute;
    left: 25%;
    right: 25%;
    top: 84%;
    height: 8%;
    z-index: 2;
    display: block;
    text-decoration: none;
}

.bg-layer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(100%, var(--h5-page-width));
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ========== 背景层 (最底层) ========== */
.content-bg {
    position: absolute;
    inset: 0;
    /*background-image:   linear-gradient(180deg,rgba(122, 24, 24, 0.82) 0%,
        rgba(90, 18, 18, 0.82) 60%,
        rgba(58, 10, 10, 0.46) 100%);*/
}

/* ========== 顶部 Header (固定在最顶层) ========== */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    width: min(100%, var(--h5-page-width));
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-wrap {
    position: relative;
    width: 48px;
    height: 48px;
}

.logo {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.logo-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #E10000;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 4px;
    transform: rotate(-12deg);
    font-weight: bold;
}

.header-title {
    font-family: '086-SSYuanDunTiTi', -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.19em;
    color: #F50514;
    -webkit-text-stroke: 0.3px #fff;
}

.header-subtitle {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #FFFFFF;
}

/* 核心更正：单个下载按钮居中 */
.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.btn-header-download {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 4px;
    border: 2px solid #FFFFFF;
    filter: drop-shadow(0px 0px 14.6px #FFFFFF) drop-shadow(0px 0px 14.6px #FFFFFF);
    border-radius: 120px;
    color: #fff;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.btn-header-download .btn-icon {
    width: 16px;
    height: 16px;
}

.btn-download, .contact {
    display: none;
}

/* ========== 中间内容区 (侧边图 + 人物) ========== */
.content {
    position: relative;
    padding-top: 75px; /* 避开固定 Header */
    z-index: 1;
}


/* 侧边容器：确定整体位置 */
.side-container {
    position: absolute;
    /* 容器整体稍微靠上一点，给左边上移留出空间 */
    top: 20%; 
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    z-index: 1;
    pointer-events: none;
}

.content-left, .content-right {
    width: 38%; /* 宽度保持 */
    opacity: 0.75;
}

/* ========== 左边配置 ========== */
.content-left {
    /* 1. 向上移动，造成“上移一张图”的视觉感 */
    margin-top: 10px; 
    
    transform: matrix(0.98, 0.22, -0.02, 1, 0, 0);

    /* 2. 强力遮罩：只显示前 70% (前3张)，切断第4张防止漏出 */
    /* 这里的 70% 是关键，数值越小切得越多 */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 60%);
    mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 60%);
}

/* ========== 右边配置 ========== */
.content-right {
    /* 3. 核心对齐：Right第1张 对齐 Left第2张 */
    /* 这个数值 = 左图一张小图的高度 + 左边上移的距离 */
    /* 你需要根据图片实际高度微调这个值，比如 60px 或 80px */
    margin-top: 100px; 
    
    transform: matrix(0.97, -0.25, -0.02, 1, 0, 0);

    /* 右边也加上同样的遮罩，隐藏它的第4张，保持对称 */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 75%);
    mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 75%);
}

.content-left img, .content-right img {
    width: 100%;
    height: auto;
    display: block;
}

/* 主体人物和按钮 */
.main-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.content-girl {
    width: 95%;
    max-width: 430px;
    margin-top: -20px;
}

.content-girl img { width: 100%; height: auto; display: block; }

.content-sublogo {
    margin: 0;
    font-size: 45px;
    line-height: 1.05;
    font-weight: 500;
    color: #ff1010;
    letter-spacing: 6px;
    font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
    -webkit-text-stroke: 4px #ffffff;
    text-shadow:
        0 0 2px #ffffff,
        0 0 4px #ffffff,
        0 0 6px #ffffff,
        0 2px 0 rgba(255, 255, 255, 0.95),
        0 4px 8px rgba(0, 0, 0, 0.18);

    paint-order: stroke fill;
}

.content-sublogo img { width: 100%; height: auto; }

.hero-bottom{
    margin-top: -50px;
}
.hero-tabs {
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px;
    margin: 14px 0 18px;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 44px;
    padding: 0 26px;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.hero-tab-text {
    display: inline-block;
    transform: skewX(-10deg);
    transform-origin: center;
}

.hero-tab-red {
    color: #ffffff;
    background: linear-gradient(180deg, #ff6a73 0%, #ff2033 48%, #d90012 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22);
}

.hero-tab-white {
    color: #111111;
    background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}


.hero-tab-white {
    position: relative;
    border-radius: 0 999px 999px 0;

}

/* 👇关键：做中间圆角过渡 */
.hero-tab-white::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 0;
    width: 36px;
    height: 100%;
    border-radius: 999px;

    /* 要跟白色背景一致 */
    background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%);
}

/* ===== 大标题 ===== */
.hero-title {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
    font-size: 92px;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff6d8;
    -webkit-text-stroke: 8px #ff1732;
    paint-order: stroke fill;
    text-shadow:
        0 2px 0 rgba(255, 255, 255, 0.30),
        0 6px 12px rgba(0, 0, 0, 0.12);
}

.hero-title span {
    display: inline-block;
    padding-left: 10px;
}

/* ===== 副标题 ===== */
.hero-desc {
    margin: 12px 0 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #f5ddb0;
    transform: skewX(-10deg);
    transform-origin: center;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.18);
}

/* ===== VIP 区 ===== */
.hero-vip {
    display: flex;
    justify-content: center;
    align-items: center;
}



.hero-desc-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.hero-desc {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #f5ddb0;
    transform: skewX(-10deg);
    transform-origin: center;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
}

.hero-vip {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.hero-vip img {
    display: block;
    width: auto;
    height: 72px;
    max-width: none;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
   

    .hero-title {
        font-size: 38px;
        -webkit-text-stroke: 3px #ff1732;
        letter-spacing: 1px;
    }

    .hero-desc {
        font-size: 20px;
    }

    .hero-vip img {
        max-width: 120px;
    }
}

/* 立即下载：精准对准 Girl 底部 */
.content-download {
    margin-top: 5px; /* 负边距让按钮贴合 Girl 底部 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 20;
}

/* ========== 下载按钮特效 ========== */
/* 立即下载按钮容器 */
.download-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 62px;
    padding: 0 40px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #E60123 0%, #F73E49 100%);
    text-decoration: none;
    cursor: pointer;
}

/* 按钮文字样式 */
.download-btn-text {
    position: relative;
    z-index: 5;
    font-size: 24px;
    font-weight: bold;
    color: #fff1dc;
    letter-spacing: 2px;
}

/* 交互效果：点击缩小 */
.download-btn:active {
    transform: scale(0.95);
    opacity: 0.9;
}

.top-tips {
    background: #fff4d8;
    color: #ff7a00;
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
}

.footer-tips p { color: #fff; font-size: 12px; margin-top: 4px; opacity: 0.9; }
.tip-ios .ios-tip-guide { cursor: pointer; text-decoration: underline; }

/* ========== Android 报毒弹窗 ========== */

.android-modal {

    position: fixed;

    top: 0;
    bottom: 0;
    left: 50%;
    width: min(100%, var(--h5-page-width));
    transform: translateX(-50%);

    background: #fff;

    z-index: 9999;

    display: none;

    flex-direction: column;

}



.android-modal .header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 12px 16px;

    background: #fff;

    border-bottom: 1px solid #f0f0f0;

}



.android-modal-arrow {

    width: 24px;

    height: 24px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

}



.android-modal-arrow::before {

    content: '←';

    font-size: 24px;

    color: #333;

}



.android-modal .title {

    font-size: 16px;

    font-weight: 600;

    color: #333;

}



.android-modal .content {

    flex: 1;

    overflow-y: auto;

    -webkit-overflow-scrolling: touch;

}



.android-modal .list {

    padding: 12px;

}



.platform-item {

    margin-bottom: 12px;

    cursor: pointer;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

}



.platform-item img {

    width: 100%;

    display: block;

}



.contentAnser {

    display: none;

    padding: 16px;

}



.contentAnser .pic {

    margin-bottom: 16px;

}



.contentAnser .pic img {

    width: 100%;

    border-radius: 8px;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);

}

/* ========== 安装引导整页 (iOS 描述文件，整页展示非弹窗) ========== */
.installGuide-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(100%, var(--h5-page-width));
    transform: translateX(-50%);
    z-index: 999999;
    overflow-y: auto;
    background: #fff;
    box-sizing: border-box;
}
.installGuide-container {
    width: 100%;
    min-height: 100%;
    background: #fff;
}
.installGuide-container .header {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #007AFF 0%, #5AC8FA 100%);
    padding: 12px 16px 0;
}
.installGuide-container .titleBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.installGuide-container .titleImg {
    width: 22px;
    height: 22px;
    cursor: pointer;
    opacity: 0.9;
}
.installGuide-container .title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.installGuide-container .tutsBg {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 0;
}
.installGuide-container .download {
    padding: 16px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.installGuide-container .dlBtns {
    margin: 12px 0;
}
.installGuide-container .linkBtn {
    width: 100%;
    padding: 12px 20px;
    background: #007AFF;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}
.installGuide-container .note {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
}
.installGuide-container .iosSection {
    padding: 0 16px 20px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}
.installGuide-container .iosSection > div {
    margin-bottom: 12px;
}
.installGuide-container .iosSection img {
    width: 100%;
    border-radius: 8px;
    margin-top: 6px;
    display: block;
}


/* ========== 下载记录表格样式 ========== */
.record-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.type-auto-apk {
    background: #E3F2FD;
    color: #1976D2;
}

.type-manual-apk {
    background: #F3E5F5;
    color: #7B1FA2;
}

.type-auto-apple-profile {
    background: #E8F5E9;
    color: #388E3C;
}

.type-manual-apple-profile {
    background: #FFF3E0;
    color: #F57C00;
}

.record-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-started {
    background: #FFF3E0;
    color: #F57C00;
}

.status-completed {
    background: #E8F5E9;
    color: #388E3C;
}

.record-url, .record-ua {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ========== 分页样式 ========== */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    gap: 16px;
}

.pagination-info {
    font-size: 14px;
    color: #666;
    flex: 1;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-controls .btn {
    padding: 6px 12px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-controls .btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #999;
}

.pagination-controls .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 4px;
}

.page-number {
    display: inline-block;
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.page-number:hover {
    background: #f5f5f5;
    border-color: #999;
}

.page-number.active {
    background: #FF6BB1;
    color: #fff;
    border-color: #FF6BB1;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.records-table thead {
    background: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

.records-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
}

.records-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.records-table tbody tr:hover {
    background: #fafafa;
}

.empty-row {
    text-align: center;
}

.empty-state {
    padding: 40px 12px;
    color: #999;
    font-size: 14px;
}

.table-container {
    overflow-x: auto;
}


/* ========== 过滤表单样式 ========== */
.filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 1 auto;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #FF6BB1;
    box-shadow: 0 0 0 2px rgba(255, 107, 177, 0.1);
}

.filter-group input[type="date"] {
    min-width: 150px;
}

.filter-group input[type="text"] {
    min-width: 250px;
}

.filter-group select {
    min-width: 150px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: #FF6BB1;
    color: #fff;
}

.btn-primary:hover {
    background: #FF5A9F;
    box-shadow: 0 2px 8px rgba(255, 107, 177, 0.3);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e8e8e8;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.form-control {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: #333;
}

.form-control:focus {
    outline: none;
    border-color: #FF6BB1;
    box-shadow: 0 0 0 2px rgba(255, 107, 177, 0.1);
}
