/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f9f5;
    color: #333;
    line-height: 1.5;
    font-size: 14px;
    min-height: 100vh;
    padding-bottom: 60px;
    overflow-x: hidden;
}

/* 背景图容器 */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* 主容器 */
.container {
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.98);
    min-height: 100vh;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow-x: hidden;
}


/* 在原有CSS中添加以下样式 */

/* 提现信息滚动 - 从上往下 */
.withdrawal-marquee {
    height: 100px; /* 增加高度显示多行 */
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
    border-radius: 8px;
    margin: 10px 15px;
    padding: 10px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.withdrawal-marquee-content {
    position: absolute;
    width: 100%;
    animation: marquee-vertical 30s linear infinite;
}

.withdrawal-item {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(231, 76, 60, 0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.withdrawal-item:last-child {
    border-bottom: none;
}

.withdrawal-user {
    color: #333;
    font-weight: bold;
    min-width: 100px;
}

.withdrawal-amount {
    color: #e74c3c;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

.withdrawal-time {
    color: #777;
    min-width: 140px;
    text-align: right;
    font-size: 12px;
}

.novice-tag {
    background-color: #2ecc71;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 10px;
    font-weight: bold;
}

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

/* 进度条改进 */
.animated-progress {
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 15px 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.animated-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60, #2ecc71);
    background-size: 200% 100%;
    border-radius: 10px;
    position: relative;
    transition: width 1s ease-in-out;
    animation: progress-gradient 2s linear infinite;
}

.animated-progress-bar:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-gradient {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.progress-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.progress-count {
    font-size: 24px;
    font-weight: bold;
    color: #2ecc71;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.progress-count span {
    color: #e74c3c;
}

/* 提现模态框样式改进 */
.withdraw-account-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.withdraw-account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.withdraw-account-row:last-child {
    border-bottom: none;
}

.withdraw-account-label {
    font-weight: bold;
    color: #555;
    min-width: 100px;
}

.withdraw-account-value {
    color: #333;
    font-weight: 500;
    text-align: right;
    flex: 1;
}





















/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

@keyframes progressAnimation {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

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

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

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* 提现信息滚动 */
.withdrawal-marquee {
    height: 35px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
    border-radius: 8px;
    margin: 10px 15px;
    padding: 8px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.withdrawal-marquee-content {
    position: absolute;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    color: #e74c3c;
    font-weight: bold;
    font-size: 13px;
    line-height: 1.8;
}

.withdrawal-marquee-content span {
    display: inline-block;
    margin-right: 50px;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.2);
    animation: fadeInUp 0.5s;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
    font-size: 24px;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.user-details {
    display: flex;
    align-items: center;
}

.user-details i {
    margin-right: 5px;
}

.user-balance {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.user-balance:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.balance-amount {
    font-weight: bold;
    margin-right: 5px;
}

.withdraw-btn-small {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.withdraw-btn-small:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(231, 76, 60, 0.3);
}

.settings-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s;
}

.settings-btn:hover {
    transform: rotate(30deg);
}

/* 任务总数和分类按钮 */
.task-stats {
    background-color: white;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: slideInLeft 0.5s;
}

.total-tasks {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    color: #27ae60;
}

.task-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category-btn {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.category-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* 主要内容区域 */
.main-content {
    padding: 15px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 2px solid #2ecc71;
    animation: fadeInUp 0.5s;
}

/* 登录/注册页面样式 */
.auth-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    animation: fadeInUp 0.5s;
}

.auth-form {
    width: 100%;
    max-width: 350px;
    background-color: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s 0.2s backwards;
}

.auth-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: #2ecc71;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: white;
}

.form-input:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

.btn-primary {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    margin-top: 10px;
}

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

.btn-success {
    background-color: #2ecc71;
    color: white;
}

.btn-warning {
    background-color: #f39c12;
    color: #333;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.auth-link {
    color: #2ecc71;
    font-weight: bold;
    cursor: pointer;
    margin-left: 5px;
    transition: all 0.3s;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

/* 验证码相关样式 */
.captcha-group {
    display: flex;
    gap: 10px;
}

.captcha-input {
    flex: 1;
}

.captcha-img {
    width: 100px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: pointer;
    user-select: none;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 5px;
    color: #2ecc71;
}

.refresh-captcha {
    width: 40px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: all 0.3s;
}

.refresh-captcha:hover {
    background-color: #f5f5f5;
    color: #2ecc71;
}

/* 游戏任务卡片 */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s;
}

.game-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.2);
}

.game-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #2ecc71, #27ae60);
}

.game-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.5s;
}

.game-card:hover .game-image {
    transform: scale(1.05);
}

.game-info {
    padding: 12px;
}

.game-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-reward {
    color: #e74c3c;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.game-reward i {
    margin-right: 5px;
    font-size: 18px;
    animation: pulse 2s infinite;
}

.game-time {
    color: #777;
    font-size: 13px;
    margin-bottom: 5px;
}

.game-count {
    color: #777;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hot-icon {
    color: #e74c3c;
    font-size: 16px;
    animation: pulse 1.5s infinite;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 10px;
    flex-wrap: wrap;
    gap: 5px;
    animation: fadeInUp 0.5s;
}

.pagination button {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination button:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.pagination button.active {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    border-color: #27ae60;
}

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

.pagination button.disabled:hover {
    transform: none;
    background-color: white;
}

.pagination-info {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    color: #777;
    font-size: 13px;
}

/* 新手任务页面 */
.novice-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
}

.back-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    left: 0;
    transition: all 0.3s;
    padding: 5px;
}

.back-btn:hover {
    transform: translateX(-5px);
}

.novice-task {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.5s;
    position: relative;
    overflow: hidden;
}

.novice-task:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #2ecc71, #27ae60);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.task-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.task-status {
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-reviewing {
    background-color: #cce5ff;
    color: #004085;
}

.status-failed {
    background-color: #f8d7da;
    color: #721c24;
}

.task-content {
    margin-bottom: 15px;
}

.task-reward {
    font-size: 20px;
    color: #e74c3c;
    font-weight: bold;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.task-reward i {
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.task-withdraw-btn {
    background: linear-gradient(to right, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.task-withdraw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.invite-code-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.invite-code {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #2ecc71;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    font-family: 'Courier New', monospace;
}

.invite-link {
    background-color: white;
    border: 1px dashed #2ecc71;
    border-radius: 6px;
    padding: 10px;
    word-break: break-all;
    font-size: 13px;
    margin-top: 10px;
    color: #555;
    font-family: 'Courier New', monospace;
}

/* 邀请进度条 */
.invite-progress-container {
    margin-top: 20px;
}

.invite-progress {
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.invite-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #2ecc71, #27ae60);
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease-in-out;
    position: relative;
    overflow: hidden;
}

.invite-progress-bar:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        -45deg, 
        rgba(255, 255, 255, .2) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, .2) 50%, 
        rgba(255, 255, 255, .2) 75%, 
        transparent 75%, 
        transparent
    );
    z-index: 1;
    background-size: 50px 50px;
    animation: shimmer 2s linear infinite;
}

.invite-progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 14px;
    color: #555;
}

/* 动态任务进度条 */
.task-progress {
    height: 15px;
    background: linear-gradient(45deg, #2ecc71 25%, #27ae60 25%, #27ae60 50%, #2ecc71 50%, #2ecc71 75%, #27ae60 75%);
    background-size: 40px 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin: 10px 0;
    animation: progressAnimation 2s linear infinite;
}

.task-progress:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-container {
    margin: 20px 0;
}

.progress-bar {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #2ecc71, #27ae60);
    border-radius: 5px;
    width: 0%;
    transition: width 0.5s;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 14px;
    color: #555;
}

/* 提现相关样式 */
.withdraw-box {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.5s;
}

.withdraw-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.balance {
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
}

.withdraw-form {
    margin-top: 20px;
}

.withdraw-note {
    font-size: 13px;
    color: #777;
    margin-top: 15px;
    line-height: 1.5;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* 设置页面样式 */
.settings-page {
    padding: 15px;
}

.settings-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.5s;
}

.settings-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #2ecc71;
}

.account-info {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.account-info div {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-info strong {
    color: #555;
}

/* 邀请明细页面 */
.invite-detail-page {
    padding: 15px;
}

.invite-detail-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.invite-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.invite-table th, .invite-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.invite-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #555;
}

.invite-table tr:hover {
    background-color: #f9f9f9;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.status-valid {
    background-color: #d4edda;
    color: #155724;
}

.status-invalid {
    background-color: #f8d7da;
    color: #721c24;
}

/* 图片查看器 */
.image-viewer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-viewer-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
}

.image-viewer-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.close-image-viewer {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* 阅读任务样式 */
.read-task {
    text-align: center;
    padding: 20px;
}

.read-tutorial {
    margin-bottom: 20px;
}

.tutorial-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.tutorial-image:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.upload-box {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.upload-preview {
    margin: 15px 0;
    text-align: center;
}

.uploaded-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.upload-status {
    padding: 10px;
    margin-top: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.upload-status.pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.upload-status.approved {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.upload-status.rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 文件上传按钮 */
.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* 验证动画 */
.verifying-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.verifying-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
}

.verifying-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2ecc71;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeInUp 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.modal-message {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    flex: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #777;
    cursor: pointer;
    background: none;
    border: none;
    transition: all 0.3s;
}

.close-modal:hover {
    transform: rotate(90deg);
    color: #e74c3c;
}

/* 优化后的立即提现按钮 */
.withdraw-btn {
    background: linear-gradient(to right, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
    display: inline-block;
}

.withdraw-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

.withdraw-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    animation: none;
}

/* 自动跳转倒计时 */
.countdown-timer {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    margin-top: 10px;
    text-align: center;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    animation: fadeInUp 0.5s;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #777;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    position: relative;
    padding: 5px 0;
}

.nav-item.active {
    color: #2ecc71;
}

.nav-item.active:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #2ecc71;
    border-radius: 3px;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: all 0.3s;
}

.nav-item:hover i {
    transform: translateY(-3px);
}

.nav-item span {
    font-size: 12px;
}

/* 管理员后台样式 */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #2ecc71;
    margin-bottom: 5px;
}

.stat-label {
    color: #777;
    font-size: 14px;
}

.admin-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    overflow-x: auto;
}

.admin-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.admin-tab.active {
    border-bottom-color: #2ecc71;
    color: #2ecc71;
    font-weight: bold;
}

.admin-tab:hover {
    background-color: #f5f5f5;
}

.admin-content {
    display: none;
}

.admin-content.active {
    display: block;
    animation: fadeInUp 0.3s;
}

.admin-user-list {
    margin-top: 20px;
}

.admin-user-item {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.admin-user-info {
    flex: 1;
    min-width: 200px;
}

.admin-user-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.admin-image-preview {
    max-width: 100px;
    max-height: 100px;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.admin-image-preview:hover {
    transform: scale(1.1);
}

.game-id-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
}

.game-id-item {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 页面切换效果 */
.page {
    display: none;
    animation: fadeInUp 0.5s;
}

.page.active {
    display: block;
}

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .container {
        border-radius: 0;
        max-width: 100%;
        margin: 0;
    }
    
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .auth-form {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .task-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .pagination button {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .invite-code {
        font-size: 24px;
    }
    
    .invite-link {
        font-size: 12px;
        padding: 8px;
    }
    
    .admin-user-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .admin-user-actions {
        margin-top: 15px;
        justify-content: center;
    }
    
    .withdrawal-marquee {
        height: 30px;
        padding: 6px 10px;
        margin: 8px 10px;
    }
    
    .withdrawal-marquee-content {
        font-size: 12px;
        animation: marquee 25s linear infinite;
    }
    
    .bottom-nav {
        padding: 10px 0;
    }
    
    .nav-item i {
        font-size: 18px;
    }
    
    .nav-item span {
        font-size: 11px;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 360px) {
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .game-title {
        font-size: 14px;
    }
    
    .game-reward {
        font-size: 18px;
    }
    
    .task-title {
        font-size: 16px;
    }
    
    .auth-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

/* 平板电脑优化 */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 600px;
    }
    
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
}

/* 防止iOS点击高亮 */
* {
    -webkit-tap-highlight-color: transparent;
}

/* 防止文字选中 */
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(46, 204, 113, 0.3);
    border-radius: 50%;
    border-top-color: #2ecc71;
    animation: spin 1s ease-in-out infinite;
}

/* 图片放大效果 */
.image-zoom {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.image-zoom:hover {
    transform: scale(1.05);
}

/* 验证框样式 */
.verify-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.verify-input {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* 游戏ID列表滚动条 */
.game-id-list::-webkit-scrollbar {
    width: 6px;
}

.game-id-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.game-id-list::-webkit-scrollbar-thumb {
    background: #2ecc71;
    border-radius: 3px;
}

.game-id-list::-webkit-scrollbar-thumb:hover {
    background: #27ae60;
}

/* 表单验证错误样式 */
.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-input.error {
    border-color: #e74c3c;
}

.form-input.error:focus {
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

/* 成功消息样式 */
.success-message {
    color: #2ecc71;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

/* 悬停效果 */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

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

/* 文字截断 */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 多行文字截断 */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 浮动按钮 */
.float-btn {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

/* 页面切换动画 */
.page-transition-enter {
    opacity: 0;
    transform: translateX(20px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.page-transition-exit {
    opacity: 1;
    transform: translateX(0);
}

.page-transition-exit-active {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

/* 骨架屏加载动画 */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 12px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 15px;
}

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* 工具类 */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.ml-10 {
    margin-left: 10px;
}

.mr-10 {
    margin-right: 10px;
}

.p-10 {
    padding: 10px;
}

.p-20 {
    padding: 20px;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.overflow-hidden {
    overflow: hidden;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.z-index-100 {
    z-index: 100;
}

.z-index-1000 {
    z-index: 1000;
}

.cursor-pointer {
    cursor: pointer;
}

.user-select-none {
    user-select: none;
}

.overflow-auto {
    overflow: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

.border-radius-5 {
    border-radius: 5px;
}

.border-radius-8 {
    border-radius: 8px;
}

.border-radius-10 {
    border-radius: 10px;
}

.border-radius-50 {
    border-radius: 50%;
}

.box-shadow {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.box-shadow-hover {
    transition: box-shadow 0.3s;
}

.box-shadow-hover:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.transition-3 {
    transition: all 0.3s ease;
}

.transition-5 {
    transition: all 0.5s ease;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.visibility-hidden {
    visibility: hidden;
}

.visibility-visible {
    visibility: visible;
}

.display-none {
    display: none !important;
}

.display-block {
    display: block !important;
}

.display-flex {
    display: flex !important;
}

.display-inline-block {
    display: inline-block !important;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* 颜色类 */
.text-primary {
    color: #2ecc71;
}

.text-secondary {
    color: #777;
}

.text-success {
    color: #2ecc71;
}

.text-danger {
    color: #e74c3c;
}

.text-warning {
    color: #f39c12;
}

.text-info {
    color: #3498db;
}

.text-white {
    color: white;
}

.text-black {
    color: #333;
}

.bg-primary {
    background-color: #2ecc71;
}

.bg-secondary {
    background-color: #777;
}

.bg-success {
    background-color: #2ecc71;
}

.bg-danger {
    background-color: #e74c3c;
}

.bg-warning {
    background-color: #f39c12;
}

.bg-info {
    background-color: #3498db;
}

.bg-white {
    background-color: white;
}

.bg-light {
    background-color: #f8f9fa;
}

/* 边框类 */
.border {
    border: 1px solid #ddd;
}

.border-top {
    border-top: 1px solid #ddd;
}

.border-right {
    border-right: 1px solid #ddd;
}

.border-bottom {
    border-bottom: 1px solid #ddd;
}

.border-left {
    border-left: 1px solid #ddd;
}

.border-primary {
    border-color: #2ecc71;
}

.border-success {
    border-color: #2ecc71;
}

.border-danger {
    border-color: #e74c3c;
}

.border-warning {
    border-color: #f39c12;
}

/* 响应式显示隐藏 */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
}