.wpld-lottery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.wpld-header {
    text-align: center;
    margin-bottom: 30px;
}

.wpld-header h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.wpld-timer {
    color: #e74c3c;
    font-size: 16px;
}

.wpld-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wpld-wheel-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin-bottom: 30px;
}
.wpld-wheel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
#wpld-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 2s cubic-bezier(0.2, 0.8, 0.3, 1);
}
/* 指针样式 */
.wpld-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.wpld-pointer-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #ff4757;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.wpld-pointer-circle {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #ff4757;
    z-index: 11;
}
.wpld-spin-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    border: 3px solid #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 20;
    letter-spacing: 2px;
}

.wpld-spin-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: linear-gradient(135deg, #ff6b81, #ff4757);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}


.wpld-referral-section {
    width: 100%;
    max-width: 500px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wpld-referral-section h3 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

.wpld-referral-stats {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.wpld-referral-stats > div {
    margin-bottom: 10px;
    color: #666;
}

.wpld-progress {
    height: 10px;
    background: #ecf0f1;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.wpld-progress-bar {
    height: 100%;
    background: #27ae60;
    transition: width 0.3s ease;
}

.wpld-progress-text {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
}

.wpld-referral-link {
    margin-top: 15px;
}

.wpld-referral-link p {
    margin-bottom: 8px;
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

#wpld-referral-url {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.wpld-copy-btn {
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    height: 36px;
    line-height: 1;
}

.wpld-copy-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.wpld-new-user-section {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.wpld-new-user-section p {
    margin-bottom: 15px;
    font-size: 16px;
}

.wpld-new-user-spin {
    background: #e67e22;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpld-new-user-spin:hover {
    background: #d35400;
}

.wpld-expired-section {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.wpld-expired-content {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.wpld-expired-content > p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    font-weight: bold;
}
.wpld-expired-section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.wpld-new-user-signup {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.wpld-new-user-signup h3 {
    color: #333;
    margin-bottom: 15px;
}

.wpld-new-user-signup form {
    margin-bottom: 10px;
}

.wpld-new-user-signup input[type="text"],
.wpld-new-user-signup input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpld-new-user-signup input[type="submit"] {
    width: 100%;
    padding: 10px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.wpld-result-section {
    width: 100%;
    max-width: 400px;
    background: #2ecc71;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
    margin-top: 20px;
}

.wpld-result-message {
    font-size: 20px;
    font-weight: bold;
}

.wpld-records-section {
    width: 100%;
    max-width: 600px;
    margin-top: 30px;
}

.wpld-records-section h3 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

.wpld-records-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wpld-records-table th {
    background: #f2f2f2;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    color: #333;
}

.wpld-records-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    color: #666;
}

.wpld-records-table tr:hover {
    background: #f9f9f9;
}

.wpld-loading {
    text-align: center;
    padding: 50px;
    color: #666;
    font-size: 16px;
}

@media (max-width: 768px) {
    .wpld-wheel-container {
        width: 300px;
        height: 300px;
    }
    
    .wpld-referral-section {
        padding: 15px;
    }
    
    .wpld-referral-link {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .wpld-link-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .wpld-link-box input,
    .wpld-copy-btn {
        width: 100%;
    }
    
    .wpld-copy-btn {
        padding: 8px;
    }
}
/* 添加新样式 */
.wpld-link-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wpld-link-box input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    background: #f9f9f9;
    color: #333;
    height: 36px;
    box-sizing: border-box;
}
.wpld-link-box input:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

.wpld-register-link {
    display: inline-block;
    margin-top: 15px;
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.wpld-register-link:hover {
    text-decoration: underline;
}
.wpld-spin-btn:active {
    transform: translate(-50%, -50%) scale(0.98);
}

.wpld-spin-btn:disabled,
.wpld-new-user-spin:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#wpld-wheel {
    transition: transform 0.1s linear;
}

.wpld-expired-section .wpld-new-user-signup {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.wpld-expired-section .wpld-new-user-signup input[type="text"],
.wpld-expired-section .wpld-new-user-signup input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.wpld-expired-section .wpld-new-user-signup input[type="submit"] {
    width: 100%;
    padding: 10px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.wpld-expired-section .wpld-new-user-signup input[type="submit"]:hover {
    background: #764ba2;
}

/* 新用户横幅样式 */
.wpld-new-user-section {
    width: 100%;
    margin-bottom: 30px;
}

.wpld-new-user-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: slideDown 0.5s ease;
    max-width: 600px;
    width: 100%;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wpld-new-user-icon {
    font-size: 32px;
    animation: wave 1s ease infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

.wpld-new-user-text {
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.wpld-new-user-spin {
    background: #ff4757;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.wpld-new-user-spin:hover {
    transform: scale(1.05);
    background: #ff6b81;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.wpld-new-user-spin:active {
    transform: scale(0.98);
}
/* 无抽奖机会提示 */
.wpld-no-chance-section {
    width: 100%;
    margin-bottom: 30px;
}

.wpld-no-chance-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
    border-radius: 12px;
    padding: 25px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.wpld-no-chance-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.wpld-no-chance-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
    display: block;
    margin-bottom: 10px;
}

.wpld-no-chance-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 14px;
}

/* 播报区域样式 */
.wpld-announcement-section {
    width: 100%;
    margin-bottom: 20px;
}

.wpld-announcement-box {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: wpld-slideDown 0.5s ease;
}

.wpld-announcement-icon {
    font-size: 24px;
    animation: wpld-bell 1s ease infinite;
}

@keyframes wpld-bell {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(10deg); }
    20%, 40%, 60%, 80% { transform: rotate(-10deg); }
}

.wpld-announcement-label {
    font-weight: bold;
    color: #d63031;
    font-size: 14px;
}

.wpld-announcement-text {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
}

@keyframes wpld-slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 过期区域内的推荐信息样式 */
.wpld-expired-referral-info {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.wpld-expired-referral-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

.wpld-expired-referral-info p {
    color: #555;
    margin-bottom: 15px;
    font-size: 14px;
}

.wpld-expired-referral-info .wpld-referral-stats {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
}

.wpld-expired-referral-info .wpld-referral-stats div {
    color: #333;
    margin-bottom: 8px;
}