* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    min-height: 100vh;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    background: rgba(25, 25, 25, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.header .subtitle {
    color: #888;
    font-size: 14px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.avatar-wrapper {
    position: relative;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #191919;
    transition: background-color 0.3s ease;
}

.status-indicator.online {
    background-color: #3ba55c;
}

.status-indicator.idle {
    background-color: #faa61a;
}

.status-indicator.dnd {
    background-color: #ed4245;
}

.status-indicator.offline {
    background-color: #747f8d;
}

.user-info {
    flex: 1;
}

.username {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.discriminator {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.status-text {
    color: #999;
    font-size: 14px;
    text-transform: capitalize;
}

.spotify-section,
.activities-section {
    margin-bottom: 25px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #aaa;
    font-size: 14px;
}

.activity-header svg {
    width: 20px;
    height: 20px;
}

.spotify-logo {
    color: #1db954;
}

.spotify-content {
    display: flex;
    gap: 15px;
}

.spotify-album {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.spotify-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotify-song {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotify-artist {
    font-size: 14px;
    color: #999;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotify-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spotify-time,
.spotify-duration {
    font-size: 12px;
    color: #808080;
    min-width: 35px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #1db954;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(40, 40, 40, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.activity-icon img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.activity-info {
    flex: 1;
}

.activity-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.activity-details,
.activity-state {
    font-size: 12px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer {
    text-align: center;
    margin-top: 20px;
}

.last-update {
    font-size: 12px;
    color: #666;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    .header h1 {
        font-size: 20px;
    }

    .profile {
        padding: 15px;
    }

    .avatar {
        width: 60px;
        height: 60px;
    }

    .username {
        font-size: 18px;
    }

    .spotify-album {
        width: 60px;
        height: 60px;
    }

    .spotify-song {
        font-size: 14px;
    }

    .spotify-artist {
        font-size: 12px;
    }
}