Y:root {
    --spotify-green: #1DB954;
    --youtube-red: #FF0000;
    --github-blue: #4078c0;
    --bg-black: #000000;
    --card-bg: #121212;
    --card-hover: #1f1f1f;
    --text-main: #FFFFFF;
    --text-dim: #a7a7a7;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

body {
    background-color: var(--bg-black);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% -20%, #1db95422, transparent);
}

.main {
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Nav Tabs */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1rem;
    position: sticky;
    top: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    z-index: 100;
    border-radius: 99px;
    border: 1px solid var(--glass-border);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--text-main);
    background: var(--glass);
}

.nav-link.active {
    color: #000;
    background: var(--text-main);
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(18, 18, 18, 0.5) 100%);
    border: 1px solid var(--glass-border);
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 50px rgba(29, 185, 84, 0.2);
}

.profile-info h1 {
    font-size: 4.5rem;
    margin: 0;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
}

.profile-info p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin: 1rem 0 2rem 0;
    font-weight: 500;
}

/* Cards */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid transparent;
}

.card:hover {
    background: var(--card-hover);
    border-color: var(--glass-border);
    transform: translateY(-4px);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* YouTube Grid Enhancement */
.yt-video-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--glass-border);
}

.yt-video-card:hover {
    background: var(--card-hover);
    transform: translateY(-4px);
}

.yt-thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.yt-thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #fff;
}

/* Track List Expansion */
.track-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
}

.track-item:hover {
    background: var(--glass);
}

.track-item.active {
    background: rgba(29, 185, 84, 0.1);
}

.track-img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
}

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

.track-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.track-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.spotify-btn {
    background-color: var(--spotify-green);
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.spotify-btn:hover {
    transform: scale(1.04);
    background-color: #1ed760;
}

.skill-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--glass);
    border-radius: 6px;
    margin: 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
}

.hidden { display: none; }

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }
    .profile-info h1 { font-size: 3rem; }
    .nav-tabs { width: 90%; gap: 0.5rem; }
}

