.profile main {
    background: linear-gradient(0deg, rgba(10, 14, 26, 0.7), rgba(10, 14, 26, 0.7)),
        url('../images/hero-bg.webp');
    background-position: center;
    background-size: cover;
}

.ProfileSection {
    padding-top: 180px;
    padding-bottom: 100px;
}

.ProfileSection .content {
    display: flex;
    flex-direction: column;
    padding: 50px;
    box-sizing: border-box;
    gap: 50px;
    backdrop-filter: blur(5px);
    background: rgba(199, 125, 255, 0.2);
    border-radius: 20px;
}

.profile-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.profile-info-block {
    display: flex;
    align-items: center;
    gap: 50px;
}

.profile-user {
    display: flex;
    gap: 18px;
    align-items: center;
}

.profile-avatar {
    aspect-ratio: 78 / 78;
    height: 78px;
}

.profile-credentials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: baseline;
}

.profile-name {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 38px;
    line-height: 105%;
    letter-spacing: 0.05em;
    color: white;
    text-transform: capitalize;
}

.profile-email {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.profile-coins {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-count {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 38px;
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
}

.logout-button {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #fff;
    background: transparent;
    border: 0px;
    padding: 0px;
}

.game-history-title {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0.05em;
    text-align: start;
    color: #fff;
    margin-bottom: 18px;
}

.profile .games li {
    max-width: 255px;
}

.mobile {
    display: none;
}

@media screen and (max-width: 739px) {
    .ProfileSection {
        padding: 112px 0px;
    }

    .ProfileSection .content {
        padding: 40px 16px;
    }

    .desctop {
        display: none;
    }

    .mobile {
        display: flex;
        gap: 11px;
    }

    .profile-info-block {
        gap: 16px;
        flex-direction: column;
        margin: auto;
    }

    .profile-user {
        gap: 16px;
        flex-direction: column;
        text-align: center;
    }

    .profile-credentials {
        gap: 10px;
        align-items: center;
    }

    .game-history h3 {
        text-align: center;
        margin-bottom: 18px;
        font-size: 18px;
    }
}

.ForgotPassword {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}
