* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: linear-gradient(135deg, #f9f0ff 0%, #e6f3ff 100%);
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 固定头部 */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    background: linear-gradient(135deg, #f9f0ff 0%, #e6f3ff 100%);
}

header {
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    color: white;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 用户信息区域 */
.user-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 用户状态显示（缘分币） */
.user-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.user-stat:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.user-stat i {
    color: #FFD700;
    font-size: 14px;
}

/* 图标容器 */
.profile-complete-icon-container,
.message-icon-container {
    position: relative;
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: white;
    flex-shrink: 0;
}

.profile-complete-icon-container.has-prompt {
    background: rgba(255, 87, 34, 0.2);
    color: #ff5722;
}

.profile-complete-icon-container.pulse {
    animation: profile-pulse 2s infinite;
}

@keyframes profile-pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

.profile-prompt-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff5722;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.message-icon-container:hover,
.profile-complete-icon-container:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.message-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ffeb3b;
    color: #333;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.message-badge.pulse {
    animation: badge-pulse 0.5s ease-in-out;
}

@keyframes badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 主内容区域 */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    padding-top: 90px;
    padding-bottom: 70px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 盒子选择区域 */
.blind-box-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.section-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ff6b6b;
    font-weight: bold;
}

/* VIP今日可免费次数提示 */
.draw-vip-hint {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.15));
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #FF8C00;
    padding: 10px 15px;
    border-radius: 12px;
    margin: 10px auto 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: vip-pulse 3s infinite;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 10px rgba(255, 165, 0, 0.2);
    position: relative;
}

.draw-vip-hint:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 165, 0, 0.25));
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

@keyframes vip-pulse {
    0%, 100% { 
        opacity: 0.95;
        box-shadow: 0 3px 10px rgba(255, 165, 0, 0.2);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 3px 15px rgba(255, 165, 0, 0.4);
    }
}

/* 确保信息图标正常显示 */
#vip-info-btn {
    color: #FF8C00;
    font-size: 14px;
    transition: all 0.3s ease;
}

#vip-info-btn:hover {
    color: #FFD700;
    transform: scale(1.1);
}

/* 盒子轮播 */
.blind-box-slider-container {
    position: relative;
    margin: 20px 0;
    overflow: hidden;
}

.blind-box-slider {
    display: flex;
    transition: transform 0.3s ease;
    padding: 10px 0;
}

.blind-box-item {
    flex: 0 0 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.blind-box-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.blind-box-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blind-box-card.selected {
    border: 3px solid #ff6b6b;
}

/* 盒子头部 - 移除VIP标签相关样式 */
.blind-box-header {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.blind-box-type {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blind-box-price {
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    z-index: 4;
}

.blind-box-content {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blind-box-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 15px;
    color: white;
}

.blind-box-boy {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.blind-box-girl {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
}

.blind-box-super {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.blind-box-premium {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.blind-box-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.5;
}

.blind-box-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.blind-box-feature {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
}

/* 轮播导航 */
.blind-box-slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #ff6b6b;
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: #ff6b6b;
    color: white;
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.slider-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-arrow.disabled:hover {
    background: white;
    color: inherit;
}

/* 按钮样式 */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: white;
    box-shadow: 0 4px 10px rgba(79, 172, 254, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.draw-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

/* 功能卡片 */
.features-section {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: #ff6b6b;
}

.feature-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 12px;
    color: #666;
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1003;
    flex-direction: column;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 90%;
    width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: scaleIn 0.5s ease-out;
}

.modal-header {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: 16px;
    color: #666;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
}

.modal-close:hover {
    color: #ff6b6b;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
    font-family: inherit;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 活动规则 */
.rules-section {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-top: 10px;
}

.rules-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.rules-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.rules-content.expanded {
    max-height: 500px;
}

.rule-item {
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid #ff9a9e;
}

.rule-item h3 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #ff6b6b;
}

.rule-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 底部导航 */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    max-width: 800px;
    margin: 0 auto;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #666;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s;
    padding: 5px;
    text-decoration: none;
}

.footer-item:hover {
    color: #ff6b6b;
}

.footer-item.active {
    color: #ff6b6b;
}

.footer-icon {
    font-size: 18px;
    margin-bottom: 3px;
}

/* ===== 特效弹窗样式 - 轮盘转动版 (全屏优化版) ===== */
.draw-effect-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 12, 41, 0.98);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    flex-direction: column;
    animation: fadeIn 0.5s ease-out;
    backdrop-filter: blur(8px);
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.draw-effect-modal.active {
    display: flex;
}

.draw-effect-content {
    background: rgba(20, 20, 40, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 20px;
    width: 95%;
    max-width: 420px;
    height: 90vh;
    max-height: 90vh;
    text-align: center;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    margin: 0;
    flex-shrink: 0;
}

/* 效果容器 */
.effect-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
    min-height: 0;
    width: 100%;
    height: 100%;
}

/* ===== 轮盘转动特效样式 ===== */
.wheel-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wheel {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(20, 20, 40, 0.9);
    overflow: hidden;
    box-shadow: 
        0 0 0 10px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(255, 107, 107, 0.5),
        inset 0 0 30px rgba(0, 0, 0, 0.7);
    transform-origin: center;
    animation: rotateWheel 0.1s linear infinite;
    z-index: 5;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

@keyframes rotateWheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 轮盘停止时的动画 */
@keyframes wheelStop {
    0% { 
        transform: rotate(0deg);
        animation-timing-function: cubic-bezier(0.2, 0.7, 0.8, 0.3);
    }
    100% { 
        transform: rotate(720deg);
    }
}

/* 轮盘分区 */
.wheel-section {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    left: 0;
    top: 0;
    overflow: hidden;
}

.wheel-section:nth-child(1) { transform: rotate(0deg); }
.wheel-section:nth-child(2) { transform: rotate(45deg); }
.wheel-section:nth-child(3) { transform: rotate(90deg); }
.wheel-section:nth-child(4) { transform: rotate(135deg); }
.wheel-section:nth-child(5) { transform: rotate(180deg); }
.wheel-section:nth-child(6) { transform: rotate(225deg); }
.wheel-section:nth-child(7) { transform: rotate(270deg); }
.wheel-section:nth-child(8) { transform: rotate(315deg); }

/* 分区颜色和内容 */
.wheel-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--section-color);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.9;
}

.wheel-section.section-1 { --section-color: #ff6b6b; }
.wheel-section.section-2 { --section-color: #4facfe; }
.wheel-section.section-3 { --section-color: #ff9a9e; }
.wheel-section.section-4 { --section-color: #a18cd1; }
.wheel-section.section-5 { --section-color: #ffd166; }
.wheel-section.section-6 { --section-color: #06d6a0; }
.wheel-section.section-7 { --section-color: #ff9a76; }
.wheel-section.section-8 { --section-color: #9d4edd; }

.section-content {
    position: absolute;
    top: 25px;
    right: 30px;
    transform: rotate(45deg);
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.section-content i {
    font-size: 14px;
    margin-bottom: 2px;
}

/* 轮盘中心 */
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95), rgba(30, 30, 60, 0.9));
    box-shadow: 
        0 0 0 5px rgba(255, 255, 255, 0.15),
        inset 0 0 20px rgba(0, 0, 0, 0.8);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-center-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 
        0 0 15px rgba(255, 107, 107, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: pulseCenter 2s infinite alternate;
}

@keyframes pulseCenter {
    0% { 
        transform: scale(1);
        box-shadow: 
            0 0 15px rgba(255, 107, 107, 0.8),
            inset 0 0 10px rgba(255, 255, 255, 0.2);
    }
    100% { 
        transform: scale(1.05);
        box-shadow: 
            0 0 25px rgba(255, 107, 107, 1),
            inset 0 0 15px rgba(255, 255, 255, 0.3);
    }
}

/* 轮盘指针 */
.wheel-pointer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    z-index: 20;
    animation: pointerBounce 1.5s infinite alternate;
}

@keyframes pointerBounce {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(10px); }
}

.pointer-arrow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #ffeb3b;
    filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.8));
    z-index: 2;
}

.pointer-base {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background: #ffeb3b;
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(255, 235, 59, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    z-index: 1;
}

/* 轮盘边缘发光效果 */
.wheel::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(255, 107, 107, 0.3) 50%, 
        transparent 60%);
    z-index: 1;
    opacity: 0;
}

.wheel.spinning::after {
    animation: wheelGlow 0.5s linear infinite;
}

@keyframes wheelGlow {
    0% { transform: rotate(0deg); opacity: 0.5; }
    100% { transform: rotate(360deg); opacity: 0.8; }
}

/* 性别特效 - 轮盘颜色变化 */
.boy-effect .wheel-section.section-1 { --section-color: #4facfe; }
.boy-effect .wheel-section.section-2 { --section-color: #00f2fe; }
.boy-effect .wheel-section.section-3 { --section-color: #4facfe; }
.boy-effect .wheel-section.section-4 { --section-color: #00f2fe; }
.boy-effect .wheel-section.section-5 { --section-color: #4facfe; }
.boy-effect .wheel-section.section-6 { --section-color: #00f2fe; }
.boy-effect .wheel-section.section-7 { --section-color: #4facfe; }
.boy-effect .wheel-section.section-8 { --section-color: #00f2fe; }
.boy-effect .wheel-center-circle {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 
        0 0 15px rgba(79, 172, 254, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.girl-effect .wheel-section.section-1 { --section-color: #ff6b6b; }
.girl-effect .wheel-section.section-2 { --section-color: #ff8e8e; }
.girl-effect .wheel-section.section-3 { --section-color: #ff6b6b; }
.girl-effect .wheel-section.section-4 { --section-color: #ff8e8e; }
.girl-effect .wheel-section.section-5 { --section-color: #ff6b6b; }
.girl-effect .wheel-section.section-6 { --section-color: #ff8e8e; }
.girl-effect .wheel-section.section-7 { --section-color: #ff6b6b; }
.girl-effect .wheel-section.section-8 { --section-color: #ff8e8e; }
.girl-effect .wheel-center-circle {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    box-shadow: 
        0 0 15px rgba(255, 107, 107, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

/* 光影粒子 */
.light-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.light-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: floatParticle 3s linear infinite;
    filter: blur(1px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 光束效果 */
.search-beams {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 4;
}

.search-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 100px;
    background: linear-gradient(to top, transparent, rgba(255, 107, 107, 0.9), transparent);
    transform-origin: 50% 0;
    animation: scanBeam 2s ease-in-out infinite;
    filter: blur(1px);
}

/* 搜索文字 */
.search-text {
    color: white;
    text-align: center;
    margin-top: 20px;
    animation: fadeInOut 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

.search-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #4facfe, #00f2fe);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 2s ease infinite;
    letter-spacing: 1px;
}

.search-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

/* 匹配结果 */
.match-result {
    position: relative;
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== 优化后的单抽结果页面样式 ===== */
.single-draw-result {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.95), rgba(20, 20, 40, 0.98));
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: resultAppear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes resultAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 匹配成功标题 - 已移除 */
.match-success-title {
    display: none !important;
}

/* 头像容器优化 */
.result-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 5px solid transparent;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e, #4facfe, #00f2fe);
    background-size: 400% 400%;
    animation: gradientBorder 3s ease infinite, avatarFloat 3s ease-in-out infinite;
    box-shadow: 
        0 0 30px rgba(255, 107, 107, 0.7),
        0 0 60px rgba(255, 107, 107, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.result-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    padding: 5px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

/* 用户名样式优化 */
.result-name {
    font-size: 26px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 
        0 2px 15px rgba(255, 107, 107, 0.8),
        0 4px 30px rgba(255, 107, 107, 0.4);
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #4facfe);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s ease infinite;
}

/* 性别图标容器优化 */
.result-gender-container {
    margin-bottom: 15px;
    position: relative;
}

.result-gender-icon {
    font-size: 32px;
    color: #ffeb3b;
    animation: bounceIcon 1.5s ease infinite, iconGlow 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 5px 15px rgba(255, 235, 59, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
}

/* 匹配度样式优化 */
.result-match-score {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.result-match-score::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.result-match-score span {
    font-weight: bold;
    color: #ffeb3b;
    font-size: 24px;
    animation: pulseScore 1s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 235, 59, 0.7);
}

/* 添加祝福语 */
.result-blessing {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    padding: 0 20px;
    line-height: 1.4;
}

/* 结果页面背景效果 */
.single-draw-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(79, 172, 254, 0.15) 0%, transparent 50%);
    border-radius: 20px;
    z-index: -1;
}

/* 五连抽结果 */
.multi-draw-result {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.multi-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
    width: 100%;
    max-width: 380px;
    flex-shrink: 0;
}

.multi-result-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 12px rgba(255, 107, 107, 0.7);
    letter-spacing: 1px;
    white-space: nowrap;
}

.multi-result-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    display: flex;
    align-items: baseline;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.current-index {
    color: #ffeb3b;
    font-size: 24px;
    font-weight: bold;
    margin-right: 4px;
    text-shadow: 0 0 12px rgba(255, 235, 59, 0.7);
}

.total-count {
    font-size: 16px;
}

/* 轮播容器调整 */
.multi-slider-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
    width: 100%;
    max-width: 380px;
    height: 100%;
    min-height: 300px;
}

.multi-slider-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95), rgba(30, 30, 60, 0.9));
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.multi-slider-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(
        135deg, 
        rgba(255, 107, 107, 0.2) 0%, 
        rgba(79, 172, 254, 0.2) 50%,
        rgba(255, 107, 107, 0.2) 100%
    );
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.multi-slider {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    width: 100%;
}

.multi-slider-item {
    flex: 0 0 100%;
    height: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 用户卡片优化 */
.multi-user-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 25px 15px;
    width: 100%;
    max-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    text-align: center;
    cursor: pointer;
}

.multi-user-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 40px rgba(255, 107, 107, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 107, 107, 0.5);
}

.multi-user-card.active {
    transform: scale(1.02);
    box-shadow: 
        0 15px 35px rgba(255, 107, 107, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 107, 107, 0.5);
    animation: cardGlow 1.5s ease-in-out infinite;
}

.multi-user-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 107, 107, 0.1) 0%,
        rgba(79, 172, 254, 0.05) 30%,
        transparent 70%
    );
    z-index: -1;
    opacity: 0.5;
}

/* 五连抽头像调整 */
.multi-user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 3px solid transparent;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e, #4facfe, #00f2fe);
    background-size: 400% 400%;
    animation: gradientBorder 3s ease infinite;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.multi-user-card:hover .multi-user-avatar {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 107, 107, 0.8);
}

.multi-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    padding: 3px;
    box-sizing: border-box;
    background: #f5f5f5;
}

/* 五连抽用户名调整 */
.multi-user-name {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(255, 107, 107, 0.7);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.multi-user-card:hover .multi-user-name {
    color: #ffeb3b;
    text-shadow: 0 2px 20px rgba(255, 235, 59, 0.8);
}

/* 五连抽性别图标调整 */
.multi-user-gender-icon {
    font-size: 24px;
    margin-bottom: 8px;
    animation: bounceIcon 1.5s ease infinite;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

.multi-user-card:hover .multi-user-gender-icon {
    transform: scale(1.2);
}

/* 五连抽匹配度调整 */
.multi-user-match-score {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 15px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.multi-user-card:hover .multi-user-match-score {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.5);
}

.multi-user-match-score span {
    font-weight: bold;
    color: #ffeb3b;
    font-size: 18px;
    animation: pulseScore 1s ease-in-out infinite;
}

/* 轮播箭头调整 */
.multi-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.multi-slider-arrow:hover {
    background: rgba(255, 107, 107, 0.6);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

.multi-slider-arrow i {
    color: white;
    font-size: 18px;
}

.multi-slider-prev {
    left: 5px;
}

.multi-slider-next {
    right: 5px;
}

/* 轮播指示点 */
.multi-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-shrink: 0;
}

.multi-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.multi-slider-dot.active {
    background: #ff6b6b;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

.multi-slider-dot:hover {
    background: rgba(255, 107, 107, 0.8);
    transform: scale(1.1);
}

/* 进度条调整 */
.effect-progress {
    margin-top: 15px;
    width: 100%;
    max-width: 380px;
    flex-shrink: 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #4facfe, #00f2fe);
    background-size: 200% 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.2s ease;
    position: relative;
    overflow: hidden;
    animation: gradientMove 2s linear infinite;
}

.progress-text {
    color: white;
    font-size: 13px;
    margin-top: 6px;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(255, 107, 107, 0.7);
    letter-spacing: 1px;
}

/* 特效控制按钮调整 */
.effect-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
    max-width: 380px;
    flex-shrink: 0;
}

.effect-actions .btn {
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    min-width: 110px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.effect-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ===== 无匹配结果页面样式 ===== */
.no-match-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    height: 100%;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.no-match-icon {
    font-size: 80px;
    color: #ff6b6b;
    margin-bottom: 20px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.no-match-title {
    font-size: 22px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(255, 107, 107, 0.5);
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-match-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 300px;
}

.no-match-tips {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 280px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tip-item:hover {
    background: rgba(255, 107, 107, 0.2);
    transform: translateX(5px);
    border-color: rgba(255, 107, 107, 0.3);
}

.tip-item i {
    color: #ff6b6b;
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.tip-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

/* 光影粒子动画 */
@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(var(--start-y)) translateX(var(--start-x)) scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(var(--end-y)) translateX(var(--end-x)) scale(0);
        opacity: 0;
    }
}

@keyframes scanBeam {
    0% {
        transform: translate(-50%, 0) rotate(0deg);
        height: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
        height: 100px;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 0) rotate(360deg);
        height: 0;
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseScore {
    0%, 100% { 
        transform: scale(1); 
        text-shadow: 0 0 8px rgba(255, 235, 59, 0.4);
    }
    50% { 
        transform: scale(1.05);
        text-shadow: 0 0 15px rgba(255, 235, 59, 0.7);
    }
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes iconGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
    }
    50% { 
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
    }
}

@keyframes sparkleFloat {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translate(var(--sparkle-x), var(--sparkle-y)) scale(1);
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--sparkle-end-x), var(--sparkle-end-y)) scale(0);
        opacity: 0;
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes cardGlow {
    0%, 100% { 
        box-shadow: 
            0 15px 35px rgba(255, 107, 107, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.15);
    }
    50% { 
        box-shadow: 
            0 15px 45px rgba(255, 107, 107, 0.7),
            inset 0 0 40px rgba(255, 255, 255, 0.2);
    }
}

@keyframes avatarFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== 盒子特效样式 ===== */
.box-effect-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2003;
    animation: fadeIn 0.5s ease-out;
    backdrop-filter: blur(10px);
}

.box-effect-modal.active {
    display: flex;
}

.box-effect-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 90%;
    width: 500px;
    max-height: 80vh;
    text-align: center;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: scaleIn 0.5s ease-out;
    border: 2px solid #ff6b6b;
    position: relative;
    overflow: hidden;
}

/* 星空背景 */
.starry-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(79, 172, 254, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        linear-gradient(to bottom, #0f0c29 0%, #302b63 30%, #24243e 100%);
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.starry-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.8) 50%, transparent 50%),
        radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.8) 50%, transparent 50%),
        radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.8) 50%, transparent 50%),
        radial-gradient(1px 1px at 80% 50%, rgba(255, 255, 255, 0.8) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 90%, rgba(255, 255, 255, 0.8) 50%, transparent 50%),
        radial-gradient(1px 1px at 70% 80%, rgba(255, 255, 255, 0.8) 50%, transparent 50%),
        radial-gradient(2px 2px at 10% 40%, rgba(255, 255, 255, 0.9) 50%, transparent 50%),
        radial-gradient(2px 2px at 90% 10%, rgba(255, 255, 255, 0.9) 50%, transparent 50%);
    background-repeat: repeat;
    animation: twinkle 5s infinite alternate;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* 盒子群 */
.box-group {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.box {
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: boxFloat 3s ease-in-out infinite;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.9) 0%, 
        rgba(255, 107, 107, 0.7) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 5px 15px rgba(255, 107, 107, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.box.box-2,
.box.box-4 {
    background: linear-gradient(135deg, 
        rgba(79, 172, 254, 0.9) 0%, 
        rgba(79, 172, 254, 0.7) 100%);
    box-shadow: 
        0 5px 15px rgba(79, 172, 254, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.box.box-5 {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.9) 0%, 
        rgba(255, 215, 0, 0.7) 100%);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.box-1 { animation-delay: 0s; }
.box-2 { animation-delay: 0.3s; }
.box-3 { animation-delay: 0.6s; }
.box-4 { animation-delay: 0.9s; }
.box-5 { animation-delay: 1.2s; }

@keyframes boxFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        box-shadow: 
            0 5px 15px rgba(0, 0, 0, 0.3),
            inset 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% { 
        transform: translateY(-15px) rotate(5deg);
        box-shadow: 
            0 15px 25px rgba(0, 0, 0, 0.4),
            inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

/* 奔跑的精美盒子 - 特效优化 */
.running-box {
    position: absolute;
    bottom: 30%;
    right: -100px;
    z-index: 3;
    animation: boxRunIn 3s ease-out forwards;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.box-body {
    font-size: 60px;
    color: #ff6b6b;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: boxBounce 0.5s linear infinite;
    background: linear-gradient(135deg, 
        #ff6b6b 0%, 
        #ff8e8e 100%);
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 0 20px rgba(255, 107, 107, 0.7),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    position: relative;
}

.box-body::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 10px;
    background: #ff8e8e;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.box-body::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 5px;
    background: #ffd700;
    border-radius: 2px;
}

.box-sparkles {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: radial-gradient(ellipse at center, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 215, 0, 0.6) 30%,
        transparent 70%);
    animation: sparklesSpread 0.5s linear infinite;
}

@keyframes boxRunIn {
    0% {
        right: -100px;
        opacity: 0;
        transform: scale(0.5) rotate(-30deg);
    }
    20% {
        opacity: 1;
        transform: scale(1.1) rotate(10deg);
    }
    40% {
        transform: scale(1) rotate(-5deg);
    }
    60% {
        transform: scale(1.05) rotate(3deg);
    }
    80% {
        right: 50%;
        transform: translateX(50%) scale(1) rotate(0deg);
    }
    100% {
        right: 50%;
        transform: translateX(50%) scale(0.8) rotate(0deg);
        opacity: 0;
    }
}

@keyframes boxBounce {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) rotate(-10deg); 
    }
    50% { 
        transform: translateY(0) rotate(5deg); 
    }
    75% { 
        transform: translateY(-5px) rotate(-5deg); 
    }
}

@keyframes sparklesSpread {
    0% {
        width: 30px;
        height: 10px;
        opacity: 0.8;
        filter: blur(0px);
    }
    100% {
        width: 60px;
        height: 20px;
        opacity: 0;
        filter: blur(5px);
    }
}

/* 添加盒子消失后盒子群中一个盒子变亮的动画 */
@keyframes boxGlow {
    0% {
        transform: scale(1);
        box-shadow: 
            0 5px 15px rgba(0, 0, 0, 0.3),
            inset 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 
            0 0 30px rgba(255, 107, 107, 0.8),
            0 0 50px rgba(255, 107, 107, 0.5),
            inset 0 0 20px rgba(255, 255, 255, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 
            0 5px 20px rgba(255, 107, 107, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.3);
    }
}

/* 成功消息 */
.box-success-message {
    position: relative;
    z-index: 4;
    color: white;
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 1.5s forwards;
    opacity: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.success-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.success-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* 添加成功消息的淡入动画 */
@keyframes fadeInMessage {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 添加按钮的淡入动画 */
@keyframes fadeInButton {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 控制按钮 */
.box-effect-actions {
    position: relative;
    z-index: 4;
    margin-top: 30px;
    animation: fadeInUp 1s ease-out 2s forwards;
    opacity: 0;
}

.box-effect-actions .btn {
    min-width: 120px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.box-effect-actions .btn:hover {
    background: linear-gradient(90deg, #ff8e8e, #ffa6a6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* VIP特权弹窗 - 已修改按钮居中 */
.vip-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    animation: fadeIn 0.3s ease-out;
    backdrop-filter: blur(10px);
}

.vip-modal.active {
    display: flex;
}

.vip-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: scaleIn 0.5s ease-out;
    border: 2px solid #FFD700;
}

.vip-modal-header {
    margin-bottom: 20px;
}

.vip-crown-icon {
    font-size: 48px;
    color: #FFD700;
    margin-bottom: 15px;
    animation: crown-glow 1.5s infinite;
}

@keyframes crown-glow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
        transform: scale(1.1);
    }
}

.vip-modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 10px;
}

.vip-free-info {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.vip-count-display {
    font-size: 32px;
    font-weight: bold;
    color: #FFD700;
    margin: 10px 0;
}

.vip-count-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

/* VIP特权弹窗按钮居中 */
.vip-modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.vip-modal-actions .btn {
    min-width: 120px;
}

/* 用户详情弹窗 - 四栏目切换版 */
.detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2002;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
}

.detail-modal.active {
    display: flex;
    opacity: 1;
    animation: modalFadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.detail-content {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 250, 250, 0.98) 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    height: 85vh;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 15px 35px rgba(255, 107, 107, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
}

/* 关闭按钮 */
.detail-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #ff6b6b;
    font-size: 18px;
    box-shadow: 0 3px 12px rgba(255, 107, 107, 0.2);
}

.detail-close:hover {
    background: #ff6b6b;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* 顶部头像区域 - 新样式 */
.detail-header {
    padding: 25px 20px 20px;
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.08) 0%, 
        rgba(255, 193, 193, 0.04) 100%);
    border-radius: 20px 20px 0 0;
    position: relative;
    text-align: center;
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
    gap: 15px;
}

.user-avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
}

.user-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid white;
    box-shadow: 
        0 10px 25px rgba(255, 107, 107, 0.25),
        0 0 0 2px rgba(255, 107, 107, 0.15);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: #f5f5f5;
}

.user-avatar:hover img {
    transform: scale(1.05);
}

.avatar-frame {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e, #4facfe, #00f2fe) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateFrame 12s linear infinite;
}

@keyframes rotateFrame {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 头部用户信息 */
.header-user-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.header-name-gender {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.header-name-gender .user-name {
    font-size: 22px;
    font-weight: 800;
    color: #333;
    margin: 0;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.header-name-gender .gender-display {
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header-name-gender .gender-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.header-name-gender .gender-male {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.header-name-gender .gender-female {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.header-name-gender .gender-unknown {
    background: linear-gradient(135deg, #999, #ccc);
    color: white;
    border: 1px solid rgba(153, 153, 153, 0.3);
}

.header-age {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    color: #666;
    font-weight: 500;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 107, 0.15);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
}

.header-age i {
    color: #ff6b6b;
    font-size: 14px;
}

/* 标签切换导航 */
.detail-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
    padding: 0 15px;
    flex-shrink: 0;
    height: 60px;
}

.detail-tab {
    flex: 1;
    padding: 15px 8px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    height: 100%;
}

.detail-tab:hover {
    color: #ff6b6b;
}

.detail-tab.active {
    color: #ff6b6b;
    font-weight: 600;
}

.detail-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    border-radius: 3px 3px 0 0;
}

.detail-tab i {
    font-size: 14px;
}

/* 内容区域 */
.detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    min-height: 0;
}

/* 添加滚动条样式 */
.detail-body::-webkit-scrollbar {
    width: 6px;
}

.detail-body::-webkit-scrollbar-track {
    background: rgba(255, 107, 107, 0.05);
    border-radius: 3px;
}

.detail-body::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 107, 0.3);
    border-radius: 3px;
}

.detail-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 107, 0.5);
}

.tab-content {
    display: none;
    animation: fadeIn 0.2s ease;
    height: 100%;
}

.tab-content.active {
    display: block;
    height: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 信息栏目样式 */
.info-section {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-section-group {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 
        0 6px 20px rgba(255, 107, 107, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 107, 107, 0.12);
    position: relative;
    overflow: hidden;
}

.info-section-group::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.03), rgba(255, 193, 193, 0.02));
    border-radius: 0 16px 0 60px;
    z-index: 0;
}

.info-section-group > * {
    position: relative;
    z-index: 1;
}

.info-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.info-section-title i {
    color: #ff6b6b;
    font-size: 16px;
}

.info-section-content {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
    word-break: break-all;
}

/* 信息标签网格 */
.info-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info-tag {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.1) 0%, 
        rgba(255, 107, 107, 0.05) 100%);
    color: #ff6b6b;
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.info-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.15) 0%, 
        rgba(255, 107, 107, 0.08) 100%);
}

/* 联系提醒样式 */
.contact-reminder {
    margin-top: 20px;
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.08) 0%, 
        rgba(255, 193, 193, 0.04) 100%);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 107, 107, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.reminder-content h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #ff6b6b;
    margin-bottom: 12px;
    font-weight: 700;
}

.reminder-content h4 i {
    font-size: 16px;
}

.reminder-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reminder-points p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.reminder-points p i {
    color: #ff6b6b;
    font-size: 12px;
    width: 16px;
    text-align: center;
}

/* 联系我栏目样式 */
.contact-section {
    padding: 0;
    height: 100%;
}

.contact-container {
    min-height: 100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 107, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.25);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 107, 107, 0.3), 
        rgba(255, 107, 107, 0.1));
    border-radius: 16px 16px 0 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.phone-item .contact-icon {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

.wechat-item .contact-icon {
    background: linear-gradient(135deg, #09BB07, #8BC34A);
}

.qq-item .contact-icon {
    background: linear-gradient(135deg, #12B7F5, #4FC3F7);
}

.contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    word-break: break-all;
}

.phone-item .contact-value {
    color: #4CAF50;
}

.wechat-item .contact-value {
    color: #09BB07;
}

.qq-item .contact-value {
    color: #12B7F5;
}

.contact-action {
    display: flex;
    align-items: center;
}

.contact-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.05));
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 隐私状态样式 */
.privacy-text {
    color: #999;
    font-style: italic;
    font-size: 14px;
    font-weight: 500;
}

.privacy-icon {
    color: #ccc;
    margin-left: 5px;
}

/* 动态栏目样式 */
.stories-section {
    padding: 0;
    height: 100%;
}

.stories-container {
    min-height: 100px;
    height: 100%;
}

.stories-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 100%;
    overflow-y: auto;
    padding-bottom: 10px;
}

.stories-list::-webkit-scrollbar {
    width: 4px;
}

.stories-list::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 107, 0.3);
    border-radius: 3px;
}

.story-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.story-image {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.story-item:hover .story-image img {
    transform: scale(1.1);
}

.story-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.story-text {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.story-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 11px;
    color: #999;
}

.story-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.story-stat.liked {
    color: #ff6b6b;
}

/* 照片栏目样式 */
.photos-section {
    padding: 0;
    height: 100%;
}

.photo-gallery-container {
    min-height: 100px;
    height: 100%;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 100%;
    overflow-y: auto;
    padding-bottom: 10px;
}

.photo-gallery::-webkit-scrollbar {
    width: 4px;
}

.photo-gallery::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 107, 0.3);
    border-radius: 3px;
}

.photo-item {
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.photo-item:hover {
    transform: scale(1.05);
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.2);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: #f5f5f5;
}

.photo-item:hover img {
    transform: scale(1.1);
}

/* 空数据提示 */
.no-data-placeholder {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 2px dashed rgba(255, 107, 107, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-data-placeholder i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #ffc8c8;
}

/* 美化提示框 */
.swal2-popup {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 107, 107, 0.1) !important;
    background: linear-gradient(135deg, #fff 0%, #f9f0ff 100%) !important;
}

.swal2-title {
    color: #ff6b6b !important;
    font-weight: bold !important;
    font-size: 20px !important;
    text-shadow: 0 2px 4px rgba(255, 107, 107, 0.1) !important;
}

.swal2-content {
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.swal2-confirm {
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: bold !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3) !important;
}

.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4) !important;
}

.swal2-success {
    border-color: #ff6b6b !important;
    color: #ff6b6b !important;
}

.swal2-error {
    border-color: #ff6b6b !important;
    color: #ff6b6b !important;
}

.swal2-warning {
    border-color: #ff8e8e !important;
    color: #ff8e8e !important;
}

.swal2-info {
    border-color: #4facfe !important;
    color: #4facfe !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .fixed-header {
        padding: 10px;
    }
    
    header {
        padding: 12px 15px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo span {
        font-size: 18px;
    }
    
    .user-stat {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    .profile-complete-icon-container,
    .message-icon-container {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .draw-vip-hint {
        font-size: 13px;
        padding: 8px 12px;
        max-width: 95%;
        margin: 8px auto 12px;
        white-space: normal;
        line-height: 1.4;
        min-height: auto;
    }
    
    .draw-vip-hint span {
        display: inline;
        word-break: keep-all;
    }
    
    .features-section {
        flex-direction: row;
        gap: 8px;
    }
    
    .feature-card {
        padding: 12px;
        min-height: 110px;
    }
    
    .feature-icon {
        font-size: 20px;
    }
    
    .feature-title {
        font-size: 14px;
    }
    
    .feature-desc {
        font-size: 11px;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    /* 特效弹窗移动端适配 */
    .draw-effect-content {
        padding: 15px;
        width: 95%;
        height: 85vh;
        max-height: 85vh;
        margin: 10px;
        border-radius: 14px;
    }
    
    /* 轮盘移动端适配 */
    .wheel-container {
        width: 240px;
        height: 240px;
    }
    
    .wheel {
        width: 220px;
        height: 220px;
    }
    
    .wheel-center {
        width: 70px;
        height: 70px;
    }
    
    .wheel-center-circle {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .section-content {
        top: 20px;
        right: 25px;
        font-size: 10px;
    }
    
    .section-content i {
        font-size: 12px;
    }
    
    .result-avatar {
        width: 120px;
        height: 120px;
        border-width: 4px;
    }
    
    .result-name {
        font-size: 22px;
    }
    
    .result-gender-icon {
        font-size: 28px;
        width: 50px;
        height: 50px;
    }
    
    .result-match-score {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .result-match-score span {
        font-size: 20px;
    }
    
    .no-match-icon {
        font-size: 60px;
    }
    
    .no-match-title {
        font-size: 18px;
    }
    
    .no-match-subtitle {
        font-size: 13px;
    }
    
    .multi-user-card {
        padding: 20px 12px;
        max-width: 240px;
    }
    
    .multi-user-avatar {
        width: 85px;
        height: 85px;
    }
    
    .multi-user-name {
        font-size: 18px;
    }
    
    .multi-user-gender-icon {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }
    
    .multi-slider-container {
        min-height: 280px;
        max-width: 340px;
    }
    
    .multi-slider-wrapper {
        padding: 10px;
    }
    
    .multi-slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .multi-slider-arrow i {
        font-size: 16px;
    }
    
    .effect-actions .btn {
        padding: 8px 15px;
        min-width: 100px;
        font-size: 12px;
    }
    
    .detail-content {
        max-width: 95%;
        border-radius: 18px;
        height: 82vh;
        max-height: 82vh;
    }
    
    .detail-header {
        padding: 20px 15px 15px;
        min-height: 140px;
        gap: 12px;
    }
    
    .user-avatar-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .user-avatar {
        width: 80px;
        height: 80px;
    }
    
    .header-name-gender .user-name {
        font-size: 20px;
    }
    
    .header-age {
        font-size: 14px;
        padding: 5px 12px;
    }
    
    .detail-tabs {
        padding: 0 10px;
        height: 55px;
    }
    
    .detail-tab {
        padding: 12px 6px;
        font-size: 12px;
        gap: 4px;
    }
    
    .detail-tab i {
        font-size: 13px;
    }
    
    .detail-body {
        padding: 15px;
    }
    
    .info-section-group {
        padding: 15px;
    }
    
    .info-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .contact-item {
        padding: 15px;
        gap: 12px;
    }
    
    .contact-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .contact-value {
        font-size: 15px;
    }
    
    .contact-reminder {
        padding: 15px;
    }
    
    .reminder-content h4 {
        font-size: 15px;
    }
    
    .reminder-points p {
        font-size: 12px;
    }
    
    .stories-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .story-image {
        height: 120px;
    }
    
    .story-text {
        font-size: 12px;
    }
    
    /* 盒子特效移动端适配 */
    .box-effect-content {
        padding: 20px;
        width: 95%;
        max-height: 85vh;
    }
    
    .box {
        font-size: 32px;
        width: 50px;
        height: 50px;
    }
    
    .box-body {
        font-size: 48px;
        width: 70px;
        height: 70px;
    }
    
    .success-title {
        font-size: 20px;
    }
    
    .success-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .user-stat {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .draw-vip-hint {
        font-size: 12px;
        padding: 6px 10px;
        flex-wrap: wrap;
        justify-content: flex-start;
        text-align: center;
    }
    
    .draw-vip-hint i {
        font-size: 12px;
        margin-right: 4px;
    }
    
    .draw-vip-hint span {
        font-size: 12px;
    }
    
    .features-section {
        flex-direction: row;
        gap: 6px;
    }
    
    .feature-card {
        padding: 10px;
        min-height: 100px;
    }
    
    .feature-icon {
        font-size: 18px;
    }
    
    .feature-title {
        font-size: 13px;
    }
    
    .feature-desc {
        font-size: 10px;
    }
    
    /* 特效弹窗超小屏幕适配 */
    .draw-effect-content {
        padding: 12px;
        width: 95%;
        height: 82vh;
        max-height: 82vh;
        margin: 5px;
        border-radius: 12px;
    }
    
    /* 轮盘超小屏幕适配 */
    .wheel-container {
        width: 200px;
        height: 200px;
        margin-bottom: 15px;
    }
    
    .wheel {
        width: 180px;
        height: 180px;
    }
    
    .wheel-center {
        width: 60px;
        height: 60px;
    }
    
    .wheel-center-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .section-content {
        top: 15px;
        right: 20px;
        font-size: 9px;
    }
    
    .section-content i {
        font-size: 11px;
    }
    
    .pointer-arrow {
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 25px solid #ffeb3b;
    }
    
    .pointer-base {
        width: 20px;
        height: 20px;
        top: 20px;
    }
    
    .result-avatar {
        width: 100px;
        height: 100px;
    }
    
    .result-name {
        font-size: 20px;
    }
    
    .result-gender-icon {
        font-size: 24px;
        width: 45px;
        height: 45px;
    }
    
    .result-match-score {
        font-size: 14px;
        padding: 6px 14px;
    }
    
    .result-match-score span {
        font-size: 18px;
    }
    
    .no-match-icon {
        font-size: 50px;
    }
    
    .no-match-title {
        font-size: 16px;
    }
    
    .no-match-subtitle {
        font-size: 12px;
    }
    
    .no-match-tips {
        max-width: 240px;
    }
    
    .tip-item {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .multi-user-card {
        padding: 15px 10px;
        max-width: 220px;
    }
    
    .multi-user-avatar {
        width: 75px;
        height: 75px;
    }
    
    .multi-user-name {
        font-size: 16px;
    }
    
    .multi-user-gender-icon {
        font-size: 18px;
        width: 32px;
        height: 32px;
    }
    
    .multi-slider-container {
        min-height: 250px;
        max-width: 300px;
    }
    
    .multi-slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .multi-slider-arrow i {
        font-size: 14px;
    }
    
    .effect-actions .btn {
        padding: 10px 16px;
        min-width: 110px;
        font-size: 13px;
    }
    
    .detail-content {
        max-width: 100%;
        border-radius: 0;
        height: 85vh;
        max-height: 100vh;
    }
    
    .detail-header {
        padding: 15px 15px 12px;
        min-height: 130px;
        gap: 10px;
    }
    
    .user-avatar-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .user-avatar {
        width: 70px;
        height: 70px;
    }
    
    .header-name-gender .user-name {
        font-size: 18px;
    }
    
    .header-name-gender .gender-display {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .header-age {
        font-size: 13px;
        padding: 4px 10px;
    }
    
    .detail-tabs {
        padding: 0 8px;
        height: 50px;
    }
    
    .detail-tab {
        padding: 10px 4px;
        font-size: 11px;
        gap: 3px;
    }
    
    .detail-tab i {
        font-size: 12px;
    }
    
    .detail-body {
        padding: 12px;
    }
    
    .info-tags-grid {
        gap: 8px;
    }
    
    .info-tag {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .contact-item {
        padding: 12px;
        gap: 10px;
    }
    
    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .contact-value {
        font-size: 14px;
    }
    
    .contact-reminder {
        padding: 12px;
    }
    
    .reminder-content h4 {
        font-size: 14px;
    }
    
    .reminder-points p {
        font-size: 11px;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    /* 盒子特效超小屏幕适配 */
    .box-group {
        gap: 15px;
        margin: 30px 0;
    }
    
    .box {
        font-size: 28px;
        width: 45px;
        height: 45px;
    }
    
    .box-body {
        font-size: 40px;
        width: 60px;
        height: 60px;
    }
    
    .box-effect-content {
        padding: 15px;
    }
}

/* 确保特效弹窗在所有设备上全屏 */
@media screen and (max-width: 1024px) {
    .draw-effect-modal {
        height: 100vh !important;
    }
    
    .draw-effect-content {
        height: auto;
        max-height: 90vh;
    }
}

/* 确保页面加载时应用新样式 */
body.loading-styles {
    overflow: hidden;
}

body.loading-styles::after {
    content: '正在应用新样式...';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    z-index: 9999;
    font-size: 14px;
}

/* 图片放大查看样式 */
.image-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.image-viewer-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.image-viewer-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-viewer-modal.active .image-viewer-content img {
    transform: scale(1);
}

.image-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}