/**
 * TitanSky 抽奖系统样式
 * 包含抽奖轮盘、游戏化UI、进度条、成就系统等样式
 */

/* ===== 抽奖轮盘区域 ===== */
.lottery-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    padding: 40px 20px;
    margin: 30px 210px;
    border-radius: 20px;
    border: 2px solid #f5e17a;
    box-shadow: 0 10px 30px rgba(247, 96, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lottery-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            rgba(247, 96, 0, 0.1),
            transparent,
            rgba(0, 255, 255, 0.1),
            transparent);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.lottery-section>* {
    position: relative;
    z-index: 2;
}

.lottery-wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.lottery-wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 8px solid #f76000;
    position: relative;
    background: linear-gradient(45deg, #2d2d2d 0%, #1a1a1a 50%, #2d2d2d 100%);
    box-shadow:
        0 0 30px rgba(247, 96, 0, 0.5),
        inset 0 0 50px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.lottery-wheel:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 40px rgba(247, 96, 0, 0.7),
        inset 0 0 60px rgba(0, 255, 255, 0.3);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f76000, #00FFFF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wheel-center img {
    width: 50px;
    height: 50px;
    filter: brightness(1.2);
}

.wheel-segments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wheel-segment {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 30px;
    transform-origin: 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    background: linear-gradient(90deg,
            rgba(247, 96, 0, 0.8),
            rgba(0, 255, 255, 0.8));
    border-radius: 15px;
    margin-left: 10px;
    margin-top: -15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.wheel-segment:nth-child(odd) {
    background: linear-gradient(90deg,
            rgba(0, 255, 255, 0.8),
            rgba(247, 96, 0, 0.8));
}



.lottery-btn {
    background: linear-gradient(135deg, #f76000 0%, #00FFFF 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(247, 96, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.lottery-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;
}

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

.lottery-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(247, 96, 0, 0.6);
}

.lottery-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.remaining-count {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
}

/* ===== 用户进度面板 ===== */
.user-progress-panel {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(45, 45, 45, 0.9) 100%);
    border: 2px solid #f5e17a;
    border-radius: 20px;
    padding: 25px;
    margin: 20px 210px;
    box-shadow: 0 10px 30px rgba(247, 96, 0, 0.1);
    backdrop-filter: blur(10px);
}

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

.progress-header h4 {
    color: #f5e17a;
    font-size: 20px;
    margin: 0;

}

.level-badge {
    background: linear-gradient(135deg, #f76000, #00FFFF);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(247, 96, 0, 0.3);
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid #f5e17a;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(247, 96, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 96, 0, 0.2);
}

.stat-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f76000, #00FFFF);
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-label {
    display: block;
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    color: #f5e17a;
    font-size: 18px;
    font-weight: bold;

}

/* ===== 提取进度条 ===== */
.withdraw-progress {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #f5e17a;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #57370e 0%, #ffe898 100%);
    border-radius: 10px;
    transition: width 0.8s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.progress-text {
    text-align: center;
    color: #ffffff;
    font-size: 14px;
}

.progress-text .highlight {
    color: #f5e17a;
    font-weight: bold;

}

/* ===== 抽奖结果弹窗 ===== */
.lottery-result-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.lottery-result-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #f76000;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(247, 96, 0, 0.3);
}

.reward-animation {
    position: relative;
    z-index: 2;
}

.coin-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: coinBounce 0.6s ease infinite alternate;
}

.coin-icon::before {
    content: '🪙';
}

@keyframes coinBounce {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.reward-animation h3 {
    color: #00FFFF;
    font-size: 24px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.reward-amount {
    font-size: 36px;
    font-weight: bold;
    color: #f76000;
    text-shadow: 0 0 15px rgba(247, 96, 0, 0.7);
    margin-bottom: 30px;
    animation: glowPulse 1.5s ease infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(247, 96, 0, 0.7);
    }

    50% {
        text-shadow: 0 0 25px rgba(247, 96, 0, 1);
    }
}

.continue-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.continue-btn,
.claim-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.continue-btn {
    background: linear-gradient(135deg, #f76000, #00FFFF);
    color: #ffffff;
}

.claim-btn {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: #ffffff;
}

.continue-btn:hover,
.claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ===== 游戏化按钮样式 ===== */
.game-btn {
    background: linear-gradient(135deg, #57370e 0%, #ffe898 100%);
    border: 2px solid #f5e17a;
    border-radius: 15px;
    padding: 12px 25px;
    color: #f5e17a;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.game-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;
}

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

.game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(247, 96, 0, 0.4);
    border-color: #f76000;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .lottery-wheel {
        width: 250px;
        height: 250px;
    }

    .wheel-segment {
        width: 100px;
        height: 25px;
        font-size: 12px;
        margin-left: 8px;
        margin-top: -12px;
    }

    .wheel-center {
        width: 60px;
        height: 60px;
    }

    .wheel-center img {
        width: 35px;
        height: 35px;
    }

    .lottery-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .user-progress-panel {
        padding: 20px;
    }

    .progress-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 12px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .continue-options {
        flex-direction: column;
        align-items: center;
    }

    .continue-btn,
    .claim-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .lottery-wheel {
        width: 200px;
        height: 200px;
    }

    .wheel-segment {
        width: 80px;
        height: 20px;
        font-size: 10px;
        margin-left: 6px;
        margin-top: -10px;
    }

    .lottery-section {
        padding: 30px 15px;
        margin: 20px 10px;
    }

    .user-progress-panel {
        margin: 15px 10px;
        padding: 15px;
    }

    .stat-icon {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }

    .stat-value {
        font-size: 16px;
    }
}

/* ===== 动画效果 ===== */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes coinDrop {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(200px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== 特殊效果 ===== */
.glow-effect {
    animation: glowAnimation 2s ease-in-out infinite alternate;
}

@keyframes glowAnimation {
    from {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }

    to {
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    }
}

.pulse-effect {
    animation: pulseAnimation 1.5s ease-in-out infinite;
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* ===== 成就提示 ===== */
.achievement-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f76000, #00FFFF);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(247, 96, 0, 0.4);
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.5s ease;
}

.achievement-notification.show {
    transform: translateX(0);
}

.achievement-notification .achievement-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.achievement-notification .achievement-desc {
    color: #aaaaaa;
    font-size: 12px;
}

/* ===== 提取按钮状态 ===== */
.withdraw-btn-enabled {
    background: linear-gradient(135deg, #f76000 0%, #00FFFF 100%);
    color: #ffffff;
    animation: withdrawPulse 2s infinite;
}

.withdraw-btn-disabled {
    background: #666666;
    color: #aaaaaa;
    cursor: not-allowed;
    opacity: 0.6;
}

@keyframes withdrawPulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(247, 96, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(247, 96, 0, 0.8);
    }
}

/* ===== 成就提示 ===== */
.achievement-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #f76000;
    border-radius: 15px;
    padding: 30px;
    z-index: 1000;
    display: none;
    text-align: center;
}

.achievement-popup.show {
    display: block;
    animation: achievementShow 0.5s ease;
}

@keyframes achievementShow {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ===== 提交钱包地址按钮 ===== */
.submit-wallet-btn {
    background: linear-gradient(135deg, #57370e 0%, #ffe898 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 15px auto;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 96, 0, 0.3);
}

.submit-wallet-btn:hover {
    background: linear-gradient(45deg, #e85a00, #00e6e6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 96, 0, 0.4);
}

/* ===== 钱包提交弹窗样式 ===== */
.wallet-submit-content {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    color: white;
    max-width: 450px;
    margin: 0 auto;
}

.wallet-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.wallet-description {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 25px;
}

.wallet-form {
    text-align: left;
    margin: 25px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
}

.wallet-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(247, 96, 0, 0.3);
    border-radius: 10px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.wallet-input:focus {
    border-color: #f76000;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.wallet-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.temp-tokens-info {
    background: rgba(247, 96, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.temp-tokens-label {
    font-weight: bold;
    color: #cccccc;
}

.temp-tokens-amount {
    font-size: 18px;
    font-weight: bold;
    color: #f76000;
}

.wallet-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.wallet-cancel-btn,
.wallet-submit-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-cancel-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.wallet-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wallet-submit-btn {
    background: linear-gradient(45deg, #f76000, #00FFFF);
    color: white;
}

.wallet-submit-btn:hover {
    background: linear-gradient(45deg, #e85a00, #00e6e6);
    transform: translateY(-2px);
}

/* ===== 钱包提示样式 ===== */
.wallet-tips {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.wallet-tips p {
    color: #00ffff;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.wallet-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wallet-tips li {
    color: #ffffff;
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

/* ===== 禁用状态的抽奖按钮 ===== */
.lottery-btn:disabled {
    background: linear-gradient(135deg, #666666 0%, #444444 100%) !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
}

.lottery-btn:disabled::before {
    background: linear-gradient(135deg, #666666 0%, #444444 100%) !important;
}

.lottery-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
    background: linear-gradient(135deg, #666666 0%, #444444 100%) !important;
}

/* ===== 用户信息区域 ===== */
.user-info-section {
    background: rgba(247, 96, 0, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #f5e17a;
}

/* ===== 分享验证弹窗样式 ===== */
.share-options {
    margin: 20px 0;
}

.share-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(247, 96, 0, 0.2);
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #f76000 0%, #00FFFF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin: 0 0 10px 0;
    color: #00FFFF;
    font-size: 16px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-align: left;
    font-size: 14px;
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    transform: translateY(-2px);
}

.twitter-btn {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #2db5f5 0%, #1a9ce8 100%);
    transform: translateY(-2px);
}

.copy-btn {
    background: linear-gradient(135deg, #f76000 0%, #00FFFF 100%);
}

.copy-btn:hover {
    background: linear-gradient(135deg, #e85a00 0%, #00e6e6 100%);
    transform: translateY(-2px);
}

.share-hint {
    color: #ccc;
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.4;
}

.verify-share-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #f76000 0%, #00FFFF 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.verify-share-btn:hover {
    background: linear-gradient(135deg, #e85a00 0%, #00e6e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 96, 0, 0.3);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .share-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 10px auto;
    }

    .share-buttons {
        margin-top: 15px;
    }
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

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

.info-label {
    font-weight: bold;
    color: #f5e17a;
    font-size: 14px;
    min-width: 100px;
}

.info-value {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 14px;
    flex: 1;
    justify-content: flex-end;
}

.wallet-address,
.invite-code {
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #f5e17a;
}

.invite-link input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #f5e17a;
    border-radius: 5px;
    padding: 5px 10px;
    color: #ffffff;
    font-size: 12px;
    width: 200px;
    font-family: 'Courier New', monospace;
}

.invite-link input:focus {
    outline: none;
    border-color: #f76000;
}

.copy-btn {
    background: linear-gradient(135deg, #57370e 0%, #ffe898 100%);
    border: none;
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #e85a00, #00e6e6);
    transform: scale(1.05);
}

/* ===== 审核记录弹窗样式 ===== */
.audit-records-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(247, 96, 0, 0.3);
}

.modal-header h3 {
    color: #00FFFF;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(247, 96, 0, 0.3);
    transform: scale(1.1);
}

.audit-table-container {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(247, 96, 0, 0.3);
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
}

.audit-table th,
.audit-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(247, 96, 0, 0.2);
}

.audit-table th {
    background: linear-gradient(135deg, #f76000, #00FFFF);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.audit-table td {
    color: #cccccc;
}

.audit-table tbody tr:hover {
    background: rgba(247, 96, 0, 0.1);
}

.status-pending {
    color: #ffa500;
    font-weight: bold;
}

.status-approved {
    color: #00ff88;
    font-weight: bold;
}

.status-rejected {
    color: #ff6b6b;
    font-weight: bold;
}

/* ===== 提取按钮样式 ===== */
.withdraw-btn,
.audit-btn {
    background: linear-gradient(135deg, #57370e 0%, #ffe898 100%);
    border: 2px solid #f5e17a;
    border-radius: 15px;
    padding: 12px 25px;
    color: #f5e17a;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.withdraw-btn:hover,
.audit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(247, 96, 0, 0.4);
    border-color: #f76000;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .info-value {
        justify-content: flex-start;
        width: 100%;
    }

    .invite-link input {
        width: 100%;
        max-width: 250px;
    }

    .audit-table-container {
        font-size: 12px;
    }

    .audit-table th,
    .audit-table td {
        padding: 8px 10px;
    }
}

.zhuanpan {
    max-width: 30%;
    height: auto;
}

@media (max-width: 768px) {
    .zhuanpan {
        max-width: 100%;
    }
}

/* ===== 实时交易动态样式 ===== */
.trading-activity-section {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.trading-activity-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(255, 232, 152, 0.05) 0%,
            rgba(255, 232, 152, 0.02) 50%,
            rgba(255, 232, 152, 0.05) 100%);
    pointer-events: none;
}

.trading-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.trading-title-group {
    flex: 1;
}

.trading-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.trading-token {
    background: linear-gradient(135deg, #ffe898, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.trading-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin: 0;
    font-weight: 400;
}

.trading-refresh-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.trading-refresh-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 ease;
}

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

.trading-refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.trading-refresh-btn:active {
    transform: translateY(0);
}

.trading-table-container {
    position: relative;
    z-index: 1;
    overflow-x: auto;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trading-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.trading-table th {
    background: rgba(255, 232, 152, 0.1);
    color: #ffe898;
    font-weight: 600;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trading-table td {
    padding: 16px 20px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    font-weight: 400;
}

.trading-table tbody tr {
    transition: all 0.3s ease;
    position: relative;
}

.trading-table tbody tr:hover {
    background: rgba(255, 232, 152, 0.05);
}

.trading-table tbody tr.new-transaction {
    background: rgba(0, 255, 255, 0.1);
    animation: highlightTransaction 3s ease-out;
}

@keyframes highlightTransaction {
    0% {
        background: rgba(0, 255, 255, 0.3);
        transform: scale(1.01);
    }

    100% {
        background: rgba(0, 255, 255, 0.05);
        transform: scale(1);
    }
}

.trading-age {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.trading-hash {
    font-family: 'Courier New', monospace;
    color: #67d6ff;
    font-size: 0.9rem;
}

.trading-holder {
    font-family: 'Courier New', monospace;
    color: #ffffff;
    font-size: 0.9rem;
}

.trading-amount {
    font-weight: 600;
    color: #ffe898;
    font-size: 1rem;
}

/* 移动端卡片样式 */
.trading-cards-container {
    display: none;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.trading-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.trading-card:hover {
    border-color: rgba(255, 232, 152, 0.3);
    background: rgba(255, 232, 152, 0.05);
}

.trading-card.new-transaction {
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.1);
    animation: highlightCard 3s ease-out;
}

@keyframes highlightCard {
    0% {
        background: rgba(0, 255, 255, 0.2);
        transform: scale(1.02);
    }

    100% {
        background: rgba(0, 255, 255, 0.05);
        transform: scale(1);
    }
}

.trading-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.trading-card-age {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.trading-card-amount {
    font-weight: 600;
    color: #ffe898;
    font-size: 1.1rem;
}

.trading-card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trading-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trading-card-label {
    color: #a0a0a0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trading-card-value {
    font-family: 'Courier New', monospace;
    color: #ffffff;
    font-size: 0.9rem;
    text-align: right;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trading-card-hash {
    color: #67d6ff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .trading-title {
        font-size: 2rem;
    }

    .trading-table th,
    .trading-table td {
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .trading-activity-section {
        padding: 20px;
        margin-bottom: 32px;
    }

    .trading-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .trading-title {
        font-size: 1.8rem;
    }

    .trading-subtitle {
        font-size: 1rem;
    }

    .trading-refresh-btn {
        align-self: stretch;
        text-align: center;
    }

    .trading-table-container {
        display: none;
    }

    .trading-cards-container {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .trading-activity-section {
        padding: 16px;
    }

    .trading-title {
        font-size: 1.5rem;
    }

    .trading-subtitle {
        font-size: 0.9rem;
    }

    .trading-card {
        padding: 16px;
    }

    .trading-card-amount {
        font-size: 1rem;
    }
}

/* 加载动画 */
.trading-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #a0a0a0;
}

.trading-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 232, 152, 0.3);
    border-top: 2px solid #ffe898;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* 加载更多按钮样式 */
.load-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 20px;
}

.load-more-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    min-width: 120px;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 加载指示器样式 */
.loading-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffd700;
    font-size: 14px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 移动端加载更多按钮 */
.mobile-load-more {
    display: none;
    justify-content: center;
    padding: 20px;
    margin-top: 20px;
}

.load-more-btn.mobile {
    width: 100%;
    max-width: 300px;
}

.loading-indicator.mobile {
    justify-content: center;
}

/* 为移动端添加响应式显示 */
@media (max-width: 768px) {
    .load-more-container {
        display: none;
    }

    .mobile-load-more {
        display: flex;
    }
}