/* ============================================
   问鼎全球 荣耀集赞 - 基于Figma设计稿重构
   设计稿尺寸: 375px × 全高
   ============================================ */

/* ===== 重置样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Figma背景渐变: #ff1c14 0% → #ba0c06 31.41% */
    background: linear-gradient(to bottom, #ff1c14 0%, #ba0c06 31.41%);
    background-attachment: fixed;
    color: #333;
}

/* ===== Slogan样式 - 已移除 ===== */

/* ===== 主容器 ===== */
.page-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* ===== Hero区域 - 高度387px ===== */
.hero-section {
    width: 100%;
    height: 387px;
    background: linear-gradient(135deg, #C8102E 0%, #8B0000 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

/* Hero装饰图 */
.hero-decoration {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/* ===== 内容区域 - 左右16px边距 ===== */
.content-wrapper {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    padding: 0 16px 40px;
    position: relative;
}

/* ===== 业务员卡片 - 按Figma设计稿重构 ===== */
.agent-card {
    /* Frame 14 */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    
    width: 100%;
    max-width: 343px;
    height: 196px;
    margin: -60px auto 16px;
    
    background: linear-gradient(237.72deg, #FFDCCE 0%, #FFFFFF 99.17%);
    border: 2px solid #EF8C7B;
    border-radius: 12px;
    
    position: relative;
    z-index: 10;
}

/* 卡片标题：我正在为公司助力 */
.card-title {
    width: 112px;
    height: 20px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    
    color: #CC3713;
    
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 0;
}

/* 内容区域 Frame 13 */
.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    
    width: 303px;
    height: 120px;
    
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* 当前助力人信息 Frame 9 */
.supporter-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 13px;
    
    width: 145px;
    height: 48px;
    
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* 助力人头像 Ellipse 54 */
.supporter-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* 助力人详情 Frame 8 */
.supporter-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;
    
    width: 84px;
    height: 41px;
    
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* 助力人名称 */
.supporter-name {
    width: 84px;
    height: 20px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    
    color: #5A1200;
    
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin: 0;
    
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 助力人标签 */
.supporter-label {
    width: 84px;
    height: 17px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    
    color: #A74E0A;
    
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    margin: 0;
}

/* 分割线 Line 1 */
.divider {
    width: 303px;
    height: 0px;
    border: 1px solid rgba(224, 57, 70, 0.1);
    
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* 被支持公司信息 Frame 10 */
.company-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 13px;
    
    width: 229px;
    height: 48px;
    
    flex: none;
    order: 2;
    flex-grow: 0;
}

/* 公司头像 Ellipse 53 */
.company-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* 公司详情 Frame 8 */
.company-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;
    
    width: 168px;
    height: 41px;
    
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* 公司名称 */
.company-name {
    width: 168px;
    height: 20px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    
    color: #5A1200;
    
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 0;
    
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 公司标签 */
.company-label {
    width: 168px;
    height: 17px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    
    color: #A74E0A;
    
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    margin: 0;
}

/* ===== 服务宣言卡片 - 按Figma设计稿重构 (Group 61) ===== */
.service-card {
    box-sizing: border-box;
    position: relative;
    width: 343px;
    min-height: 349px;
    margin: 0 auto 16px;
    
    background: linear-gradient(180deg, #FFF1D8 36.48%, #FEEAC5 100%);
    border: 1px solid #F5DAA9;
    border-radius: 12px;
    overflow: hidden;
    
    flex: none;
    order: 2;
    flex-grow: 0;
}

/* 底部背景图 image 57 */
.service-bg {
    position: absolute;
    width: 341px;
    height: 97px;
    left: 1px;
    bottom: 0;
    
    object-fit: cover;
    border-radius: 11px;
    z-index: 0;
}

/* 顶部渐变遮罩 Rectangle 12 */
.service-card::before {
    content: '';
    position: absolute;
    width: 341px;
    height: 100%;
    left: 1px;
    top: 0;
    
    background: linear-gradient(180deg, rgba(254, 234, 197, 0.7) 75.57%, rgba(255, 241, 216, 0) 100%);
    border-radius: 12px;
    z-index: 1;
}

/* 标题：截止2026年2月，XX支公司 */
.service-header {
    position: absolute;
    width: auto;
    max-width: 309px;
    height: 20px;
    left: 17px;
    top: 16px; /* 573px - 557px = 16px */
    z-index: 2;
}

.service-header span {
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #5A1100;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

/* 统计信息卡片 Rectangle 33 */
.service-stats-card {
    position: absolute;
    width: 309px;
    height: 108px;
    left: 17px;
    top: 48px; /* 605px - 557px = 48px */
    
    background: #FEF8F1;
    border-radius: 8px;
    z-index: 2;
    
    padding: 12px;
    box-sizing: border-box;
}

/* 统计行 Group 60 */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 28px;
}

.stat-row:not(:last-child) {
    margin-bottom: 2px;
}

/* 统计标签 */
.stat-label {
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #8B4209;
}

/* 统计值 */
.stat-value {
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: right;
    color: #5A1200;
}

/* 服务宣言图标容器 Group 10 */
.service-icon {
    position: absolute;
    width: 132px;
    height: 38px;
    left: 17px;
    top: 172px; /* 729px - 557px = 172px */
    z-index: 2;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

/* 圆形装饰 - 4个圆 Ellipse 55-58 */
.service-circle {
    box-sizing: border-box;
    width: 38px;
    height: 38px;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #FFFFFF;
    
    position: relative;
    margin-left: -7px;
}

.service-circle:first-child {
    margin-left: 0;
}

/* 实心圆 - 奇数 Ellipse 55, 57 */
.service-circle.solid {
    background: linear-gradient(270deg, #FF843F 0%, #F6330C 100%);
}

/* 半透明圆 - 偶数 Ellipse 56, 58 */
.service-circle.transparent {
    background: linear-gradient(180deg, rgba(255, 102, 0, 0.5) 0%, rgba(255, 201, 126, 0.5) 100%);
    backdrop-filter: blur(2.1px);
}

/* 服务宣言文本 */
.service-content {
    position: absolute;
    width: 301px;
    min-height: 60px;
    max-height: 100px;
    left: 21px;
    top: 226px; /* 783px - 557px = 226px */
    z-index: 2;
    overflow-y: auto;
}

.service-content p {
    width: 301px;
    min-height: 60px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    
    color: #5A1100;
    margin: 0;
    word-wrap: break-word;
    word-break: break-word;
}
.service-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* 统计数值 */
.service-stat-value {
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    
    color: #5A1200;
    margin: 0;
}

/* 统计标签 */
.service-stat-label {
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    
    color: #7A7979;
    margin: 0;
}

/* ===== 支公司风采展示 - 按Figma设计稿重构 ===== */
/* Group 34 - Rectangle 4 */
.branch-showcase {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 343px;
    height: 329px;
    margin: 0 auto 16px;
    
    background: linear-gradient(237.72deg, #FDF1E2 0%, #FFFFFF 99.17%);
    border: 2px solid #FFC088;
    border-radius: 12px;
    
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* 轮播图片区域 Rectangle 5 */
.carousel-container {
    position: absolute;
    width: 311px;
    height: 148px;
    left: 16px;
    top: 16px;
    
    background: #EDEDF0;
    border-radius: 8px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 148px;
}

.carousel-item img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    display: block;
}

/* 状态标签 Frame 15 */
.status-badge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    gap: 10px;
    
    position: absolute;
    width: 108px;
    height: 25px;
    left: 209px;
    top: 129px;
    
    background: #EA445B;
    border-radius: 20px;
    z-index: 5;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    color: #FDF8E2;
}

/* 统计数据区域 */
.branch-stats {
    position: absolute;
    width: 311px;
    left: 16px;
    top: 180px;
    
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-item {
    width: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* 统计数值 - 3,286 / 12,680 / NO.1 */
.stat-value {
    width: 84px;
    height: 28px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    
    color: #5A1200;
    margin: 0;
}

/* 排名数值 - 渐变色 NO.1 */
.stat-value.ranking {
    background: linear-gradient(180deg, #EA445B 0%, #FF9754 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 统计标签 - 点赞总人数 / 累计总票数 / 当前排名 */
.stat-label {
    width: 84px;
    height: 17px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    
    color: #8B4209;
    margin: 0;
}

/* 点赞按钮区域 Group 8 / Frame 16 */
.vote-button-wrapper {
    position: absolute;
    width: 311px;
    height: 56px;
    left: 16px;
    top: 249px;
}

.vote-btn-showcase {
    position: relative;
    width: 311px;
    height: 56px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* 按钮背景图 - 使用button.svg */
.vote-btn-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/button.png') no-repeat center center;
    background-size: contain;
    z-index: 0;
}

/* 按钮文字 - 为公司点赞·共赴问鼎 - 完全居中 */
.btn-text-showcase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    white-space: nowrap;
    
    color: #000000;
    pointer-events: none;
    z-index: 1;
}

/* 轮播按钮 - 默认隐藏 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* 默认隐藏 */
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    z-index: 5;
    transition: all 0.2s;
}

/* 当有多张图片时显示 */
.branch-showcase.has-multiple-images .carousel-btn {
    display: flex;
}

.carousel-btn:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

/* 轮播指示器 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ===== 排行榜卡片 - 按Figma设计稿重构 ===== */
/* Group 25 */
.ranking-card {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 343px;
    min-height: 212px;
    height: auto;
    margin: 0 auto 16px;
    padding-bottom: 20px;
    
    background: linear-gradient(237.72deg, #FDF1E2 0%, #FFFFFF 99.17%);
    border: 2px solid #FFC088;
    border-radius: 12px;
    
    flex: none;
    order: 3;
    flex-grow: 0;
}

/* 标题区域 Group 11 / Frame 427319261 */
.ranking-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0px;
    gap: 10px;
    
    position: absolute;
    width: 125px;
    height: 20px;
    left: 16px;
    top: 20px;
}

/* 标题装饰条 Rectangle 8 */
.ranking-header::before {
    content: '';
    width: 3px;
    height: 15px;
    background: #F74014;
    border-radius: 2.5px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* 标题文字 */
.ranking-title {
    width: 112px;
    height: 20px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    
    color: #5A1200;
    margin: 0;
    
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* 排行榜列表容器 Frame 427319259 */
.ranking-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    
    position: relative;
    width: 311px;
    min-height: 132px;
    height: auto;
    left: 16px;
    margin-top: 56px;
}

/* 排行榜项 Frame 427319257/258/259/260 */
.ranking-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    gap: 137px;
    
    width: 311px;
    height: 21px;
    
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

/* 左侧信息 Frame 427319255 */
.ranking-left {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding: 0px;
    gap: 12px;
    
    width: auto;
    height: 21px;
    
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* 排名数字 */
.rank-number {
    width: 18px;
    height: 21px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 21px;
    text-align: center;
    
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 0;
}

/* Figma排名颜色 */
.rank-number.rank-1 { color: #FF0036; }
.rank-number.rank-2 { color: #F57D1E; }
.rank-number.rank-3 { color: #FC9611; }
.rank-number.rank-other { color: #A2A2A2; }

/* 支公司名称 */
.rank-name {
    min-width: 70px;
    height: 20px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    
    display: flex;
    align-items: center;
    
    color: #303030;
    
    flex: none;
    order: 1;
    flex-grow: 0;
    margin: 0;
    
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 票数 */
.rank-votes {
    min-width: 38px;
    height: 20px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    
    color: #F73A10;
    
    flex: none;
    order: 1;
    flex-grow: 0;
    margin: 0;
}

/* ===== 点赞按钮区域 ===== */
.vote-section {
    width: 100%;
    max-width: 343px;
    margin: 0 auto 16px;
    text-align: center;
}

.vote-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #ff0036 0%, #f57d1e 100%);
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255,0,54,0.3);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.vote-btn .btn-icon {
    width: 32px;
    height: 32px;
    display: block;
    object-fit: contain;
}

.vote-btn .btn-text {
    position: relative;
    z-index: 2;
}

.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,0,54,0.4);
}

.vote-btn:active {
    transform: translateY(0);
}

.vote-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.vote-btn:hover::before {
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.vote-tip {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    margin-top: 12px;
}

/* ===== 底部装饰 - 100%宽度，无左右间距 ===== */
.footer-decoration {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.footer-decoration img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.vote-tip {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    margin-top: 12px;
}

/* ===== 活动规则 ===== */
.rules-section {
    width: 100%;
    max-width: 343px;
    margin: 0 auto 16px;
    padding: 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    display: none; /* 隐藏活动规则 */
}

.rules-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    font-size: 13px;
    color: #666;
    line-height: 24px;
    padding-left: 16px;
    position: relative;
}

.rules-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff0036;
    font-weight: 700;
}

/* ===== 弹窗样式 ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

/* ===== 手机号验证弹窗 - Group 56 - 按Figma设计稿精确定位 ===== */
.phone-modal {
    position: relative;
    z-index: 1001;
    /* Figma: 弹窗尺寸 291px × 352px */
    width: 291px;
    height: 352px;
    border-radius: 16px;
    /* Figma: 外层渐变 Rectangle 9 */
    background: linear-gradient(180.07deg, #B30504 0.06%, #E13C1F 69.17%, #BA0E0C 96.54%);
    overflow: visible;
}

/* Mask group - 内层红色渐变背景 - Figma: left:42px, top:264px, 291px × 318px */
.phone-modal::after {
    content: '';
    position: absolute;
    width: 291px;
    height: 318px;
    left: 0;
    top: 34px; /* 264px - 230px = 34px */
    background: url('../assets/Mask group-hongbao.png') no-repeat center center;
    background-size: cover;
    border-radius: 16px;
    z-index: 0;
}

/* 装饰图片容器 */
.phone-modal-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

/* 装饰图片 - 按 Figma 精确定位（相对于弹窗容器 left:42px, top:230px） */
.decoration-img {
    position: absolute;
    display: block;
}

/* image 37 - 左上角装饰 (98px × 97px) - Figma: left:42px, top:230px */
.decoration-37 {
    width: 98px;
    height: 97px;
    left: 0;
    top: 0;
    border-radius: 18px;
}

/* image 39 - 右上角装饰 (37px × 37px) - Figma: left:286px, top:236px */
.decoration-39 {
    width: 37px;
    height: 37px;
    left: 244px; /* 286 - 42 = 244 */
    top: 6px; /* 236 - 230 = 6 */
}

/* image 40 - 中间装饰 (37px × 37px) - Figma: left:188px, top:242px */
.decoration-40 {
    width: 37px;
    height: 37px;
    left: 146px; /* 188 - 42 = 146 */
    top: 12px; /* 242 - 230 = 12 */
}

/* image 38 - 右侧装饰 (69px × 97px) - Figma: left:264px, top:308px */
.decoration-38 {
    width: 69px;
    height: 97px;
    left: 222px; /* 264 - 42 = 222 */
    top: 78px; /* 308 - 230 = 78 */
}

/* image 30 - 底部装饰 (341px × 203px) - Figma: left:16px, top:387px */
.decoration-30 {
    width: 341px;
    height: 203px;
    left: -26px; /* 16 - 42 = -26 */
    top: 157px; /* 387 - 230 = 157 */
}

/* Frame 427319284 - 左下角装饰容器 (56px × 101px) - Figma: left:42px, top:389px */
.decoration-frame-427319284 {
    position: absolute;
    width: 56px;
    height: 101px;
    left: 0;
    top: 159px; /* 389 - 230 = 159 */
    background: url('../assets/Frame 427319284.png') no-repeat center center;
    background-size: contain;
    z-index: 3;
}

/* image 42 - 左下角装饰 (51px × 91px) - 在 Frame 427319284 内部 */
.decoration-42 {
    width: 51px;
    height: 91px;
    left: 0;
    top: 159px; /* 389 - 230 = 159 */
    transform: matrix(-0.96, 0.27, 0.27, 0.96, 0, 0);
    transform-origin: left top;
}

/* image 41 - 右上角装饰 (51px × 91px) - Figma: left:282px, top:230px */
.decoration-41 {
    width: 51px;
    height: 91px;
    left: 240px; /* 282 - 42 = 240 */
    top: 0;
    border-radius: 16px;
}

/* 内容区域 - Rectangle 32 - Figma: left:58px, top:254px, 259px × 241px */
.phone-modal .modal-inner {
    position: absolute;
    left: 16px; /* 58 - 42 = 16 */
    top: 24px; /* 254 - 230 = 24 */
    width: 259px;
    height: 241px;
    z-index: 2;
    
    /* Figma: 内层渐变 */
    background: linear-gradient(180deg, #FCFDFE 2.1%, #FAD8D6 73.22%);
    border-radius: 12px;
    padding: 0;
}

/* 标题 - 请输入手机号后六位 - Figma: left:116px, top:312px */
.phone-modal-title {
    position: absolute;
    width: 144px;
    height: 22px;
    left: 50%;
    top: 58px; /* 312 - 254 = 58 */
    transform: translateX(-50%);
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    
    /* Figma: #72330C */
    color: #72330C;
    margin: 0;
}

/* 副标题 - 仅用于校验投票资格 - Figma: left:134px, top:346px */
.phone-modal-subtitle {
    position: absolute;
    width: 108px;
    height: 17px;
    left: 50%;
    top: 92px; /* 346 - 254 = 92 */
    transform: translateX(-50%);
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    
    /* Figma: #F04515 */
    color: #F04515;
    margin: 0;
}

/* 手机图标和输入框容器 - Frame 427319285 - Figma: left:93px, top:379px */
.phone-input-container {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 6px;
    width: 189.47px;
    height: 28px;
    left: 35px; /* 93 - 58 = 35 */
    top: 125px; /* 379 - 254 = 125 */
}

/* 手机图标 - 21.47px × 28px */
.phone-icon {
    width: 21.47px;
    height: 28px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* 6个独立输入框容器 - Frame 427319286 */
.phone-inputs {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 6px;
    width: 162px;
    height: 22px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* 单个输入框 - 22px × 22px */
.phone-digit {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.01);
    border: 0.5px solid #B50705;
    border-radius: 3px;
    text-align: center;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    color: #71330C;
    
    outline: none;
    transition: all 0.2s;
    flex: none;
    flex-grow: 0;
}

.phone-digit:focus {
    border-color: #E20E0D;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 4px rgba(226, 14, 13, 0.3);
}

/* 确认按钮 - Group 16 - Figma: left:58px, top:511px, 259px × 48px */
.phone-modal-btn {
    position: absolute;
    width: 259px;
    height: 48px;
    /* left: 16px; */ /* 58 - 42 = 16 */
    top: 261px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    
    background: url('../assets/identifydianzan.svg') no-repeat center center;
    background-size: contain;
    border: none;
    cursor: pointer;
    padding: 0;
    
    /* 文字样式 - 确认点赞 - Figma: left:160px, top:525px */
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #E20E0D;
    
    /* 水平垂直居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    
    transition: all 0.2s;
}

.phone-modal-btn:hover {
    transform: translateX(-50%) translateY(-1px);
    filter: brightness(1.05);
}

.phone-modal-btn:active {
    transform: translateX(-50%) translateY(0);
    filter: brightness(0.95);
}

/* 通用modal样式 */
.modal-content {
    position: relative;
    z-index: 1001;
    width: 291px;
    border-radius: 16px;
    background: linear-gradient(180deg, #b30504 0%, #e13c1f 69.172%, #ba0e0c 96.542%);
    padding: 16px;
}

.modal-inner {
    background: linear-gradient(to bottom, #fcfdfe 2.101%, #fad8d6 73.219%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #72330c;
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* ===== 红包弹窗 - Frame 427319283 - 按Figma设计稿 ===== */
.lottery-modal {
    position: relative;
    z-index: 1001;
    /* Figma: 弹窗尺寸 291px × 404px */
    width: 291px;
    height: 404px;
    border-radius: 16px;
    padding: 0;
    
    /* Rectangle 9 - 外层渐变 */
    background: linear-gradient(180.07deg, #B30504 0.06%, #E13C1F 69.17%, #BA0E0C 96.54%);
    
    /* Mask group - 叠加渐变 */
    position: relative;
    overflow: hidden;
}

/* Mask group - 叠加渐变层 */
.lottery-modal::before {
    content: '';
    position: absolute;
    width: 291px;
    height: 318px;
    left: 0;
    top: 34px;
    background: url('../assets/Mask group-hongbao.png') no-repeat center center;
    background-size: cover;
    border-radius: 16px;
    z-index: 0;
}

/* Rectangle 12 - 内层渐变 */
.lottery-modal::after {
    content: '';
    position: absolute;
    width: 291px;
    height: 404px;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, #EF3F10 0%, #FB8B4E 13.23%, #EF2C0E 100%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    z-index: 0;
}

/* Group 21 - 装饰图片容器 */
.lottery-decorations {
    position: absolute;
    width: 308.42px;
    height: 404px;
    left: -17.42px;
    top: 0;
    z-index: 1;
    pointer-events: none;
}

/* 装饰图片占位 */
.decoration-img {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
}

/* image 37 - 左上角 */
.decoration-37 {
    width: 98px;
    height: 97px;
    left: 17.42px;
    top: 0;
    border-radius: 18px;
    background: url('../assets/image 37.png') no-repeat center center;
    background-size: contain;
}

/* image 39 - 右上角小 */
.decoration-39 {
    width: 37px;
    height: 37px;
    left: 261.42px;
    top: 6px;
    background: url('../assets/image-39.png') no-repeat center center;
    background-size: contain;
}

/* image 40 - 中上 */
.decoration-40 {
    width: 37px;
    height: 37px;
    left: 163.42px;
    top: 12px;
    background: url('../assets/image-40.png') no-repeat center center;
    background-size: contain;
}

/* image 38 - 右侧 */
.decoration-38 {
    width: 69px;
    height: 97px;
    left: 239.42px;
    top: 78px;
    background: url('../assets/image 38.png') no-repeat center center;
    background-size: contain;
}

/* image 41 - 右上角长条 */
.decoration-41 {
    width: 51px;
    height: 91px;
    left: 257.42px;
    top: 0;
    border-radius: 16px;
    background: url('../assets/image 41.png') no-repeat center center;
    background-size: contain;
}

/* image 42 - 左侧旋转 */
.decoration-42 {
    width: 51px;
    height: 91px;
    left: 0;
    top: 77px;
    transform: matrix(-0.96, 0.27, 0.27, 0.96, 0, 0);
    background: url('../assets/image 42.png') no-repeat center center;
    background-size: contain;
}

/* Rectangle 13 - 内容区域 */
.lottery-inner {
    position: absolute;
    width: 235px;
    height: 251px;
    left: 28px;
    top: 28px;
    background: linear-gradient(180deg, #FCFDFE 0%, #FAD8D6 67.43%);
    border-radius: 12px;
    z-index: 2;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

/* Mask group - 内容遮罩 */
.lottery-inner::before {
    content: '';
    position: absolute;
    width: 235px;
    height: 233px;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, #FCFDFE 0%, #FAD8D6 72.64%);
    border-radius: 12px;
    z-index: -1;
}

/* 标题 - 恭喜获得新春红包 */
.lottery-title {
    position: relative;
    width: 128px;
    height: 22px;
    margin: 0 0 10px 0;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    
    color: #72330C;
    z-index: 3;
}

/* Group 17 - 金额显示 */
.lottery-amount {
    position: relative;
    width: 104px;
    height: 56px;
    margin: 0 0 6px 0;
    
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Vector - 货币符号 */
.currency-symbol {
    position: relative;
    height: 20px;
    margin-right: 4px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    
    color: #F04515;
}

/* 金额数值 - 3.88 */
.amount-value {
    position: relative;
    width: 83px;
    height: 56px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 56px;
    text-align: center;
    
    color: #F04515;
}

/* 祝福语 - 祝您新年快乐，马年大吉 */
.lottery-blessing {
    position: relative;
    width: 132px;
    height: 17px;
    margin: 0 0 16px 0;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    
    color: #F04515;
    z-index: 3;
}

/* 底部装饰图片容器 */
.lottery-bottom-decorations {
    position: absolute;
    width: 235px;
    height: 97px;
    left: 0;
    bottom: 0;
    z-index: 1;
}

/* image 32 - 右侧装饰 */
.bottom-decoration-left {
    position: absolute;
    width: 186px;
    height: 97px;
    left: 49px;
    top: 0;
    mix-blend-mode: multiply;
    /* background: url(../assets/decoration-32.png); */
}

/* image 33 - 左侧装饰（镜像） */
.bottom-decoration-right {
    position: absolute;
    width: 186px;
    height: 97px;
    left: 0;
    top: 0;
    mix-blend-mode: multiply;
    transform: matrix(-1, 0, 0, 1, 0, 0);
    /* background: url(../assets/decoration-33.png); */
}

/* Subtract - 渐变分割条 */
.lottery-divider {
    position: absolute;
    width: 291px;
    height: 28.06px;
    left: 0;
    top: 233px;
    background: linear-gradient(90deg, #FF6F34 0%, #FFC396 48.18%, #FF6F34 100%);
    z-index: 2;
}

/* Rectangle 11 & 12 - 分割条下方背景 */
.lottery-divider::before {
    content: '';
    position: absolute;
    width: 291px;
    height: 82px;
    left: 0;
    top: -54px;
    background: #D9D9D9;
    z-index: -2;
}

.lottery-divider::after {
    content: '';
    position: absolute;
    width: 291px;
    height: 82px;
    left: 0;
    top: -61px;
    background: linear-gradient(180deg, rgba(252, 253, 254, 0) 0%, rgba(250, 216, 214, 0.5) 100%);
    z-index: -1;
}

/* 微信零钱提示 - 红包已发放至微信零钱 */
.lottery-wechat-notice {
    position: absolute;
    width: 120px;
    height: 17px;
    left: 86px;
    top: 279px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    
    color: #FFFFFF;
    margin: 0;
    z-index: 3;
}

/* Group 16 - 知道了按钮 Frame 7 - 使用与带你赞按钮相同的样式 */
.lottery-btn {
    position: absolute;
    width: 230px;
    height: 48px;
    left: 31px;
    top: 308px;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
    
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s;
}

/* 使用button.svg作为背景 - 与带你赞按钮一致 */
.lottery-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/button.svg') no-repeat center center;
    background-size: contain;
    z-index: 0;
}

.lottery-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.lottery-btn:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

/* 按钮文字 - 知道了 */
.lottery-btn-text {
    position: relative;
    width: auto;
    height: 20px;
    
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    
    color: #E20E0D;
    pointer-events: none;
    z-index: 1;
}

/* image 30 - 底部装饰背景 */
.lottery-bottom-bg {
    position: absolute;
    width: 341px;
    height: 203px;
    left: -26px;
    top: 209px;
    z-index: 1;
    /* background: url(../assets/decoration-30.png); */
}

/* 通用弹窗样式保持不变 */

/* ===== 响应式设计 ===== */

/* 小屏手机 (320px - 374px) */
@media (max-width: 374px) {
    .hero-section {
        height: 320px;
    }
    
    .content-wrapper {
        padding: 0 12px 40px;
    }
    
    .agent-card {
        margin-top: -50px;
    }
}

/* 大屏手机 (480px+) */
@media (min-width: 480px) {
    .page-container {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-section {
        height: 420px;
    }
}

/* 平板 (768px+) */
@media (min-width: 768px) {
    .page-container {
        max-width: 600px;
    }
    
    .hero-section {
        height: 450px;
    }
    
    .content-wrapper {
        padding: 0 24px 40px;
    }
}


/* ===== 图片预览弹窗 ===== */
.image-preview-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.image-preview-container img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* 预览关闭按钮 */
.preview-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.preview-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* 预览导航按钮 */
.preview-prev,
.preview-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.preview-prev {
    left: 20px;
}

.preview-next {
    right: 20px;
}

.preview-prev:hover,
.preview-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* 预览计数器 */
.preview-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10002;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .preview-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    .preview-prev,
    .preview-next {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    .preview-prev {
        left: 10px;
    }
    
    .preview-next {
        right: 10px;
    }
    
    .preview-counter {
        bottom: 20px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .image-preview-container {
        padding: 10px;
    }
    
    .image-preview-container img {
        max-width: 95%;
        max-height: 85vh;
    }
}

/* 轮播图图片添加指针样式 */
.carousel-item img {
    cursor: pointer;
    transition: transform 0.2s;
}

.carousel-item img:active {
    transform: scale(0.98);
}
