/* Alpha.menu 自定义样式 */

/* 全局样式 */
* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Tab按钮样式 */
.tab-button {
    position: relative;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #f59e0b;
    border-color: #f59e0b;
}

.tab-button:not(.active):hover {
    color: #d1d5db;
    border-color: #4b5563;
}

/* 卡片样式 */
.airdrop-card {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border: 1px solid #4b5563;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.airdrop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.airdrop-card:hover {
    transform: translateY(-4px);
    border-color: #6b7280;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.airdrop-card:hover::before {
    opacity: 1;
}

/* 项目Logo样式 */
.project-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #f59e0b;
    background: linear-gradient(135deg, #374151, #1f2937);
}

/* 紧凑式项目Logo样式 */
.project-logo-compact {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #f59e0b;
    background: linear-gradient(135deg, #374151, #1f2937);
}

/* 紧凑式卡片样式 */
.airdrop-card-compact {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}

.airdrop-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.airdrop-card-compact:hover {
    transform: translateY(-2px);
    border-color: #6b7280;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.airdrop-card-compact:hover::before {
    opacity: 1;
}

/* 紧凑式状态徽章 */
.status-badge-compact {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

/* 紧凑式倒计时 */
.countdown-compact {
    font-size: 10px;
    min-width: 60px;
    text-align: center;
}

/* 紧凑式历史卡片 */
.history-card-compact {
    transition: all 0.2s ease;
}

.history-card-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

/* 状态标签样式 */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-upcoming {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-ended {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

/* 数值高亮样式 */
.value-highlight {
    color: #10b981;
    font-weight: 600;
}

.points-highlight {
    color: #f59e0b;
    font-weight: 600;
}

/* 时间倒计时样式 */
.countdown {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
}

/* 按钮动画 */
.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

/* 加载动画 */
.loading-skeleton {
    background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* 通知样式 */
.notification-item {
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    background: rgba(55, 65, 81, 0.5);
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: rgba(55, 65, 81, 0.8);
    transform: translateX(4px);
}

.notification-unread {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* TGE统计卡片 */
.tge-stat-card {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: white;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tge-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.2);
}

.tge-negative {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .airdrop-card {
        padding: 16px;
    }
    
    .project-logo {
        width: 40px;
        height: 40px;
    }
    
    .countdown {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* 选择框样式 */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 32px;
}

/* 模态框动画 */
.modal-enter {
    animation: modalEnter 0.3s ease;
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 实时状态指示器 */
.status-indicator {
    position: relative;
}

.status-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.33);
        opacity: 1;
    }
    80%, 100% {
        transform: scale(2.33);
        opacity: 0;
    }
}

/* 工具卡片悬停效果 */
.tool-card {
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s;
}

.tool-card:hover::before {
    left: 100%;
}

/* 表格样式 */
.data-table {
    background: rgba(55, 65, 81, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.data-table th {
    background: rgba(31, 41, 55, 0.8);
    padding: 12px 16px;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #4b5563;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.data-table tr:hover {
    background: rgba(75, 85, 99, 0.2);
}

/* 历史卡片样式 */
.history-card {
    transition: all 0.3s ease;
    position: relative;
}

.history-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.history-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #374151, #4b5563, #374151);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.history-card:hover::before {
    opacity: 1;
}

/* 筛选按钮样式 */
.filter-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

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

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