/* Wallets Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 40px;
    height: 40px;
}

.logo-section h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s;
}

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

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
}

.language-select {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.language-select:hover {
    background: rgba(255,255,255,0.2);
}

.language-select option {
    background: #1e293b;
    color: white;
}

/* Hot Wallet Section */
.hotwallet-section {
    padding: 2rem 0;
    background: #f8fafc;
    border-radius: 1rem;
    margin: 2rem 0;
}

.hotwallet-section h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 1rem;
}

.hotwallet-section > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hotwallet-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hotwallet-category {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotwallet-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.hotwallet-category.good {
    border-left: 4px solid #10b981;
}

.hotwallet-category.medium {
    border-left: 4px solid #f59e0b;
}

.hotwallet-category.avoid {
    border-left: 4px solid #ef4444;
}

.hotwallet-category h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.hotwallet-category.good h3 {
    color: #10b981;
}

.hotwallet-category.medium h3 {
    color: #f59e0b;
}

.hotwallet-category.avoid h3 {
    color: #ef4444;
}

.hotwallet-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hotwallet-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.hotwallet-item strong {
    display: block;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.hotwallet-item p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hotwallet-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .hotwallet-category {
        padding: 1rem;
    }
    
    .hotwallet-item {
        padding: 0.75rem;
    }
    
    .hotwallet-item strong {
        font-size: 1rem;
    }
    
    .hotwallet-item p {
        font-size: 0.85rem;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.hero-description {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Methodology Section */
.methodology-section {
    padding: 2.8rem 0;
    background: white;
}

.methodology-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.methodology-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.methodology-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.methodology-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.methodology-card p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* Comparison Section */
.comparison-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.comparison-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 600px; /* Ensure enough space for all wallets */
}

.table-wrapper {
    overflow-x: auto;
}

.wallets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.wallets-table th {
    background: #1e293b;
    color: white;
    padding: 1rem 0.8rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
}

.wallets-table td {
    padding: 1rem 0.8rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.wallets-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Warning row style (for Ledger and other wallets to avoid) */
.wallets-table tbody tr.wallet-warning {
    background-color: #fee2e2;
}

.wallets-table tbody tr.wallet-warning:hover {
    background-color: #fecaca;
}

/* Column Widths */
.col-rank { 
    min-width: 35px; 
    text-align: center; 
    font-weight: 600; 
    font-size: 0.7rem; /* 50% smaller text */
}
.col-image { min-width: 100px; text-align: center; }
.col-name { 
    min-width: 120px; 
    font-weight: 600; 
    font-size: 0.7rem; /* 50% smaller text */
}
.col-score { min-width: 96px; text-align: center; font-weight: 600; cursor: pointer; } /* 20% smaller: 120px - 24px = 96px */
.col-comment { min-width: 150px; max-width: 180px; cursor: pointer; }
.col-words { min-width: 140px; text-align: center; }
.col-software, .col-hardware { min-width: 120px; text-align: center; }
.col-bitcoin, .col-monero { min-width: 80px; text-align: center; }
.col-country { min-width: 120px; }
.col-type { min-width: 100px; }
.col-ip { min-width: 80px; text-align: center; }
.col-security { min-width: 100px; }
.col-corrosion, .col-theft, .col-fire { min-width: 80px; text-align: center; }
.col-airgap, .col-multisig { min-width: 80px; text-align: center; }
.col-price { min-width: 80px; }
.col-ease { min-width: 100px; }
.col-buy, .col-review { min-width: 100px; text-align: center; }

/* Wallet Images */
.wallet-image {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    padding: 4px;
}

/* Score with Emoji */
.score-with-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.score-emoji {
    font-size: 1.2rem;
}

/* Table Structure - Desktop/Mobile */
.table-desktop-container {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-desktop-container::-webkit-scrollbar {
    height: 12px;
}

.table-desktop-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.table-desktop-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

.table-desktop-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.table-mobile-container {
    display: none;
    position: relative;
    min-height: 500px; /* Ensure enough space for all wallets on mobile */
}

/* Fixed columns styling for mobile wallets */
.table-fixed-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    background: white;
    line-height: 3.8rem !important;
}

.table-fixed-container table {
    margin: 0;
}

.table-fixed-container tbody tr,
.table-fixed-container tbody td {
    height: 4.5rem;
}

.table-scrollable-container {
    overflow-x: auto;
    background: white;
    position: relative; /* Ensure proper positioning */
}

/* Force horizontal scrollbar visibility */
.table-scrollable-container::-webkit-scrollbar {
    height: 12px;
}

.table-scrollable-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 6px;
}

.table-scrollable-container::-webkit-scrollbar-thumb {
    background: #3b7190;
    border-radius: 6px;
}

.table-scrollable-container::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

.table-scrollable-container table {
   /*  margin-left: 170px; */   /* Adjust based on fixed columns width */
}

.table-scrollable-container tbody tr,
.table-scrollable-container tbody td {
    height: 3rem;
}

/* Mobile scrollable table height adjustment */
@media (max-width: 768px) {
    /* Increase scrollbar size for touch on mobile */
    .table-scrollable-container::-webkit-scrollbar {
        height: 18px; /* Bigger for touch */
    }
    
    .table-scrollable-container::-webkit-scrollbar-thumb {
        background: #3b7190;
        border-radius: 9px;
        min-width: 60px; /* Minimum touch target */
    }
    
    .table-scrollable-container::-webkit-scrollbar-thumb:active {
        background: #1e40af; /* Darker when touched */
    }
    
    .table-scrollable-container tbody tr,
    .table-scrollable-container tbody td {
        height: 46px !important; /* User requested 46px */
        line-height: 46px !important;
    }
}

/* Header line height for 2-line headers */
.wallets-table thead th {
    line-height: 1.2;
    vertical-align: middle;
    height: 3.5rem;
    padding: 0.5rem;
    background-color: #3b7190;
    color: white;
}

/* Mobile table headers */
.table-fixed-container thead th,
.table-scrollable-container thead th {
    background-color: #3b7190;
    color: white;
}

/* Sortable Column */
.col-score:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

/* Comment Column */
.comment-cell {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.comment-cell:hover {
    background-color: #f1f5f9;
    transform: scale(1.02);
}

.comment-tooltip {
    position: absolute;
    background: #1e293b;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    width: 320px;
    white-space: normal;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    display: none;
    top: -10px;
    left: 100%;
    margin-left: 10px;
    border: 1px solid #374151;
}

.comment-tooltip::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -6px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #1e293b;
}

.comment-cell:hover .comment-tooltip,
.comment-cell:focus .comment-tooltip,
.comment-cell:active .comment-tooltip {
    display: block;
}

/* Words Backup Column */
.words-backup {
    font-weight: 600;
}

.words-yes {
    color: #dc2626;
}

.words-no {
    color: #10b981;
    font-weight: 700;
}

/* Sortable columns hover effect */
.col-price:hover,
.col-ease:hover {
    background-color: rgba(59, 130, 246, 0.1);
    cursor: pointer;
}

/* Wallet Score Badges (separate from sovereignty scores) */
.wallet-score-badge {
    display: inline-block;
    padding: 0.19rem 0.38rem; /* 25% smaller padding */
    border-radius: 4.5px; /* 25% smaller border-radius */
    font-size: 0.6rem; /* 25% smaller font-size */
    font-weight: 600;
    text-align: center;
    min-width: 1.125rem; /* 25% smaller min-width */
    cursor: help;
}

.wallet-score-badge.grade-a {
    background-color: #10b981;
    color: white;
}

.wallet-score-badge.grade-b {
    background-color: #84cc16;
    color: white;
}

.wallet-score-badge.grade-c {
    background-color: #f59e0b;
    color: white;
}

.wallet-score-badge.grade-d {
    background-color: #ef4444;
    color: white;
}

.wallet-score-badge.grade-f {
    background-color: #dc2626;
    color: white;
}

/* Score Styling - Better color progression */
.score-a { color: #059669; font-weight: 700; } /* Dark green for 90+ */
.score-b { color: #10b981; font-weight: 700; } /* Medium green for 80-89 */
.score-c { color: #f59e0b; font-weight: 700; } /* Orange for 70-79 */
.score-d { color: #ef4444; font-weight: 700; } /* Red for 60-69 */
.score-f { color: #dc2626; font-weight: 700; } /* Dark red for <60 */

/* Status Indicators */
.status-yes { color: #10b981; font-weight: 600; }
.status-no { color: #ef4444; font-weight: 600; }
.status-partial { color: #f59e0b; font-weight: 600; }
.status-na { color: #64748b; font-style: italic; }

/* Links */
.wallet-link {
    color: #3b82f6;
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    background: #eff6ff;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.wallet-link:hover {
    background: #dbeafe;
    text-decoration: underline;
}

/* Legend Section */
.legend-section {
    padding: 4rem 0;
    background: white;
}

.legend-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.legend-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8fafc;
}

.legend-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.notes {
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.notes h4 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.notes ul {
    list-style-position: inside;
    color: #64748b;
}

.notes li {
    margin-bottom: 0.5rem;
}

.notes a {
    color: #3b82f6;
    text-decoration: none;
}

.notes a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #10b981;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #10b981;
}

.footer-logo {
    width: 30px;
    height: 30px;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 0.5rem; /* Reduced gap on mobile */
        flex-wrap: wrap; /* Allow wrapping if needed */
    }
    
    .nav-link {
        padding: 0.3rem 0.6rem; /* Smaller padding on mobile */
        font-size: 0.85rem; /* Smaller font on mobile */
    }
    
    .language-select {
        padding: 0.3rem; /* Smaller padding on mobile */
        font-size: 0.8rem; /* Smaller font on mobile */
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    
    /* Compact legend-grid on mobile */
    .legend-grid {
        gap: 1rem; /* Reduced from 2rem */
        margin-bottom: 1.5rem; /* Reduced from 3rem */
    }
    
    .legend-item {
        padding: 1rem; /* Reduced from 1.5rem */
    }
    
    /* Compact footer on mobile */
    .footer {
        padding: 2rem 0 0.5rem; /* Reduced from 3rem 0 1rem */
    }
    
    .footer-content {
        gap: 1rem; /* Reduced from 2rem */
        margin-bottom: 1rem; /* Reduced from 2rem */
    }
    
    .wallets-table {
        font-size: 0.8rem;
    }
    
    .wallets-table th,
    .wallets-table td {
        padding: 0.5rem 0.4rem;
    }
    
    /* Mobile table structure - FORCE DISPLAY */
    .table-desktop-container {
        display: none !important;
    }
    
    .table-mobile-container {
        display: block !important;
        position: relative;
        overflow: hidden;
    }
    
    .table-fixed-container {
        width: 210px; /* Consistent with mobile optimization */
    }
    
    .table-scrollable-container {
        /* padding-left: 170px; */
    }
    
    /* Reduce methodology section height on mobile */
    .methodology-section {
        padding: 1.5rem 0;
    }
    
    .methodology-grid {
        gap: 0.8rem;
        margin: 0.8rem 0;
    }
    
    .methodology-card {
        padding: 1rem;
    }
    
    /* Mobile table content reduction - 40% smaller */
    .table-mobile-container .wallets-table {
        font-size: 0.7rem; /* 40% smaller text */
    }
    
    .table-mobile-container .wallet-image {
        width: 45px !important; /* 40% smaller images */
        height: 45px !important;
    }
    
    .table-mobile-container .wallet-score-badge {
        font-size: 0.6rem; /* 40% smaller badges */
        padding: 0.15rem 0.3rem;
    }
    
    .table-mobile-container .score-with-emoji .score-a,
    .table-mobile-container .score-with-emoji .score-b,
    .table-mobile-container .score-with-emoji .score-c,
    .table-mobile-container .score-with-emoji .score-d,
    .table-mobile-container .score-with-emoji .score-f {
        font-size: 0.7rem; /* 40% smaller scores */
    }
    
    .table-mobile-container thead th {
        height: 2.5rem; /* Reduced header height */
        padding: 0.3rem 0.2rem;
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    .table-mobile-container tbody tr,
    .table-mobile-container tbody td {
        height: 2.5rem; /* Reduced row height */
        padding: 0.2rem 0.3rem;
    }
    
    /* Specific height adjustment for fixed table */
    .table-fixed-container tbody tr,
    .table-fixed-container tbody td {
        height: 46px !important; /* Match scrollable table height */
        line-height: 35px !important; /* User requested 35px */
        vertical-align: middle !important;
        padding: 2px 4px !important; /* Tight padding */
    }
    
    .table-fixed-container {
        width: 210px !important; /* Optimized width to reduce white space */
    }
    
    .table-scrollable-container {
        /* margin-left: 210px !important; */ /* Removed to fix alignment */
    }
    
    .table-scrollable-container table {
        /* margin-left: 260px !important; */ /* Match reduced width */
    }
    
    /* Mobile column width adjustments */
    .table-mobile-container .col-rank { 
        min-width: 25px; 
        font-size: 0.5rem; /* Even smaller on mobile */
    }
    .table-mobile-container .col-image { min-width: 45px; } /* Reduced from 60px to 45px */
    .table-mobile-container .col-name { 
        min-width: 80px; 
        font-size: 0.5rem; /* Even smaller on mobile */
    }
    
    /* Specific styling for Wallet Name in fixed table */
    .table-fixed-container .col-name {
        line-height: 1.1 !important; /* Very compact line spacing */
        word-wrap: break-word;
        white-space: normal;
        padding: 1px 2px !important; /* Minimal padding */
    }
    
    /* Reduce scrollable table content by 50% on mobile, then increase by 20% */
    .table-scrollable-container .wallets-table {
        font-size: 0.42rem !important; /* 0.35rem + 20% = 0.42rem */
    }
    
    .table-scrollable-container .wallet-image {
        width: 22px !important; /* 50% smaller than 45px */
        height: 22px !important;
    }
    
    .table-scrollable-container .wallet-score-badge {
        font-size: 0.36rem !important; /* 0.3rem + 20% = 0.36rem */
        padding: 0.09rem 0.18rem !important; /* Adjusted padding */
    }
    
    .table-scrollable-container .score-with-emoji .score-a,
    .table-scrollable-container .score-with-emoji .score-b,
    .table-scrollable-container .score-with-emoji .score-c,
    .table-scrollable-container .score-with-emoji .score-d,
    .table-scrollable-container .score-with-emoji .score-f {
        font-size: 0.42rem !important; /* 0.35rem + 20% = 0.42rem */
    }
    
    /* Reduce all text and emojis in scrollable table by 50%, then increase by 20% */
    .table-scrollable-container td {
        font-size: 0.42rem !important; /* 0.35rem + 20% = 0.42rem */
    }
    
    .table-scrollable-container .status-yes,
    .table-scrollable-container .status-no,
    .table-scrollable-container .status-partial,
    .table-scrollable-container .status-na {
        font-size: 0.42rem !important; /* 0.35rem + 20% = 0.42rem */
    }
    
    .table-scrollable-container .wallet-link {
        font-size: 0.36rem !important; /* 0.3rem + 20% = 0.36rem */
        padding: 0.18rem 0.36rem !important; /* Adjusted padding */
    }
    .table-mobile-container .col-score { min-width: 64px; } /* 20% smaller: 80px - 16px = 64px */
    .table-mobile-container .col-comment { min-width: 100px; max-width: 120px; }
    .table-mobile-container .col-words { min-width: 90px; }
    .table-mobile-container .col-software,
    .table-mobile-container .col-hardware { min-width: 80px; }
    .table-mobile-container .col-bitcoin,
    .table-mobile-container .col-monero { min-width: 60px; }
    .table-mobile-container .col-country { min-width: 80px; }
    .table-mobile-container .col-type { min-width: 70px; }
    .table-mobile-container .col-ip { min-width: 50px; }
    .table-mobile-container .col-security { min-width: 70px; }
    .table-mobile-container .col-corrosion,
    .table-mobile-container .col-theft,
    .table-mobile-container .col-fire { min-width: 50px; }
    .table-mobile-container .col-airgap,
    .table-mobile-container .col-multisig { min-width: 50px; }
    .table-mobile-container .col-price { min-width: 60px; }
    .table-mobile-container .col-ease { min-width: 70px; }
    .table-mobile-container .col-buy,
    .table-mobile-container .col-review { min-width: 70px; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .methodology-section,
    .comparison-section,
    .legend-section {
        padding: 2rem 0;
    }
    
    /* Extra small screens - even more compact */
    .table-mobile-container .wallets-table {
        font-size: 0.6rem !important; /* Even smaller on tiny screens */
    }
    
    .table-mobile-container .wallet-image {
        width: 35px !important;
        height: 35px !important;
    }
    
    .table-mobile-container thead th {
        height: 2rem !important;
        padding: 0.2rem 0.1rem !important;
        font-size: 0.55rem !important;
    }
    
    .table-mobile-container tbody tr,
    .table-mobile-container tbody td {
        height: 2rem !important;
        padding: 0.1rem 0.2rem !important;
    }
    
    .table-fixed-container {
        width: 180px !important; /* Even smaller fixed width with reduced text */
    }
    
    /* Extra small text for tiny screens */
    .table-mobile-container .col-rank { 
        min-width: 20px !important; 
        font-size: 0.45rem !important; 
    }
    .table-mobile-container .col-name { 
        min-width: 60px !important; 
        font-size: 0.45rem !important; 
    }
    
    .table-scrollable-container {
        /* padding-left: 180px !important; */ /* Removed per user request */
    }
    
    .table-scrollable-container table {
        margin-left: 220px !important;
    }
}
