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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    position: relative;
    min-height: 100vh;
    padding: 20px;
}

/* 背景动画粒子 */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 10px #00d4ff;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b, #4ecdc4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 300;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 抽奖区域 */
.lottery-section {
    margin-bottom: 80px;
}

.lottery-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lottery-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #00d4ff;
}

.lottery-title p {
    color: #a0a0a0;
    margin-bottom: 40px;
}

/* 抽奖轮盘 */
.lottery-wheel {
    margin-bottom: 50px;
}

.wheel-container {
    position: relative;
    width: 600px;
    height: 160px;
    margin: 0 auto;
    overflow: hidden;
    border: 3px solid #00d4ff;
    border-radius: 80px;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
    backdrop-filter: blur(10px);
}

.wheel-track {
    display: flex;
    align-items: center;
    height: 100%;
    transition: transform 0.1s ease-out;
    padding: 0 20px;
}

.wheel-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    margin: 0 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    transition: all 0.3s ease;
}

.wheel-item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.8);
}

.wheel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wheel-item:hover {
    transform: scale(1.05);
}

.wheel-item.selected {
    transform: scale(1.15);
    box-shadow: 
        0 0 25px rgba(255, 107, 107, 0.8),
        0 0 50px rgba(255, 107, 107, 0.6),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    border: 3px solid #ff6b6b;
    z-index: 5;
}

.wheel-item.selected img {
    filter: brightness(1.2) saturate(1.3);
}

.wheel-pointer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, 
        rgba(255, 107, 107, 0.3) 0%, 
        rgba(255, 107, 107, 0.5) 50%, 
        rgba(255, 107, 107, 0.3) 100%);
    border-radius: 50%;
    border: 3px solid rgba(255, 107, 107, 0.8);
    z-index: 10;
    box-shadow: 
        0 0 30px rgba(255, 107, 107, 0.6),
        0 0 60px rgba(255, 107, 107, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: highlightPulse 2s ease-in-out infinite;
}

.wheel-pointer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 107, 0.2);
    border-radius: 50%;
    border: 2px dashed rgba(255, 107, 107, 0.6);
    animation: highlightRotate 3s linear infinite;
}

.wheel-pointer::after {
    content: '选中区域';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.8);
    pointer-events: none;
}

@keyframes highlightPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 30px rgba(255, 107, 107, 0.6),
            0 0 60px rgba(255, 107, 107, 0.4),
            inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 
            0 0 40px rgba(255, 107, 107, 0.8),
            0 0 80px rgba(255, 107, 107, 0.6),
            inset 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes highlightRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 抽奖按钮 */
.lottery-btn {
    position: relative;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.lottery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

.lottery-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.lottery-btn:hover .btn-glow {
    left: 100%;
}

/* 团队成员区域 */
.team-section {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #00d4ff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.team-card:hover::before {
    left: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid #00d4ff;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.member-title {
    color: #00d4ff;
    font-weight: 500;
    margin-bottom: 10px;
}

.member-description {
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: 15px;
}

.visit-btn {
    padding: 8px 20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    border: 2px solid #00d4ff;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    color: #00d4ff;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ff6b6b;
}

.winner-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.winner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00d4ff;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.winner-details h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.winner-details p {
    color: #a0a0a0;
    margin-bottom: 5px;
}

.countdown-container {
    margin-bottom: 20px;
    text-align: center;
}

.countdown-text {
    color: #a0a0a0;
    margin-bottom: 10px;
}

.countdown-text span {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 1.2rem;
}

.countdown-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.countdown-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ee5a52);
    width: 100%;
    transition: width 0.1s linear;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* 加入我们按钮样式 */
.join-us-section {
    text-align: center;
    margin: 60px 0 40px;
    padding: 0 20px;
}

.join-us-btn {
    position: relative;
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.join-us-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #0099cc, #00d4ff);
}

.join-us-btn:active {
    transform: translateY(-1px);
}

.join-text {
    position: relative;
    z-index: 2;
    display: block;
}

.join-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.join-us-btn:hover .join-glow {
    transform: translateX(100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .wheel-container {
        width: 350px;
        height: 120px;
    }
    
    .wheel-item {
        width: 70px;
        height: 70px;
        margin: 0 8px;
    }
    
    .wheel-track {
        padding: 0 10px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .winner-info {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .wheel-pointer {
        width: 90px;
        height: 90px;
    }
    
    .wheel-pointer::before {
        width: 60px;
        height: 60px;
    }
    
    .wheel-pointer::after {
        font-size: 10px;
    }

    .join-us-section {
        margin: 40px 0 30px;
    }

    .join-us-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .wheel-container {
        width: 280px;
        height: 100px;
    }
    
    .wheel-item {
        width: 60px;
        height: 60px;
        margin: 0 5px;
    }
    
    .wheel-pointer {
        width: 80px;
        height: 80px;
    }
    
    .wheel-pointer::before {
        width: 50px;
        height: 50px;
    }
    
    .wheel-pointer::after {
        font-size: 9px;
    }
    
    .lottery-title h2 {
        font-size: 2rem;
    }

    .join-us-section {
        margin: 30px 0 20px;
    }

    .join-us-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}