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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
}

.content {
    padding: 20px;
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #d32f2f;
    text-align: center;
    margin-bottom: 20px;
}

.rewards {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.reward-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.reward-item:last-child {
    margin-bottom: 0;
}

.reward-icon {
    width: 40px;
    height: 40px;
    background-color: #ff9800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.reward-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.form-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.scroll_wrap {
    padding: 0 10px;
}

.por {
    position: relative;
    margin-bottom: 20px;
}

.must {
    position: absolute;
    left: -10px;
    top: 12px;
    color: #e60012;
    font-size: 16px;
}

.input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}

.expand {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.expand label {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.box_radio {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #fff;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.box_radio:hover {
    background-color: #fff3e0;
}

.box_radio input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.box_radio label {
    cursor: pointer;
    font-size: 13px;
    color: #555;
    margin: 0;
    flex: 1;
}

.user_privacyBox {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
}

.user_privacy {
    margin-right: 8px;
    margin-top: 3px;
    cursor: pointer;
}

.user_privacyBox div {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.user_privacyBox a {
    color: #ff9800;
    text-decoration: none;
}

.user_privacyBox a:hover {
    text-decoration: underline;
}

.submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(255, 152, 0, 0.3);
}

.submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255, 152, 0, 0.4);
}

.submit:active {
    transform: translateY(0);
}

.roll-section {
    margin-top: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.roll-title {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.roll-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.roll-list {
    animation: roll 10s linear infinite;
}

@keyframes roll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.roll-item {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 300px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.modal-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.modal-close {
    padding: 10px 30px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}