.profile-section {
    margin: 15px 0;
}

.profile-header {
    display: none;
    align-items: center;
    margin-bottom: 25px;
    background-color: rgba(20, 20, 20, 0.95);
    border-radius: 4px;
    padding: 18px;
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.profile-header:hover {
    background-color: rgba(25, 25, 25, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    margin-right: 20px;
    position: relative;
}

.profile-avatar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    z-index: 1;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.profile-avatar:hover img {
    transform: scale(1.05);
    filter: contrast(1.2) saturate(1.4);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: #f0f0f0;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.profile-id {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    letter-spacing: 1px;
}

.workspace-info {
    background-color: rgba(20, 20, 20, 0.95);
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 25px;
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: none;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.workspace-info:hover {
    background-color: rgba(25, 25, 25, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.workspace-info::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 50%;
    box-shadow: 0 0 5px #f0f0f0;
    animation: pulse 2s infinite;
}

.workspace-info::before {
    content: "ID:74398-B";
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 1px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

.stats-terminal {
    background-color: rgba(15, 15, 15, 0.8);
    border-radius: 4px;
    padding: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid rgba(255, 51, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.stats-terminal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(90deg, #ff3366, #ff3366 10px, transparent 10px, transparent 20px);
}

.stats-line {
    margin: 6px 0;
    color: #e0e0e0;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                background-color 0.3s ease;
    padding: 3px 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    backface-visibility: hidden;
    transform-origin: left center;
    cursor: default;
}

.stats-line[data-type] {
    cursor: pointer;
    position: relative;
}

.stats-line[data-type]::after {
    content: "CLICK TO VIEW";
    position: absolute;
    right: 10px;
    font-size: 9px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ff3366;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 4px;
    border-radius: 2px;
}

.stats-line[data-type]:hover::after {
    opacity: 1;
}

.stats-line:hover {
    background-color: rgba(255, 51, 102, 0.1);
    transform: translateX(3px);
}

.stats-line[data-type]:hover {
    background-color: rgba(255, 51, 102, 0.2);
    transform: translateX(3px) scale(1.02);
}

.stats-prefix {
    color: #ff3366;
    font-weight: bold;
    margin-right: 5px;
}

.stats-value {
    color: #ffffff;
    margin-left: 5px;
    font-weight: 600;
    white-space: nowrap;
}

.stats-command {
    color: #cccccc;
    font-weight: 500;
}

.stats-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    font-weight: bold;
    flex-shrink: 0;
}

.projects-section {
    margin: 25px 0;
    display: none;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.95);
    border-radius: 4px;
    padding: 18px;
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.projects-section:hover {
    background-color: rgba(25, 25, 25, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.project-item {
    background-color: rgba(30, 30, 30, 0.95);
    border-radius: 4px;
    padding: 15px;
    border-left: 2px solid rgba(255, 51, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto 1fr;
    grid-gap: 15px;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), 
                background-color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.project-item:hover {
    background-color: rgba(40, 40, 40, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    border-left: 2px solid rgba(255, 51, 102, 0.7);
}

.project-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: repeating-linear-gradient(to bottom, #ff3366 2px, transparent 2px, transparent 6px);
    opacity: 0.8;
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    min-height: 100px;
    max-height: 100px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    grid-row: span 3;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: rgba(15, 15, 15, 0.95);
    display: block;
    opacity: 1 !important;
}

.project-thumbnail::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, rgba(255, 51, 102, 0.1) 5px, transparent 5px, transparent 10px);
    pointer-events: none;
    z-index: 1;
}

.project-item:hover .project-thumbnail img {
    transform: scale(1.05);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: contents;
}

.project-name {
    font-size: 14px;
    color: #f0f0f0;
    margin-bottom: 5px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.project-name::before {
    content: "> ";
    position: absolute;
    left: 0;
    color: #ff3366;
    font-weight: bold;
}

.project-description {
    font-size: 12px;
    color: #aaaaaa;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: visible;
    max-height: none;
    font-family: 'JetBrains Mono', monospace;
    border-left: 1px solid rgba(255, 51, 102, 0.3);
    padding-left: 10px;
    display: block;
    position: relative;
}

.project-stats {
    font-size: 12px;
    color: #cccccc;
    display: flex;
    gap: 15px;
    font-family: 'JetBrains Mono', monospace;
    margin-top: auto;
    position: relative;
    z-index: 1;
    align-self: flex-end;
}

.project-views, .project-likes {
    display: flex;
    align-items: center;
    background-color: rgba(255, 51, 102, 0.1);
    padding: 3px 8px;
    border-radius: 2px;
}

.project-views::before {
    content: "views:";
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.project-likes::before {
    content: "likes:";
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.no-projects {
    color: rgba(224, 224, 224, 0.7);
    font-style: italic;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.no-description {
    font-style: italic;
    color: #777777;
}