body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: url('/IMG/choujiangbeij.jpg') no-repeat center center;
    background-size: cover;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* My Prizes */
.my-prizes {
    position: absolute;
    bottom: 160px;
    width: 90%;
    max-height: 150px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 50;
    text-align: center;
}

.my-prizes h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.my-prizes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.my-prizes li {
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
}

.my-prizes li:last-child {
    border-bottom: none;
}

.lottery-wrapper {
    width: 90%;
    max-width: 450px;
    position: relative;
}

.turnplate {
    display: block;
    width: 100%;
    position: relative;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.turnplate canvas.item {
    width: 100%;
}

.turnplate .pointer {
    position: absolute;
    width: 80px;
    height: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    z-index: 10;
    background: #ff4081;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.turnplate .pointer::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -10px;
    border-width: 0 10px 20px;
    border-style: solid;
    border-color: transparent transparent #ff4081;
}

/* Modal */
.result-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 300px;
}

/* 仅针对中奖信息填写的弹窗使用特定背景 */
.info-modal-content {
    background: url('/IMG/zhongjiangxinxi.png') no-repeat center center;
    background-size: 100% 100%;
    padding: 110px 20px 20px 20px; /* Top padding increased from 40px to 50px to move content down */
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 310px; /* Increased by 10px from 300px */
    min-height: 310px; /* Increased by 10px from 300px */
    box-shadow: none;
    position: relative;
}

.info-modal-content h2 {
    display: none;
}

/* 兑奖需知弹窗特殊样式 */
#redemptionModal .modal-content {
    max-width: 90%;
    width: 90%;
}

.close-circle-btn {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    background: red;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 10;
    border: 2px solid white;
}

#userInfoForm {
    text-align: center;
}

.form-input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form-btn {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    background-color: #ff5722;
    color: white;
}

.btn-warning {
    background-color: #faad14;
}

.info-modal-content #resultDescription {
    color: white !important; /* Force white color for description */
}

.info-modal-content #resultName {
    color: white !important; /* Force white color for prize name */
}

.modal-content img {
    max-width: 100px;
    margin: 10px 0;
}

.modal-content button {
    background: #ff5722;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
