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

html {
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

html, body {
    height: 100%;
    font-family: 'IBM Plex Mono', monospace;
    background: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
}

.start-overlay {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    cursor: pointer;
}

.start-overlay span {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: #444;
    text-transform: lowercase;
    transition: color 0.2s ease;
}

.start-overlay:hover span {
    color: #888;
}

.start-overlay.hidden {
    display: none;
}

.loader {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 400px;
    max-width: 80vw;
}

.loader-text {
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    color: #888;
}

.loader-track {
    width: 100%;
    height: 2px;
    background: #333;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width 0.1s linear;
}

.loader-percent {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #888;
}

.main {
    min-height: 100vh;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.main.visible {
    opacity: 1;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.audio-control {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(20, 20, 20, 0.8);
    cursor: pointer;
    z-index: 100;
    transition: background 0.2s ease;
}

.audio-control:hover {
    background: rgba(30, 30, 30, 0.9);
}

.audio-icon {
    width: 18px;
    height: 18px;
    color: #555;
}

.audio-icon svg {
    width: 100%;
    height: 100%;
}

.audio-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.audio-title {
    font-size: 0.7rem;
    color: #666;
}

.audio-bar {
    width: 120px;
    height: 2px;
    background: #222;
    overflow: hidden;
}

.audio-progress {
    height: 100%;
    width: 0%;
    background: #444;
    transition: width 0.1s linear;
}

.audio-control.playing .audio-icon {
    color: #fff;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 24px 120px;
    position: relative;
    z-index: 1;
}

.profile {
    text-align: center;
    margin-bottom: 60px;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.avatar:hover {
    filter: grayscale(0%);
}

.status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #555;
}

.status-dot.online {
    background: #3ba55c;
}

.status-dot.idle {
    background: #faa61a;
}

.status-dot.dnd {
    background: #ed4245;
}

.status-dot.offline {
    background: #555;
}

.profile h1 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.status-text {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 12px;
    min-height: 18px;
}

.bio {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.socials {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    transition: all 0.2s ease;
}

.social-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.section {
    margin-bottom: 48px;
}

.section h2 {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.15em;
    color: #444;
    margin-bottom: 16px;
}

.activity {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-info {
    flex: 1;
    min-width: 0;
}

.activity-name {
    font-size: 0.85rem;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-details {
    font-size: 0.7rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-loading {
    font-size: 0.75rem;
    color: #444;
}

.tracks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.02);
    text-decoration: none;
    transition: background 0.2s ease;
}

.track:hover {
    background: rgba(255,255,255,0.04);
}

.track-img {
    width: 36px;
    height: 36px;
    background: #1a1a1a;
}

.track-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-name {
    font-size: 0.8rem;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.7rem;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-time {
    font-size: 0.65rem;
    color: #444;
}

.track.now-playing .track-name::before {
    content: '♪ ';
    color: #3ba55c;
}

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

.skill {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: rgba(255,255,255,0.03);
    color: #888;
}

.skill.learning {
    color: #555;
    font-style: italic;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project {
    display: block;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    text-decoration: none;
    transition: background 0.2s ease;
}

.project:hover {
    background: rgba(255,255,255,0.04);
}

.project-name {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 4px;
}

.project-desc {
    font-size: 0.75rem;
    color: #555;
}

.interests {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.interests span {
    font-size: 0.8rem;
    color: #555;
}

.interests span::before {
    content: '>';
    margin-right: 6px;
    color: #333;
}

@media (max-width: 500px) {
    .container {
        padding: 60px 20px 100px;
    }

    .audio-control {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    .audio-bar {
        width: 100%;
        flex: 1;
    }

    .profile h1 {
        font-size: 1.3rem;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }
}
::selection {
    background: #222222;
    color: #faa61a;
}