.projects-wrapper {
    width: 90%;
    max-width: 1500px;
    margin: 120px auto;
    padding-top: 70px;
}

.user-projects-section {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.user-projects-card {
    flex: 1;
    min-width: 400px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.discord-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 22px;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.discord-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.discord-user {
    display: flex;
    gap: 18px;
    align-items: center;
}

.discord-description {
    margin-top: 3px;
    opacity: 0.85;
    font-size: 15px;
    line-height: 1.45;
}

.description-tight {
    margin-top: -12px;
    padding-left: 5px;
    font-size: 14px;
    line-height: 1.35;
    opacity: 0.85;
}

.avatar {
    width: 75px;
    height: 75px;
    border-radius: 14px;
}

.dm-button {
    --btn-color: steelblue;
    position: relative;
    padding: 12px 24px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: white;
    background: none;
    border: none;
    outline: none;
    overflow: hidden;
    cursor: pointer;
    filter: drop-shadow(0 2px 8px rgba(70, 130, 180, 0.32));
    transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    text-decoration: none;
    display: inline-block;
}

.dm-button::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: var(--btn-color);
    border-radius: 24px;
    transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.dm-button span,
.dm-button span span {
    display: inline-flex;
    vertical-align: middle;
    transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.dm-button span {
    transition-delay: 0.05s;
}

.dm-button span:first-child {
    padding-right: 7px;
}

.dm-button span span {
    margin-left: 8px;
    transition-delay: 0.1s;
}

.dm-button ul {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    margin: 0;
    padding: 0;
    list-style-type: none;
    transform: translateY(-50%);
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.dm-button ul li {
    flex: 0;
}

.dm-button ul li a {
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    transform: translateY(55px);
    transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    width: 24px;
    height: 24px;
}

.dm-button ul li a:hover {
    opacity: 0.5;
}

.dm-button:hover::before {
    transform: scale(1.2);
}

.dm-button:hover span,
.dm-button:hover span span {
    transform: translateY(-55px);
}

.dm-button:hover ul li a {
    transform: translateY(0);
}

.dm-button:hover ul li:nth-child(1) a {
    transition-delay: 0.15s;
}

.dm-button:hover ul li:nth-child(2) a {
    transition-delay: 0.2s;
}

.dm-button:hover ul li:nth-child(3) a {
    transition-delay: 0.25s;
}

.user-projects-list {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.projects-header {
    margin-bottom: 18px;
}

.projects-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    opacity: 0.9;
}

.user-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.user-project-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, .1);
}

.user-project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(70, 130, 180, 0.3);
    border-color: rgba(70, 130, 180, 0.4);
}

.user-project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.user-project-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.15);
}

.user-project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 8px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-more-btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    background: rgba(70, 130, 180, 0.15);
    border: 1px solid rgba(70, 130, 180, 0.3);
    border-radius: 10px;
    color: steelblue;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.view-more-btn:hover {
    background: rgba(70, 130, 180, 0.25);
    border-color: rgba(70, 130, 180, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 130, 180, 0.2);
}

