/* styles.css - Enhanced Dark Blue & Orange Theme with Fixed Dropdowns */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    background: #1a2238;
    color: #ff8c42;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header {
    border-bottom: 1px solid #2d3561;
    background: #15253a;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ff8c42;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

.logo:hover {
    color: #ffa666;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: #a0b4d6;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.2s ease;
    position: relative;
}

.nav a:hover {
    color: #ff8c42;
}

.nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff8c42;
    border-radius: 1px;
}

.subscribe {
    background: #ff8c42;
    color: #1a2238;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 2px solid #ff8c42;
    cursor: pointer;
}

.subscribe:hover {
    background: transparent;
    color: #ff8c42;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.page-header {
    margin-bottom: 32px;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #ff8c42;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(255, 140, 66, 0.2);
}

.page-subtitle {
    font-size: 18px;
    color: #a0b4d6;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.last-updated {
    font-size: 13px;
    color: #7a8db8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.live-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #00cc66;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(0, 204, 102, 0.4);
}

/* ENHANCED FILTERS SECTION - FIXED DROPDOWNS */
.filters {
    background: linear-gradient(135deg, #15253a 0%, #1a2238 100%);
    border: 1px solid #2d3561;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: end;
}

/* FIXED: Filter group styling */
.filter-group {
    position: relative;
}

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #ff8c42;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CRITICAL FIX: Enhanced select dropdown styling */
.filter-group select {
    width: 100%;
    padding: 12px 40px 12px 14px; /* Extra padding for custom arrow */
    border: 2px solid #2d3561;
    border-radius: 6px;
    font-size: 14px;
    background: #1a2238;
    color: #a0b4d6;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    
    /* Remove default dropdown arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* Custom dropdown arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0b4d6' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    
    /* Ensure proper layering */
    position: relative;
    z-index: 1;
}

.filter-group select:focus {
    outline: none;
    border-color: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
    position: relative;
    z-index: 20;
    
    /* Orange arrow on focus */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c42' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.filter-group select:hover {
    border-color: #ff8c42;
    
    /* Orange arrow on hover */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c42' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Enhanced option styling */
.filter-group select option {
    background: #1a2238;
    color: #a0b4d6;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    margin: 0;
}

.filter-group select option:checked,
.filter-group select option:hover {
    background: #2d3561;
    color: #ff8c42;
}

/* Fix checkbox styling */
.filter-group input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    cursor: pointer;
    accent-color: #ff8c42;
}

.filter-group label[for="excludeStablecoins"] {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 500;
    color: #a0b4d6;
    text-transform: none;
    letter-spacing: normal;
    transition: color 0.2s ease;
}

.filter-group label[for="excludeStablecoins"]:hover {
    color: #ff8c42;
}

/* Enhanced Table Container */
.table-container {
    border: 1px solid #2d3561;
    border-radius: 12px;
    overflow: hidden;
    background: #15253a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    isolation: isolate;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.table-wrapper {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-title {
    padding: 16px 24px 0;
    background: #15253a;
}

.table-title h2 {
    color: #ff8c42;
    font-weight: 700;
    font-size: 20px;
    margin: 0;
}

/* Table Styles - Clean and Fixed */
.data-table,
.rankings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    z-index: 1;
    background: transparent;
    table-layout: auto;
}

/* Table Headers - Clean Implementation */
.data-table th,
.rankings-table th {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    
    background: linear-gradient(135deg, #1a2238 0%, #243050 100%) !important;
    color: #ff8c42 !important;
    padding: 12px 8px;
    text-align: center;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid #ff8c42;
    border-right: 1px solid #2d3561;
    position: relative;
    z-index: 2;
    overflow: visible;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    will-change: auto;
    transform: none;
}

/* Remove any pseudo-elements that could cause shadows */
.data-table th::before,
.data-table th::after,
.rankings-table th::before,
.rankings-table th::after {
    display: none !important;
    content: none !important;
}

/* Sortable header styles */
.data-table th[data-sort],
.rankings-table th[data-sort] {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: all 0.2s ease;
}

.data-table th[data-sort]:hover,
.rankings-table th[data-sort]:hover {
    background: linear-gradient(135deg, #243050 0%, #2d3561 100%) !important;
    color: #ffa666 !important;
    box-shadow: none !important;
}

.data-table th[data-sort]:focus,
.rankings-table th[data-sort]:focus {
    outline: 2px solid #ff8c42;
    outline-offset: -2px;
}

.data-table th:last-child,
.rankings-table th:last-child {
    border-right: none;
}

/* Enhanced CBR Header - Orange Text, No Border */
.data-table th.cbr-header,
.rankings-table th.cbr-header {
    background: linear-gradient(135deg, #1a2238 0%, #243050 100%) !important;
    color: #ff8c42 !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
    border: none !important;
    border-bottom: 2px solid #ff8c42 !important;
    border-right: 1px solid #2d3561 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    position: relative;
    overflow: visible;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-table th.cbr-header:hover,
.rankings-table th.cbr-header:hover {
    background: linear-gradient(135deg, #243050 0%, #2d3561 100%) !important;
    color: #ffa666 !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}

.data-table th.cbr-header .sort-indicator,
.rankings-table th.cbr-header .sort-indicator {
    color: #ff8c42 !important;
    opacity: 1;
    font-weight: bold;
}

.data-table th.cbr-header:hover .sort-indicator,
.rankings-table th.cbr-header:hover .sort-indicator {
    color: #ffa666 !important;
    opacity: 1;
}

/* Sort Indicator Styling */
.data-table th .sort-indicator,
.rankings-table th .sort-indicator {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    font-size: 11px;
    color: #a0b4d6;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1;
    font-weight: bold;
}

.data-table th .sort-indicator.sort-asc,
.data-table th .sort-indicator.sort-desc,
.rankings-table th .sort-indicator.sort-asc,
.rankings-table th .sort-indicator.sort-desc {
    opacity: 1;
    color: #ff8c42;
    font-weight: bold;
}

.data-table th[data-sort]:hover .sort-indicator,
.rankings-table th[data-sort]:hover .sort-indicator {
    opacity: 1;
    color: #ff8c42;
}

/* Table Body */
.data-table tbody,
.rankings-table tbody {
    position: relative;
    z-index: 1;
}

.data-table td,
.rankings-table td {
    padding: 8px 6px;
    text-align: center;
    border-bottom: 1px solid #2d3561;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    border-right: 1px solid #2d3561;
    color: #a0b4d6;
    background: transparent;
    transition: all 0.2s ease;
    position: relative;
    vertical-align: middle;
}

.data-table td:last-child,
.rankings-table td:last-child {
    border-right: none;
}

/* Row Backgrounds */
.data-table tbody tr:nth-child(even),
.rankings-table tbody tr:nth-child(even) {
    background: #1a2238 !important;
}

.data-table tbody tr:nth-child(odd),
.rankings-table tbody tr:nth-child(odd) {
    background: #15253a !important;
}

/* Enhanced Hover Effects */
.data-table tbody tr:hover,
.rankings-table tbody tr:hover {
    background: linear-gradient(135deg, #243050 0%, #2d3561 100%) !important;
    cursor: pointer;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 140, 66, 0.1);
    position: relative;
    z-index: 2;
}

/* First column styling */
.data-table td:first-child,
.rankings-table td:first-child {
    font-weight: 700;
    background: linear-gradient(135deg, #1a2238 0%, #243050 100%);
    color: #ff8c42;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ENHANCED CBR COLUMN DATA CELLS */
.data-table td.cbr-cell,
.rankings-table td.cbr-cell,
.data-table td[data-cbr],
.rankings-table td[data-cbr],
.cbr-cell,
td.cbr,
td[class*="cbr"],
.data-table tbody tr td:nth-child(8),
.rankings-table tbody tr td:nth-child(8) {
    color: #ffffff !important;
    background: transparent !important;
    border: 1px solid #ff8c42 !important;
    font-weight: normal !important;
    font-size: 12px !important;
    text-align: center !important;
    position: relative !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    padding: 8px 6px !important;
    border-radius: 6px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    letter-spacing: 0px !important;
    
    box-shadow: 
        inset 0 0 0 1px rgba(255, 140, 66, 0.3),
        0 0 0 2px rgba(255, 140, 66, 0.2),
        0 2px 8px rgba(255, 140, 66, 0.3) !important;
    
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

.data-table td.cbr-cell:hover,
.rankings-table td.cbr-cell:hover,
.data-table td[data-cbr]:hover,
.rankings-table td[data-cbr]:hover,
.cbr-cell:hover,
td.cbr:hover,
td[class*="cbr"]:hover,
.data-table tbody tr td:nth-child(8):hover,
.rankings-table tbody tr td:nth-child(8):hover {
    color: #ffffff !important;
    background: rgba(255, 140, 66, 0.05) !important;
    border-color: #ffa666 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9) !important;
    box-shadow: 
        inset 0 0 0 1px rgba(255, 166, 102, 0.4),
        0 0 0 2px rgba(255, 166, 102, 0.3),
        0 4px 12px rgba(255, 140, 66, 0.4) !important;
}

/* Crypto Name Column */
.crypto-name {
    text-align: left !important;
    font-weight: 500;
    padding-left: 16px !important;
    min-width: 180px;
}

.crypto-name .crypto-main-name {
    color: #ff8c42;
    font-weight: 600;
    margin-bottom: 2px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.crypto-name .crypto-main-name:hover {
    color: #ffa666;
    text-decoration: underline;
}

.crypto-symbol {
    display: block;
    color: #7a8db8;
    font-size: 10px;
    font-weight: 400;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stablecoin-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ffc107, #ffeb3b);
    color: #1a2238;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
    font-family: 'Inter', sans-serif;
}

/* Enhanced Rating System */
.rating {
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
    padding: 8px 10px !important;
    border-radius: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
    border: 2px solid transparent;
    font-size: 13px !important;
    min-width: 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.excellent { 
    background: linear-gradient(135deg, #00cc66, #00ff80) !important;
    color: #1a2238 !important; 
    border-color: #00cc66 !important;
    box-shadow: 0 3px 12px rgba(0, 204, 102, 0.4) !important;
    text-shadow: 0 1px 2px rgba(26, 34, 56, 0.3) !important;
}

.very-good { 
    background: linear-gradient(135deg, #66cc99, #80ffaa) !important;
    color: #1a2238 !important; 
    border-color: #66cc99 !important;
    box-shadow: 0 3px 12px rgba(102, 204, 153, 0.4) !important;
    text-shadow: 0 1px 2px rgba(26, 34, 56, 0.3) !important;
}

.good { 
    background: linear-gradient(135deg, #99ccbb, #aaddcc) !important;
    color: #1a2238 !important; 
    border-color: #99ccbb !important;
    box-shadow: 0 3px 12px rgba(153, 204, 187, 0.4) !important;
    text-shadow: 0 1px 2px rgba(26, 34, 56, 0.3) !important;
}

.average { 
    background: linear-gradient(135deg, #7a8db8, #9aadcc) !important;
    color: #1a2238 !important; 
    border-color: #7a8db8 !important;
    box-shadow: 0 3px 12px rgba(122, 141, 184, 0.4) !important;
    text-shadow: 0 1px 2px rgba(26, 34, 56, 0.3) !important;
}

.below-average { 
    background: linear-gradient(135deg, #ff9966, #ffaa80) !important;
    color: #1a2238 !important; 
    border-color: #ff9966 !important;
    box-shadow: 0 3px 12px rgba(255, 153, 102, 0.4) !important;
    text-shadow: 0 1px 2px rgba(26, 34, 56, 0.3) !important;
}

.poor { 
    background: linear-gradient(135deg, #cc6666, #ff8080) !important;
    color: white !important; 
    border-color: #cc6666 !important;
    box-shadow: 0 3px 12px rgba(204, 102, 102, 0.4) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.positive { 
    color: #00cc66 !important; 
    font-weight: 700; 
    text-shadow: 0 1px 2px rgba(0, 204, 102, 0.2);
}

.negative { 
    color: #ff6b6b !important; 
    font-weight: 700; 
    text-shadow: 0 1px 2px rgba(255, 107, 107, 0.2);
}

.neutral { 
    color: #a0b4d6 !important; 
    font-weight: 500;
}

/* Loading and Error States */
.loading {
    color: #7a8db8;
    font-style: italic;
    text-align: center;
    padding: 60px 20px;
    font-size: 15px;
    background: transparent;
    border-radius: 8px;
    margin: 20px 0;
    line-height: 1.6;
}

.error-message {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    padding: 30px 20px;
    text-align: center;
}

/* Content Sections */
.simple-methodology {
    background: linear-gradient(135deg, #15253a 0%, #1a2238 100%);
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.simple-methodology h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ff8c42;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(255, 140, 66, 0.2);
}

.simple-methodology p {
    color: #a0b4d6;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

.explanation {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #15253a 0%, #1a2238 100%);
    border: 2px solid #2d3561;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.explanation h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ff8c42;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(255, 140, 66, 0.2);
}

.explanation p {
    color: #a0b4d6;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 15px;
}

.explanation strong {
    color: #ff8c42;
    font-weight: 600;
}

.contact-section {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #15253a 0%, #1a2238 100%);
    border: 2px solid #2d3561;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-email {
    display: inline-block;
    background: linear-gradient(135deg, #1a2238 0%, #243050 100%);
    color: #ff8c42;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #2d3561;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: linear-gradient(135deg, #243050 0%, #2d3561 100%);
    border-color: #ff8c42;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.3);
}

/* Footer */
.footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid #2d3561;
    text-align: center;
    background: linear-gradient(135deg, #15253a 0%, #1a2238 100%);
    border-radius: 12px 12px 0 0;
}

.footer p {
    color: #7a8db8;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer a {
    color: #a0b4d6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #ff8c42;
    text-decoration: underline;
}

/* Premium Overlay Styles */
.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(26, 34, 56, 0) 0%, 
        rgba(26, 34, 56, 0.8) 60%, 
        rgba(26, 34, 56, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    backdrop-filter: blur(2px);
    border-radius: 0 0 12px 12px;
}

.premium-cta {
    background: linear-gradient(135deg, #1a2238 0%, #15253a 100%);
    border: 3px solid #ff8c42;
    color: #ff8c42;
    padding: 24px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(255, 140, 66, 0.4);
    max-width: 420px;
    margin: 24px;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.premium-btn {
    background: #ff8c42;
    color: #1a2238;
    border: 2px solid #ff8c42;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
}

.premium-btn:hover {
    background: transparent;
    border-color: #ff8c42;
    color: #ff8c42;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a2238 0%, #15253a 100%);
    margin: 5% auto;
    padding: 0;
    border: 2px solid #2d3561;
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.modal-header {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa666 100%);
    color: #1a2238;
    padding: 24px 28px;
    border-radius: 16px 16px 0 0;
}

.modal-body {
    padding: 28px;
    color: #a0b4d6;
}

.close {
    color: #1a2238;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pricing-option {
    background: linear-gradient(135deg, #15253a 0%, #1a2238 100%);
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.select-btn {
    background: #ff8c42;
    color: #1a2238;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
}

/* Nuggets Easter Egg */
.nuggets-easter-egg {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, #ff8c42, #ffa666);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: float 3s ease-in-out infinite;
}

.nuggets-easter-egg:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.6);
}

.nuggets-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: linear-gradient(135deg, #1a2238 0%, #243050 100%);
    color: #ff8c42;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 2px solid #2d3561;
}

.nuggets-easter-egg:hover .nuggets-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.05);
    }
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: scale(0.9);
    }
    to { 
        opacity: 1; 
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 16px 20px;
        flex-direction: column;
        gap: 16px;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .container {
        padding: 20px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .filters {
        padding: 20px;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .data-table, .rankings-table {
        font-size: 11px;
    }
    
    .data-table th, .data-table td,
    .rankings-table th, .rankings-table td {
        padding: 6px 4px;
    }
    
    .data-table th, .rankings-table th {
        padding: 8px 4px;
        font-size: 10px;
    }
    
    .crypto-name {
        padding-left: 12px !important;
    }

    .nuggets-easter-egg {
        width: 56px;
        height: 56px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .premium-cta {
        margin: 16px;
        padding: 20px 24px;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 12px 16px;
    }
    
    .container {
        padding: 16px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .filters {
        padding: 16px;
    }
    
    .data-table, .rankings-table {
        font-size: 10px;
    }
    
    .premium-cta {
        margin: 12px;
        padding: 16px 20px;
    }

    /* === TERMINOLOGY SECTION STYLES === */
.terminology {
    background: linear-gradient(135deg, #15253a 0%, #1a2238 100%);
    border: 2px solid #2d3561;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.terminology h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ff8c42;
    margin-bottom: 16px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(255, 140, 66, 0.2);
}

.terminology-term {
    font-weight: 700;
    color: #ff8c42;
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 4px;
}

.terminology-description {
    color: #a0b4d6;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
   }
    
}
