/* Variáveis do tema */
:root {
    --primary-color: #ffffff;
    --secondary-color: #000000;
    --accent-color: #ff9900;
    --text-color: #ffffff;
    --background-color: #0a0a0a;
    --card-background: rgba(255, 255, 255, 0.05);
    --hover-color: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Container principal */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Cabeçalho do dashboard */
.dashboard-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
}

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

.header-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    flex: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 0;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
}

.time-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.time-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.time-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.time-btn.active {
    background: var(--accent-color);
    color: var(--secondary-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
}

/* Grid do dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding: 1rem;
}

.stats-grid::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.15), rgba(255, 153, 0, 0.05));
    border-radius: 1.5rem;
    z-index: -1;
}

.stat-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 153, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 153, 0, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    background: linear-gradient(90deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: 0 2px 10px rgba(255, 153, 0, 0.2);
}

.stat-card .stat-value::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
    opacity: 0.5;
}

.stat-card .stat-label {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.stat-card .stat-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.2;
    color: var(--accent-color);
}

/* Rankings Section */
.rankings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    position: relative;
}

.ranking-card {
    background: var(--card-background);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 153, 0, 0.1);
    backdrop-filter: blur(10px);
    max-height: 800px;
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 153, 0, 0.2);
    position: relative;
}

.ranking-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--accent-color);
}

.ranking-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 153, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: rgba(255, 153, 0, 0.2);
    border-color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-color);
    color: var(--secondary-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
}

.songs-list,
.artists-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    overflow-y: auto;
    padding-right: 0.75rem;
    min-height: 0;
    max-height: 700px;
}

.song-item,
.artist-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    align-items: center;
}

.song-item::before,
.artist-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 153, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.song-item:hover,
.artist-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(255, 153, 0, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.song-item:hover::before,
.artist-item:hover::before {
    opacity: 1;
}

/* Rank Numbers */
.rank-number {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    min-width: 2.5rem;
}

.rank-number::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-color), transparent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.rank-number.top-3 {
    background: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
    min-width: 3rem;
}

.rank-number.top-3::before {
    opacity: 1;
}

.song-cover,
.artist-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 153, 0, 0.2);
}

.song-cover {
    position: relative;
}

.artist-mini-avatar {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: var(--card-background);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.artist-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-info,
.artist-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.song-title,
.artist-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name,
.inscription-id {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-stats,
.artist-stats {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    min-width: 100px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    background: linear-gradient(90deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .rankings {
        grid-template-columns: 1fr;
    }

    .ranking-card {
        height: auto;
        max-height: 600px;
    }

    .songs-list,
    .artists-list {
        max-height: 500px;
    }

    .rank-number {
        width: 2.2rem;
        height: 2.2rem;
        min-width: 2.2rem;
        font-size: 1rem;
    }

    .rank-number.top-3 {
        width: 2.7rem;
        height: 2.7rem;
        min-width: 2.7rem;
        font-size: 1.2rem;
    }

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

    .stat-item {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .song-item,
    .artist-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    .song-stats,
    .artist-stats {
        grid-column: 2;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .stat {
        min-width: 80px;
    }

    .song-cover,
    .artist-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }

    .artist-mini-avatar {
        width: 1.2rem;
        height: 1.2rem;
        top: -0.4rem;
        right: -0.4rem;
    }

    .song-title,
    .artist-name {
        font-size: 0.9rem;
    }

    .artist-name,
    .inscription-id {
        font-size: 0.8rem;
    }

    .stat-value {
        font-size: 0.9rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .rank-number {
        width: 2rem;
        height: 2rem;
        min-width: 2rem;
        font-size: 0.9rem;
    }

    .rank-number.top-3 {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        font-size: 1.1rem;
    }

    .dashboard-header {
        padding: 1.5rem;
    }

    .header-content {
        flex-direction: column;
    }

    .header-stats {
        width: 100%;
    }

    .time-filter {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-item {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .rank-number {
        width: 1.8rem;
        height: 1.8rem;
        min-width: 1.8rem;
        font-size: 0.8rem;
    }

    .rank-number.top-3 {
        width: 2.2rem;
        height: 2.2rem;
        min-width: 2.2rem;
        font-size: 1rem;
    }

    .song-cover,
    .artist-avatar {
        width: 2rem;
        height: 2rem;
    }

    .dashboard-header h1 {
        font-size: 2rem;
    }

    .stat-item {
        min-width: 80px;
        padding: 0.5rem 0.75rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .time-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Custom Scrollbar */
.songs-list::-webkit-scrollbar,
.artists-list::-webkit-scrollbar {
    width: 6px;
}

.songs-list::-webkit-scrollbar-track,
.artists-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.songs-list::-webkit-scrollbar-thumb,
.artists-list::-webkit-scrollbar-thumb {
    background: rgba(255, 153, 0, 0.3);
    border-radius: 3px;
}

.songs-list::-webkit-scrollbar-thumb:hover,
.artists-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 153, 0, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.song-item,
.artist-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.song-item:nth-child(1),
.artist-item:nth-child(1) { animation-delay: 0.1s; }
.song-item:nth-child(2),
.artist-item:nth-child(2) { animation-delay: 0.2s; }
.song-item:nth-child(3),
.artist-item:nth-child(3) { animation-delay: 0.3s; }
.song-item:nth-child(4),
.artist-item:nth-child(4) { animation-delay: 0.4s; }
.song-item:nth-child(5),
.artist-item:nth-child(5) { animation-delay: 0.5s; }
.song-item:nth-child(6),
.artist-item:nth-child(6) { animation-delay: 0.6s; }
.song-item:nth-child(7),
.artist-item:nth-child(7) { animation-delay: 0.7s; }
.song-item:nth-child(8),
.artist-item:nth-child(8) { animation-delay: 0.8s; }
.song-item:nth-child(9),
.artist-item:nth-child(9) { animation-delay: 0.9s; }
.song-item:nth-child(10),
.artist-item:nth-child(10) { animation-delay: 1s; }
.song-item:nth-child(11),
.artist-item:nth-child(11) { animation-delay: 1.1s; }
.song-item:nth-child(12),
.artist-item:nth-child(12) { animation-delay: 1.2s; }
.song-item:nth-child(13),
.artist-item:nth-child(13) { animation-delay: 1.3s; }
.song-item:nth-child(14),
.artist-item:nth-child(14) { animation-delay: 1.4s; }
.song-item:nth-child(15),
.artist-item:nth-child(15) { animation-delay: 1.5s; }
.song-item:nth-child(16),
.artist-item:nth-child(16) { animation-delay: 1.6s; }
.song-item:nth-child(17),
.artist-item:nth-child(17) { animation-delay: 1.7s; }
.song-item:nth-child(18),
.artist-item:nth-child(18) { animation-delay: 1.8s; }
.song-item:nth-child(19),
.artist-item:nth-child(19) { animation-delay: 1.9s; }
.song-item:nth-child(20),
.artist-item:nth-child(20) { animation-delay: 2s; }
.song-item:nth-child(21),
.artist-item:nth-child(21) { animation-delay: 2.1s; }

/* Animation for stats */
@keyframes statFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: statFadeIn 0.5s ease forwards;
    opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.trends-hits {
    background: var(--card-background);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 153, 0, 0.1);
    backdrop-filter: blur(10px);
    max-height: 800px;
}

.trends-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 153, 0, 0.2);
    position: relative;
}

.trends-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--accent-color);
}

.trends-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trends-filter {
    display: flex;
    gap: 0.75rem;
}

.trend-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 153, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trend-btn:hover {
    background: rgba(255, 153, 0, 0.2);
    border-color: var(--accent-color);
}

.trend-btn.active {
    background: var(--accent-color);
    color: var(--secondary-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
}

.trends-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    overflow-y: auto;
    padding-right: 0.75rem;
    min-height: 0;
    max-height: 700px;
}

.trend-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    align-items: center;
}

.trend-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 153, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trend-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(255, 153, 0, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.trend-item:hover::before {
    opacity: 1;
}

.trend-rank {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    min-width: 2.5rem;
}

.trend-rank::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-color), transparent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.trend-rank.top-3 {
    background: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
    min-width: 3rem;
}

.trend-rank.top-3::before {
    opacity: 1;
}

.trend-cover {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 153, 0, 0.2);
}

.trend-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

.artist-mini-avatar {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: var(--card-background);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.artist-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trend-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.trend-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.trend-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trend-details p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trend-stats {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.trend-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    min-width: 100px;
}

.trend-stats .stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    background: linear-gradient(90deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trend-stats .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Custom Scrollbar */
.trends-grid::-webkit-scrollbar {
    width: 6px;
}

.trends-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.trends-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 153, 0, 0.3);
    border-radius: 3px;
}

.trends-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 153, 0, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .trends-hits {
        height: auto;
        max-height: 600px;
    }

    .trends-grid {
        max-height: 500px;
    }

    .trend-rank {
        width: 2.2rem;
        height: 2.2rem;
        min-width: 2.2rem;
        font-size: 1rem;
    }

    .trend-rank.top-3 {
        width: 2.7rem;
        height: 2.7rem;
        min-width: 2.7rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .trend-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    .trend-stats {
        grid-column: 2;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .trend-stats .stat {
        min-width: 80px;
    }

    .trend-cover {
        width: 2.5rem;
        height: 2.5rem;
    }

    .trend-details h3 {
        font-size: 0.9rem;
    }

    .trend-details p {
        font-size: 0.8rem;
    }

    .trend-stats .stat-value {
        font-size: 0.9rem;
    }

    .trend-stats .stat-label {
        font-size: 0.7rem;
    }

    .trend-rank {
        width: 2rem;
        height: 2rem;
        min-width: 2rem;
        font-size: 0.9rem;
    }

    .trend-rank.top-3 {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        font-size: 1.1rem;
    }

    .artist-mini-avatar {
        width: 1.2rem;
        height: 1.2rem;
        top: -0.4rem;
        right: -0.4rem;
    }
}

@media (max-width: 480px) {
    .trend-rank {
        width: 1.8rem;
        height: 1.8rem;
        min-width: 1.8rem;
        font-size: 0.8rem;
    }

    .trend-rank.top-3 {
        width: 2.2rem;
        height: 2.2rem;
        min-width: 2.2rem;
        font-size: 1rem;
    }

    .trend-cover {
        width: 2rem;
        height: 2rem;
    }

    .artist-mini-avatar {
        width: 1rem;
        height: 1rem;
        top: -0.3rem;
        right: -0.3rem;
    }
}

.artist-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    align-items: center;
}

.artist-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
    flex: 1;
}

.artist-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 153, 0, 0.2);
}

.artist-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.artist-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inscription-id {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-stats {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

.artist-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    min-width: 100px;
}

@media (max-width: 768px) {
    .artist-info {
        gap: 1rem;
    }

    .artist-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }

    .artist-name {
        font-size: 0.9rem;
    }

    .inscription-id {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .artist-avatar {
        width: 2rem;
        height: 2rem;
    }
} 