.exchange-list-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
.exchange-header {
    text-align: center;
    margin-bottom: 40px;
}
.exchange-header h1 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}
.exchange-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.exchange-search {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}
.exchange-search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}
.exchange-search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.exchange-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-item {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}
.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    color: #999;
}
.exchange-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.exchange-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}
.exchange-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #667eea;
}
.exchange-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}
.rank-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e0e0e0);
    color: #333;
}
.rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #d4af37);
    color: white;
}
.exchange-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}
.exchange-info {
    flex: 1;
}
.exchange-card-body {
    margin-bottom: 20px;
}
.exchange-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.exchange-basic-info {
    flex: 1;
}
.exchange-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.exchange-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.exchange-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.stat-item {
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
}
.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}
.stat-label {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.exchange-rating {
    text-align: center;
}
.rating-score {
    font-size: 24px;
    font-weight: 800;
    color: #10b981;
}
.rating-label {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.exchange-card-footer {
    display: flex;
    justify-content: center;
}
.exchange-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}
.exchange-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.exchange-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}
.pagination-btn {
    padding: 10px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    background: white;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.pagination-btn:hover:not(.disabled) {
    border-color: #667eea;
    color: #667eea;
}
.pagination-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}
.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
@media (max-width: 768px) {
    .exchange-content-with-sidebar {
        display: block;
    }
    
    .exchange-sidebar {
        display: none;
    }
    
    .exchange-header h1 {
        font-size: 32px;
    }
    .exchange-header p {
        font-size: 16px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }
    .stat-item {
        padding: 16px 10px;
        border-radius: 12px;
    }
    .stat-value {
        font-size: 20px;
        margin-bottom: 4px;
    }
    .stat-label {
        font-size: 11px;
    }
    .exchange-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .exchange-card {
        padding: 16px;
        border-radius: 12px;
    }
    .exchange-card-header {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        margin-bottom: 12px;
        align-items: center;
    }
    .rank-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 50%;
        background: #f8f9fa;
        color: #666;
    }
    .exchange-logo {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    .exchange-info {
        flex: 1;
        min-width: 0;
    }
    .exchange-name {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .exchange-description {
        display: none;
    }
    .exchange-stats {
        display: none;
    }
    .exchange-card-body {
        margin-bottom: 12px;
    }
    .exchange-card-footer {
        flex-direction: column;
        gap: 12px;
    }
    .exchange-actions {
        width: 100%;
        flex-direction: column;
    }
    .btn-exchange {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .exchange-list-wrapper {
        max-width: 100%;
    }
    
    .exchange-header {
        display: none;
    }
    
    .exchange-content-with-sidebar {
        display: flex;
        gap: 40px;
    }
    
    .exchange-main-content {
        flex: 1;
        min-width: 0;
    }
    
    .exchange-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .exchange-card {
        width: 100%;
        display: flex;
        gap: 36px;
        padding: 40px;
        border-radius: 28px;
        background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        border: 1px solid #f0f0f0;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        align-items: center;
        position: relative;
        overflow: hidden;
    }
    
    .exchange-sidebar {
        width: 320px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    .top-rated-rating {
        font-size: 13px;
        color: #10b981;
        font-weight: 600;
    }
    
    .top-rated-rating::before {
        content: '★ ';
    }
    
    .sidebar-card {
        background: white;
        border-radius: 20px;
        padding: 24px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        border: 1px solid #f0f0f0;
    }
    
    .sidebar-title {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f0f0;
    }
    
    .sidebar-tips {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
        margin: 0;
    }
    
    .top-rated-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 12px;
        transition: all 0.3s;
        margin-bottom: 8px;
        cursor: pointer;
    }
    
    .top-rated-item:hover {
        background: #f8f9fa;
    }
    
    .top-rated-logo {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        flex-shrink: 0;
    }
    
    .top-rated-info {
        flex: 1;
        min-width: 0;
    }
    
    .top-rated-name {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a2e;
        margin-bottom: 2px;
    }
    
    .top-rated-rating {
        font-size: 12px;
        color: #10b981;
        font-weight: 600;
    }
    
    .top-rated-rating::before {
        content: '★ ';
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .stat-item {
        padding: 10px 8px;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        border: 1px solid #f0f0f0;
        transition: all 0.3s;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.12);
        border-color: #667eea;
    }
    
    .stat-icon {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    .stat-value {
        font-size: 18px;
        font-weight: 700;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .stat-label {
        font-size: 11px;
        font-weight: 400;
        color: #666;
        margin-top: 2px;
    }
    
    .exchange-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sidebar-flash-item {
        padding: 12px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s;
        margin-bottom: 8px;
        background: #f8f9fa;
    }
    
    .sidebar-flash-item:last-child {
        margin-bottom: 0;
    }
    
    .sidebar-flash-item:hover {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        transform: translateX(4px);
    }
    
    .sidebar-flash-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
    }
    
    .sidebar-flash-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 3px 8px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-size: 10px;
        font-weight: 600;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .sidebar-flash-title {
        font-size: 13px;
        font-weight: 600;
        color: #1a1a2e;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 1.4;
        flex: 1;
        min-width: 0;
    }
    
    .sidebar-flash-item:hover .sidebar-flash-title {
        color: #667eea;
    }
    
    .sidebar-flash-content {
        font-size: 11px;
        color: #888;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .sidebar-article-item {
        padding: 14px;
        border-radius: 12px;
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        margin-bottom: 10px;
        cursor: pointer;
        transition: all 0.3s;
        border: 1px solid #f0f0f0;
    }
    
    .sidebar-article-item:last-child {
        margin-bottom: 0;
    }
    
    .sidebar-article-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        border-color: #667eea;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    }
    
    .sidebar-article-title {
        font-size: 14px;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 1.4;
    }
    
    .sidebar-article-item:hover .sidebar-article-title {
        color: #667eea;
    }
    
    .sidebar-article-summary {
        font-size: 12px;
        color: #666;
        line-height: 1.5;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .sidebar-article-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .sidebar-article-category {
        font-size: 11px;
        color: #667eea;
        font-weight: 600;
        background: rgba(102, 126, 234, 0.1);
        padding: 4px 10px;
        border-radius: 8px;
    }
    
    .sidebar-article-views {
        font-size: 11px;
        color: #888;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .sidebar-coin-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        border-radius: 10px;
        background: #f8f9fa;
        margin-bottom: 8px;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .sidebar-coin-item:last-child {
        margin-bottom: 0;
    }
    
    .sidebar-coin-item:hover {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        transform: translateX(4px);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    }
    
    .sidebar-coin-logo {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: white;
        padding: 3px;
        flex-shrink: 0;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    }
    
    .sidebar-coin-info {
        flex: 1;
        min-width: 0;
    }
    
    .sidebar-coin-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .sidebar-coin-symbol {
        font-size: 12px;
        font-weight: 700;
        color: #1a1a2e;
    }
    
    .sidebar-coin-item:hover .sidebar-coin-symbol {
        color: #667eea;
    }
    
    .sidebar-coin-supply {
        font-size: 11px;
        color: #888;
    }
    
    .sidebar-coin-year {
        font-size: 11px;
        color: #667eea;
        font-weight: 500;
    }
    
    .exchange-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .exchange-card {
        width: 100%;
        display: flex;
        gap: 36px;
        padding: 40px;
        border-radius: 28px;
        background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        border: 1px solid #f0f0f0;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        align-items: flex-start;
        position: relative;
        overflow: hidden;
    }
    
    .exchange-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        opacity: 0;
        transition: opacity 0.4s;
    }
    
    .exchange-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
        border-color: #667eea;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    }
    
    .exchange-card:hover::before {
        opacity: 1;
    }
    
    .exchange-card-header {
        flex: 1;
        gap: 24px;
        margin-bottom: 0;
        align-items: flex-start;
    }
    
    .rank-badge {
        width: 40px;
        height: 40px;
        font-size: 16px;
        font-weight: 800;
        border-radius: 12px;
    }
    
    .exchange-logo {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }
    
    .exchange-info {
        flex: 1;
    }
    
    .exchange-name {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .exchange-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .exchange-stats {
        gap: 12px;
        margin-bottom: 0;
    }
    
    .exchange-stats .stat-item {
        padding: 12px 8px;
        border-radius: 10px;
    }
    
    .exchange-stats .stat-value {
        font-size: 16px;
    }
    
    .exchange-stats .stat-label {
        font-size: 11px;
    }
    
    .exchange-card-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-end;
        justify-content: flex-start;
    }
    
    .exchange-rating {
        text-align: center;
    }
    
    .rating-score {
        font-size: 32px;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .exchange-btn {
        padding: 14px 28px;
        border-radius: 12px;
        font-size: 15px;
    }
}
