.market-footer {
    position: fixed;
    left: 280px;
    right: 20px;
    bottom: 20px;
    width: auto;
    height: 72px;
    z-index: 1000;
    background: rgba(17, 17, 23, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.trades-panel {
    width: 100%;
    height: 100%;
    padding: 0 32px;
    color: white;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.trades-header {
    display: flex;
    align-items: center;
    gap: 32px;
    width: auto;
    border-bottom: none;
    padding-left: 0;
}

.trades-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #FFD700;
    min-width: 50px;
    margin-right: 12px;
}

.trades-header h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00FF00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.market-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 24px;
    margin-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: #FFD700;
    font-family: 'Monaco', monospace;
    margin-right: 8px;
    padding-left: 8px;
}

.change {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    min-width: 70px;
    text-align: center;
}

.change.positive {
    background: rgba(0, 255, 0, 0.1);
    color: #00FF00;
}

.change.negative {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.market-overview {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-left: auto;
    padding: 0;
}

.market-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.market-stat-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

.stat-label {
    color: #888;
    font-size: 11px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.stat-value {
    color: white;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Monaco', monospace;
    white-space: nowrap;
}

.trades-list {
    display: none;
}

.trade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.trade-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.trade-time {
    color: #888;
    font-size: 12px;
    min-width: 70px;
    margin-right: 10px;
}

.trade-price {
    font-weight: 600;
    font-family: 'Monaco', monospace;
    font-size: 14px;
    margin: 0 10px;
    flex: 1;
    text-align: center;
}

.trade-size {
    color: #FFD700;
    font-size: 14px;
    min-width: 80px;
    text-align: right;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.token-search {
    display: none;
}

@media (max-width: 1024px) {
    .market-footer {
        left: 260px;
    }

    .trades-panel {
        padding: 0 24px;
    }

    .market-overview {
        gap: 32px;
    }

    .market-stat-item {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .market-footer {
        left: 240px;
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
    }

    .trades-panel {
        padding: 0 16px;
    }

    .market-overview {
        gap: 24px;
    }

    .market-stat-item {
        min-width: 100px;
    }

    .social-links {
        left: 10px;
        bottom: 10px;
        padding: 12px;
        gap: 12px;
    }
}

.social-links {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    gap: 16px;
    z-index: 1000;
    padding: 16px;
    background: rgba(17, 17, 23, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    color: #FFD700;
    transform: translateY(-2px);
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .social-links {
        left: 10px;
        bottom: 10px;
        padding: 12px;
        gap: 12px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }
}

/* 超窄屏幕时的处理 */
@media (max-width: 640px) {
    .market-footer {
        left: 10px;
        top: auto;
        bottom: 90px;
        width: calc(100% - 20px);
    }
    
    .social-links {
        left: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        justify-content: center;
    }
} 