/**
 * Web3Hub - Main Styles
 * Crypto Dashboard Theme
 */

/* ============================================
   CSS Variables
============================================ */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;

    --accent: #10b981;
    --accent-light: #34d399;

    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Chart Colors */
    --chart-green: #22c55e;
    --chart-red: #ef4444;

    /* Feature Colors */
    --prices-color: #f59e0b;
    --nfts-color: #ec4899;
    --defi-color: #10b981;
    --learn-color: #6366f1;

    /* Backgrounds */
    --bg-dark: #0f0f14;
    --bg-darker: #0a0a0e;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --bg-elevated: #1e1e2a;
    --bg-input: #12121a;

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders */
    --border-color: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(99, 102, 241, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

    /* Sizing */
    --nav-height: 64px;
    --container-max: 1400px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
}

/* ============================================
   Reset & Base
============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   Typography
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

code, .mono {
    font-family: 'JetBrains Mono', monospace;
}

.accent {
    color: var(--accent);
}

/* ============================================
   Layout
============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.main {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 48px;
    min-height: calc(100vh - 100px);
}

/* ============================================
   Navigation
============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    transition: all var(--transition-base);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-connect {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-connect:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.btn-connect.connected {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.mobile-menu {
    display: none;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.mobile-nav-link.active {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

/* ============================================
   Hero Section
============================================ */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 32px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    text-align: right;
}

.hero-stat .stat-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-stat .stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   Quick Actions
============================================ */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.action-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.action-icon.prices {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.action-icon.nfts {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

.action-icon.defi {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.action-icon.learn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.action-content h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.action-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.action-arrow {
    margin-left: auto;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.action-card:hover .action-arrow {
    transform: translateX(4px);
    color: var(--primary-light);
}

/* ============================================
   Dashboard Grid
============================================ */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.dashboard-card.wide {
    grid-column: span 2;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.card-header h2 svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
}

.card-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-light);
    transition: color var(--transition-fast);
}

.card-link:hover {
    color: var(--primary);
}

/* ============================================
   Crypto Table
============================================ */
.crypto-table {
    font-size: 0.875rem;
}

.table-header {
    display: grid;
    grid-template-columns: 40px 2fr 1fr 1fr 1.5fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.table-body {
    max-height: 400px;
    overflow-y: auto;
}

.table-row {
    display: grid;
    grid-template-columns: 40px 2fr 1fr 1fr 1.5fr;
    gap: 16px;
    padding: 14px 0;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

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

.col-rank {
    color: var(--text-muted);
    font-weight: 500;
}

.col-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crypto-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-elevated);
}

.crypto-info {
    display: flex;
    flex-direction: column;
}

.crypto-name {
    font-weight: 600;
}

.crypto-symbol {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.col-price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.col-change {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.col-change.positive {
    color: var(--chart-green);
}

.col-change.negative {
    color: var(--chart-red);
}

.col-mcap {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
}

.table-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 12px;
    color: var(--text-muted);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============================================
   Wallet Card
============================================ */
.wallet-disconnected {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 16px;
}

.wallet-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.wallet-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
}

.wallet-disconnected h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.wallet-disconnected p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.wallet-connected {
    padding: 16px 0;
}

.wallet-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.wallet-address code {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.wallet-balance {
    text-align: center;
    padding: 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
}

.wallet-balance .balance-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.wallet-balance .balance-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   NFT Grid
============================================ */
.nft-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.nft-placeholder {
    aspect-ratio: 1;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform var(--transition-fast);
}

.nft-placeholder:hover {
    transform: scale(1.02);
}

.nft-placeholder p {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================
   Gas Tracker
============================================ */
.gas-prices {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.gas-tier {
    flex: 1;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    text-align: center;
}

.gas-label {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.gas-value {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.gas-tier.slow .gas-value { color: var(--chart-green); }
.gas-tier.standard .gas-value { color: var(--warning); }
.gas-tier.fast .gas-value { color: var(--chart-red); }

.gas-time {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.gas-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* ============================================
   Tutorials List
============================================ */
.tutorials-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tutorial-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.tutorial-item:hover {
    background: var(--bg-card-hover);
}

.tutorial-icon {
    font-size: 1.25rem;
}

.tutorial-info {
    flex: 1;
}

.tutorial-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.tutorial-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tutorial-badge {
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tutorial-badge.beginner {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.tutorial-badge.intermediate {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.tutorial-badge.advanced {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* ============================================
   DeFi Protocols
============================================ */
.defi-protocols {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.protocol-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
}

.protocol-icon {
    font-size: 1.5rem;
}

.protocol-info {
    display: flex;
    flex-direction: column;
}

.protocol-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.protocol-tvl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   Footer
============================================ */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   Page-Specific Styles
============================================ */

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.search-box svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9375rem;
    outline: none;
}

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

/* Filters */
.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

/* Full Width Table */
.full-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.full-table .table-header {
    padding: 16px 20px;
    background: var(--bg-elevated);
}

.full-table .table-body {
    max-height: none;
    padding: 0 20px;
}

.full-table .table-row {
    padding: 16px 0;
}

/* NFT Gallery Grid */
.nft-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.nft-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.nft-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.nft-image {
    aspect-ratio: 1;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.nft-details {
    padding: 16px;
}

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

.nft-name {
    font-weight: 600;
    margin-bottom: 8px;
}

.nft-price {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.nft-price .label {
    color: var(--text-muted);
}

.nft-price .value {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
}

/* DeFi Position Cards */
.defi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.position-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.position-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.position-icon {
    font-size: 2rem;
}

.position-info h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.position-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.position-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.position-stat {
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
}

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

.position-stat .value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
}

/* Tutorial Content */
.tutorial-content {
    max-width: 900px;
}

.tutorial-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.tutorial-section h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tutorial-section h2 svg {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
}

.tutorial-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Code Blocks */
.code-block {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin: 16px 0;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
}

.code-lang {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.code-copy {
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.code-copy:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.code-block pre {
    padding: 16px;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.code-block code {
    color: var(--text-primary);
}

/* Code Syntax Colors */
.code-keyword { color: #c792ea; }
.code-string { color: #c3e88d; }
.code-function { color: #82aaff; }
.code-comment { color: #546e7a; }
.code-number { color: #f78c6c; }
.code-property { color: #ffcb6b; }

/* Live Demo */
.live-demo {
    padding: 20px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.live-demo h4 {
    font-size: 0.875rem;
    margin-bottom: 12px;
    color: var(--accent);
}

.demo-result {
    padding: 16px;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-card.wide {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-stat {
        text-align: center;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-section {
        padding: 24px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .action-card {
        padding: 16px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card.wide {
        grid-column: span 1;
    }

    .table-header,
    .table-row {
        grid-template-columns: 30px 1.5fr 1fr 1fr;
    }

    .col-mcap {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn-connect span {
        display: none;
    }

    .btn-connect svg {
        margin: 0;
    }
}

/* ============================================
   Animations
============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
