/**
 * 页面专用样式
 */

/* 空数据图标动画 */
.empty-data i {
    animation: emptyBounce 2s ease-in-out infinite;
}

@keyframes emptyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 钱包地址样式 */
.wallet-address {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: rgba(0, 240, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--primary);
}

/* 金额高亮 */
.amount-highlight {
    font-family: var(--font-mono);
    font-weight: 700;
}

.amount-highlight.sui {
    color: #4da3ff;
}

.amount-highlight.ecc {
    color: var(--secondary);
}

.amount-highlight.usdt {
    color: var(--accent);
}

/* 时间戳 */
.timestamp {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 哈希链接 */
.hash-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hash-link:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

/* 收益类型标签 */
.earning-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.earning-type-tag.static {
    background: rgba(0, 240, 255, 0.2);
    color: var(--primary);
}

.earning-type-tag.dynamic {
    background: rgba(255, 0, 255, 0.2);
    color: var(--secondary);
}

.earning-type-tag.direct {
    background: rgba(0, 255, 136, 0.2);
    color: var(--accent);
}

.earning-type-tag.team {
    background: rgba(255, 170, 0, 0.2);
    color: #ffaa00;
}

/* 节点徽章 */
.node-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.node-badge.consensus {
    background: linear-gradient(135deg, rgba(77, 163, 255, 0.2), rgba(0, 102, 204, 0.2));
    color: #4da3ff;
    border: 1px solid rgba(77, 163, 255, 0.3);
}

.node-badge.push {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(153, 0, 153, 0.2));
    color: var(--secondary);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.node-badge.continental {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 153, 77, 0.2));
    color: var(--accent);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.node-badge.super {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(200, 170, 0, 0.2));
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* 等级徽章 */
.level-badge-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-dark);
    box-shadow: 0 0 40px var(--primary-glow);
    position: relative;
}

.level-badge-large::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: levelRing 3s linear infinite;
}

@keyframes levelRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 列表项动画 */
.list-item {
    animation: listFadeIn 0.3s ease forwards;
    opacity: 0;
}

.list-item:nth-child(1) { animation-delay: 0.05s; }
.list-item:nth-child(2) { animation-delay: 0.1s; }
.list-item:nth-child(3) { animation-delay: 0.15s; }
.list-item:nth-child(4) { animation-delay: 0.2s; }
.list-item:nth-child(5) { animation-delay: 0.25s; }

@keyframes listFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 数据卡片网格 */
.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.data-grid-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.data-grid-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.data-grid-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 信息列表 */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-list-item:last-child {
    border-bottom: none;
}

.info-list-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.info-list-value {
    font-weight: 500;
}

/* 悬浮按钮 */
.floating-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.5rem;
    box-shadow: 0 4px 20px var(--primary-glow);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px var(--primary-glow);
}

/* 刷新动画 */
.refresh-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 脉冲动画 */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* 骨架屏 */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}


