* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated dots background */
.dots-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.dot {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: fall linear infinite, shine 3s ease-in-out infinite alternate;
}

.dot.small {
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.dot.medium {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
}

.dot.large {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
}

@keyframes fall {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

@keyframes shine {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }
    100% {
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }
}


/* Main container */
.main-container {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 20px 50px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-top: 50px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.tab {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 0;
    transition: color 0.3s ease;
    font-family: inherit;
}

.tab:hover,
.tab.active {
    color: #fff;
}

/* Tab separator */
.tab-separator {
    height: 1px;
    background: #333;
    margin: 0 0 30px 0;
}

/* Content */
.content {
    position: relative;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Typography */
.name {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.description {
    color: #888;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Discord profile */
.discord-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.discord-avatar {
    position: relative;
    width: 50px;
    height: 50px;
}

.discord-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    position: absolute;
    bottom: 2px;
    right: 2px;
    transition: background-color 0.3s ease;
}

/* Discord status colors */
.status-indicator.online {
    background: #43b581; /* Green */
    box-shadow: 0 0 8px rgba(67, 181, 129, 0.3);
}

.status-indicator.idle {
    background: #faa61a; /* Yellow/Orange */
    box-shadow: 0 0 8px rgba(250, 166, 26, 0.3);
}

.status-indicator.away {
    background: #faa61a; /* Yellow/Orange */
    box-shadow: 0 0 8px rgba(250, 166, 26, 0.3);
}

.status-indicator.dnd {
    background: #f04747; /* Red */
    box-shadow: 0 0 8px rgba(240, 71, 71, 0.3);
}

.status-indicator.offline {
    background: #747f8d; /* Gray */
    box-shadow: 0 0 8px rgba(116, 127, 141, 0.3);
}

.status-indicator.invisible {
    background: #747f8d; /* Gray */
    box-shadow: 0 0 8px rgba(116, 127, 141, 0.3);
}

.discord-info {
    display: flex;
    flex-direction: column;
}

.discord-name {
    font-weight: 500;
    font-size: 16px;
}

.discord-status {
    color: #888;
    font-size: 14px;
}



/* Projects Section */
.projects-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-item {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.project-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
    position: relative;
}

.project-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item.open .project-header::before {
    opacity: 1;
}

.project-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.project-title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: -0.3px;
}

.dropdown-icon {
    color: #888;
    transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0;
}

.project-item.open .dropdown-icon {
    transform: rotate(180deg);
    color: #fff;
}

.project-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.project-item.open .project-content {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.project-description {
    color: #b8b8b8;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px 0;
    text-align: justify;
}

.project-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.language-tag {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.language-tag:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.language-icon {
    width: 18px;
    height: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.language-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.language-name {
    line-height: 1;
}

/* Music Player */
.music-player {
    margin-top: 30px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.music-player-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.music-icon {
    color: #1DB954;
}

.music-player-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.2px;
}

.music-player-content {
    padding: 20px;
}

.music-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    color: #888;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #1DB954;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.music-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    color: #666;
}

.music-placeholder svg {
    opacity: 0.5;
}

.music-placeholder p {
    margin: 0;
    font-size: 14px;
}

.music-track {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.music-album-art {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.music-album-art:hover {
    transform: scale(1.05);
}

.music-album-art:hover .music-play-overlay {
    opacity: 1;
}

.music-album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.music-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.music-track-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist-name {
    font-size: 13px;
    color: #aaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-album-name {
    font-size: 12px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-duration {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.music-control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
}

.music-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.music-play-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.music-play-btn:hover {
    background: linear-gradient(135deg, #7c8ef0 0%, #8a5bb5 100%);
    transform: scale(1.1);
}

.music-progress-container {
    margin-top: 8px;
}

.music-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.music-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.music-time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
    color: #666;
}

.spotify-link {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(29, 185, 84, 0.1);
    transition: all 0.3s ease;
}

.spotify-link:hover {
    background: rgba(29, 185, 84, 0.2);
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .main-container {
        margin: 30px 10px 20px;
        padding: 40px 15px 30px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .song-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .song-thumbnail {
        width: 80px;
        height: 80px;
    }
    
    .project-header {
        padding: 14px 16px;
    }
    
    .project-title {
        font-size: 15px;
    }
    
    .project-item.open .project-content {
        padding: 0 16px 16px 16px;
    }
    
    .music-track {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .music-album-art {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
    
    .music-info {
        width: 100%;
    }
    
    .spotify-link {
        align-self: center;
    }
}
