
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a202c 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.header-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.etf-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #4299e1, #63b3ed);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.toggle-btn.active.eth {
    background: linear-gradient(135deg, #627eea, #8a92ff);
    box-shadow: 0 4px 12px rgba(98, 126, 234, 0.3);
}

.title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.title::before {
    content: "₿";
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
}

.header-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    font-size: 0.875rem;
    color: #a0aec0;
    font-weight: 500;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* LIVE indicator */
.header-stats::after {
    content: "LIVE";
    background: #4299e1;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.card {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4299e1, #63b3ed);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #a0aec0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.metric-change {
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.metric-change.positive {
    color: #48bb78;
}

.metric-change.positive::before {
    content: "↗";
    color: #48bb78;
}

.metric-change.negative {
    color: #f56565;
}

.metric-change.negative::before {
    content: "↘";
    color: #f56565;
}

/* ETF Table Section */
.etf-table-section {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.table-controls {
    display: flex;
    gap: 12px;
}

.btn-secondary {
    background: rgba(66, 153, 225, 0.2);
    color: #4299e1;
    border: 1px solid #4299e1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #4299e1;
    color: white;
    transform: translateY(-1px);
}

.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.etf-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
}

.etf-table th {
    background: rgba(0, 0, 0, 0.4);
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #a0aec0;
    font-size: 0.875rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.etf-table td {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: #ffffff;
}

.etf-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.etf-symbol {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
}

.etf-name {
    font-size: 0.75rem;
    color: #a0aec0;
    margin-top: 2px;
}

.price-change {
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.price-change.positive {
    color: #48bb78;
}

.price-change.negative {
    color: #f56565;
}

.premium-discount {
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.premium-discount.premium {
    color: #4299e1;
}

.premium-discount.discount {
    color: #ed8936;
}

/* Charts Section */
.charts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.chart-container {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-header {
    margin-bottom: 20px;
}

.chart-container h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-subtitle {
    font-size: 0.875rem;
    color: #a0aec0;
    font-weight: 400;
    margin-bottom: 16px;
    font-style: italic;
}

.chart-container canvas {
    max-height: 300px;
    margin-bottom: 16px;
}

.chart-caption {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid #4299e1;
    margin-top: 16px;
}

.chart-caption p {
    font-size: 0.875rem;
    color: #e2e8f0;
    margin-bottom: 8px;
    line-height: 1.5;
}

.chart-caption p:last-child {
    margin-bottom: 0;
}

.chart-caption strong {
    color: #ffffff;
    font-weight: 600;
}

/* Historical Flows Section */
.historical-flows-section {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flows-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
}

.flows-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.875rem;
}

.flows-table th {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #a0aec0;
    font-size: 0.8rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 80px;
}

.flows-table .date-column {
    text-align: left;
    min-width: 100px;
    padding-left: 16px;
}

.flows-table .total-column {
    background: rgba(247, 147, 30, 0.2);
    font-weight: 700;
    color: #f7931e;
}

.flows-table .fee-row td {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    font-size: 0.75rem;
    color: #a0aec0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flows-table .fee-label {
    font-weight: 600;
    color: #ffffff;
}

.flows-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.8rem;
}

.flows-table .date-cell {
    text-align: left;
    padding-left: 16px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.flows-table .flow-positive {
    color: #48bb78;
    font-weight: 600;
}

.flows-table .flow-negative {
    color: #f56565;
    font-weight: 600;
}

.flows-table .flow-zero {
    color: #a0aec0;
}

.flows-table .total-cell {
    background: rgba(247, 147, 30, 0.1);
    font-weight: 700;
    font-size: 0.9rem;
}

.flows-table .total-cell.flow-positive {
    color: #48bb78;
}

.flows-table .total-cell.flow-negative {
    color: #f56565;
}

.flows-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Historical Data Section */
.historical-data-section {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Flow Analysis */
.flow-analysis {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-analysis h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.flow-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.flow-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.flow-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #a0aec0;
    margin-bottom: 12px;
}

.flow-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.flow-value.positive {
    color: #48bb78;
}

.flow-value.negative {
    color: #f56565;
}

/* Footer */
.footer {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.disclaimer {
    margin-bottom: 16px;
}

.disclaimer p {
    font-size: 0.875rem;
    color: #a0aec0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.data-sources p {
    font-size: 0.75rem;
    color: #718096;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #4299e1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

/* Table Filters and Sorting */
.table-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-label {
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 500;
}

.filter-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 0.875rem;
    min-width: 120px;
    transition: all 0.2s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
}

.filter-input::placeholder {
    color: #718096;
}

.sort-indicator {
    display: inline-block;
    margin-left: 4px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.sort-indicator.active {
    opacity: 1;
    color: #4299e1;
}

.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.2s ease;
}

.sortable:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Enhanced Tooltips */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Smooth Animations and Transitions */
.card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.etf-table tbody tr {
    transition: all 0.3s ease;
}

.etf-table tbody tr:hover {
    background: rgba(66, 153, 225, 0.1);
    transform: translateX(4px);
}

.btn-secondary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Mobile-First Responsive Design */
.container {
    padding: 16px;
    max-width: 100%;
    overflow-x: hidden;
}

.header-content {
    flex-direction: column;
    gap: 20px;
}

.header-center {
    order: -1;
    width: 100%;
}

.etf-toggle {
    width: 100%;
    justify-content: center;
}

.toggle-btn {
    flex: 1;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
}

.header-stats {
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.stat-item {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
}

/* Mobile Table Enhancements */
.table-container {
    position: relative;
}

.table-scroll-indicator {
    display: none;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(66, 153, 225, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    animation: pulse 2s infinite;
}

.mobile-card-view {
    display: none;
}

.etf-mobile-card {
    background: rgba(26, 32, 44, 0.8);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.etf-mobile-card:hover {
    transform: translateY(-2px);
    border-color: rgba(66, 153, 225, 0.5);
}

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

.mobile-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.875rem;
}

.mobile-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-card-label {
    color: #a0aec0;
    font-size: 0.75rem;
}

.mobile-card-value {
    color: #ffffff;
    font-weight: 600;
}

/* Enhanced Responsive Breakpoints */
@media (max-width: 1200px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
    
    .header-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 12px;
    }
    
    .title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .header-content {
        align-items: center;
    }
    
    .summary-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }
    
    .table-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-input {
        width: 100%;
        min-width: unset;
    }
    
    .etf-table {
        font-size: 0.75rem;
    }
    
    .etf-table th,
    .etf-table td {
        padding: 6px 4px;
    }
    
    .table-scroll-indicator {
        display: block;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .table-controls {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .header-stats {
        flex-direction: column;
    }
    
    .stat-item {
        padding: 10px 14px;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .flow-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .flow-item {
        padding: 16px;
    }
    
    /* Switch to mobile card view */
    .table-container table {
        display: none;
    }
    
    .mobile-card-view {
        display: block;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.3rem;
    }
    
    .toggle-btn {
        padding: 12px 16px;
        font-size: 0.8rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .metric-value {
        font-size: 1.8rem;
    }
    
    .mobile-card-body {
        grid-template-columns: 1fr;
    }
}

/* Total Row Styles */
.total-row {
    background: rgba(247, 147, 30, 0.1) !important;
    border-top: 2px solid rgba(247, 147, 30, 0.3);
    border-bottom: 2px solid rgba(247, 147, 30, 0.3);
}

.total-row:hover {
    background: rgba(247, 147, 30, 0.15) !important;
}

.total-row td {
    border-bottom: 2px solid rgba(247, 147, 30, 0.3) !important;
    font-weight: 600;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-green { color: #48bb78; }
.text-red { color: #f56565; }
.text-blue { color: #4299e1; }
.font-bold { font-weight: 600; }
.font-mono { font-family: 'SF Mono', 'Monaco', 'Consolas', monospace; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Countdown timer animation */
#nextUpdateTime {
    transition: color 0.3s ease;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

/* Chart controls */
.chart-controls {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    justify-content: center;
}

.period-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.period-btn.active {
    background: #f7931e;
    border-color: #f7931e;
    color: #000000;
    font-weight: 600;
}

/* Special Effects */
.card:nth-child(1) .metric-value { color: #f7931e; }
.card:nth-child(2) .metric-value { color: #4299e1; }
.card:nth-child(3) .metric-value { color: #48bb78; }
.card:nth-child(4) .metric-value { color: #9f7aea; }

/* Icons for cards */
.card h3::before {
    font-size: 1.2rem;
    margin-right: 8px;
}

.card:nth-child(1) h3::before { content: "₿"; color: #f7931e; }
.card:nth-child(2) h3::before { content: "🏆"; }
.card:nth-child(3) h3::before { content: "💰"; color: #48bb78; }
.card:nth-child(4) h3::before { content: "📊"; color: #9f7aea; }
