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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #ff6b6b, #ffa726);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.lottery-container {
    padding: 40px;
    text-align: center;
}

.wheel-container {
    margin: 40px 0;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(
        #ff6b6b 0deg 45deg,
        #ffa726 45deg 90deg,
        #66bb6a 90deg 135deg,
        #42a5f5 135deg 180deg,
        #ab47bc 180deg 225deg,
        #ff7043 225deg 270deg,
        #26c6da 270deg 315deg,
        #8d6e63 315deg 360deg
    );
    position: relative;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    border: 4px solid #ff6b6b;
    z-index: 10;
}

.wheel-pointer {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #ff6b6b;
    z-index: 5;
}

.controls {
    margin: 30px 0;
}

.start-btn, .reset-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.start-btn {
    background: linear-gradient(135deg, #ff6b6b, #ffa726);
    color: white;
}

.start-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.start-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.reset-btn {
    background: #f5f5f5;
    color: #666;
    border: 2px solid #ddd;
}

.reset-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.result {
    margin: 40px 0;
}

.result h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.winner-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.winner-item {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
}

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

.prizes {
    background: #f8f9fa;
    padding: 40px;
    border-top: 1px solid #e9ecef;
}

.prizes h3 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.prize-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.prize-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.prize-name {
    display: block;
    font-weight: bold;
    color: #ff6b6b;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.prize-desc {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.prize-count {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .wheel {
        width: 250px;
        height: 250px;
    }
    
    .controls {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .start-btn, .reset-btn {
        margin: 5px 0;
        width: 200px;
    }
}