/**
 * Zeus Chain V6 流动性挖矿样式
 * 版本: 20251126e - 优化界面和功能按钮
 */

/* 基础重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-accent: #6366f1;
    --secondary-accent: #8b5cf6;
    --accent-blue: #3b82f6;
    --primary-bg: #0a0a0f;
    --secondary-bg: #12121a;
    --bg-card: #1a1a24;
    --bg-card-hover: #242837;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #64748b;
    --border-color: #2a2a3a;
    --border-purple: rgba(99, 102, 241, 0.3);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gold-start: #fbbf24;
    --gold-end: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(99,102,241,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(139,92,246,0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ========== 顶部导航栏 ========== */
/* ========== 导航栏容器 ========== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: slideDown 0.5s ease;
    gap: 1rem;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-top-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* ========== 汉堡菜单按钮 ========== */
.hamburger-menu {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.hamburger-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    transition: left 0.5s ease;
}

.hamburger-menu:hover::before {
    left: 100%;
}

.hamburger-menu:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-color: rgba(99, 102, 241, 0.6);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), inset 0 0 15px rgba(99, 102, 241, 0.1);
}

.hamburger-menu:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 16px;
    height: 2.5px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 6px rgba(99, 102, 241, 0.5);
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(7.5px);
    background: linear-gradient(90deg, #f472b6, #ec4899);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-7.5px);
    background: linear-gradient(90deg, #f472b6, #ec4899);
}

.hamburger-menu.active {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(244, 114, 182, 0.15) 100%);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.3);
}

/* ========== Logo区域 ========== */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='purple' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%236366f1'/%3E%3Cstop offset='100%25' style='stop-color:%238b5cf6'/%3E%3C/linearGradient%3E%3ClinearGradient id='gold' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23fbbf24'/%3E%3Cstop offset='100%25' style='stop-color:%23f59e0b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='20,6 32,12 32,24 20,30 8,24 8,12' fill='url(%23purple)' opacity='0.3'/%3E%3Cpolygon points='20,6 32,12 32,24 20,30 8,24 8,12' fill='none' stroke='url(%23purple)' stroke-width='2'/%3E%3Cpath d='M 21 12 L 17 20 L 20 20 L 19 28 L 23 20 L 20 20 Z' fill='url(%23gold)' stroke='white' stroke-width='1'/%3E%3Ccircle cx='20' cy='6' r='1.5' fill='white'/%3E%3Ccircle cx='32' cy='12' r='1.2' fill='white'/%3E%3Ccircle cx='32' cy='24' r='1.2' fill='white'/%3E%3Ccircle cx='20' cy='30' r='1.5' fill='white'/%3E%3Ccircle cx='8' cy='24' r='1.2' fill='white'/%3E%3Ccircle cx='8' cy='12' r='1.2' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
    animation: logoPulse 3s ease-in-out infinite;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.9));
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

/* ========== 右侧工具栏 ========== */
.header-right {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    width: 100%;
}

/* 导航图标基础样式 */
.nav-icon {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* 网络图标 - 六边形链条 */
.icon-network {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='net' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%2306b6d4'/%3E%3Cstop offset='100%25' style='stop-color:%230891b2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='7,4 11,6 11,10 7,12 3,10 3,6' fill='url(%23net)' opacity='0.4'/%3E%3Cpolygon points='7,4 11,6 11,10 7,12 3,10 3,6' fill='none' stroke='url(%23net)' stroke-width='1.5'/%3E%3Cpolygon points='17,12 21,14 21,18 17,20 13,18 13,14' fill='url(%23net)' opacity='0.4'/%3E%3Cpolygon points='17,12 21,14 21,18 17,20 13,18 13,14' fill='none' stroke='url(%23net)' stroke-width='1.5'/%3E%3Cline x1='11' y1='8' x2='13' y2='14' stroke='url(%23net)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* 语言图标 - 六边形地球 */
.icon-language {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='lang' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%2310b981'/%3E%3Cstop offset='100%25' style='stop-color:%23059669'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='12,3 19,7 19,15 12,19 5,15 5,7' fill='url(%23lang)' opacity='0.3'/%3E%3Cpolygon points='12,3 19,7 19,15 12,19 5,15 5,7' fill='none' stroke='url(%23lang)' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='11' r='5' fill='none' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M 7 11 Q 12 8 17 11' fill='none' stroke='white' stroke-width='1.2'/%3E%3Cpath d='M 7 11 Q 12 14 17 11' fill='none' stroke='white' stroke-width='1.2'/%3E%3Cline x1='12' y1='6' x2='12' y2='16' stroke='white' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* 钱包图标 - 六边形钱包 */
.icon-wallet {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='wallet' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23fbbf24'/%3E%3Cstop offset='100%25' style='stop-color:%23f59e0b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='12,3 19,7 19,15 12,19 5,15 5,7' fill='url(%23wallet)' opacity='0.3'/%3E%3Cpolygon points='12,3 19,7 19,15 12,19 5,15 5,7' fill='none' stroke='url(%23wallet)' stroke-width='1.5'/%3E%3Crect x='7.5' y='9' width='9' height='5' rx='1' fill='none' stroke='white' stroke-width='1.5'/%3E%3Ccircle cx='14' cy='11.5' r='0.8' fill='white'/%3E%3C/svg%3E");
}

/* 网络标识 和 语言选择器 */
.network-badge,
.lang-selector {
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    transition: all 0.3s ease;
    height: 36px;
    box-sizing: border-box;
}

.network-badge:hover,
.lang-selector:hover {
    border-color: var(--primary-accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.network-badge:hover .nav-icon,
.lang-selector:hover .nav-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.6));
}

/* 钱包按钮 */
.wallet-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    height: 36px;
    box-sizing: border-box;
    font-size: 0.8125rem;
}

/* 按钮扫光效果 */
.wallet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

.wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.wallet-btn.connected {
    background: var(--bg-card);
    border: 1px solid var(--success);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.wallet-btn.connected:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* ========== 侧边栏菜单 ========== */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-purple);
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 0;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    width: 48px;
    height: 48px;
    color: var(--primary-accent);
}

.sidebar-logo svg {
    width: 100%;
    height: 100%;
}

.sidebar-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-brand-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sidebar-section-title {
    padding: 20px 20px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav-item:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--text-primary);
    border-left-color: var(--border-purple);
}

.sidebar-nav-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-accent);
    border-left-color: var(--primary-accent);
}

.sidebar-nav-item svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

.sidebar-footer {
    margin-top: auto;
    padding: 24px 20px;
    border-top: 1px solid var(--border-color);
}

.sidebar-footer-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.sidebar-social-links {
    display: flex;
    gap: 12px;
}

.sidebar-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.sidebar-social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.sidebar-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ========== 主内容区域 ========== */
.main-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
    z-index: 10;
}

.page-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.price-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
}

.price-item {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-accent);
}

/* ========== 统计卡片 ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--border-purple);
    transform: translateY(-2px);
}

.stat-card.highlight {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
    border: 1px solid rgba(139,92,246,0.4);
}

.stat-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-hover);
    border-radius: 10px;
}

.stat-info {
    flex: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-value.gold {
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.reward-value {
    color: var(--success);
}

.stat-usd {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ========== 分红领取卡片 ========== */
.reward-card {
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(5,150,105,0.08));
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.reward-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reward-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.reward-title {
    flex: 1;
}

.reward-title h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.reward-title p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.reward-badge {
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
}

.reward-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.reward-stat {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.reward-stat .label {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.reward-stat .value {
    font-size: 1.1rem;
    font-weight: 700;
}

.reward-stat .value.pending {
    color: var(--success);
}

.reward-info {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.reward-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

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

.reward-info .info-item .icon {
    flex-shrink: 0;
}

.reward-info .info-item strong {
    color: var(--success);
}

.claim-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--success), #059669);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.claim-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.claim-btn:disabled {
    background: var(--bg-card-hover);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* ========== 池子信息卡片 ========== */
.pool-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pool-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pool-info-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    border-color: var(--border-purple);
    color: var(--text-primary);
}

.pool-reserves {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1rem;
}

.reserve-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.reserve-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.reserve-icon.bnb {
    background: linear-gradient(135deg, #f0b90b, #d4a00a);
}

.reserve-icon.usdt {
    background: linear-gradient(135deg, #26a17b, #1e8f6e);
}

.reserve-icon.zeus {
    background: var(--gradient-primary);
}

.reserve-info {
    flex: 1;
}

.reserve-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.reserve-value {
    font-size: 1rem;
    font-weight: 600;
}

.pool-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.meta-item .value {
    font-size: 0.9rem;
    font-weight: 600;
}

.meta-item .value.address {
    color: var(--primary-accent);
    font-family: monospace;
}

/* ========== 合约地址区域 ========== */
.contract-address-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.contract-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contract-label svg {
    fill: var(--text-muted);
}

.contract-address-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--border-purple);
    border-radius: 12px;
}

.contract-address-full {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.8rem;
    color: var(--primary-accent);
    word-break: break-all;
    flex: 1;
}

.contract-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.contract-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.contract-action-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: scale(1.05);
}

.contract-action-btn svg {
    fill: currentColor;
}

/* ========== 快捷操作按钮 ========== */
.quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.quick-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--border-purple);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.quick-action-btn svg {
    fill: currentColor;
    opacity: 0.8;
}

.quick-action-btn:hover svg {
    opacity: 1;
}

/* ========== 操作卡片 ========== */
.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.action-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.action-badge {
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
}

/* 代币选择 */
.token-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.token-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(99, 102, 241, 0.08);
    border: 2px solid transparent;
    border-radius: 14px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.token-tab:hover {
    background: rgba(99, 102, 241, 0.12);
}

.token-tab.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary-accent);
    color: var(--text-primary);
}

.token-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
}

.token-icon.bnb {
    background: linear-gradient(135deg, #f0b90b, #d4a00a);
}

.token-icon.usdt {
    background: linear-gradient(135deg, #26a17b, #1e8f6e);
}

/* ========== 锁定期选择 ========== */
.lock-period-section {
    margin-bottom: 1.5rem;
}

.lock-period-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.lock-icon {
    font-size: 1.1rem;
}

.lock-tip {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: auto;
}

.lock-period-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 1rem;
}

.lock-option {
    position: relative;
    padding: 16px 12px;
    background: rgba(99, 102, 241, 0.06);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.lock-option:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--border-purple);
    transform: translateY(-2px);
}

.lock-option.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary-accent);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.lock-duration {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.lock-apr {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 8px;
}

.lock-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(100, 116, 139, 0.2);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lock-badge.popular {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
}

.lock-badge.premium {
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    color: #1a1a24;
}

.lock-info-box {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 14px;
    padding: 1rem;
}

.lock-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.lock-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lock-info-item:first-child {
    padding-top: 0;
}

.lock-info-item .info-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.lock-info-item .info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lock-info-item .info-value.apr-value {
    color: var(--success);
    font-size: 1rem;
}

/* ========== 我的锁仓记录 ========== */
.my-locks-section {
    margin-bottom: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem;
}

.my-locks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.refresh-small-btn {
    padding: 4px 10px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.refresh-small-btn:hover {
    border-color: var(--border-purple);
    color: var(--text-secondary);
}

.my-locks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.lock-record {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.lock-record:hover {
    border-color: var(--border-purple);
}

.lock-record-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lock-record-amount {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lock-record-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.lock-record-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.lock-status-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.lock-status-badge.locked {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.lock-status-badge.unlocked {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.lock-record-apr {
    font-size: 0.75rem;
    color: var(--success);
}

.lock-withdraw-btn {
    padding: 6px 14px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lock-withdraw-btn:hover {
    transform: scale(1.05);
}

.lock-withdraw-btn:disabled {
    background: var(--bg-card-hover);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

.no-locks-message {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 输入组 */
.input-group {
    margin-bottom: 1.25rem;
}

.input-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.input-label .balance {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-accent);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    outline: none;
    min-width: 0;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-suffix {
    display: flex;
    align-items: center;
    gap: 10px;
}

.token-name {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.max-btn {
    padding: 6px 12px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.max-btn:hover {
    transform: scale(1.05);
}

.input-usd {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
    padding-left: 1rem;
}

/* 预估信息 */
.estimate-info {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.estimate-row:last-child {
    border-bottom: none;
}

.estimate-row .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.estimate-row .value {
    font-size: 0.9rem;
    font-weight: 600;
}

.estimate-row .value.highlight {
    color: var(--success);
}

/* 警告框 */
.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    color: var(--warning);
    font-size: 0.8rem;
}

.warning-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* 我的LP显示 */
.my-lp-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.my-lp-display .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.my-lp-display .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* 百分比按钮 */
.percent-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.percent-btn {
    flex: 1;
    padding: 10px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.percent-btn:hover {
    background: rgba(99, 102, 241, 0.12);
}

.percent-btn.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

/* 操作按钮 */
.action-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

.action-btn.primary {
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.action-btn.danger {
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.action-btn.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.action-btn:disabled {
    background: var(--bg-card-hover);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.action-btn:disabled::before {
    display: none;
}

/* ========== 说明卡片 ========== */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.info-list .info-item .num {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 14px;
    padding: 12px 20px;
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--danger);
}

/* ========== Loading ========== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== 响应式 ========== */
@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .header-right {
        gap: 0.5rem;
    }

    .network-badge,
    .lang-selector {
        padding: 0.5rem 0.75rem;
        height: 36px;
        font-size: 0.75rem;
    }

    .wallet-btn {
        padding: 0.5rem 0.75rem;
        height: 36px;
        font-size: 0.75rem;
    }

    .nav-icon {
        width: 20px;
        height: 20px;
    }

    .main-content {
        padding: 1rem;
    }

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

    .stats-grid {
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.75rem;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }
}
