/* ==================== 全局样式重置 ==================== */
* {
    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: linear-gradient(135deg, #ff6b6b 0%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* ==================== 主容器 ==================== */
.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* ==================== 轮播图容器 ==================== */
.carousel-container {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    aspect-ratio: 16 / 9;
    background: #fff;
}

/* 轮播图包装器 */
.carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 轮播图轨道 */
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* 轮播图项 */
.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

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

/* ==================== 轮播图指示器 ==================== */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

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

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

/* ==================== 轮播图导航按钮（已隐藏） ==================== */
.carousel-btn {
    display: none;
}

/* ==================== 按钮样式 ==================== */
.action-button {
    width: 100%;
    margin-top: 20px;
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 700;
    color: #e91e63;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* 恋爱沟通按钮样式 */
.love-button {
    margin-top: 30px;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 200, 210, 0.4), transparent);
    transition: left 0.5s ease;
}

.action-button:hover::before {
    left: 100%;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.35);
    background: #fff;
}

.action-button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* 按钮图标 */
.button-icon {
    margin-right: 8px;
    width: 24px;
    text-align: center;
    display: inline-block;
}

/* 按钮内容区域（图标+文字） */
.button-content {
    display: flex;
    align-items: center;
    margin-left: 25px;
    flex: 1;
    justify-content: flex-start;
    min-width: 180px;
}

/* 按钮导航箭头 */
.button-arrow {
    margin-left: auto;
    font-weight: 700;
    font-size: 22px;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.9;
    padding-right: 15px;
    flex-shrink: 0;
}

.action-button:hover .button-arrow {
    transform: translateX(10px);
    opacity: 1;
}

/* 用户奖励按钮样式 - 橙粉色文字 */
.reward-button {
    color: #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.25);
}

.reward-button:hover {
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.35);
}

.reward-button:active {
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* 招募合伙人共赢增收按钮样式 - 粉紫色文字 */
.partner-button {
    color: #9c27b0;
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.25);
}

.partner-button:hover {
    box-shadow: 0 12px 30px rgba(156, 39, 176, 0.35);
}

.partner-button:active {
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

/* ==================== 页面标题 ==================== */
.page-title {
    text-align: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-top: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

/* ==================== 品牌Logo ==================== */
.brand-logo {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 10px;
    animation: fadeIn 0.8s ease;
}

.brand-logo h1 {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
    margin: 0;
    display: inline-block;
    position: relative;
}

.brand-logo h1::before {
    content: '✨';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    -webkit-text-fill-color: initial;
}

.brand-logo h1::after {
    content: '✨';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    -webkit-text-fill-color: initial;
}

/* ==================== 装饰元素 ==================== */
.decoration {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.decoration.top-right {
    top: -100px;
    right: -100px;
}

.decoration.bottom-left {
    bottom: -100px;
    left: -100px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 375px) {
    .action-button {
        padding: 16px 20px;
        font-size: 16px;
        margin-top: 16px;
    }

    .love-button {
        margin-top: 25px;
    }

    .button-content {
        margin-left: 15px;
        min-width: 150px;
    }

    .button-arrow {
        font-size: 18px;
        padding-right: 12px;
    }

    .button-icon {
        margin-right: 6px;
    }

    .page-title {
        font-size: 24px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .footer-stats {
        padding: 15px;
    }

    .footer-notice {
        font-size: 12px;
        line-height: 1.6;
    }

    .stat-title {
        font-size: 16px;
    }

    .stat-value {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .advantages-section,
    .feedback-section {
        padding: 15px;
    }

    .advantage-icon {
        font-size: 32px;
    }

    .advantage-text {
        font-size: 14px;
    }

    .feedback-marquee {
        height: 180px;
    }

    .feedback-item {
        font-size: 16px;
        padding: 10px 15px;
    }
}

@media (min-width: 768px) {
    .container {
        margin-top: 50px;
    }

    .action-button {
        font-size: 21px;
        padding: 21px 50px;
        margin-top: 25px;
    }

    .love-button {
        margin-top: 35px;
    }

    .button-content {
        margin-left: 30px;
        min-width: 200px;
    }

    .button-arrow {
        font-size: 24px;
        padding-right: 20px;
    }

    .footer-stats {
        padding: 30px;
    }

    .footer-notice {
        font-size: 16px;
    }

    .stat-title {
        font-size: 22px;
    }

    .stat-value {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .advantages-section,
    .feedback-section {
        padding: 30px;
    }

    .advantage-icon {
        font-size: 48px;
    }

    .advantage-text {
        font-size: 18px;
    }

    .feedback-marquee {
        height: 220px;
    }

    .feedback-item {
        font-size: 20px;
        padding: 14px 25px;
    }
}

/* ==================== 底部数据展示区域 ==================== */
.footer-stats {
    width: 100%;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease 0.6s both;
}

.footer-notice {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 25px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-title {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.stat-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    right: -5px;
    height: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    opacity: 0.7;
    z-index: -1;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #333;
}

/* ==================== 区域标题样式 ==================== */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
    opacity: 0.7;
    z-index: -1;
}

/* ==================== 优势保障区域 ==================== */
.advantages-section {
    width: 100%;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease 0.5s both;
}

.advantages-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
}

.advantage-item {
    text-align: center;
    flex: 1;
    padding: 10px 5px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.advantage-text {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin: 0;
}

/* ==================== 用户反馈跑马灯区域 ==================== */
.feedback-section {
    width: 100%;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease 0.4s both;
}

.feedback-marquee {
    overflow: hidden;
    height: 200px;
    position: relative;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.feedback-content {
    animation: scrollUp 15s linear infinite;
    padding: 15px 20px;
}

.feedback-content:hover {
    animation-play-state: paused;
}

.feedback-item {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 12px 20px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feedback-item:nth-child(odd) {
    background: rgba(102, 126, 234, 0.08);
}

.feedback-item:nth-child(even) {
    background: rgba(238, 90, 111, 0.08);
}

/* 向上滚动动画 */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* ==================== 加载动画 ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-container {
    animation: fadeIn 0.8s ease 0.1s both;
}

.action-button {
    animation: fadeIn 0.8s ease 0.3s both;
}

/* ==================== 弹窗样式 ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-container {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 380px;
    width: 100%;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.4s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #e91e63;
}

.modal-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 20px;
    margin-top: 10px;
}

.modal-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-text {
    text-align: center;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
