* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    color: #333;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.site-logo {
    width: 100%;
    height: 40px;
    object-fit: contain;
}

.pc-nav-buttons {
    display: flex;
    gap: 15px;
}

.pc-nav-btn {
    padding: 8px 15px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pc-nav-btn:hover {
    color: #ff4757;
}

.pc-nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF6B6B 0%, #FE2C55 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.pc-nav-btn:hover::after {
    width: 60%;
}

/* ç§»åŠ¨ç«¯é¡¶éƒ¨é€€å‡ºæŒ‰é’® */
.header-right-section {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.mobile-logout-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FE2C55 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-logout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(254, 44, 85, 0.4);
}

.mobile-logout-btn i {
    font-size: 12px;
}

.mobile-login-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #722ED1 0%, #531DAB 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(114, 46, 209, 0.4);
}

.pc-login-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #722ED1 0%, #531DAB 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pc-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 46, 209, 0.4);
}

/* PCç«¯éšè—ç§»åŠ¨ç«¯æŒ‰é’® */
@media (min-width: 769px) {
    .mobile-logout-btn {
        display: none !important;
    }
    .mobile-login-btn {
        display: none !important;
    }
    .header-right-section {
        display: none;
    }
}

/* ç§»åŠ¨ç«¯éšè—PCå¯¼èˆªæŒ‰é’® */
@media (max-width: 768px) {
    .pc-nav-buttons {
        display: none !important;
        visibility: hidden;
        opacity: 0;
        position: absolute;
        width: 0;
        height: 0;
        overflow: hidden;
    }
    .pc-login-btn {
        display: none !important;
    }
    .header-right-section {
        display: flex !important;
        margin-left: auto;
    }
}

.site-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.login-btn {
    background: #722ed1;
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    background: #531dab;
}

.user-info-bar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}

.user-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.user-id {
    font-size: 12px;
    color: #999;
}

.balance-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-amount {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 28px;
    font-weight: 700;
    color: #ff4757;
    text-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

#diamondCount {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 800;
    min-width: 80px;
    text-align: center;
}

.refresh-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.refresh-btn:hover {
    color: #722ed1;
    background: #f5f5f5;
}

.announcement-bar {
    background: #edebf1;
    /* border-bottom: 1px solid #ffe0b2; */
    padding: 6px 0;
    overflow: hidden;
    border-radius: 8px;
}

.announcement-wrapper {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 8px;
}

.announcement-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.announcement-scroll {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

#announcementContent {
    display: inline-block;
    color: #666;
    font-size: 13px;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.main-content {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 20px;
    display: flex;
    gap: 15px;
}

.product-section {
    flex: 3;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #f0f0f0;
}

.section-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    padding-bottom: 10px;
    position: relative;
}

.tab-item.active {
    color: #722ed1;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #722ed1;
}

.tab-badge {
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

.category-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.category-item.active {
    background: #f9f0ff;
    border-color: #d3adf7;
    color: #722ed1;
}

.category-badge {
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 4px;
    margin-left: 4px;
}

.category-badge.hot {
    background: #fff2e8;
    color: #fa8c16;
}

.category-badge.new {
    background: #e6f7ff;
    color: #1890ff;
}

.activity-section {
    background: linear-gradient(180deg, #ffbb00 0%, #fff 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ffe58f;
}

.activity-header {
    margin-bottom: 15px;
}

.activity-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.activity-title {
    font-size: 18px;
    font-weight: 700;
    color: #5c3800;
}

.activity-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ffe58f;
    color: #ad6800;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.activity-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activity-desc {
    font-size: 13px;
    color: #999;
}

.activity-actions {
    display: flex;
    gap: 10px;
}

.activity-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.activity-btn.primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FE2C55 100%);
    color: #fff;
}

.activity-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 44, 85, 0.4);
}

.activity-btn.secondary {
    background: #fff;
    color: #666;
    border: 1px solid #d9d9d9;
}

.activity-btn.secondary:hover {
    background: #f5f5f5;
}

.progress-bar-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #ffe58f;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd666 0%, #fe2c55 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 13px;
    font-weight: 600;
    color: #5c3800;
    min-width: 60px;
    text-align: right;
}

.prize-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.prize-item {
    background: #fff;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.prize-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prize-item.gift {
    border-color: #ffd666;
    background: linear-gradient(180deg, #fffbf0 0%, #fff 100%);
}

.prize-item.coupon {
    border-color: #ff7875;
    background: linear-gradient(180deg, #fff1f0 0%, #fff 100%);
}

.prize-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.prize-name {
    font-size: 10px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

.prize-tag {
    position: absolute;
    top: -1px;
    right: -1px;
    font-size: 8px;
    color: #fff;
    padding: 1px 6px;
    border-radius: 0 6px 0 6px;
    font-weight: 600;
}

.prize-tag.gift {
    background: linear-gradient(135deg, #ffd666 0%, #faad14 100%);
}

.prize-tag.coupon {
    background: linear-gradient(135deg, #ff7875 0%, #ff4d4f 100%);
}

.prize-tag.item {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
    display: none;
}

.activity-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.lottery-btn {
    padding: 12px 36px;
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.lottery-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 46, 209, 0.4);
}

.lottery-btn:disabled {
    background: #d9d9d9;
    cursor: not-allowed;
}

.lottery-tip {
    font-size: 13px;
    color: #999;
}

.lottery-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    z-index: 3000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 300px;
}

.lottery-modal .lottery-result-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.lottery-modal .lottery-result-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.lottery-modal .lottery-result-name {
    font-size: 16px;
    color: #722ed1;
    font-weight: 600;
    margin-bottom: 20px;
}

.lottery-modal .lottery-close-btn {
    padding: 10px 30px;
    background: #722ed1;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.win-record-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    z-index: 3000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
}

.win-record-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.win-record-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.win-record-close {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.win-record-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.win-record-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
}

.win-record-item .record-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.win-record-item .record-info {
    flex: 1;
}

.win-record-item .record-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.win-record-item .record-time {
    font-size: 12px;
    color: #999;
}

.win-record-loading {
    text-align: center;
    padding: 50px 20px;
}

.win-record-loading .loader {
    margin: 0 auto 15px;
}

.win-record-empty {
    text-align: center;
    padding: 30px;
    color: #999;
}

.win-record-empty i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ddd;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.product-card {
    background: #fff;
    border: 1px solid #e6f7ff;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    border-color: #bae6ff;
}

.product-card.selected {
    border-color: #722ed1;
    background: #f9f0ff;
}

.card-top {
    text-align: center;
    padding: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.card-middle {
    text-align: center;
    padding: 5px 10px;
    width: 100%;
}

.card-bottom {
    text-align: center;
    padding: 5px 10px 10px;
    width: 100%;
}

.product-icon {
    width: 80%;
    height: 70%;
    object-fit: contain;
}

.product-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.bonus-tag {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FE2C55 100%);
    color: #fff;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 0 8px 0 8px;
    font-weight: 600;
    line-height: 1.2;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(254, 44, 85, 0.3);
}

.card-bonus {
    display: inline-block;
    background: #fff7e6;
    color: #d46b08;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
}

.bonus-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff6b6b;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.card-footer {
    padding: 10px 0;
    text-align: center;
    flex-shrink: 0;
}

.card-label {
    font-size: 13px;
    color: #999;
}

.price-btn {
    width: 100%;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 6px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.price-btn:hover {
    background: #e8e8e8;
}

.price-btn.active {
    background: #722ed1;
    color: #fff;
    border-color: #722ed1;
}

.custom-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-card .card-middle {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
}

.custom-card .card-inner {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-amount {
    width: 100%;
    border: 2px dashed #d9d9d9;
    border-radius: 6px;
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
    color: #666;
    outline: none;
    background: #fafafa;
}

.custom-amount:focus {
    border-color: #722ed1;
    background: #fff;
}

.custom-bonus,
.custom-amount-bonus {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FE2C55 100%);
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 0 8px 0 8px;
    font-weight: 600;
    line-height: 1.2;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(254, 44, 85, 0.3);
}

.custom-price-btn {
    background: #fafafa;
    color: #999;
    border-color: #d9d9d9;
}

.payment-section {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #f0f0f0;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.payment-title {
    font-size: 14px;
    color: #666;
}

.payment-help {
    font-size: 12px;
    color: #722ed1;
    text-decoration: none;
}

.payment-help:hover {
    text-decoration: underline;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 3px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.payment-option:hover {
    border-color: #e0e0e0;
}

.payment-option.selected {
    border-color: #722ed1;
    background: #f9f0ff;
}

.payment-icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 6px;
}

.payment-icon-wrap .fa-alipay {
    font-size: 24px;
    color: #1677ff;
}

.payment-icon-wrap .fa-weixin {
    font-size: 24px;
    color: #07c160;
}

.payment-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.payment-check {
    width: 18px;
    height: 18px;
    border: 2px solid #d9d9d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: transparent;
    transition: all 0.3s;
}

.payment-option.selected .payment-check {
    border-color: #722ed1;
    background: #722ed1;
    color: #fff;
}

.payment-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 15px;
}

.amount-label {
    font-size: 14px;
    color: #666;
}

.amount-value {
    font-size: 16px;
    font-weight: 600;
    color: #722ed1;
}

.pay-btn {
    width: 100%;
    background: #722ed1;
    border: none;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.pay-btn:hover {
    background: #531dab;
}

.payment-agreement {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.qr-section {
    margin-top: 20px;
}

.qr-box {
    background: #fff;
    border: 2px solid #722ed1;
    border-radius: 8px;
    padding: 15px;
}

.qr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f0f0f0;
}

.qr-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.qr-close {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.qr-close:hover {
    background: #f5f5f5;
    color: #666;
}

.qr-container {
    text-align: center;
    margin-bottom: 15px;
}

.qr-container img {
    width: 180px;
    height: 180px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

.qr-amount {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.qr-amount span {
    color: #722ed1;
}

.qr-tip {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.qr-countdown {
    text-align: center;
    font-size: 12px;
    color: #FE2C55;
    margin-bottom: 10px;
    font-weight: 600;
}

.qr-checking {
    text-align: center;
    font-size: 13px;
    color: #52c41a;
}

.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
    display: none;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s;
    flex: 1;
}

.menu-item i {
    font-size: 20px;
}

.menu-item:hover {
    background: #f5f5f5;
    color: #722ed1;
}

.alliance-button-container {
    position: relative;
    margin-top: -25px;
}

.floating-alliance-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alliance-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.main-footer {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 20px;
    text-align: center;
    margin-bottom: 60px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: #722ed1;
}

.main-footer p {
    font-size: 12px;
    color: #999;
}

.order-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.order-search-bar .form-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.order-search-bar .form-input:focus {
    border-color: #722ed1;
}

.search-btn {
    padding: 10px 18px;
    background: #722ed1;
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #531dab;
}

.order-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.order-item {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.order-number {
    font-size: 13px;
    color: #666;
    font-family: monospace;
}

.order-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.pending {
    background: #fff7e6;
    color: #fa8c16;
}

.order-status.paid {
    background: #f6ffed;
    color: #52c41a;
}

.order-item-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 13px;
    color: #333;
}

.order-item-body .label {
    color: #999;
}

.order-item-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-delete-btn {
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #ff4d4f;
    color: #ff4d4f;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.order-delete-btn:hover {
    background: #ff4d4f;
    color: #fff;
}

.order-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.order-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    color: #ddd;
}

.order-loading {
    text-align: center;
    padding: 40px 20px;
}

.order-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.page-btn:hover:not(:disabled) {
    background: #722ed1;
    border-color: #722ed1;
    color: #fff;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 13px;
    color: #666;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal.active,
.modal[style*="flex"] {
    display: flex;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active,
.modal-overlay[style*="flex"] {
    display: flex;
}

.modal-container {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    max-width: 420px;
}

.login-modal .modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-header h2 i {
    color: #722ed1;
    margin-right: 8px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-subtitle {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

.modal-close {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #666;
}

.login-modal {
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 30px;
    width: 100%;
    max-width: none;
    max-height: 80vh;
    overflow-y: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.modal.active .login-modal,
.modal[style*="flex"] .login-modal {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-btn:hover {
    background: #f5f5f5;
    color: #666;
}

.help-link {
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #FF6B6B 0%, #FE2C55 100%);
    padding: 6px 16px;
    border-radius: 20px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(254, 44, 85, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.help-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(254, 44, 85, 0.5);
}

.form-input {
    width: 100%;
    background: #fafafa;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 13px 15px;
    color: #333;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.form-input:focus {
    border-color: #722ed1;
    background: #fff;
}

.input-group {
    margin-bottom: 15px;
}

.error-message {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.login-agreement {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.login-agreement a {
    color: #722ed1;
    text-decoration: none;
}

.modal-tip {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    padding: 12px;
    background: #fafafa;
    border-radius: 6px;
}

.dy-btn {
    width: 100%;
    background: linear-gradient(135deg, #722ed1, #9254de);
    border: none;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.dy-btn:hover {
    opacity: 0.9;
}

.alert-modal {
    text-align: center;
}

.alert-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.alert-icon i {
    color: #722ed1;
}

.alert-message {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}

.payment-success {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.payment-success.active,
.payment-success[style*="block"] {
    display: flex;
}

.success-content {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 70px;
    margin-bottom: 15px;
}

.success-icon i {
    color: #52c41a;
}

.success-content h1 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #333;
}

.success-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.success-content .countdown {
    color: #722ed1;
    font-weight: 700;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-overlay.active,
.loader-overlay[style*="block"] {
    display: flex;
}

.loader {
    width: 36px;
    height: 36px;
    border: 3px solid #f0f0f0;
    border-top-color: #722ed1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        max-width: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .product-card {
        height: 180px;
        padding: 10px;
    }
    
    .card-top {
        padding: 0;
    }
    
    .card-middle {
        padding: 4px 8px;
    }
    
    .card-bottom {
        padding: 4px 8px 8px;
    }
    
    .product-icon {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .card-bonus {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .bonus-tag {
        font-size: 7px;
        padding: 1px 4px;
    }
    
    .card-footer {
        padding: 4px 0;
    }
    
    .price-btn {
        font-size: 12px;
        padding: 4px 0;
    }
    
    .custom-amount {
        font-size: 11px;
        padding: 8px 5px;
    }
    
    .custom-card .card-middle {
        padding: 10px 8px;
    }
    
    .pc-nav-buttons {
        display: none;
    }
    
    .activity-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .activity-title {
        font-size: 16px;
    }
    
    .prize-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .prize-item {
        padding: 10px 6px;
    }
    
    .prize-icon {
        width: 40px;
        height: 40px;
    }
    
    .prize-name {
        font-size: 9px;
    }
    
    .activity-btn {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .lottery-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .lottery-tip {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .mobile-bottom-menu {
        display: flex;
    }
    
    .main-footer {
        margin-bottom: 70px;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .product-card {
        height: 150px;
        padding: 8px;
    }
    
    .card-top {
        padding: 0;
    }
    
    .card-middle {
        padding: 3px 6px;
    }
    
    .card-bottom {
        padding: 3px 6px 6px;
    }
    
    .product-icon {
        width: 60%;
        height: 80%;
        object-fit: contain;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .card-bonus {
        font-size: 8px;
        padding: 1px 3px;
    }
    
    .bonus-tag {
        font-size: 13px;
        padding: 1px 3px;
    }
    
    .card-footer {
        padding: 3px 0;
    }
    
    .card-label {
        font-size: 9px;
    }
    
    .price-btn {
        font-size: 10px;
        padding: 3px 0;
    }
    
    .custom-amount {
        font-size: 22px;
        padding: 6px 4px;
    }
    
    .custom-card .card-middle {
        padding: 8px 6px;
    }
    
    .order-search-bar {
        flex-direction: column;
    }
    
    .activity-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .activity-title {
        font-size: 14px;
    }
    
    .prize-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .prize-item {
        padding: 8px 4px;
    }
    
    .prize-icon {
        width: 35px;
        height: 35px;
    }
    
    .prize-name {
        font-size: 8px;
    }
    
    .activity-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .lottery-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .lottery-tip {
        font-size: 11px;
    }
}

/* ==================== å•†æˆ·ä¸­å¿ƒæ ·å¼ ==================== */
.merchant-section {
    padding: 15px;
}

.merchant-header {
    background: linear-gradient(135deg, #722ed1 0%, #9c27b0 100%);
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    margin-bottom: 20px;
}

.merchant-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.merchant-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.merchant-detail h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.merchant-no {
    font-size: 12px;
    opacity: 0.8;
}

.merchant-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.merchant-stat {
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
}

.merchant-stat-value {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
}

.merchant-stat-label {
    font-size: 11px;
    opacity: 0.8;
}

.merchant-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.merchant-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.merchant-card-title i {
    color: #722ed1;
}

/* å•†æˆ·èœå• */
.merchant-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.merchant-menu-item {
    background: #fff;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.merchant-menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.merchant-menu-item i {
    font-size: 24px;
    color: #722ed1;
    margin-bottom: 8px;
}

.merchant-menu-item span {
    display: block;
    font-size: 12px;
    color: #666;
}

/* å•†æˆ·ä»·æ ¼è®¾ç½® */
.merchant-price-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.merchant-price-item:last-child {
    border-bottom: none;
}

.merchant-price-product {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.merchant-price-product img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.merchant-price-product span {
    font-size: 13px;
    color: #333;
}

.merchant-price-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.merchant-price-controls input {
    width: 70px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
}

.merchant-price-controls input:focus {
    outline: none;
    border-color: #722ed1;
}

.merchant-price-unit {
    font-size: 12px;
    color: #999;
}

/* å•†æˆ·äºŒç»´ç  */
.merchant-qrcode {
    text-align: center;
    padding: 20px;
}

.merchant-qrcode-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.merchant-qrcode-img img {
    width: 100%;
    height: 100%;
}

.merchant-share-url {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    color: #666;
    word-break: break-all;
    margin-bottom: 10px;
}

.merchant-copy-btn {
    background: #722ed1;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}

/* å•†æˆ·ä»£ç†åˆ—è¡¨ */
.merchant-agent-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.merchant-agent-item:last-child {
    border-bottom: none;
}

.merchant-agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #722ed1 0%, #9c27b0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 12px;
}

.merchant-agent-info {
    flex: 1;
}

.merchant-agent-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 3px;
}

.merchant-agent-meta {
    font-size: 11px;
    color: #999;
}

/* å•†æˆ·æçŽ° */
.merchant-withdraw-form {
    padding: 10px 0;
}

.merchant-withdraw-balance {
    background: linear-gradient(135deg, #722ed1 0%, #9c27b0 100%);
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.merchant-withdraw-balance-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.merchant-withdraw-balance-value {
    font-size: 28px;
    font-weight: bold;
}

.merchant-withdraw-type {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.merchant-withdraw-type-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e6e6e6;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.merchant-withdraw-type-btn.active {
    border-color: #722ed1;
    background: #f9f0ff;
}

.merchant-withdraw-type-btn i {
    font-size: 24px;
    color: #722ed1;
    margin-bottom: 5px;
}

.merchant-withdraw-type-btn span {
    display: block;
    font-size: 12px;
    color: #666;
}

.merchant-withdraw-input {
    margin-bottom: 15px;
}

.merchant-withdraw-input label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.merchant-withdraw-input input,
.merchant-withdraw-input select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.merchant-withdraw-input input:focus,
.merchant-withdraw-input select:focus {
    outline: none;
    border-color: #722ed1;
}

.merchant-withdraw-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #722ed1 0%, #9c27b0 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.merchant-withdraw-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* å•†æˆ·è®¾ç½® */
.merchant-settings-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.merchant-settings-item:last-child {
    border-bottom: none;
}

.merchant-settings-label {
    width: 100px;
    font-size: 13px;
    color: #666;
}

.merchant-settings-input {
    flex: 1;
}

.merchant-settings-input input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

.merchant-settings-input input:focus {
    outline: none;
    border-color: #722ed1;
}

.merchant-settings-save {
    background: #722ed1;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
}

/* å¼€é€šå•†æˆ·å¼¹çª— */
.activate-merchant-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.activate-merchant-content {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    width: 90%;
    max-width: 360px;
    position: relative;
}

.activate-merchant-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.activate-merchant-fee {
    text-align: center;
    margin-bottom: 20px;
}

.activate-merchant-fee-value {
    font-size: 32px;
    font-weight: bold;
    color: #722ed1;
}

.activate-merchant-fee-label {
    font-size: 12px;
    color: #999;
}

.activate-merchant-benefit {
    background: #f9f0ff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.activate-merchant-benefit h4 {
    font-size: 13px;
    color: #722ed1;
    margin: 0 0 10px 0;
}

.activate-merchant-benefit ul {
    margin: 0;
    padding-left: 20px;
    font-size: 12px;
    color: #666;
    line-height: 1.8;
}

.activate-merchant-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #722ed1 0%, #9c27b0 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.activate-merchant-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* å…‘æ¢ç æ ·å¼ - ç®€çº¦å¤§æ°”è®¾è®¡ */
.exchange-section {
    padding: 20px 0;
}

.exchange-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    max-width: 480px;
    margin: 0 auto;
}

.exchange-icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.exchange-icon-wrap i {
    font-size: 36px;
    color: #ff6b6b;
}

.exchange-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.exchange-desc {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.exchange-input-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.exchange-input {
    flex: 1;
    height: 50px;
    padding: 10px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    background: #fafafa;
}

.exchange-input:focus {
    border-color: #ff6b6b;
    background: #fff;
}

.exchange-input::placeholder {
    color: #bbb;
}

.exchange-btn {
    height: 50px;
    padding: 0 24px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.exchange-btn:hover {
    background: #ff5252;
    transform: translateY(-1px);
}

.exchange-btn:active {
    transform: translateY(0);
}

.exchange-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.exchange-note {
    font-size: 13px;
    color: #999;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.exchange-note i {
    color: #ff6b6b;
}

/* ç§»åŠ¨ç«¯é€‚é… */
@media (max-width: 600px) {
    .exchange-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .exchange-icon-wrap {
        width: 60px;
        height: 60px;
    }

    .exchange-icon-wrap i {
        font-size: 28px;
    }

    .exchange-title {
        font-size: 20px;
    }

    .exchange-desc {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .exchange-input-wrap {
        flex-direction: column;
        gap: 12px;
    }

    .exchange-input {
        height: 48px;
        font-size: 15px;
    }

    .exchange-btn {
        height: 48px;
        width: 100%;
        justify-content: center;
    }

    .exchange-note {
        font-size: 12px;
        padding: 12px;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}