/* 农场交易大厅样式 - farm_exchange_hall.css */
/* 主样式 */

        :root {
            --exchange-green: #00c853;
            --exchange-red: #ff1744;
            --exchange-bg: #0a0e17;
            --exchange-card: #1a1f2e;
            --exchange-border: #2d3548;
            --exchange-text: #e0e0e0;
            --exchange-text-dim: #8892a4;
        }

        body {
            background-color: var(--exchange-bg);
            color: var(--exchange-text);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        .exchange-header {
            background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
            border-bottom: 2px solid var(--exchange-border);
            padding: 15px 0;
        }

        .logo-text {
            font-size: 24px;
            font-weight: bold;
            color: #fff;
        }

        .price-up {
            color: var(--exchange-green) !important;
        }

        .price-down {
            color: var(--exchange-red) !important;
        }

        .exchange-card {
            background-color: var(--exchange-card);
            border: 1px solid var(--exchange-border);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .nav-tabs .nav-link {
            color: var(--exchange-text-dim);
            border: none;
            background: transparent;
            padding: 12px 24px;
            font-weight: 500;
            transition: all 0.3s;
        }

        .nav-tabs .nav-link:hover {
            color: #fff;
            background-color: rgba(255, 255, 255, 0.1);
        }

        .nav-tabs .nav-link.active {
            color: #fff;
            background-color: #1976d2;
            border-bottom: 3px solid #64b5f6;
        }

        /* 行情表格 */
        .market-table {
            width: 100%;
            border-collapse: collapse;
        }

        .market-table thead th {
            background-color: rgba(255, 255, 255, 0.05);
            padding: 12px;
            text-align: left;
            font-weight: 600;
            color: var(--exchange-text-dim);
            border-bottom: 1px solid var(--exchange-border);
            position: sticky;
            top: 0;
        }

        .market-table tbody tr {
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .market-table tbody tr:hover {
            background-color: rgba(25, 118, 210, 0.2);
        }

        .market-table td {
            padding: 12px;
            border-bottom: 1px solid rgba(45, 53, 72, 0.5);
        }

        /* 订单簿 */
        .orderbook-container {
            height: 500px;
            overflow-y: auto;
        }

        .bid-row {
            background-color: rgba(0, 200, 83, 0.1);
        }

        .ask-row {
            background-color: rgba(255, 23, 68, 0.1);
        }

        .depth-bar {
            height: 100%;
            position: absolute;
            right: 0;
            top: 0;
            opacity: 0.3;
        }

        .depth-bar.bid {
            background-color: var(--exchange-green);
        }

        .depth-bar.ask {
            background-color: var(--exchange-red);
        }

        /* 交易面板 */
        .trade-panel {
            background-color: var(--exchange-card);
            border-radius: 8px;
            padding: 20px;
        }

        .trade-form .form-control,
        .trade-form .form-select {
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--exchange-border);
            color: #fff;
            padding: 12px;
        }

        .trade-form .form-control:focus {
            background-color: rgba(255, 255, 255, 0.08);
            border-color: #1976d2;
            box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25);
        }

        .btn-buy {
            background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
            border: none;
            color: #000;
            font-weight: bold;
            padding: 14px;
            width: 100%;
            border-radius: 6px;
            transition: all 0.3s;
        }

        .btn-buy:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
        }

        .btn-sell {
            background: linear-gradient(135deg, #ff1744 0%, #ff5252 100%);
            border: none;
            color: #fff;
            font-weight: bold;
            padding: 14px;
            width: 100%;
            border-radius: 6px;
            transition: all 0.3s;
        }

        .btn-sell:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(255, 23, 68, 0.4);
        }

        /* 统计卡片 */
        .stat-card {
            background: linear-gradient(135deg, rgba(25, 118, 210, 0.2) 0%, rgba(13, 71, 161, 0.2) 100%);
            border: 1px solid rgba(25, 118, 210, 0.3);
            border-radius: 10px;
            padding: 20px;
            text-align: center;
        }

        .stat-value {
            font-size: 28px;
            font-weight: bold;
            margin: 10px 0;
        }

        /* K线图容器 */
        .chart-container {
            background-color: var(--exchange-card);
            border: 1px solid var(--exchange-border);
            border-radius: 8px;
            padding: 20px;
            min-height: 400px;
        }

        /* 最新成交 */
        .trade-history-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(45, 53, 72, 0.3);
            font-size: 13px;
        }

        /* 数字资产凭证卡片 (DAC - Digital Asset Certificate) */
        .cert-card {
            background: linear-gradient(145deg, #1e2742 0%, #151b2e 100%);
            border: 1px solid var(--exchange-border);
            border-radius: 12px;
            padding: 16px;
            transition: all 0.3s;
            cursor: pointer;
            height: 100%;
        }

        .cert-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
            border-color: #28a745;
        }

        .cert-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 8px;
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 60px;
            margin-bottom: 12px;
        }

        /* 基金卡片 */
        .fund-card {
            background: linear-gradient(145deg, #1a2337 0%, #0f1419 100%);
            border: 1px solid var(--exchange-border);
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s;
        }

        .fund-card:hover {
            border-color: #ffd700;
            box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
        }

        .badge-fund {
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: #000;
            font-weight: bold;
            padding: 4px 12px;
            border-radius: 20px;
        }

        /* 滚动条美化 */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--exchange-bg);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--exchange-border);
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #3d4659;
        }

        /* 加载动画 */
        .loading-spinner {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 300px;
        }

        /* 农场订阅套餐卡片 */
        .sub-plan-card {
            background: linear-gradient(145deg, #1a2e1a 0%, #152315 100%);
            border: 1px solid rgba(40, 167, 69, 0.3);
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .sub-plan-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.25);
            border-color: #28a745;
        }
        .sub-plan-card.featured {
            border-color: #ffd700;
            background: linear-gradient(145deg, #2a2e1a 0%, #252315 100%);
        }
        .sub-plan-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 12px;
        }
        .sub-plan-farm {
            font-size: 11px;
            color: #28a745;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        .sub-plan-name {
            font-size: 16px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
        }
        .sub-plan-desc {
            font-size: 12px;
            color: #8892a4;
            margin-bottom: 14px;
            line-height: 1.5;
            flex-grow: 1;
        }
        .sub-plan-price-row {
            display: flex;
            align-items: baseline;
            gap: 6px;
            margin-bottom: 6px;
        }
        .sub-plan-price {
            font-size: 26px;
            font-weight: 800;
            color: #28a745;
        }
        .sub-plan-price-unit {
            font-size: 13px;
            color: #8892a4;
        }
        .sub-plan-freq {
            display: inline-block;
            font-size: 11px;
            padding: 2px 10px;
            border-radius: 20px;
            background: rgba(40, 167, 69, 0.15);
            color: #5cb85c;
            margin-bottom: 14px;
        }
        .sub-plan-meta {
            display: flex;
            gap: 16px;
            margin-bottom: 16px;
            font-size: 12px;
            color: #8892a4;
        }
        .sub-plan-meta span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* 响应式 */
        @media (max-width: 992px) {
            .trade-panel {
                margin-top: 20px;
            }
        }

/* 页脚样式 */

.site-footer-nav{max-width:960px;margin:40px auto 0;background:#fff;border-top:1px solid #e5e7eb;padding:20px 0;text-align:center}
.site-footer-nav .beian-row{display:flex;align-items:center;justify-content:center;gap:8px;padding:4px 12px;font-size:12px;color:#6b7280;flex-wrap:wrap}
.site-footer-nav .beian-row a{color:#4b5563;text-decoration:none}
.site-footer-nav .beian-row a:hover{color:#16a34a}
